]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add CFI information for MIPS assembly sources.
[thirdparty/glibc.git] / ChangeLog
1 2013-02-08 Roland McGrath <roland@hack.frob.com>
2
3 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4 the '\0' terminator.
5
6 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #13550]
9 * debug/segfault.c: Don't include <bp-checks.h>.
10 * sysdeps/generic/bp-checks.h: Remove file.
11 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12 (__GETDENTS): Don't use CHECK_N.
13 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15 (__getgroups): Don't use CHECK_N.
16 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17 (setgroups): Don't use CHECK_N.
18 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20 (__libc_msgrcv): Don't use CHECK_N.
21 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22 (__libc_msgsnd): Don't use CHECK_N.
23 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24 <bp-checks.h>.
25 (__libc_pread): Don't use CHECK_N.
26 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27 include <bp-checks.h>.
28 (__libc_pread64): Don't use CHECK_N.
29 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30 include <bp-checks.h>.
31 (__libc_pwrite): Don't use CHECK_N.
32 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33 include <bp-checks.h>.
34 (__libc_pwrite64): Don't use CHECK_N.
35 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36 <bp-checks.h>.
37 (__libc_pread): Don't use CHECK_N.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39 include <bp-checks.h>.
40 (__libc_pread64): Don't use CHECK_N.
41 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
42 include <bp-checks.h>.
43 (__libc_pwrite): Don't use CHECK_N.
44 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45 include <bp-checks.h>.
46 (__libc_pwrite64): Don't use CHECK_N.
47 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48 (do_pread): Don't use CHECK_N.
49 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50 (do_pread64): Don't use CHECK_N.
51 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52 (do_pwrite): Don't use CHECK_N.
53 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54 (do_pwrite64): Don't use CHECK_N.
55 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56 (__libc_readv): Don't use CHECK_N.
57 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58 (semop): Don't use CHECK_N.
59 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60 <bp-checks.h>.
61 (semtimedop): Don't use CHECK_N.
62 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
63 (__libc_pread): Don't use CHECK_N.
64 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65 <bp-checks.h>.
66 (__libc_pread64): Don't use CHECK_N.
67 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68 <bp-checks.h>.
69 (__libc_pwrite): Don't use CHECK_N.
70 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71 <bp-checks.h>.
72 (__libc_pwrite64): Don't use CHECK_N.
73 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
74 <bp-checks.h>.
75 (__libc_msgrcv): Don't use CHECK_N.
76 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
77 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
78 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
79 (__libc_writev): Don't use CHECK_N.
80
81 2013-02-08 Roland McGrath <roland@hack.frob.com>
82
83 * string/strcpy.c: Removed unused variable.
84
85 * Makeconfig (+sysdep-includes): Define with := rather than =.
86 Use an existing include/ subdir of each sysdeps dir before it.
87
88 2013-02-08 Carlos O'Donell <carlos@redhat.com>
89
90 * nscd/connection.c (register_traced_file): Comment function.
91 [HAVE_INOTIFY] (union __inev): Define.
92 [HAVE_INOTIFY] (inotify_check_files): New function.
93 [HAVE_INOTIFY] (clear_db_cache): Likewise.
94 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
95 clear_db_cache.
96 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
97
98 2013-02-08 Carlos O'Donell <carlos@redhat.com>
99
100 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
101 loaded if not already and that a failure is permanent.
102
103 2013-02-08 Carlos O'Donell <carlos@redhat.com>
104
105 [BZ #15006]
106 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
107 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
108
109 2013-02-08 Joseph Myers <joseph@codesourcery.com>
110
111 [BZ #13550]
112 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
113 (CHECK_1_NULL_OK): Likewise.
114 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
115 (__fxstat): Do not use CHECK_1.
116 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
117 <bp-checks.h>.
118 (___fxstat64): Do not use CHECK_1.
119 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
120 <bp-checks.h>.
121 (__fxstatat): Do not use CHECK_1.
122 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
123 <bp-checks.h>.
124 (__fxstatat64): Do not use CHECK_1.
125 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
126 <bp-checks.h>.
127 (__fxstat): Do not use CHECK_1.
128 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
129 <bp-checks.h>.
130 (__fxstatat): Do not use CHECK_1.
131 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
132 <bp-checks.h>.
133 (__getresgid): Do not use CHECK_1.
134 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
135 <bp-checks.h>.
136 (__getresuid): Do not use CHECK_1.
137 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
138 <bp-checks.h>.
139 (__lxstat): Do not use CHECK_1.
140 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
141 <bp-checks.h>.
142 (__old_msgctl): Do not use CHECK_1.
143 (__new_msgctl): Likewise.
144 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
145 <bp-checks.h>.
146 (__new_setrlimit): Do not use CHECK_1.
147 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
148 <bp-checks.h>.
149 (__old_shmctl): Do not use CHECK_1.
150 (__new_shmctl): Likewise.
151 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
152 <bp-checks.h>.
153 (__xstat): Do not use CHECK_1.
154 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
155 (__lxstat): Do not use CHECK_1.
156 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
157 <bp-checks.h>.
158 (___lxstat64): Do not use CHECK_1.
159 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
160 (__old_msgctl): Do not use CHECK_1.
161 (__new_msgctl): Likewise.
162 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
163 <bp-checks.h>.
164 (__gettimeofday): Do not use CHECK_1.
165 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
166 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
167 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
168 <bp-checks.h>.
169 (__gettimeofday): Do not use CHECK_1.
170 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
171 (__old_shmctl): Do not use CHECK_1_NULL_OK.
172 (__new_shmctl): Do not use CHECK_1.
173 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
174 <bp-checks.h>.
175 (do_sigtimedwait): Do not use CHECK_1.
176 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
177 <bp-checks.h>.
178 (do_sigwaitinfo): Do not use CHECK_1.
179 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
180 <bp-checks.h>.
181 (msgctl): Do not use CHECK_1.
182 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
183 <bp-checks.h>.
184 (shmctl): Do not use CHECK_1.
185 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
186 (ustat): Do not use CHECK_1.
187 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
188 <bp-checks.h>.
189 (__fxstat): Do not use CHECK_1.
190 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
191 <bp-checks.h>.
192 (__fxstatat): Do not use CHECK_1.
193 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
194 <bp-checks.h>.
195 (__lxstat): Do not use CHECK_1.
196 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
197 <bp-checks.h>.
198 (__xstat): Do not use CHECK_1.
199 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
200 (__xstat): Do not use CHECK_1.
201 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
202 (___xstat64): Do not use CHECK_1.
203
204 [BZ #13550]
205 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
206 definitions.
207 (CHECK_BOUNDS_HIGH): Likewise.
208 * string/strcpy.c: Do not include <bp-checks.h>.
209 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
210
211 2013-02-07 Roland McGrath <roland@hack.frob.com>
212
213 * nscd/nscd-client.h (__nscd_drop_map_ref):
214 Add __attribute__ ((unused)).
215 * nis/nss-nisplus.h (niserr2nss): Likewise.
216
217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
218 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
219
220 * csu/libc-tls.c (init_static_tls, init_slotinfo):
221 Remove inline keyword.
222 * include/rounding-mode.h (round_away): Likewise.
223 * libio/wfileops.c (adjust_wide_data): Likewise.
224 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
225 (__m128i_strloadu_tolower): Likewise.
226 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
227 (__m128i_strloadu_tolower): Likewise.
228 * time/mktime.c (ydhms_diff): Likewise.
229 * locale/elem-hash.h (elem_hash): Likewise.
230 * locale/setlocale.c (setdata): Likewise.
231 * posix/regex_internal.h (re_string_char_size_at): Likewise.
232 (re_string_wchar_at): Likewise.
233 (bitset_not, bitset_merge, bitset_mask): Likewise.
234 [!(__GNUC__ > 3)] (inline): Remove macro.
235 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
236 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
237 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
238 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
239 * string/memcmp.c (memcmp_bytes): Likewise.
240 * locale/programs/locarchive.c (compute_hashval): Likewise.
241 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
242 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
243 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
244 * nss/getent.c (print_rpc, print_protocols): Likewise.
245 (print_passwd, print_group, print_aliases): Likewise.
246 * nis/nss-nisplus.h (niserr2nss): Likewise.
247 * nscd/connections.c (restart_p): Likewise.
248 Change return type to bool.
249
250 2013-02-05 Roland McGrath <roland@hack.frob.com>
251
252 * Makeconfig (all-Depend-files): Add existing
253 $(sorted-subdirs:=/Depend) files.
254 (all-subdirs): Remove nss.
255 * sysdeps/unix/inet/Subdirs: Add it here instead.
256 * hesiod/Depend: New file.
257
258 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
259 instead of calling alloca.
260
261 * io/lseek.c (__lseek): Rename to __libc_lseek.
262 Define __lseek as an alias.
263
264 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
265
266 2013-02-04 Carlos O'Donell <carlos@redhat.com>
267
268 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
269 else clause and remove check for non-standard endianness.
270
271 2013-02-04 David S. Miller <davem@davemloft.net>
272
273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
274
275 2013-02-04 Joseph Myers <joseph@codesourcery.com>
276
277 [BZ #13550]
278 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
279 (__ubp_memchr): Remove prototype.
280 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
281 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
282 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
283 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
284 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
285 Remove alias.
286 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
287 (__ubp_memchr): Likewise.
288 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
289 (__ubp_memchr): Likewise.
290 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
291 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
292 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
293 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
294 CHECK_STRING.
295 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
296 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
297 (__getcwd): Do not use CHECK_STRING.
298 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
299 <bp-checks.h>.
300 (__real_chown): Do not use CHECK_STRING.
301 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
302 <bp-checks.h>.
303 (fchownat): Do not use CHECK_STRING.
304 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
305 CHECK_STRING.
306 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
307 <bp-checks.h>.
308 (__lchown): Do not use CHECK_STRING.
309 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
310 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
311 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
312 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
314 include <bp-checks.h>.
315 (truncate64): Do not use CHECK_STRING.
316 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
317 <bp-checks.h>.
318 (__real_chown): Do not use CHECK_STRING.
319 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
320 <bp-checks.h>.
321 (__lchown): Do not use CHECK_STRING.
322 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
323 <bp-checks.h>.
324 (__chown): Do not use CHECK_STRING.
325 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
326 <bp-checks.h>.
327 (truncate64): Do not use CHECK_STRING.
328 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
329 Likewise.
330 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
331 (__xmknod): Do not use CHECK_STRING.
332 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
333 <bp-checks.h>.
334 (__xmknodat): Do not use CHECK_STRING.
335 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
336 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
337
338 2013-02-04 Andreas Schwab <schwab@suse.de>
339
340 [BZ #14142]
341 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
342 * include/netdb.h: Likewise for h_errno.
343 * elf/tst-stackguard1.c: Include <tls.h>.
344
345 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
346
347 * elf/link.h (struct link_map): Extend the l_addr comment.
348 * include/link.h (struct link_map): Likewise.
349
350 2013-02-01 Joseph Myers <joseph@codesourcery.com>
351
352 [BZ #13550]
353 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
354 (BOUNDED_1): Remove macro.
355 * debug/backtrace.c: Don't include <bp-checks.h>.
356 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
357 (__backtrace): Likewise.
358 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
359 <bp-checks.h>.
360 (__backtrace): Don't use BOUNDED_1.
361 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
362 <bp-checks.h>.
363 (__backtrace): Don't use BOUNDED_1.
364 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
365 (__backtrace): Don't use BOUNDED_1.
366 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
367 (shmat): Don't use BOUNDED_N.
368
369 2013-01-31 Joseph Myers <joseph@codesourcery.com>
370
371 [BZ #13550]
372 * sysdeps/generic/bp-start.h: Remove file.
373 * csu/libc-start.c: Don't include <bp-start.h>.
374 (LIBC_START_MAIN): Set up __environ directly instead of using
375 INIT_ARGV_and_ENVIRON.
376 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
377 <bp-start.h>.
378
379 [BZ #13550]
380 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
381 definitions.
382 (CHECK_FCNTL): Likewise.
383 (CHECK_N_PAGES): Likewise.
384
385 [BZ #13550]
386 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
387 definitions.
388 (CHECK_SIGSET_NULL_OK): Likewise.
389 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
390 <bp-checks.h>.
391 (sigpending): Don't use CHECK_SIGSET.
392 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
393 <bp-checks.h>.
394 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
395 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
396 <bp-checks.h>.
397 (do_sigsuspend): Don't use CHECK_SIGSET.
398 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
399 use CHECK_SIGSET.
400 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
401 (do_sigwait): Don't use CHECK_SIGSET.
402 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
403 use CHECK_SIGSET.
404 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
405 include <bp-checks.h>.
406 (sigpending): Don't use CHECK_SIGSET.
407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
408 include <bp-checks.h>.
409 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
410 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
411 <bp-checks.h>.
412 (sigpending): Don't use CHECK_SIGSET.
413 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
414 <bp-checks.h>.
415 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
416
417 [BZ #13550]
418 * sysdeps/generic/bp-semctl.h: Remove file.
419 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
420 <bp-checks.h> and <bp-semctl.h>.
421 (__old_semctl): Don't use CHECK_SEMCTL.
422 (__new_semctl): Likewise.
423 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
424 and <bp-semctl.h>.
425 (__old_semctl): Don't use CHECK_SEMCTL.
426 (__new_semctl): Likewise.
427 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
428 <bp-checks.h> and <bp-semctl.h>.
429 (__old_semctl): Don't use CHECK_SEMCTL.
430 (__new_semctl): Likewise.
431 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
432 <bp-checks.h> and <bp-semctl.h>.
433 (semctl): Don't use CHECK_SEMCTL.
434
435 [BZ #13550]
436 * Makerules (elide-bp-thunks): Remove variable.
437 (elide-routines.oS): Don't use $(elide-bp-thunks).
438 (elide-routines.os): Likewise.
439 (elide-routines.o): Likewise.
440 (elide-routines.op): Likewise.
441 (elide-routines.og): Likewise.
442 (objects): Don't use $(bp-thunks).
443 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
444 include.
445 (common-generated): Do not add s-proto-bp.d.
446 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
447 (int): Likewise.
448 (typ): Likewise.
449 Do not generate makefile rules for bounded-pointer thunks.
450 * sysdeps/generic/bp-thunks.h: Remove file.
451 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
452 * sysdeps/unix/s-proto-bp.S: Likewise.
453
454 [BZ #15062]
455 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
456 parts of result separately when argument is not close to line from
457 -i to i and one part of argument is small.
458 * math/k_casinhf.c (__kernel_casinhf): Likewise.
459 * math/k_casinhl.c (__kernel_casinhl): Likewise.
460 * math/libm-test.inc (cacos_test): Add more tests.
461 (casin_test): Likewise.
462 (casinh_test): Likewise.
463 * sysdeps/i386/fpu/libm-test-ulps: Update.
464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
465
466 2013-01-31 David S. Miller <davem@davemloft.net>
467
468 * po/de.po: Update from translation team.
469
470 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
471
472 * time/tzfile.c: Include stdint.h for SIZE_MAX.
473
474 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
475
476 * configure.in (_AC_PROG_CC_C89): New definition.
477 * configure: Regenerate.
478
479 * configure.in (AC_PROG_CPP): New definition.
480 * configure: Regenerate.
481
482 2013-01-23 Joseph Myers <joseph@codesourcery.com>
483
484 * debug/tst-backtrace.h: New file.
485 * debug/tst-backtrace2.c: Include tst-backtrace.h.
486 (ret): Remove variable.
487 (x): Likewise.
488 (FAIL): Remove macro.
489 (NO_INLINE): Likewise.
490 (fn1): Use match function instead of strstr.
491 * debug/tst-backtrace3.c: Include tst-backtrace.h.
492 (ret): Remove variable.
493 (x): Likewise.
494 (FAIL): Remove macro.
495 (NO_INLINE): Likewise.
496 (fn): Use match function instead of strstr.
497 * debug/tst-backtrace4.c: Include tst-backtrace.h.
498 (ret): Remove variable.
499 (x): Likewise.
500 (FAIL): Remove macro.
501 (NO_INLINE): Likewise.
502 (handle_signal): Use match function instead of strstr.
503 * debug/tst-backtrace5.c: Include tst-backtrace.h.
504 (ret): Remove variable.
505 (x): Likewise.
506 (FAIL): Remove macro.
507 (NO_INLINE): Likewise.
508 (handle_signal): Use match function instead of strstr.
509
510 2013-01-23 Roland McGrath <roland@hack.frob.com>
511
512 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
513
514 2013-01-23 David S. Miller <davem@davemloft.net>
515
516 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
517 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
518 argument of CAS if possible.
519 * sysdeps/sparc/sparc64/bits/atomic.h
520 (__arch_compare_and_exchange_val_32_acq): Likewise.
521 (__arch_compare_and_exchange_val_64_acq): Likewise.
522
523 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
524
525 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
526 * sysdeps/posix/ulimit.c: ... this.
527 Include <limits.h>.
528 * sysdeps/unix/bsd/ulimit.c: Remove file.
529
530 2013-01-23 Adam Conrad <adconrad@0c3.net>
531
532 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
533 (LDFLAGS-tst-array5): Likewise.
534
535 2013-01-23 Joseph Myers <joseph@codesourcery.com>
536
537 [BZ #15036]
538 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
539 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
540 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
541 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
542
543 2013-01-21 David S. Miller <davem@davemloft.net>
544
545 * sysdeps/sparc/backtrace.c: New file.
546 * sysdeps/sparc/sparc32/backtrace.h: New file.
547 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
548 * sysdeps/sparc/sparc64/backtrace.h: New file.
549 * sysdeps/sparc/sparc64/backtrace.c: Delete.
550 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
551 -funwind-tables.
552
553 2013-01-21 Andreas Schwab <schwab@suse.de>
554
555 [BZ #15020]
556 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
557 closed its stdout.
558
559 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
560
561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
562 "mpa2.h".
563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
564
565 2013-01-18 Joseph Myers <joseph@codesourcery.com>
566 Mark Mitchell <mark@codesourcery.com>
567 Tom de Vries <tom@codesourcery.com>
568 Paul Pluzhnikov <ppluzhnikov@google.com>
569
570 * debug/tst-backtrace2.c: New file.
571 * debug/tst-backtrace3.c: Likewise.
572 * debug/tst-backtrace4.c: Likewise.
573 * debug/tst-backtrace5.c: Likewise.
574 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
575 (CFLAGS-tst-backtrace3.c): Likewise.
576 (CFLAGS-tst-backtrace4.c): Likewise.
577 (CFLAGS-tst-backtrace5.c): Likewise.
578 (LDFLAGS-tst-backtrace2): Likewise.
579 (LDFLAGS-tst-backtrace3): Likewise.
580 (LDFLAGS-tst-backtrace4): Likewise.
581 (LDFLAGS-tst-backtrace5): Likewise.
582 (tests): Add new tests tst-backtrace2, tst-backtrace3,
583 tst-backtrace4 and tst-backtrace5.
584
585 2013-01-18 Anton Blanchard <anton@samba.org>
586 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
587
588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
589 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
590 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
591 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
593 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
594 "+r" and remove output regs list as redundant. Add explicit inline
595 asm to specify register of return val to work around compiler codegen
596 bug. Remove (int) cast on return value. Add return type parameter to
597 use in macro so that this macro does not truncate return value for
598 64-bit values.
599 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
600 pass to INTERNAL_VSYSCALL_NCS.
601 (INLINE_VSYSCALL): Add 'long int' as return type to
602 INTERNAL_VSYSCALL_NCS macro invocation.
603 (INTERNAL_VSYSCALL): Add 'long int' as return type to
604 INTERNAL_VSYSCALL_NCS macro invocation.
605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
606
607 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
608
609 [BZ #14496]
610 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
611 Fix application of SIMD FP exception mask.
612
613 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
614 mp_no from a power of two.
615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
616 __mpexp_twomm1. Use __pow_mp.
617
618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
619 multiplication.
620
621 2013-01-17 David S. Miller <davem@davemloft.net>
622
623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
624
625 2013-01-17 Joseph Myers <joseph@codesourcery.com>
626
627 [BZ #15023]
628 * include/complex.h: Condition contents on [!_COMPLEX_H].
629 (__kernel_casinhf): New prototype.
630 (__kernel_casinh): Likewise.
631 (__kernel_casinhl): Likewise.
632 * math/Makefile (libm_calls): Add k_casinh.
633 * math/k_casinh.c: New file.
634 * math/k_casinhf.c: Likewise.
635 * math/k_casinhl.c: Likewise.
636 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
637 finite nonzero arguments.
638 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
639 finite nonzero arguments.
640 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
641 finite nonzero arguments.
642 * math/s_casinh.c: Do not include <float.h>.
643 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
644 * math/s_casinhf.c: Do not include <float.h>.
645 (__casinhf): Move code for finite nonzero arguments to
646 k_casinhf.c.
647 * math/s_casinhl.c: Do not include <float.h>.
648 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
649 redefine.
650 (__casinhl): Move code for finite nonzero arguments to
651 k_casinhl.c.
652 * math/libm-test.inc (cacos_test): Add more tests.
653 * sysdeps/i386/fpu/libm-test-ulps: Update.
654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
655
656 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
657
658 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
659 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
660 [!HAVE_MREMAP]: Remove [defined linux] case.
661 * malloc/arena.c: Do not include <malloc-sysdep.h>.
662
663 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
664
665 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
666
667 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
668
669 * elf/elf.h (R_386_SIZE32): New relocation.
670 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
671 R_386_SIZE32.
672 (elf_machine_rela): Likewise.
673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
674 R_X86_64_SIZE64 and R_X86_64_SIZE32.
675
676 2013-01-17 Joseph Myers <joseph@codesourcery.com>
677
678 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
679 (FP_FAST_FMA): Do not define.
680 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
681 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
682 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
683 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
684 !_SOFT_FLOAT]: Likewise.
685 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
686 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
687 value.
688 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
689 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
690 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
691 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
692 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
693 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
694 file.
695
696 2013-01-16 Andreas Schwab <schwab@suse.de>
697
698 [BZ #14327]
699 * include/stdlib.h (__mktemp): Add declaration.
700 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
701 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
702
703 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
704
705 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
706 definitions.
707 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
708 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
709 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
710 definitions here.
711 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
712 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
713 definitions.
714 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
715 and ONE.
716 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
717 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
718 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
719 definitions.
720 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
721 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
722 definitions.
723 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
724
725 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
726
727 2013-01-15 David S. Miller <davem@davemloft.net>
728
729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
730 trunc{,f} to libm-sysdep_routes.
731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
733 file.
734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
736 file.
737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
738 file.
739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
741 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
742 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
743 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
744 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
745 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
746 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
747
748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
749 nearbyint{,f} to libm-sysdep_routes.
750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
752 New file.
753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
754 file.
755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
756 New file.
757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
758 file.
759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
762 file.
763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
765 file.
766 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
767 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
768 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
769
770 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
771 libc_feholdexcept and libc_fesetenv.
772
773 2013-01-15 Mike Frysinger <vapier@gentoo.org>
774
775 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
776
777 2013-01-14 David S. Miller <davem@davemloft.net>
778
779 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
780 (SPARC_ASM_VIS2_IFUNC): Likewise.
781 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
783 use of 'siam' instruction.
784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
785 Likewise.
786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
787 Likewise.
788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
789 Likewise.
790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
795 file.
796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
797 file.
798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
799 file.
800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
801 file.
802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
807 new VIS2 routines.
808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
811 Likewise.
812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
817 routines to libm-sysdep_routines.
818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
819
820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
821 fdim/fdimf to libm-sysdep_routines.
822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
823 file.
824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
826 file.
827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
830 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
831 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
832 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
833 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
834
835 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
836
837 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
838 to optimize copies.
839
840 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
843
844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
845 local variable MPTWO.
846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
847 Likewise.
848
849 2013-01-13 Mike Frysinger <vapier@gentoo.org>
850
851 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
852 GLOB_NOESCAPE.
853
854 2013-01-13 Mike Frysinger <vapier@gentoo.org>
855
856 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
857
858 2013-01-13 Mike Frysinger <vapier@gentoo.org>
859
860 * manual/pattern.texi (glob_t): Document gl_flags.
861 (glob64_t): Likewise.
862
863 2013-01-11 David S. Miller <davem@davemloft.net>
864
865 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
866 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
867 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
868 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
869 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
870 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
871 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
872 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
873 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
874 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
875 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
876 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
877 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
878
879 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
880 sparc V9 rather than using V8 code.
881 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
882 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
883
884 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
885 Move to...
886 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
887 Here.
888
889 2013-01-11 Roland McGrath <roland@hack.frob.com>
890
891 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
892 not in the main loop.
893 * configure: Regenerated.
894
895 2013-01-11 Joseph Myers <joseph@codesourcery.com>
896
897 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
898 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
899 to just #else.
900 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
901 [!__GLIBC_HAVE_LONG_LONG] case.
902 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
903 condition to just #else.
904 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
905 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
906 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
907 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
908 unconditional.
909 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
910 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
911 #elif condition to just #else.
912 * sysdeps/unix/sysv/linux/sys/sysmacros.h
913 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
914 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
915 #elif condition to just #else.
916
917 2013-01-11 Steve Ellcey <sellcey@mips.com>
918
919 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
920 (EF_MIPS_ARCH_64): Fix value.
921 (EF_MIPS_ARCH_32R2): New.
922 (EF_MIPS_ARCH_64R2): New.
923
924 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
925
926 * Makeconfig (+link-pie-before-libc): New.
927 (+link-pie-after-libc): Likewise.
928 (+link-pie-tests): Likewise.
929 (+link-pie): Rewritten.
930 (link-before-libc): Remove $(config-LDFLAGS).
931 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
932 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
933 (config-LDFLAGS): Renamed to ...
934 (rtld-LDFLAGS): This.
935 (rtld-tests-LDFLAGS): New macro.
936 (link-libc-rpath-link): Likewise.
937 (link-libc-tests-rpath-link): Likewise.
938 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
939 (link-libc): Prepand $(link-libc-rpath-link).
940 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
941 (test-program-prefix): New macro.
942 (test-via-rtld-prefix): Likewise.
943 (test-program-cmd): Likewise.
944 (host-test-program-cmd): Likewise.
945 * Makefile ($(common-objpfx)testrun.sh): Replace
946 $(run-program-prefix) with $(test-program-prefix).
947 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
948 $(rtld-LDFLAGS).
949 ($(common-objpfx)shlib.lds): Likewise.
950 (build-module-helper): Likewise.
951 ($(common-objpfx)format.lds): Likewise.
952 * Rules (binaries-pie-tests): New.
953 (binaries-pie-notests): Likewise.
954 (binaries-pie): Rewritten.
955 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
956 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
957 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
958 (make-test-out): Replace $(host-built-program-cmd) with
959 $(host-test-program-cmd).
960 * config.make.in (build-hardcoded-path-in-tests): New variable.
961 * configure.in (--enable-hardcoded-path-in-tests): New configure
962 option.
963 (hardcoded_path_in_tests): New AC_SUBST.
964 * configure: Regenerated.
965 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
966 $(built-program-cmd) with $(test-program-cmd).
967 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
968 (test_program_cmd): This.
969 * elf/Makefile ($(objpfx)order.out): Run test with
970 $(test-program-prefix).
971 ($(objpfx)order2.out): Likewise.
972 ($(objpfx)tst-initorder.out): Likewise.
973 ($(objpfx)tst-initorder2.out): Likewise.
974 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
975 $(test-program-cmd).
976 ($(objpfx)tst-array1-static.out): Likewise.
977 ($(objpfx)tst-array2.out): Likewise.
978 ($(objpfx)tst-array3.out): Likewise.
979 ($(objpfx)tst-array4.out): Likewise.
980 ($(objpfx)tst-array5.out): Likewise.
981 ($(objpfx)tst-array5-static.out): Likewise.
982 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
983 $(test-program-cmd).
984 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
985 $(run-program-prefix) with $(test-program-prefix).
986 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
987 (test_program_prefix): This.
988 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
989 $(run-program-prefix) with $(test-program-prefix).
990 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
991 (test_program_prefix): This.
992 * iconvdata/tst-tables.sh: Likewise.
993 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
994 $(run-program-prefix) with $(test-program-prefix).
995 ($(objpfx)tst-translit.out): Likewise.
996 ($(objpfx)tst-gettext2.out): Likewise.
997 ($(objpfx)tst-gettext4.out): Likewise.
998 ($(objpfx)tst-gettext6.out): Likewise.
999 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1000 (test_program_prefix): This.
1001 * intl/tst-gettext2.sh: Likewise.
1002 * intl/tst-gettext4.sh Likewise.
1003 * intl/tst-gettext6.sh: Likewise.
1004 * intl/tst-translit.sh: Likewise.
1005 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1006 with $(test-program-cmd).
1007 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1008 $(run-program-prefix) with $(test-program-prefix).
1009 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1010 (test_program_prefix): This.
1011 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1012 $(run-program-prefix) with $(test-program-prefix).
1013 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1014 (test_program_prefix): This.
1015 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1016 * posix/Makefile ($(objpfx)globtest.out): Replace
1017 $(run-via-rtld-prefix) and $(test-wrapper) with
1018 $(test-program-prefix) and $(test-via-rtld-prefix).
1019 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1020 $(test-program-prefix).
1021 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1022 $(host-test-program-cmd).
1023 (tst-spawn-ARGS): Likewise.
1024 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1025 $(test-program-prefix).
1026 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1027 (test_via_rtld_prefix): This.
1028 (test_wrapper): Renamed to ...
1029 (test_program_prefix): This.
1030 (run_program_prefix): Replaced by test_program_prefix.
1031 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1032 (test_program_prefix): This.
1033 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1034 with $(host-test-program-cmd).
1035 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1036 $(run-program-prefix) with $(test-program-prefix).
1037 ($(objpfx)tst-printf.out): Likewise.
1038 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1039 $(test-program-cmd).
1040 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1041 (test_program_prefix): This.
1042 * stdio-common/tst-unbputc.sh: Likewise.
1043 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1044 $(run-program-prefix) with $(test-program-prefix).
1045 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1046 (test_program_prefix): This.
1047 * string/Makefile ($(objpfx)tst-svc.out): Replace
1048 $(built-program-cmd) with $(test-program-cmd).
1049
1050 2013-01-11 Andreas Jaeger <aj@suse.de>
1051
1052 [BZ #15003]
1053 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1054 value. Sync with Linux 3.7.
1055
1056 2013-01-10 David S. Miller <davem@davemloft.net>
1057
1058 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1059 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1060 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1061
1062 2013-01-10 Roland McGrath <roland@hack.frob.com>
1063
1064 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1065 never set.
1066 * configure: Regenerated.
1067
1068 2013-01-10 David S. Miller <davem@davemloft.net>
1069
1070 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1071 sparc V9 rather than using V8 code.
1072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1074
1075 2013-01-10 Roland McGrath <roland@hack.frob.com>
1076
1077 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1078 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1079 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1080 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1081 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1082 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1083 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1084 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1085 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1086 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1087 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1088 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1089 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1090 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1091 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1092 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1093 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1094 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1095 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1096 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1097 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1098 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1099 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1100 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1101 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1102 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1103 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1104
1105 2013-01-10 David S. Miller <davem@davemloft.net>
1106
1107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1108
1109 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 * posix/Makefile (tests-static): New variable.
1112 (tests): Add $(tests-static).
1113 (tst-exec-static-ARGS): New variable.
1114 (tst-spawn-static-ARGS): Likewise.
1115 * posix/tst-exec-static.c: New file.
1116 * posix/tst-spawn-static.c: Likewise.
1117 * posix/tst-exec.c: Support run directly.
1118 * posix/tst-spawn.c: Likewise.
1119
1120 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1121
1122 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1123 long.
1124 * math/bits/mathcalls.h (llrint): Likewise.
1125 (llround): Likewise.
1126 * stdlib/stdlib.h (struct drand48_data): Likewise.
1127 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1128 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1129 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1130 Likewise.
1131 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1132 Likewise.
1133 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1134 (elf_greg_t): Likewise.
1135 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1136 (__jmp_buf): Likewise.
1137 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1138 definitions.
1139 (llrint): Likewise, for all definitions.
1140 (llrintl): Likewise.
1141
1142 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1143 Remove [__GNUC__] condition.
1144 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1145 condition to just [__USE_ISOC99].
1146 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1147
1148 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1149
1150 [BZ #14200]
1151 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1152 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1153 defined.
1154 (_POSIX_V6_ILP32_OFF32): Likewise.
1155 (_XBS5_ILP32_OFF32): Likewise.
1156 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1157 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1158
1159 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1160
1161 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1162
1163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1164 doubles __mpexp_twomm1. Adjust usage.
1165 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1166 Remove.
1167
1168 2013-01-10 Andreas Schwab <schwab@suse.de>
1169
1170 [BZ #14964]
1171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1172 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1173
1174 2013-01-09 David S. Miller <davem@davemloft.net>
1175
1176 [BZ #15003]
1177 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1178 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1179 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1180 TCP_FASTOPEN): Define.
1181 (tcp_repair_opt): New structure.
1182 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1183 enum values.
1184 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1185 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1186 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1187 (tcp_cookie_transactions): New structure.
1188
1189 2013-01-09 Anton Blanchard <anton@samba.org>
1190
1191 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1192 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1193 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1195
1196 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1197
1198 * include/features.h (__USE_ANSI): Remove.
1199
1200 2013-01-09 Roland McGrath <roland@hack.frob.com>
1201
1202 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1203
1204 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1205
1206 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1207
1208 * sysdeps/s390/fpu/libm-test-ulps: Update.
1209
1210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1211
1212 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1213 (__acr): Likewise.
1214 (__cpy): Likewise.
1215 (norm): Likewise.
1216 (denorm): Likewise.
1217 (__mp_dbl): Likewise.
1218 (__dbl_mp): Likewise.
1219 (add_magnitudes): Likewise.
1220 (sub_magnitudes): Likewise.
1221 (__add): Likewise.
1222 (__sub): Likewise.
1223 (__mul): Likewise.
1224 (__inv): Likewise.
1225 (__dvd): Likewise.
1226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1227 (__acr): Likewise.
1228 (__cpy): Likewise.
1229 (norm): Likewise.
1230 (denorm): Likewise.
1231 (__mp_dbl): Likewise.
1232 (__dbl_mp): Likewise.
1233 (add_magnitudes): Likewise.
1234 (sub_magnitudes): Likewise.
1235 (__add): Likewise.
1236 (__sub): Likewise.
1237 (__mul): Likewise.
1238 (__inv): Likewise.
1239 (__dvd): Likewise.
1240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1241 (__acr): Likewise.
1242 (__cpy): Likewise.
1243 (norm): Likewise.
1244 (denorm): Likewise.
1245 (__mp_dbl): Likewise.
1246 (__dbl_mp): Likewise.
1247 (add_magnitudes): Likewise.
1248 (sub_magnitudes): Likewise.
1249 (__add): Likewise.
1250 (__sub): Likewise.
1251 (__mul): Likewise.
1252 (__inv): Likewise.
1253 (__dvd): Likewise.
1254
1255 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1256
1257 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1258 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1259 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1260 2 && __USE_EXTERN_INLINES]: Likewise.
1261
1262 2013-01-08 Andreas Jaeger <aj@suse.de>
1263
1264 [BZ# 14985]
1265 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1266 Remove.
1267 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1268 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1269
1270 2013-01-07 Anton Blanchard <anton@samba.org>
1271
1272 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1273 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1274 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1275 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1276 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1277 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1278 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1279 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1282 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1284 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1286 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1287 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1288 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1289 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1290 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1292 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1295 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1296 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1297 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1298 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1299 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1301 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1302 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1305 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1306 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1307 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1308 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1310 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1313 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1315
1316 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1317
1318 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1319 (__MALLOC_PMT): Likewise.
1320 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1321 [__GNUC__], only on [_LIBC].
1322 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1323 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1324 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1325 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1326 forward declaration.
1327 (realloc_hook_ini): Likewise.
1328 (memalign_hook_ini): Likewise.
1329 (__libc_memalign): Do not use __MALLOC_PMT in variable
1330 declaration.
1331 (__libc_valloc): Likewise.
1332 (__libc_pvalloc): Likewise.
1333 (__libc_calloc): Likewise.
1334 (__posix_memalign): Likewise.
1335
1336 [BZ #14996]
1337 * math/s_casinh.c: Include <float.h>.
1338 (__casinh): Do not do computation with squaring and square root
1339 for large arguments.
1340 * math/s_casinhf.c: Include <float.h>.
1341 (__casinhf): Do not do computation with squaring and square root
1342 for large arguments.
1343 * math/s_casinhl.c: Include <float.h>.
1344 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1345 (__casinhl): Do not do computation with squaring and square root
1346 for large arguments.
1347 * math/libm-test.inc (casin_test): Add more tests.
1348 (casinh_test): Likewise.
1349 * sysdeps/i386/fpu/libm-test-ulps: Update.
1350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1351
1352 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1353
1354 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1355 (__x86_64_raw_data_cache_size): Likewise.
1356 (__x86_64_data_cache_size_half): Likewise.
1357 (__x86_64_raw_data_cache_size_half): Likewise.
1358 (__x86_64_shared_cache_size): Likewise.
1359 (__x86_64_raw_shared_cache_size): Likewise.
1360 (__x86_64_shared_cache_size_half): Likewise.
1361 (__x86_64_raw_shared_cache_size_half): Likewise.
1362 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1363 to ...
1364 (__x86_data_cache_size): This.
1365 (__x86_64_raw_data_cache_size): Renamed to ...
1366 (__x86_raw_data_cache_size): This.
1367 (__x86_64_data_cache_size_half): Renamed to ...
1368 (__x86_data_cache_size_half): This.
1369 (__x86_64_raw_data_cache_size_half): Renamed to ...
1370 (__x86_raw_data_cache_size_half): This.
1371 (__x86_64_shared_cache_size): Renamed to ...
1372 (__x86_shared_cache_size): This.
1373 (__x86_64_raw_shared_cache_size): Renamed to ...
1374 (__x86_raw_shared_cache_size): This.
1375 (__x86_64_shared_cache_size_half): Renamed to ...
1376 (__x86_shared_cache_size_half): This.
1377 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1378 (__x86_raw_shared_cache_size_half): This.
1379 * sysdeps/x86_64/memcpy.S: Updated.
1380 * sysdeps/x86_64/memset.S: Likewise.
1381 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1384
1385 2013-01-04 David S. Miller <davem@davemloft.net>
1386
1387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1388
1389 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1390
1391 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1392 1 to avoid redefinition warning.
1393 (__USE_GNU): Don't define.
1394 (init_signaling_nan): Protoize.
1395
1396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1397
1398 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1399
1400 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1402 (__cpymn): Likewise.
1403 (norm): Remove commented code.
1404 (denorm): Likewise.
1405 (__mp_dbl): Likewise.
1406 (__inv): Likewise.
1407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1408 (__cpymn): Likewise.
1409 (norm): Remove commented code.
1410 (denorm): Likewise.
1411 (__mp_dbl): Likewise.
1412 (__inv): Likewise.
1413
1414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1415 mp_no value for 1.0 and 2.0.
1416 (norm): Use RADIXI instead of radixi.d.
1417 (denorm): Likewise.
1418 (__mul): Use 0.0 instead of zero.d.
1419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1420 mp_no value for 1.0 and 2.0.
1421 (norm): Use RADIXI instead of radixi.d.
1422 (denorm): Likewise.
1423 (__mul): Use 0.0 instead of zero.d.
1424
1425 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1426
1427 [BZ #14994]
1428 * math/s_casinh.c (__casinh): Reduce finite argument to first
1429 quadrant then set signs of results at the end.
1430 * math/s_casinhf.c (__casinhf): Likewise.
1431 * math/s_casinhl.c (__casinhl): Likewise.
1432 * math/libm-test.inc (casin_test): Add more tests.
1433 (casinh_test): Likewise.
1434 * sysdeps/i386/fpu/libm-test-ulps: Update.
1435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1436
1437 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1438
1439 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1440
1441 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1442
1443 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1444 declarations.
1445 (denorm): Likewise.
1446 (__mp_dbl): Likewise.
1447 (__inv): Likewise.
1448
1449 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1450 and adjust the header comment.
1451
1452 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1453 variable name from declaration.
1454
1455 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1458 Initialize COMMON_CPUID_INDEX_7 element.
1459 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1460 (CPUID_RTM): Likewise.
1461 (HAS_RTM): Likewise.
1462 (COMMON_CPUID_INDEX_7): New enum.
1463
1464 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1465
1466 [BZ #14981]
1467 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1468 size is zero, record memory as freed.
1469
1470 2013-01-03 Andreas Jaeger <aj@suse.de>
1471
1472 * po/ia.po: Add new Interlingua translation.
1473
1474 2012-01-03 Allan McRae <allan@archlinux.org>
1475
1476 * locale/programs/localedef.c: Fix description of '--posix' flag.
1477
1478 2013-01-02 Joseph Myers <joseph@codesourcery.com>
1479
1480 * NEWS: Update dates in second copyright notice.
1481 * README: Update copyright dates in example.
1482 * manual/libc.texinfo: Update copyright dates.
1483 * scripts/test-installation.pl: Update copyright date in --version
1484 output.
1485
1486 * hurd/ctty-input.c: Fix copyright notice formatting.
1487 * hurd/ctty-output.c: Likewise.
1488 * hurd/dtable.c: Likewise.
1489 * hurd/hurd-raise.c: Likewise.
1490 * hurd/hurdprio.c: Likewise.
1491 * hurd/msgportdemux.c: Likewise.
1492 * misc/sys/file.h: Likewise.
1493 * misc/sys/ioctl.h: Likewise.
1494 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1495 * sysdeps/mach/hurd/chdir.c: Likewise.
1496 * sysdeps/mach/hurd/fchdir.c: Likewise.
1497 * sysdeps/mach/hurd/rename.c: Likewise.
1498 * sysdeps/mach/hurd/rmdir.c: Likewise.
1499 * sysdeps/mach/hurd/seekdir.c: Likewise.
1500 * sysdeps/mach/hurd/setsid.c: Likewise.
1501 * sysdeps/posix/wait3.c: Likewise.
1502
1503 * All files with FSF copyright notices: Update copyright dates
1504 using scripts/update-copyrights.
1505 * intl/plural.c: Regenerated.
1506 * locale/programs/charmap-kw.h: Likewise.
1507 * locale/programs/locfile-kw.h: Likewise.
1508
1509 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1510
1511 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1512 four values.
1513
1514 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1515 calculation loop and add branch prediction.
1516
1517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1518 check access beyond bounds of m1np.
1519
1520 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1521 MPTWO.
1522 (__inv): Remove local variable MPTWO to use the global
1523 constant.
1524 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1525 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1526 variable MPTWO.
1527 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1528 MP3HALFS static const.
1529
1530 2013-01-01 David S. Miller <davem@davemloft.net>
1531
1532 * po/ca.po: Update from translation team.
1533
1534 2013-01-01 Joseph Myers <joseph@codesourcery.com>
1535
1536 * scripts/update-copyrights: New file.
1537 * Makeconfig: Reformat copyright notice.
1538 * ctype/ctype.h: Likewise.
1539 * debug/swprintf_chk.c: Likewise.
1540 * elf/dl-cache.c: Likewise.
1541 * elf/dl-debug.c: Likewise.
1542 * elf/dl-object.c: Likewise.
1543 * grp/initgroups.c: Likewise.
1544 * hurd/Makefile: Likewise.
1545 * hurd/hurd/signal.h: Likewise.
1546 * hurd/hurdfault.c: Likewise.
1547 * hurd/hurdioctl.c: Likewise.
1548 * hurd/hurdlookup.c: Likewise.
1549 * hurd/intr-msg.c: Likewise.
1550 * iconv/gconv_open.c: Likewise.
1551 * libio/swprintf.c: Likewise.
1552 * locale/lc-ctype.c: Likewise.
1553 * locale/nl_langinfo.c: Likewise.
1554 * mach/Machrules: Likewise.
1555 * mach/Makefile: Likewise.
1556 * malloc/obstack.h: Likewise.
1557 * manual/Makefile: Likewise.
1558 * manual/tsort.awk: Likewise.
1559 * misc/bits/stab.def: Likewise.
1560 * nis/nis_print_group_entry.c: Likewise.
1561 * nis/nis_table.c: Likewise.
1562 * nis/nss_compat/compat-pwd.c: Likewise.
1563 * nis/nss_compat/compat-spwd.c: Likewise.
1564 * po/Makefile: Likewise.
1565 * posix/fnmatch.c: Likewise.
1566 * posix/regex.h: Likewise.
1567 * resolv/Makefile: Likewise.
1568 * resolv/nss_dns/dns-network.c: Likewise.
1569 * resolv/res_hconf.c: Likewise.
1570 * scripts/gen-sorted.awk: Likewise.
1571 * soft-fp/soft-fp.h: Likewise.
1572 * stdio-common/printf.h: Likewise.
1573 * stdlib/monetary.h: Likewise.
1574 * stdlib/random.c: Likewise.
1575 * stdlib/random_r.c: Likewise.
1576 * sysdeps/generic/Makefile: Likewise.
1577 * sysdeps/gnu/Makefile: Likewise.
1578 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1606 * sysdeps/mach/hurd/errnos.awk: Likewise.
1607 * sysdeps/mach/hurd/fork.c: Likewise.
1608 * sysdeps/mach/hurd/getcwd.c: Likewise.
1609 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1610 * sysdeps/mach/hurd/mmap.c: Likewise.
1611 * sysdeps/mach/hurd/utimes.c: Likewise.
1612 * sysdeps/mach/hurd/xmknod.c: Likewise.
1613 * sysdeps/posix/profil.c: Likewise.
1614 * sysdeps/posix/readdir_r.c: Likewise.
1615 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1616 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1617 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1618 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1620 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1624 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1625 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1626 * sysdeps/pthread/lio_listio.c: Likewise.
1627 * sysdeps/sparc/dl-procinfo.h: Likewise.
1628 * sysdeps/unix/i386/sysdep.S: Likewise.
1629 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1630 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1631 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1632 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1634 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1635 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1636 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1637 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1638 * sysdeps/wordsize-32/divdi3.c: Likewise.
1639 * time/sys/time.h: Likewise.
1640 * wcsmbs/Makefile: Likewise.
1641
1642 2013-01-01 David S. Miller <davem@davemloft.net>
1643
1644 * po/fr.po: Update from translation team.
1645
1646 * catgets/gencat.c: Update copyright year.
1647 * csu/version.c: Likewise.
1648 * debug/catchsegv.sh: Likewise.
1649 * debug/pcprofiledump.c: Likewise.
1650 * debug/xtrace.sh: Likewise.
1651 * elf/ldconfig.c: Likewise.
1652 * elf/ldd.bash.in: Likewise.
1653 * elf/pldd.c: Likewise.
1654 * elf/sotruss.ksh: Likewise.
1655 * elf/sprof.c: Likewise.
1656 * iconv/iconv_prog.c: Likewise.
1657 * iconv/iconvconfig.c: Likewise.
1658 * locale/programs/locale.c: Likewise.
1659 * locale/programs/localedef.c: Likewise.
1660 * login/programs/pt_chown.c: Likewise.
1661 * malloc/memusage.sh: Likewise.
1662 * malloc/memusagestat.c: Likewise.
1663 * malloc/mtrace.pl: Likewise.
1664 * nscd/nscd.c: Likewise.
1665 * nss/getent.c: Likewise.
1666 * nss/makedb.c: Likewise.
1667 * posix/getconf.c: Likewise.
1668
1669 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1670
1671 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1672 numbers.
1673
1674 2012-12-30 Mike Frysinger <vapier@gentoo.org>
1675
1676 * math/bits/mathcalls.h (modf): Use __nonnull.
1677
1678 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1679
1680 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1681 (split): Use macro CN instead of the bare value.
1682 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1683 could be used.
1684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1685 instead of the bare value.
1686 (power1): Likewise.
1687
1688 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1689
1690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1691 __ATAN_TWOM.
1692 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1693
1694 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1695 their values.
1696 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1697 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1698 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1699 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1700
1701 2012-12-28 Andreas Jaeger <aj@suse.de>
1702
1703 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1704 values are from Linux 3.7.
1705
1706 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1707 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1708
1709 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1710
1711 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1712 TRUE case.
1713
1714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1715 (norm): Likewise.
1716 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1717 variables with preprocessor constants.
1718 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1719 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1720 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1721
1722 2012-12-27 Bruno Haible <bruno@clisp.org>
1723
1724 [BZ #14317]
1725 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1726 only if needed.
1727
1728 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1729
1730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1731 and use variable directly.
1732 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1733
1734 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1735 MPONE.
1736 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1738 variable MPONE.
1739 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1741 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1742 include directive. Remove local variable MPONE.
1743 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1744 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1745 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1746
1747 2012-12-25 David S. Miller <davem@davemloft.net>
1748
1749 * version.h (RELEASE): Set to "development".
1750 (VERSION): Set to "2.17.90".
1751 * NEWS: Add 2.18 section.
1752
1753 2012-12-21 David S. Miller <davem@davemloft.net>
1754
1755 * po/hr.po: Update from translation team.
1756
1757 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1758
1759 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1760
1761 2012-12-19 Steve Ellcey <sellcey@mips.com>
1762
1763 * NEWS: Mention new memcpy for MIPS.
1764
1765 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1766
1767 * manual/contrib.texi (Contributors): Spelling correction.
1768
1769 2012-12-15 David S. Miller <davem@davemloft.net>
1770
1771 * po/ru.po: Update from translation team.
1772
1773 2012-12-13 David S. Miller <davem@davemloft.net>
1774
1775 * NEWS: Mention IFUNC testsuite enhancements.
1776
1777 * po/pl.po: Update from translation team.
1778 * po/bg.po: Likewise.
1779
1780 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1781 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1782
1783 2012-12-11 David S. Miller <davem@davemloft.net>
1784
1785 * po/sv.po: Update from translation team.
1786
1787 * po/vi.po: Update from translation team.
1788
1789 * po/cs.po: Update from translation team.
1790
1791 * po/de.po: Update from translation team.
1792 * po/eo.po: Likewise.
1793 * po/nl.po: Likewise.
1794
1795 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1796
1797 [BZ #14246]
1798 * manual/argp.texi (Argp Helper Functions): Move node to follow
1799 Argp Parsing State.
1800
1801 [BZ #14872]
1802 * manual/conf.texi (Limits on File System Capacity): Mention if
1803 terminating null is included in the max size.
1804
1805 2012-12-10 Andreas Jaeger <aj@suse.de>
1806
1807 * po/cs.po: Update from translation team.
1808
1809 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1810
1811 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1812 void pointer and cast to uintptr_t.
1813 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1814 path.
1815 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1816 * sysdeps/s390/s390-64/memset.S: Likewise.
1817
1818 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
1819
1820 [BZ #14833]
1821 * menual/message.texi (Message Translation): Fix typos.
1822 (Helper programs for gettext): Likewise.
1823
1824 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1825
1826 [BZ #14898]
1827 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1828 Change to -1.
1829
1830 2012-12-07 David S. Miller <davem@davemloft.net>
1831
1832 * po/libc.pot: Update.
1833
1834 2012-12-07 Richard Henderson <rth@redhat.com>
1835
1836 [BZ #10114]
1837 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1838 normal/normal case to before the switch.
1839 (_FP_DIV): Likewise.
1840
1841 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1842 Mike Frysinger <vapier@gentoo.org>
1843
1844 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1845 check for __NR_fadvise64_64.
1846
1847 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1848
1849 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1850 0, not just to plain "0" as a statement.
1851 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1852 with cw.
1853
1854 2012-12-06 Joseph Myers <joseph@codesourcery.com>
1855
1856 * NEWS: Use sourceware.org in Bugzilla URL.
1857
1858 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1859
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1861 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1862
1863 * stdio-common/tst-put-error.c (do_test): Add newline to the
1864 padded test to ensure flush.
1865
1866 2012-12-05 Jeff Law <law@redhat.com>
1867
1868 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1869
1870 2012-12-05 Joseph Myers <joseph@codesourcery.com>
1871
1872 * README: Don't refer to ports add-on as distributed separately.
1873 Mention AArch64 in list of systems supported in the ports add-on.
1874
1875 * LICENSES: Add more non-FSF copyright and license notices.
1876
1877 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1878 ((unused)).
1879
1880 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1881
1882 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1883 10000 as width of padded output.
1884
1885 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1886
1887 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1888
1889 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1890 variable LX with __attribute__ ((unused)).
1891 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1892 Likewise.
1893 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1896 with __attribute__ ((unused)).
1897
1898 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
1899
1900 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1901
1902 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1903
1904 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1905 (CFLAGS-nldbl-acos.c): New variable.
1906 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1907 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1908 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1909 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1910 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1911 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1912 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1913 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1914 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1915 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1916 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1917 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1918 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1919 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1920 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1921 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1922 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1923 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1924 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1925 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1926 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1927 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1928 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1929 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1930 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1931 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1932 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1933 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1934 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1935 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1936 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1937 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1938 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1939 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1940 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1941 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1942 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1943 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1944 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1945 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1946 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1947 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1948 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1949 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1950 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1951 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1952 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1953 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1954 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1955 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1956 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1957 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1958 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1959 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1960 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1961 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1962 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1963 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1964 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1965 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1966 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1967 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1968 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1969 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1970 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1971 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1972 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1973 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1974 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1975 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1976 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1977 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1978 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1979 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1980 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1981 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1982 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1983 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1984 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1985 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1986 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1987 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1988 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1989 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1990 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1991 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1992 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1993 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1994 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1995 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1996 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1997 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1998 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1999 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2000 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2001 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2002 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2003
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2005 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2006
2007 [BZ #14914]
2008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2009 whole low double instead of just low 47 bits when splitting values
2010 into two parts.
2011
2012 2012-12-03 Allan McRae <allan@archlinux.org>
2013
2014 * manual/stdio.texi (Predefined Printf Handlers): Remove
2015 @hsep and @vsep usage.
2016
2017 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2018
2019 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2020 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2021
2022 2012-12-03 Jeff Law <law@redhat.com>
2023
2024 * time/sys/time.h (settimeofday): Do not mark TV argument
2025 as __nonnull.
2026
2027 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2028
2029 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2030 when currently writing and seek to current position when not.
2031 * libio/Makefile (tests): Remove bug-fclose1.
2032 * libio/bug-fclose1.c: Delete.
2033
2034 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2035
2036 * manual/arith.texi (feenableexcept): Fix typo.
2037 (fedisableexcept): Likewise.
2038
2039 2012-11-30 Roland McGrath <roland@hack.frob.com>
2040
2041 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2042 second, differently-typed declaration, rather than a cast.
2043
2044 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2045
2046 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2047 * include/rpc/svc.h: ... here.
2048
2049 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2050
2051 [BZ #13013]
2052 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2053 depending n and resplen2 to catch cases where answer
2054 equals answerp2.
2055
2056 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2057
2058 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2059 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2060
2061 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2062
2063 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2064
2065 2012-11-29 Roland McGrath <roland@hack.frob.com>
2066
2067 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2068
2069 2012-11-28 Jeff Law <law@redhat.com>
2070
2071 [BZ #13761]
2072 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2073 dataset_temporary. Track alloca usage into alloca_used.
2074 If dataset is large allocate and release it via malloc/free.
2075
2076 2012-06-04 Florian Weimer <fweimer@redhat.com>
2077
2078 [BZ #14197]
2079 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2080
2081 2012-11-28 David S. Miller <davem@davemloft.net>
2082
2083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2084
2085 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2086
2087 [BZ #14803]
2088 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2089 of pi/2 rounded to nearest to 64 bits.
2090 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2091 nearest to 64 bits.
2092 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2093 bits.
2094
2095 2012-11-28 Jeff Law <law@redhat.com>
2096 Martin Osvald <mosvald@redhat.com>
2097
2098 [BZ #14889]
2099 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2100 * sunrpc/svc.c: Include time.h.
2101 (__svc_accept_failed): New function.
2102 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2103 any reason other than EINTR, call __svc_accept_failed.
2104 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2105 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2106
2107 2012-11-28 Andreas Schwab <schwab@suse.de>
2108
2109 * scripts/abilist.awk: Also handle indirect functions in .opd
2110 section.
2111
2112 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2113
2114 [BZ #13881]
2115 * sysdeps/x86/fpu/powl_helper.c: New file.
2116 * sysdeps/x86/fpu/Makefile: Likewise.
2117 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2118 (p3): New object.
2119 (__ieee754_powl): Use __powl_helper for finite arguments except
2120 integer exponents below 8.
2121 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests and enable some
2126 previously disabled tests.
2127 * sysdeps/i386/fpu/libm-test-ulps: Update.
2128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2129
2130 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2131 Carlos O'Donell <carlos_odonell@mentor.com>
2132
2133 * nss/makedb.c (is_prime): Assert that input is odd and greater
2134 than 4. Note that fact in a comment too.
2135 (next_prime): Add 4 to input.
2136
2137 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2138
2139 [BZ #11741]
2140 * libio/Makefile (tests): Add test case tst-fwrite-error.
2141 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2142 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2143 * libio/tst-fwrite-error.c: New test case.
2144
2145 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2148 before casting to void *.
2149 * include/libc-internal.h (__pointer_type): New macro.
2150 (__integer_if_pointer_type_sub): Likewise.
2151 (__integer_if_pointer_type): Likewise.
2152 (cast_to_integer): Likewise.
2153 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2154 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2155 before casting to atomic64_t.
2156 (atomic_exchange_acq): Likewise.
2157 (__arch_exchange_and_add_body): Likewise.
2158 (__arch_add_body): Likewise.
2159 (atomic_add_negative): Likewise.
2160 (atomic_add_zero): Likewise.
2161
2162 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2163
2164 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2165 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2166 (add_fdes): Likewise.
2167 (linear_search_fdes): Likewise.
2168 (binary_search_unencoded_fdes): Likewise.
2169
2170 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2171
2172 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2173
2174 2012-11-24 Adam Conrad <adconrad@0c3.net>
2175
2176 * configure.in: Autodetect C++ header directories.
2177 * configure: Regenerated.
2178
2179 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2180
2181 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2182
2183 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2184
2185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2186
2187 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2188
2189 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2190 LDBL_MANT_DIG == 106]: Disable some tests.
2191 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2192 Likewise.
2193 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2194 Likewise.
2195
2196 [BZ #14871]
2197 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2198 input for small inputs. Return +/- pi/2 for large inputs.
2199 * math/libm-test.inc (atan_test): Add more tests.
2200
2201 * sysdeps/generic/unwind-dw2-fde-glibc.c
2202 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2203 __attribute__ ((unused)).
2204
2205 [BZ #14645]
2206 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2207 x * y if x and y are nonzero and z is zero.
2208
2209 [BZ #14811]
2210 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2211 nonzero exponents with absolute value below 0x1p-117 to +/-
2212 0x1p-117.
2213
2214 [BZ #14869]
2215 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2216 up arguments below 2**-450, not just those below 2**-500.
2217 * math/libm-test.inc (hypot_test): Add another test.
2218
2219 [BZ #14868]
2220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2221 Return a+b for ratio over 2**120, not 2**60.
2222 * math/libm-test.inc (hypot_test): Add another test.
2223
2224 * math/libm-test.inc (clog_test): Use
2225 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2226 (clog10_test): Likewise.
2227
2228 [BZ #6778]
2229 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2230
2231 2012-11-22 Andreas Schwab <schwab@suse.de>
2232
2233 * sysdeps/i386/fpu/libm-test-ulps: Update.
2234
2235 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2236
2237 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2238 printf output with newline.
2239
2240 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2241
2242 [BZ #14865]
2243 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2244 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2245 -z nodlopen, -z initfirst and -z execstack support.
2246 * configure: Regenerated.
2247
2248 * elf/elf.h (DF_1_NODIRECT): New macro.
2249 (DF_1_IGNMULDEF): Likewise.
2250 (DF_1_NOKSYMS): Likewise.
2251 (DF_1_NOHDR): Likewise.
2252 (DF_1_EDITED): Likewise.
2253 (DF_1_NORELOC): Likewise.
2254 (DF_1_SYMINTPOSE): Likewise.
2255 (DF_1_GLOBAUDIT): Likewise.
2256 (DF_1_SINGLETON): Likewise.
2257 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2258 DT_1_SUPPORTED_MASK bits.
2259 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2260
2261 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2262
2263 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2264
2265 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2266
2267 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2268 macro.
2269
2270 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2271 (sendmmsg): Move declarations...
2272 * socket/sys/socket.h: ... here.
2273 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2274 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2275 include it from...
2276 * socket/recvmmsg.c: ... this new file.
2277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2278 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2279 definition of __sendmmsg hidden.
2280 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2281 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2282 Move ENOSYS stub into and include it from...
2283 * socket/sendmmsg.c: ... this new file.
2284 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2285 (sysdep_routines): Move recvmmsg and sendmmsg...
2286 * socket/Makefile (routines): ... here.
2287 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2288 (GLIBC_PRIVATE): Add __sendmmsg.
2289 * include/sys/socket.h (__sendmmsg): Add declarations.
2290 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2291 sendmmsg.
2292
2293 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2294
2295 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2296 variable I1 with __attribute__ ((unused)).
2297 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2298
2299 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2300
2301 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2302 DUMMY variables with __attribute__ ((unused)).
2303
2304 * bits/byteswap.h: Include <bits/types.h>.
2305 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2306
2307 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2308
2309 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2310 string_t. Do not manually set errno.
2311 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2312 length with __strnlen. Make sure to both set errno and return it on
2313 failure.
2314
2315 2012-11-19 David S. Miller <davem@davemloft.net>
2316
2317 With help from Joseph Myers.
2318 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2319 very large arguments properly.
2320 * math/libm-test.inc (atan_test): New tests.
2321 (atan2_test): New tests.
2322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2324
2325 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2326
2327 [BZ #14856]
2328 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2329 Define to 3.
2330
2331 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2332 [POSIX] (EADDRNOTAVAIL): Likewise.
2333 [POSIX] (EAFNOSUPPORT): Likewise.
2334 [POSIX] (EALREADY): Likewise.
2335 [POSIX] (ECONNABORTED): Likewise.
2336 [POSIX] (ECONNREFUSED): Likewise.
2337 [POSIX] (ECONNRESET): Likewise.
2338 [POSIX] (EDESTADDRREQ): Likewise.
2339 [POSIX] (EDQUOT): Likewise.
2340 [POSIX] (EHOSTUNREACH): Likewise.
2341 [POSIX] (EIDRM): Likewise.
2342 [POSIX] (EISCONN): Likewise.
2343 [POSIX] (ELOOP): Likewise.
2344 [POSIX] (EMULTIHOP): Likewise.
2345 [POSIX] (ENETDOWN): Likewise.
2346 [POSIX] (ENETUNREACH): Likewise.
2347 [POSIX] (ENOBUFS): Likewise.
2348 [POSIX] (ENODATA): Likewise.
2349 [POSIX] (ENOLINK): Likewise.
2350 [POSIX] (ENOMSG): Likewise.
2351 [POSIX] (ENOPROTOOPT): Likewise.
2352 [POSIX] (ENOSR): Likewise.
2353 [POSIX] (ENOSTR): Likewise.
2354 [POSIX] (ENOTCONN): Likewise.
2355 [POSIX] (ENOTSOCK): Likewise.
2356 [POSIX] (EOPNOTSUPP): Likewise.
2357 [POSIX] (EOVERFLOW): Likewise.
2358 [POSIX] (EPROTO): Likewise.
2359 [POSIX] (EPROTONOSUPPORT): Likewise.
2360 [POSIX] (EPROTOTYPE): Likewise.
2361 [POSIX] (ESTALE): Likewise.
2362 [POSIX] (ETIME): Likewise.
2363 [POSIX] (ETXTBSY): Likewise.
2364 [POSIX] (EWOULDBLOCK): Likewise.
2365 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2366 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2367 [POSIX] (SEEK_CUR): Likewise.
2368 [POSIX] (SEEK_END): Likewise.
2369 [POSIX || UNIX98] (mode_t): Do not require.
2370 [POSIX] (off_t): Likewise.
2371 [POSIX] (pid_t): Likewise.
2372 [POSIX] (sys/stat.h): Do not allow header.
2373 [POSIX] (unistd.h): Likewise.
2374 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2375 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2376 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2377 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2378 require.
2379 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2380 sigevent): Specify elements.
2381 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2382 entry.
2383 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2384 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2385
2386 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2387 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2388 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2389 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2390 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2391 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2392 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2393 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2394 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2395 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2396 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2397 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2398 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2399 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2400 Likewise.
2401 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2402 Likewise.
2403 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2404 Likewise.
2405 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2406 Likewise.
2407 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2408 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2409 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2410 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2411 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2412 Specify lower bound on value.
2413 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2414 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2415 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2416 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2417 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2418 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2419 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2420 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2421 value.
2422 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2423 as optional.
2424 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2425 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2426 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2427 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2428 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2429 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2430 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2431 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2432 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2433 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2434 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2435 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2436 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2437 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2438 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2439 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2440 entry.
2441 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2442 optional.
2443 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2444 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2445 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2446 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2447 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2448 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2449 Likewise.
2450 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2451 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2452 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2453 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2454 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2455 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2456 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2457 as optional.
2458 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2459 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2460 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2461 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2462 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2463 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2464 specify as optional.
2465 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2466 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2467 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2468 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2469 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2470 [XPG3] (NL_LANGMAX): Likewise.
2471 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2472 [POSIX || XPG3] (NL_NMAX): Likewise.
2473 [POSIX || XPG3] (NL_SETMAX): Likewise.
2474 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2475 [XPG3] (NZERO): Likewise.
2476 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2477 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2478 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2479 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2480 (REG_ERANGE): Expect.
2481 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2482 optional-constant.
2483 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2484 Use (void) in prototype.
2485 [POSIX] (*_t): Allow.
2486 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2487 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2488 (WRDE_BADVAL): Expect.
2489
2490 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2491 expect.
2492 [XPG3 || XPG4] (O_RSYNC): Likewise.
2493 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2494 Likewise.
2495 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2496 [XPG3 || XPG4] (sigqueue): Likewise.
2497 [XPG3 || XPG4] (sigtimedwait): Likewise.
2498 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2499 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2500 [XPG3 || XPG4] (vsnprintf): Likewise.
2501 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2502 Likewise.
2503 [XPG3 || XPG4] (blksize_t): Likewise.
2504 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2505 Likewise.
2506 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2507 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2508 [XPG3 || XPG4] (struct itimerspec): Likewise.
2509 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2510 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2511 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2512 [XPG3 || XPG4] (clockid_t): Likewise.
2513 [XPG3 || XPG4] (timer_t): Likewise.
2514 [XPG3 || XPG4] (clock_getres): Likewise.
2515 [XPG3 || XPG4] (clock_gettime): Likewise.
2516 [XPG3 || XPG4] (clock_settime): Likewise.
2517 [XPG3 || XPG4] (nanosleep): Likewise.
2518 [XPG3 || XPG4] (timer_create): Likewise.
2519 [XPG3 || XPG4] (timer_delete): Likewise.
2520 [XPG3 || XPG4] (timer_gettime): Likewise.
2521 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2522 [XPG3 || XPG4] (timer_settime): Likewise.
2523 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2524 [XPG3 || XPG4] (getlogin_r): Likewise.
2525 [XPG3 || XPG4] (pread): Likewise.
2526 [XPG3 || XPG4] (pthread_atfork): Likewise.
2527 [XPG3 || XPG4] (pwrite): Likewise.
2528
2529 [BZ #14835]
2530 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2531 <bits/siginfo.h>.
2532
2533 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2534
2535 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2536 finalizing MALLSTREAM.
2537
2538 * sysdeps/mach/hurd/syncfs.c: New file.
2539
2540 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2541
2542 [BZ #14719]
2543 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2544 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2545 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2546 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2547 (_nss_dns_gethostbyname4_r): Likewise.
2548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2549 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2550
2551 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2552
2553 [BZ #13763]
2554 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2555
2556 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2557
2558 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2559 * elf/cache.c (print_entry): Print ",AArch64" for
2560 FLAG_AARCH64_LIB64
2561
2562 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2563 * elf/cache.c (print_entry): Print ",hard-float" for
2564 FLAG_ARM_LIBHF.
2565
2566 2012-11-18 David S. Miller <davem@davemloft.net>
2567
2568 With help from Joseph Myers.
2569 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2570 cutoff to 2**-13.
2571 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2572 cutoff to 2**-25.
2573 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2574 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2575 small.
2576 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2577 * math/libm-test.inc (y0_test): New tests.
2578 (y1_test): New tests.
2579 * sysdeps/i386/fpu/libm-test-ulps: Update.
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2582
2583 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2584
2585 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2586 64-bit targets.
2587 * configure: Regenerated.
2588
2589 2012-11-17 David S. Miller <davem@davemloft.net>
2590
2591 [BZ #14811]
2592 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2593 nonzero exponents with absolute value below 0x1p-128 to +/-
2594 0x1p-128.
2595
2596 2012-11-17 Joseph Myers <joseph@codesourcery.com>
2597
2598 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2599
2600 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2601
2602 * posix/getconf-speclist.c: New file.
2603 * posix/posix-envs.def: Likewise.
2604 * posix/confstr.c (START_ENV_GROUP): New macro.
2605 (END_ENV_GROUP): Likewise.
2606 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2607 (KNOWN_PRESENT_ENV_STRING): Likewise.
2608 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2609 (UNKNOWN_ENVIRONMENT): Likewise.
2610 (confstr): Include posix-envs.def instead of handling
2611 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2612 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2613 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2614 (END_ENV_GROUP): Likewise.
2615 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2616 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2617 (UNKNOWN_ENVIRONMENT): Likewise.
2618 (__sysconf): Include posix-envs.def instead of handling associated
2619 cases directly here.
2620 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2621 preprocessing getconf-speclist.c rather than running getconf or
2622 generating empty file.
2623
2624 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2625
2626 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2627
2628 2012-11-16 Andrej Lajovic <natrij@gmail.com>
2629
2630 [BZ #14672]
2631 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2632
2633 2012-11-16 David S. Miller <davem@davemloft.net>
2634
2635 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2636 smaller than LDBL_EPSILON/2.0L, just return xm1.
2637
2638 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * elf/tst-array1.c (init): Set constructor priority to 1000.
2641 (fini): Set destructor priority to 1000.
2642 * elf/tst-array2dep.c: Likewise.
2643
2644 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2645
2646 [BZ #11741]
2647 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2648 (_IO_new_file_xsputn): Also return EOF if none of the input
2649 data was written when overflow failed.
2650 * libio/iopadn.c (_IO_padn): Likewise.
2651 * libio/iowpadn.c (_IO_wpadn): Likewise.
2652 * stdio-common/tst-put-error.c: Add copyright notice.
2653 (do_test): Add case for printing padded string.
2654 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2655 _IO_padn returned error.
2656 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2657 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2658 return EOF.
2659
2660 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2661
2662 * libio/libioP.h: Add comment note that the references to C++
2663 bits are now obsolete.
2664
2665 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2666
2667 * math/libm-test.inc (check_complex): Use asprintf.
2668
2669 2012-11-14 Joseph Myers <joseph@codesourcery.com>
2670
2671 * debug/pcprofiledump.c (print_version): Update copyright year.
2672 * malloc/memusagestat.c (print_version): Likewise.
2673
2674 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2675
2676 [BZ #14831]
2677 * elf/Makefile (tests): Add tst-audit8.
2678 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2679 ($(objpfx)tst-audit8.out): New target.
2680 (tst-audit8-ENV): New variable.
2681 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2682 audit if l_reloc_result is NULL.
2683 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2684 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2685 * elf/tst-audit8.c: New file.
2686
2687 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2688
2689 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2690 * misc/Makefile (CFLAGS-select.c): Define.
2691 * posix/Makefile (CFLAGS-pause.c): Define.
2692
2693 2012-11-13 David S. Miller <davem@davemloft.net>
2694
2695 * crypt/Makefile: Move test targets after toplevel Rules
2696 inclusion. Grab any necessary sysdep routines when linking.
2697 * crypt/md5.c (md5_process_block): Remove define, we will always
2698 name it __md5_process_block.
2699 (md5_finish_ctx): Update md5_process_block call.
2700 (md5_stream): Likewise.
2701 (md5_process_bytes): Likewise.
2702 (md5_process_block): Rename to __md5_process_block and move to ...
2703 * crypt/md5-block.c: ... here.
2704 * crypt/sha256.c (sha256_process_block): Move to ...
2705 * crypt/sha256-block.c: ... here.
2706 * crypt/sha512.c (sha512_process_block): Move to ...
2707 * crypt/sha512-block.c: ... here.
2708 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2709 path.
2710 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2711 * sysdeps/sparc/sparc64/multiarch/Makefile
2712 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2713 crypt subdir.
2714 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2715 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2716 multiarch changes.
2717 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2718 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2719 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2720 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2721 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2722 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2723 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2724 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2725 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2726 file.
2727 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2728 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2729 file.
2730 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2731
2732 2012-11-13 Joseph Myers <joseph@codesourcery.com>
2733
2734 * timezone/tzselect.ksh: Update from tzcode git revision
2735 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2736 * timezone/zdump.c: Likewise.
2737 * timezone/zic.c: Likewise.
2738 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2739 in TZVERSION setting, not $(PKGVERSION).
2740 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2741 REPORT_BUGS_TO settings.
2742
2743 [BZ #14838]
2744 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2745 macro.
2746
2747 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2748
2749 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2750 detection to immediately after _FP_ROUND().
2751 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2752 bits are 0.
2753
2754 2012-11-11 David S. Miller <davem@davemloft.net>
2755
2756 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2757 inttypes.h
2758 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2759 __close rather than their public counterparts.
2760
2761 2012-11-10 Joseph Myers <joseph@codesourcery.com>
2762
2763 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2764 file.
2765 [UNIX98] (sem_timedwait): Do not expect.
2766 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2767 [XPG4 || UNIX98] (sockatmark): Do not expect.
2768 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2769 (clock_getcpuclockid): Do not expect.
2770 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2771 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2772 Do not expect.
2773 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2774 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2775 [UNIX98] (vwscanf): Likewise.
2776 [UNIX98] (vswscanf): Likewise.
2777
2778 2012-11-09 Joseph Myers <joseph@codesourcery.com>
2779
2780 * timezone/version.h: Remove file.
2781 * timezone/README: Do not refer to version.h.
2782 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2783 $(objpfx)version.h.
2784 ($(objpfx)zdump.o): Likewise.
2785 ($(objpfx)version.h): New target.
2786
2787 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2788 2012i.
2789 * timezone/README: Don't mention modification to tzselect.ksh.
2790 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2791 work on unmodified tzselect.ksh. Substitute version numbers in
2792 tzselect.ksh.
2793
2794 * Makefile (format-me): Remove.
2795 (INSTALL): Adjust indentation. Use commands directly instead of
2796 using $(format-me).
2797
2798 * aclocal.m4 (ACX_PKGVERSION): New macro.
2799 (ACX_BUGURL): Likewise.
2800 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2801 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2802 (REPORT_BUGS_TO): Likewise.
2803 * configure: Regenerated.
2804 * config.h.in (PKGVERSION): New macro.
2805 (REPORT_BUGS_TO): Likewise.
2806 * config.make.in (PKGVERSION): New variable.
2807 (PKGVERSION_TEXI): Likewise.
2808 (REPORT_BUGS_TO): Likewise.
2809 (REPORT_BUGS_TEXI): Likewise.
2810 * Makefile (format-me): Use -I$(common-objpfx)manual.
2811 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2812 ($(common-objpfx)manual/%): New target.
2813 (manual/%): Remove target.
2814 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2815 (print_version): Use PKGVERSION.
2816 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2817 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2818 and REPORT_BUGS_TO.
2819 ($(objpfx)xtrace): Likewise.
2820 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2821 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2822 (print_version): Use PKGVERSION.
2823 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2824 (do_version): Use PKGVERSION.
2825 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2826 REPORT_BUGS_TO.
2827 (common-ldd-rewrite): Likewise.
2828 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2829 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2830 (print_version): Use PKGVERSION.
2831 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2832 * elf/pldd.c (argp_program_bug_address): Remove variable.
2833 (more_help): New function.
2834 (argp): Use more_help.
2835 (print_version): Use PKGVERSION.
2836 * elf/sln.c (main): Use PKGVERSION.
2837 (usage): Use REPORT_BUGS_TO.
2838 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2839 (top level): Use PKGVERSION.
2840 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2841 (print_version): Use PKGVERSION.
2842 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2843 (print_version): Use PKGVERSION.
2844 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2845 (print_version): Use PKGVERSION.
2846 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2847 (print_version): Use PKGVERSION.
2848 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2849 (print_version): Use PKGVERSION.
2850 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2851 (print_version): Use PKGVERSION.
2852 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2853 and BUGURL.
2854 ($(objpfx)memusage): Likewise.
2855 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2856 (do_version): Use PKGVERSION.
2857 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2858 (print_version): Use PKGVERSION.
2859 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2860 ($PKGVERSION): New variable.
2861 ($REPORT_BUGS_TO): Likewise.
2862 (usage): Use $REPORT_BUGS_TO.
2863 (top level): Use $PKGVERSION.
2864 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2865 ($(objpfx)pkgvers.texi): New rule.
2866 ($(objpfx)stamp-pkgvers): Likewise.
2867 * manual/install.texi: Include pkgvers.texi.
2868 (--with-pkgversion): Document new configure option.
2869 (--with-bugurl): Likewise.
2870 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2871 than necessarily for this particular distribution. Use
2872 REPORT_BUGS_TO for where to report bugs.
2873 * INSTALL: Regenerated.
2874 * manual/libc.texinfo: Include pkgvers.texi.
2875 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2876 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2877 (print_version): Use PKGVERSION.
2878 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2879 (print_version): Use PKGVERSION.
2880 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2881 (print_version): Use PKGVERSION.
2882 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2883 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2884 macro.
2885 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2886 (print_version): Use PKGVERSION.
2887 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2888 (print_version): Use PKGVERSION.
2889 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2890 and PKGVERSION.
2891
2892 * timezone/checktab.awk: Update from tzcode 2012i.
2893 * timezone/ialloc.c: Likewise.
2894 * timezone/private.h: Likewise.
2895 * timezone/scheck.c: Likewise.
2896 * timezone/tzfile.h: Likewise.
2897 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2898 (TZVERSION): Hardcode tzcode version number.
2899 * timezone/zdump.c: Update from tzcode 2012i.
2900 * timezone/zic.c: Likewise.
2901 * timezone/version.h: New file.
2902 * timezone/README: Describe version.h. Update upstream location.
2903
2904 [BZ #14824]
2905 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2906 (mktemp): Enable declaration.
2907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2911 Likewise.
2912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2913 Likewise.
2914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2915 Likewise.
2916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2917 Likewise.
2918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2919 Likewise.
2920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2921 Likewise.
2922
2923 [BZ #14821]
2924 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2925 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2926 for copies of such integer values.
2927 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2928 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2929
2930 2012-11-09 Andreas Jaeger <aj@suse.de>
2931
2932 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2933 definitions and declarations that are provided by
2934 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2935
2936 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2937
2938 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2939 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2940 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2941 definition.
2942
2943 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2944
2945 * elf/elf.h: Update comment before AArch64 relocations.
2946
2947 2012-11-07 David S. Miller <davem@davemloft.net>
2948
2949 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2951 (__start_context): Declare.
2952 (__makecontext_ret): Delete.
2953 (__makecontext): Hook up __start_context instead of
2954 __makecontext_ret.
2955 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2956 (sysdep_routines): Add __start_context when in stdlib.
2957
2958 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2959
2960 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2961 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2962 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2963 hardcoded "nm".
2964 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2965 (READELF): New variable. Use it instead of hardcoded "readelf".
2966
2967 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2968
2969 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2970 * sysdeps/x86/Makefile: Here.
2971 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2972 * sysdeps/x86/tst-xmmymm.sh: This.
2973
2974 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2975
2976 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2977 expectations.
2978 [UNIX98] (pthread_barrier_t): Do not expect.
2979 [UNIX98] (pthread_barrierattr_t): Likewise.
2980 [UNIX98] (pthread_spinlock_t): Likewise.
2981 [UNIX98] (pthread_barrier_destroy): Likewise.
2982 [UNIX98] (pthread_barrier_init): Likewise.
2983 [UNIX98] (pthread_barrier_wait): Likewise.
2984 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2985 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2986 [UNIX98] (pthread_barrierattr_init): Likewise.
2987 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2988 [UNIX98] (pthread_getcpuclockid): Likewise.
2989 [UNIX98] (pthread_mutex_timedlock): Likewise.
2990 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2991 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2992 [UNIX98] (pthread_sigmask): Likewise.
2993 [UNIX98] (pthread_spin_destroy): Likewise.
2994 [UNIX98] (pthread_spin_init): Likewise.
2995 [UNIX98] (pthread_spin_lock): Likewise.
2996 [UNIX98] (pthread_spin_trylock): Likewise.
2997 [UNIX98] (pthread_spin_unlock): Likewise.
2998 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2999 Do not expect.
3000 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3001 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3002 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3003 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3004 [XPG3 || XPG4] (pthread_key_t): Likewise.
3005 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3006 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3007 [XPG3 || XPG4] (pthread_once_t): Likewise.
3008 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3009 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3010 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3011 [XPG3 || XPG4] (pthread_t): Likewise.
3012
3013 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3014 not expect.
3015 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3016
3017 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3018 Change function return type to int.
3019
3020 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3021 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3022 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3023 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3024 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3025 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3026 [!POSIX] (posix_madvise): Likewise.
3027 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3028 && !UNIX98].
3029 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3030 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3031 (mode_t): Likewise.
3032 (posix_mem_offset): Likewise.
3033 (posix_typed_mem_get_info): Likewise.
3034 (posix_typed_mem_open): Likewise.
3035
3036 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3037 Change condition to [XOPEN2K8].
3038
3039 * conform/conformtest.pl: Preprocess allow-header data with -x c
3040 instead of from stdin.
3041 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3042 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3043 [C99-based standards] (cerfc): Likewise.
3044 [C99-based standards] (cexp2): Likewise.
3045 [C99-based standards] (cexpm1): Likewise.
3046 [C99-based standards] (clog10): Likewise.
3047 [C99-based standards] (clog1p): Likewise.
3048 [C99-based standards] (clog2): Likewise.
3049 [C99-based standards] (clgamma): Likewise.
3050 [C99-based standards] (ctgamma): Likewise.
3051 [C99-based standards] (cerff): Likewise.
3052 [C99-based standards] (cerfcf): Likewise.
3053 [C99-based standards] (cexp2f): Likewise.
3054 [C99-based standards] (cexpm1f): Likewise.
3055 [C99-based standards] (clog10f): Likewise.
3056 [C99-based standards] (clog1pf): Likewise.
3057 [C99-based standards] (clog2f): Likewise.
3058 [C99-based standards] (clgammaf): Likewise.
3059 [C99-based standards] (ctgammaf): Likewise.
3060 [C99-based standards] (cerfl): Likewise.
3061 [C99-based standards] (cerfcl): Likewise.
3062 [C99-based standards] (cexp2l): Likewise.
3063 [C99-based standards] (cexpm1l): Likewise.
3064 [C99-based standards] (clog10l): Likewise.
3065 [C99-based standards] (clog1pl): Likewise.
3066 [C99-based standards] (clog2l): Likewise.
3067 [C99-based standards] (clgammal): Likewise.
3068 [C99-based standards] (ctgammal): Likewise.
3069 * conform/data/inttypes.h-data [C99-based standards]: Include
3070 stdint.h-data. Remove all expectations for stdint.h contents.
3071 [C99-based standards] (PRI*): Do not allow.
3072 [C99-based standards] (SCN*): Likewise.
3073 [C99-based standards] (*_t): Likewise.
3074 [C99-based-standards] (PRId8): Expect macro.
3075 [C99-based-standards] (PRIi8): Likewise.
3076 [C99-based-standards] (PRIo8): Likewise.
3077 [C99-based-standards] (PRIu8): Likewise.
3078 [C99-based-standards] (PRIx8): Likewise.
3079 [C99-based-standards] (PRIX8): Likewise.
3080 [C99-based-standards] (SCNd8): Likewise.
3081 [C99-based-standards] (SCNi8): Likewise.
3082 [C99-based-standards] (SCNo8): Likewise.
3083 [C99-based-standards] (SCNu8): Likewise.
3084 [C99-based-standards] (SCNx8): Likewise.
3085 [C99-based-standards] (PRIdLEAST8): Likewise.
3086 [C99-based-standards] (PRIiLEAST8): Likewise.
3087 [C99-based-standards] (PRIoLEAST8): Likewise.
3088 [C99-based-standards] (PRIuLEAST8): Likewise.
3089 [C99-based-standards] (PRIxLEAST8): Likewise.
3090 [C99-based-standards] (PRIXLEAST8): Likewise.
3091 [C99-based-standards] (SCNdLEAST8): Likewise.
3092 [C99-based-standards] (SCNiLEAST8): Likewise.
3093 [C99-based-standards] (SCNoLEAST8): Likewise.
3094 [C99-based-standards] (SCNuLEAST8): Likewise.
3095 [C99-based-standards] (SCNxLEAST8): Likewise.
3096 [C99-based-standards] (PRIdFAST8): Likewise.
3097 [C99-based-standards] (PRIiFAST8): Likewise.
3098 [C99-based-standards] (PRIoFAST8): Likewise.
3099 [C99-based-standards] (PRIuFAST8): Likewise.
3100 [C99-based-standards] (PRIxFAST8): Likewise.
3101 [C99-based-standards] (PRIXFAST8): Likewise.
3102 [C99-based-standards] (SCNdFAST8): Likewise.
3103 [C99-based-standards] (SCNiFAST8): Likewise.
3104 [C99-based-standards] (SCNoFAST8): Likewise.
3105 [C99-based-standards] (SCNuFAST8): Likewise.
3106 [C99-based-standards] (SCNxFAST8): Likewise.
3107 [C99-based-standards] (PRId16): Likewise.
3108 [C99-based-standards] (PRIi16): Likewise.
3109 [C99-based-standards] (PRIo16): Likewise.
3110 [C99-based-standards] (PRIu16): Likewise.
3111 [C99-based-standards] (PRIx16): Likewise.
3112 [C99-based-standards] (PRIX16): Likewise.
3113 [C99-based-standards] (SCNd16): Likewise.
3114 [C99-based-standards] (SCNi16): Likewise.
3115 [C99-based-standards] (SCNo16): Likewise.
3116 [C99-based-standards] (SCNu16): Likewise.
3117 [C99-based-standards] (SCNx16): Likewise.
3118 [C99-based-standards] (PRIdLEAST16): Likewise.
3119 [C99-based-standards] (PRIiLEAST16): Likewise.
3120 [C99-based-standards] (PRIoLEAST16): Likewise.
3121 [C99-based-standards] (PRIuLEAST16): Likewise.
3122 [C99-based-standards] (PRIxLEAST16): Likewise.
3123 [C99-based-standards] (PRIXLEAST16): Likewise.
3124 [C99-based-standards] (SCNdLEAST16): Likewise.
3125 [C99-based-standards] (SCNiLEAST16): Likewise.
3126 [C99-based-standards] (SCNoLEAST16): Likewise.
3127 [C99-based-standards] (SCNuLEAST16): Likewise.
3128 [C99-based-standards] (SCNxLEAST16): Likewise.
3129 [C99-based-standards] (PRIdFAST16): Likewise.
3130 [C99-based-standards] (PRIiFAST16): Likewise.
3131 [C99-based-standards] (PRIoFAST16): Likewise.
3132 [C99-based-standards] (PRIuFAST16): Likewise.
3133 [C99-based-standards] (PRIxFAST16): Likewise.
3134 [C99-based-standards] (PRIXFAST16): Likewise.
3135 [C99-based-standards] (SCNdFAST16): Likewise.
3136 [C99-based-standards] (SCNiFAST16): Likewise.
3137 [C99-based-standards] (SCNoFAST16): Likewise.
3138 [C99-based-standards] (SCNuFAST16): Likewise.
3139 [C99-based-standards] (SCNxFAST16): Likewise.
3140 [C99-based-standards] (PRId32): Likewise.
3141 [C99-based-standards] (PRIi32): Likewise.
3142 [C99-based-standards] (PRIo32): Likewise.
3143 [C99-based-standards] (PRIu32): Likewise.
3144 [C99-based-standards] (PRIx32): Likewise.
3145 [C99-based-standards] (PRIX32): Likewise.
3146 [C99-based-standards] (SCNd32): Likewise.
3147 [C99-based-standards] (SCNi32): Likewise.
3148 [C99-based-standards] (SCNo32): Likewise.
3149 [C99-based-standards] (SCNu32): Likewise.
3150 [C99-based-standards] (SCNx32): Likewise.
3151 [C99-based-standards] (PRIdLEAST32): Likewise.
3152 [C99-based-standards] (PRIiLEAST32): Likewise.
3153 [C99-based-standards] (PRIoLEAST32): Likewise.
3154 [C99-based-standards] (PRIuLEAST32): Likewise.
3155 [C99-based-standards] (PRIxLEAST32): Likewise.
3156 [C99-based-standards] (PRIXLEAST32): Likewise.
3157 [C99-based-standards] (SCNdLEAST32): Likewise.
3158 [C99-based-standards] (SCNiLEAST32): Likewise.
3159 [C99-based-standards] (SCNoLEAST32): Likewise.
3160 [C99-based-standards] (SCNuLEAST32): Likewise.
3161 [C99-based-standards] (SCNxLEAST32): Likewise.
3162 [C99-based-standards] (PRIdFAST32): Likewise.
3163 [C99-based-standards] (PRIiFAST32): Likewise.
3164 [C99-based-standards] (PRIoFAST32): Likewise.
3165 [C99-based-standards] (PRIuFAST32): Likewise.
3166 [C99-based-standards] (PRIxFAST32): Likewise.
3167 [C99-based-standards] (PRIXFAST32): Likewise.
3168 [C99-based-standards] (SCNdFAST32): Likewise.
3169 [C99-based-standards] (SCNiFAST32): Likewise.
3170 [C99-based-standards] (SCNoFAST32): Likewise.
3171 [C99-based-standards] (SCNuFAST32): Likewise.
3172 [C99-based-standards] (SCNxFAST32): Likewise.
3173 [C99-based-standards] (PRId64): Likewise.
3174 [C99-based-standards] (PRIi64): Likewise.
3175 [C99-based-standards] (PRIo64): Likewise.
3176 [C99-based-standards] (PRIu64): Likewise.
3177 [C99-based-standards] (PRIx64): Likewise.
3178 [C99-based-standards] (PRIX64): Likewise.
3179 [C99-based-standards] (SCNd64): Likewise.
3180 [C99-based-standards] (SCNi64): Likewise.
3181 [C99-based-standards] (SCNo64): Likewise.
3182 [C99-based-standards] (SCNu64): Likewise.
3183 [C99-based-standards] (SCNx64): Likewise.
3184 [C99-based-standards] (PRIdLEAST64): Likewise.
3185 [C99-based-standards] (PRIiLEAST64): Likewise.
3186 [C99-based-standards] (PRIoLEAST64): Likewise.
3187 [C99-based-standards] (PRIuLEAST64): Likewise.
3188 [C99-based-standards] (PRIxLEAST64): Likewise.
3189 [C99-based-standards] (PRIXLEAST64): Likewise.
3190 [C99-based-standards] (SCNdLEAST64): Likewise.
3191 [C99-based-standards] (SCNiLEAST64): Likewise.
3192 [C99-based-standards] (SCNoLEAST64): Likewise.
3193 [C99-based-standards] (SCNuLEAST64): Likewise.
3194 [C99-based-standards] (SCNxLEAST64): Likewise.
3195 [C99-based-standards] (PRIdFAST64): Likewise.
3196 [C99-based-standards] (PRIiFAST64): Likewise.
3197 [C99-based-standards] (PRIoFAST64): Likewise.
3198 [C99-based-standards] (PRIuFAST64): Likewise.
3199 [C99-based-standards] (PRIxFAST64): Likewise.
3200 [C99-based-standards] (PRIXFAST64): Likewise.
3201 [C99-based-standards] (SCNdFAST64): Likewise.
3202 [C99-based-standards] (SCNiFAST64): Likewise.
3203 [C99-based-standards] (SCNoFAST64): Likewise.
3204 [C99-based-standards] (SCNuFAST64): Likewise.
3205 [C99-based-standards] (SCNxFAST64): Likewise.
3206 [C99-based-standards] (PRIdMAX): Likewise.
3207 [C99-based-standards] (PRIiMAX): Likewise.
3208 [C99-based-standards] (PRIoMAX): Likewise.
3209 [C99-based-standards] (PRIuMAX): Likewise.
3210 [C99-based-standards] (PRIxMAX): Likewise.
3211 [C99-based-standards] (PRIXMAX): Likewise.
3212 [C99-based-standards] (SCNdMAX): Likewise.
3213 [C99-based-standards] (SCNiMAX): Likewise.
3214 [C99-based-standards] (SCNoMAX): Likewise.
3215 [C99-based-standards] (SCNuMAX): Likewise.
3216 [C99-based-standards] (SCNxMAX): Likewise.
3217 [C99-based-standards] (PRIdPTR): Likewise.
3218 [C99-based-standards] (PRIiPTR): Likewise.
3219 [C99-based-standards] (PRIoPTR): Likewise.
3220 [C99-based-standards] (PRIuPTR): Likewise.
3221 [C99-based-standards] (PRIxPTR): Likewise.
3222 [C99-based-standards] (PRIXPTR): Likewise.
3223 [C99-based-standards] (SCNdPTR): Likewise.
3224 [C99-based-standards] (SCNiPTR): Likewise.
3225 [C99-based-standards] (SCNoPTR): Likewise.
3226 [C99-based-standards] (SCNuPTR): Likewise.
3227 [C99-based-standards] (SCNxPTR): Likewise.
3228 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3229 allow.
3230 * conform/data/stdint.h-data: Update comments to clarify
3231 requirements.
3232 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3233 type.
3234 [C99-based standards] (INT8_MAX): Likewise.
3235 [C99-based standards] (INT16_MIN): Likewise.
3236 [C99-based standards] (INT16_MAX): Likewise.
3237 [C99-based standards] (INT32_MIN): Likewise.
3238 [C99-based standards] (INT32_MAX): Likewise.
3239 [C99-based standards] (INT64_MIN): Likewise.
3240 [C99-based standards] (INT64_MAX): Likewise.
3241 [C99-based standards] (UINT8_MAX): Likewise.
3242 [C99-based standards] (UINT16_MAX): Likewise.
3243 [C99-based standards] (UINT32_MAX): Likewise.
3244 [C99-based standards] (UINT64_MAX): Likewise.
3245 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3246 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3247 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3248 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3249 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3250 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3251 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3252 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3253 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3254 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3255 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3256 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3257 [C99-based standards] (INT_FAST8_MIN): Likewise.
3258 [C99-based standards] (INT_FAST8_MAX): Likewise.
3259 [C99-based standards] (INT_FAST16_MIN): Likewise.
3260 [C99-based standards] (INT_FAST16_MAX): Likewise.
3261 [C99-based standards] (INT_FAST32_MIN): Likewise.
3262 [C99-based standards] (INT_FAST32_MAX): Likewise.
3263 [C99-based standards] (INT_FAST64_MIN): Likewise.
3264 [C99-based standards] (INT_FAST64_MAX): Likewise.
3265 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3266 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3267 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3268 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3269 [C99-based standards] (INTPTR_MIN): Likewise.
3270 [C99-based standards] (INTPTR_MAX): Likewise.
3271 [C99-based standards] (UINTPTR_MAX): Likewise.
3272 [C99-based standards] (INTMAX_MIN): Likewise.
3273 [C99-based standards] (INTMAX_MAX): Likewise.
3274 [C99-based standards] (UINTMAX_MAX): Likewise.
3275 [C99-based standards] (PTRDIFF_MIN): Likewise.
3276 [C99-based standards] (PTRDIFF_MAX): Likewise.
3277 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3278 [C99-based standards] (SIZE_MAX): Likewise.
3279 [C99-based standards] (WCHAR_MAX): Likewise.
3280 [C99-based standards] (WINT_MAX): Likewise.
3281 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3282 constraint on value.
3283 [C99-based standards] (WCHAR_MIN): Likewise.
3284 [C99-based standards] (WINT_MIN): Likewise.
3285 [C99-based standards] (*_t): Allow.
3286 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3287 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3288 Include math.h-data and complex.h-data. Remove all expectations
3289 of math.h and complex.h contents.
3290 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3291 at end of line.
3292 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3293 (struct tm): Expect tag.
3294 [C99-based-standards] (wcstof): Expect function.
3295 [C99-based-standards] (wcstold): Likewise.
3296 [C99-based-standards] (wcstoll): Likewise.
3297 [C99-based-standards] (wcstoull): Likewise.
3298 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3299 macro-int-constant. Specify type.
3300 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3301 constraint on value.
3302 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3303 Specify type.
3304 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3305 Specify value.
3306 [ISO C standards]: Do not allow headers.
3307 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3308 wcs[abcdefghijklmnopqrstuvwxyz]*.
3309 [ISO C standards] (*_t): Do not allow.
3310 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3311 Expect function.
3312 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3313 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3314 Specify type.
3315 [ISO C standards]: Do not allow headers.
3316 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3317 is[abcdefghijklmnopqrstuvwxyz]*.
3318 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3319 to[abcdefghijklmnopqrstuvwxyz]*.
3320 [ISO C standards] (*_t): Do not allow.
3321 * conform/data/stdalign.h-data: New file.
3322 * conform/data/stdbool.h-data: Likewise.
3323 * conform/data/stdnoreturn.h-data: Likewise.
3324
3325 2012-11-07 Roland McGrath <roland@hack.frob.com>
3326
3327 [BZ #14815]
3328 * manual/filesys.texi (Directory Entries): Typo fix.
3329 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3330
3331 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3332
3333 * elf/elf.h (EM_AARCH64): New macro.
3334 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3335 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3336 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3337 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3338 (R_AARCH64_TLSDESC): Likewise.
3339 (NT_ARM_TLS): Likewise.
3340 (NT_ARM_HW_BREAK): Likewise.
3341 (NT_ARM_HW_WATCH): Likewise.
3342
3343 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3344
3345 [BZ #14811]
3346 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3347 (__ieee754_powl): Saturate nonzero exponents with absolute value
3348 below 0x1p-79 to +/- 0x1p-79.
3349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3350 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3351 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3352 nonzero exponents with absolute value below 0x1p-32 to +/-
3353 0x1p-32.
3354 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3355 (__ieee754_powl): Saturate nonzero exponents with absolute value
3356 below 0x1p-79 to +/- 0x1p-79.
3357 * math/libm-test.inc (pow_test): Add more tests.
3358
3359 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3360
3361 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3362 _dl_s390_cap_flags with kernel. Increase string length.
3363 (_dl_s390_platforms): Add z196 and zEC12.
3364
3365 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3366
3367 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3368 Change XOPEN21K to XOPEN2K.
3369
3370 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3371
3372 * string/memmove.c: Use memcpy when possible.
3373
3374 2012-11-06 Andreas Jaeger <aj@suse.de>
3375
3376 * po/eo.po: Update from translation team.
3377
3378 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3379
3380 [BZ #14793]
3381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3382 exponent and small x and y exponents, scale x or y up. Increase
3383 by 2 the exponent used in scaling up.
3384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3386 * math/libm-test.inc (fma_test): Add more tests.
3387 (fma_test_towardzero): Likewise.
3388 (fma_test_downward): Likewise.
3389 (fma_test_upward): Likewise.
3390
3391 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3392
3393 [BZ #14805]
3394 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3395 fenv_t *.
3396
3397 [BZ #14801]
3398 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3399 namespace for names of struct fields.
3400 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3401 fenv_t fields.
3402 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3403 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3404
3405 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3406
3407 [BZ #3665]
3408 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3409
3410 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3411
3412 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3413 PTR_DEMANGLE.
3414
3415 [BZ #5246]
3416 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3417 PTR_DEMANGLE.
3418
3419 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3420
3421 [BZ #14797]
3422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3423 definitely overflow as x * y not x * y + z.
3424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3426 * math/libm-test.inc (fma_test): Add more tests.
3427 (fma_test_towardzero): Likewise.
3428 (fma_test_downward): Likewise.
3429 (fma_test_upward): Likewise.
3430
3431 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3432
3433 [BZ #157]
3434
3435 * include/stub-tag.h: Remove file.
3436 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3437 '#include' of it.
3438 * manual/maint.texi (Porting): Don't reference it.
3439 * Makerules ($(objpfx)stubs): Likewise.
3440 * dirent/closedir.c: Don't include <stub-tag.h>.
3441 * dirent/dirfd.c: Likewise.
3442 * dirent/fdopendir.c: Likewise.
3443 * dirent/getdents.c: Likewise.
3444 * dirent/getdents64.c: Likewise.
3445 * dirent/opendir.c: Likewise.
3446 * dirent/readdir.c: Likewise.
3447 * dirent/readdir64.c: Likewise.
3448 * dirent/readdir64_r.c: Likewise.
3449 * dirent/readdir_r.c: Likewise.
3450 * dirent/rewinddir.c: Likewise.
3451 * dirent/seekdir.c: Likewise.
3452 * dirent/telldir.c: Likewise.
3453 * gmon/profil.c: Likewise.
3454 * grp/setgroups.c: Likewise.
3455 * inet/if_index.c: Likewise.
3456 * io/access.c: Likewise.
3457 * io/chdir.c: Likewise.
3458 * io/chmod.c: Likewise.
3459 * io/chown.c: Likewise.
3460 * io/close.c: Likewise.
3461 * io/dup.c: Likewise.
3462 * io/dup2.c: Likewise.
3463 * io/dup3.c: Likewise.
3464 * io/euidaccess.c: Likewise.
3465 * io/faccessat.c: Likewise.
3466 * io/fchdir.c: Likewise.
3467 * io/fchmod.c: Likewise.
3468 * io/fchmodat.c: Likewise.
3469 * io/fchown.c: Likewise.
3470 * io/fchownat.c: Likewise.
3471 * io/fcntl.c: Likewise.
3472 * io/flock.c: Likewise.
3473 * io/fstatfs.c: Likewise.
3474 * io/fstatfs64.c: Likewise.
3475 * io/fstatvfs.c: Likewise.
3476 * io/fstatvfs64.c: Likewise.
3477 * io/futimens.c: Likewise.
3478 * io/fxstat.c: Likewise.
3479 * io/fxstat64.c: Likewise.
3480 * io/fxstatat.c: Likewise.
3481 * io/fxstatat64.c: Likewise.
3482 * io/getcwd.c: Likewise.
3483 * io/isatty.c: Likewise.
3484 * io/lchmod.c: Likewise.
3485 * io/lchown.c: Likewise.
3486 * io/link.c: Likewise.
3487 * io/linkat.c: Likewise.
3488 * io/lseek.c: Likewise.
3489 * io/lseek64.c: Likewise.
3490 * io/lxstat64.c: Likewise.
3491 * io/mkdir.c: Likewise.
3492 * io/mkdirat.c: Likewise.
3493 * io/mkfifo.c: Likewise.
3494 * io/mkfifoat.c: Likewise.
3495 * io/open.c: Likewise.
3496 * io/open64.c: Likewise.
3497 * io/openat.c: Likewise.
3498 * io/openat64.c: Likewise.
3499 * io/pipe.c: Likewise.
3500 * io/pipe2.c: Likewise.
3501 * io/poll.c: Likewise.
3502 * io/posix_fadvise.c: Likewise.
3503 * io/posix_fadvise64.c: Likewise.
3504 * io/posix_fallocate.c: Likewise.
3505 * io/posix_fallocate64.c: Likewise.
3506 * io/read.c: Likewise.
3507 * io/readlink.c: Likewise.
3508 * io/readlinkat.c: Likewise.
3509 * io/rmdir.c: Likewise.
3510 * io/sendfile.c: Likewise.
3511 * io/sendfile64.c: Likewise.
3512 * io/statfs.c: Likewise.
3513 * io/statfs64.c: Likewise.
3514 * io/statvfs.c: Likewise.
3515 * io/statvfs64.c: Likewise.
3516 * io/symlink.c: Likewise.
3517 * io/symlinkat.c: Likewise.
3518 * io/ttyname.c: Likewise.
3519 * io/ttyname_r.c: Likewise.
3520 * io/umask.c: Likewise.
3521 * io/unlink.c: Likewise.
3522 * io/unlinkat.c: Likewise.
3523 * io/utime.c: Likewise.
3524 * io/utimensat.c: Likewise.
3525 * io/write.c: Likewise.
3526 * io/xmknod.c: Likewise.
3527 * io/xmknodat.c: Likewise.
3528 * io/xstat.c: Likewise.
3529 * io/xstat64.c: Likewise.
3530 * login/getpt.c: Likewise.
3531 * login/grantpt.c: Likewise.
3532 * login/unlockpt.c: Likewise.
3533 * math/e_acoshl.c: Likewise.
3534 * math/e_acosl.c: Likewise.
3535 * math/e_asinl.c: Likewise.
3536 * math/e_atan2l.c: Likewise.
3537 * math/e_atanhl.c: Likewise.
3538 * math/e_coshl.c: Likewise.
3539 * math/e_expl.c: Likewise.
3540 * math/e_fmodl.c: Likewise.
3541 * math/e_gammal_r.c: Likewise.
3542 * math/e_hypotl.c: Likewise.
3543 * math/e_j0l.c: Likewise.
3544 * math/e_j1l.c: Likewise.
3545 * math/e_jnl.c: Likewise.
3546 * math/e_lgammal_r.c: Likewise.
3547 * math/e_log10l.c: Likewise.
3548 * math/e_log2l.c: Likewise.
3549 * math/e_logl.c: Likewise.
3550 * math/e_powl.c: Likewise.
3551 * math/e_rem_pio2l.c: Likewise.
3552 * math/e_sinhl.c: Likewise.
3553 * math/e_sqrtl.c: Likewise.
3554 * math/fclrexcpt.c: Likewise.
3555 * math/fedisblxcpt.c: Likewise.
3556 * math/feenablxcpt.c: Likewise.
3557 * math/fegetenv.c: Likewise.
3558 * math/fegetexcept.c: Likewise.
3559 * math/fegetround.c: Likewise.
3560 * math/feholdexcpt.c: Likewise.
3561 * math/fesetenv.c: Likewise.
3562 * math/fesetround.c: Likewise.
3563 * math/feupdateenv.c: Likewise.
3564 * math/fgetexcptflg.c: Likewise.
3565 * math/fraiseexcpt.c: Likewise.
3566 * math/fsetexcptflg.c: Likewise.
3567 * math/ftestexcept.c: Likewise.
3568 * math/k_cosl.c: Likewise.
3569 * math/k_rem_pio2l.c: Likewise.
3570 * math/k_sinl.c: Likewise.
3571 * math/k_tanl.c: Likewise.
3572 * math/s_asinhl.c: Likewise.
3573 * math/s_atanl.c: Likewise.
3574 * math/s_cbrtl.c: Likewise.
3575 * math/s_erfl.c: Likewise.
3576 * math/s_expm1l.c: Likewise.
3577 * math/s_log1pl.c: Likewise.
3578 * math/s_tanhl.c: Likewise.
3579 * misc/acct.c: Likewise.
3580 * misc/brk.c: Likewise.
3581 * misc/chflags.c: Likewise.
3582 * misc/chroot.c: Likewise.
3583 * misc/fchflags.c: Likewise.
3584 * misc/fgetxattr.c: Likewise.
3585 * misc/flistxattr.c: Likewise.
3586 * misc/fremovexattr.c: Likewise.
3587 * misc/fsetxattr.c: Likewise.
3588 * misc/fsync.c: Likewise.
3589 * misc/ftruncate.c: Likewise.
3590 * misc/futimes.c: Likewise.
3591 * misc/futimesat.c: Likewise.
3592 * misc/getdomain.c: Likewise.
3593 * misc/getdtsz.c: Likewise.
3594 * misc/gethostid.c: Likewise.
3595 * misc/gethostname.c: Likewise.
3596 * misc/getloadavg.c: Likewise.
3597 * misc/getpagesize.c: Likewise.
3598 * misc/getsysstats.c: Likewise.
3599 * misc/getxattr.c: Likewise.
3600 * misc/gtty.c: Likewise.
3601 * misc/ioctl.c: Likewise.
3602 * misc/lgetxattr.c: Likewise.
3603 * misc/listxattr.c: Likewise.
3604 * misc/llistxattr.c: Likewise.
3605 * misc/lremovexattr.c: Likewise.
3606 * misc/lsetxattr.c: Likewise.
3607 * misc/lutimes.c: Likewise.
3608 * misc/madvise.c: Likewise.
3609 * misc/mincore.c: Likewise.
3610 * misc/mlock.c: Likewise.
3611 * misc/mlockall.c: Likewise.
3612 * misc/mmap.c: Likewise.
3613 * misc/mprotect.c: Likewise.
3614 * misc/msync.c: Likewise.
3615 * misc/munlock.c: Likewise.
3616 * misc/munlockall.c: Likewise.
3617 * misc/munmap.c: Likewise.
3618 * misc/preadv.c: Likewise.
3619 * misc/preadv64.c: Likewise.
3620 * misc/ptrace.c: Likewise.
3621 * misc/pwritev.c: Likewise.
3622 * misc/pwritev64.c: Likewise.
3623 * misc/readv.c: Likewise.
3624 * misc/reboot.c: Likewise.
3625 * misc/remap_file_pages.c: Likewise.
3626 * misc/removexattr.c: Likewise.
3627 * misc/revoke.c: Likewise.
3628 * misc/select.c: Likewise.
3629 * misc/setdomain.c: Likewise.
3630 * misc/setegid.c: Likewise.
3631 * misc/seteuid.c: Likewise.
3632 * misc/sethostid.c: Likewise.
3633 * misc/sethostname.c: Likewise.
3634 * misc/setregid.c: Likewise.
3635 * misc/setreuid.c: Likewise.
3636 * misc/setxattr.c: Likewise.
3637 * misc/sstk.c: Likewise.
3638 * misc/stty.c: Likewise.
3639 * misc/swapoff.c: Likewise.
3640 * misc/swapon.c: Likewise.
3641 * misc/sync.c: Likewise.
3642 * misc/syncfs.c: Likewise.
3643 * misc/syscall.c: Likewise.
3644 * misc/truncate.c: Likewise.
3645 * misc/ualarm.c: Likewise.
3646 * misc/usleep.c: Likewise.
3647 * misc/ustat.c: Likewise.
3648 * misc/utimes.c: Likewise.
3649 * misc/vhangup.c: Likewise.
3650 * misc/writev.c: Likewise.
3651 * posix/_exit.c: Likewise.
3652 * posix/alarm.c: Likewise.
3653 * posix/execve.c: Likewise.
3654 * posix/fexecve.c: Likewise.
3655 * posix/fork.c: Likewise.
3656 * posix/fpathconf.c: Likewise.
3657 * posix/getaddrinfo.c: Likewise.
3658 * posix/getegid.c: Likewise.
3659 * posix/geteuid.c: Likewise.
3660 * posix/getgid.c: Likewise.
3661 * posix/getgroups.c: Likewise.
3662 * posix/getlogin.c: Likewise.
3663 * posix/getlogin_r.c: Likewise.
3664 * posix/getpgid.c: Likewise.
3665 * posix/getpid.c: Likewise.
3666 * posix/getppid.c: Likewise.
3667 * posix/getresgid.c: Likewise.
3668 * posix/getresuid.c: Likewise.
3669 * posix/getsid.c: Likewise.
3670 * posix/getuid.c: Likewise.
3671 * posix/glob64.c: Likewise.
3672 * posix/nanosleep.c: Likewise.
3673 * posix/pathconf.c: Likewise.
3674 * posix/pause.c: Likewise.
3675 * posix/posix_madvise.c: Likewise.
3676 * posix/pread.c: Likewise.
3677 * posix/pread64.c: Likewise.
3678 * posix/pwrite.c: Likewise.
3679 * posix/pwrite64.c: Likewise.
3680 * posix/sched_getaffinity.c: Likewise.
3681 * posix/sched_getp.c: Likewise.
3682 * posix/sched_gets.c: Likewise.
3683 * posix/sched_primax.c: Likewise.
3684 * posix/sched_primin.c: Likewise.
3685 * posix/sched_rr_gi.c: Likewise.
3686 * posix/sched_setaffinity.c: Likewise.
3687 * posix/sched_setp.c: Likewise.
3688 * posix/sched_sets.c: Likewise.
3689 * posix/sched_yield.c: Likewise.
3690 * posix/setgid.c: Likewise.
3691 * posix/setlogin.c: Likewise.
3692 * posix/setpgid.c: Likewise.
3693 * posix/setresgid.c: Likewise.
3694 * posix/setresuid.c: Likewise.
3695 * posix/setsid.c: Likewise.
3696 * posix/setuid.c: Likewise.
3697 * posix/sleep.c: Likewise.
3698 * posix/spawni.c: Likewise.
3699 * posix/sysconf.c: Likewise.
3700 * posix/times.c: Likewise.
3701 * posix/wait.c: Likewise.
3702 * posix/wait3.c: Likewise.
3703 * posix/wait4.c: Likewise.
3704 * posix/waitpid.c: Likewise.
3705 * resolv/gai_sigqueue.c: Likewise.
3706 * resource/getpriority.c: Likewise.
3707 * resource/getrlimit.c: Likewise.
3708 * resource/getrusage.c: Likewise.
3709 * resource/nice.c: Likewise.
3710 * resource/setpriority.c: Likewise.
3711 * resource/setrlimit.c: Likewise.
3712 * resource/ulimit.c: Likewise.
3713 * rt/aio_cancel.c: Likewise.
3714 * rt/aio_fsync.c: Likewise.
3715 * rt/aio_read.c: Likewise.
3716 * rt/aio_sigqueue.c: Likewise.
3717 * rt/aio_suspend.c: Likewise.
3718 * rt/aio_write.c: Likewise.
3719 * rt/clock_getres.c: Likewise.
3720 * rt/clock_gettime.c: Likewise.
3721 * rt/clock_nanosleep.c: Likewise.
3722 * rt/clock_settime.c: Likewise.
3723 * rt/lio_listio.c: Likewise.
3724 * rt/mq_close.c: Likewise.
3725 * rt/mq_getattr.c: Likewise.
3726 * rt/mq_notify.c: Likewise.
3727 * rt/mq_open.c: Likewise.
3728 * rt/mq_receive.c: Likewise.
3729 * rt/mq_send.c: Likewise.
3730 * rt/mq_setattr.c: Likewise.
3731 * rt/mq_timedreceive.c: Likewise.
3732 * rt/mq_timedsend.c: Likewise.
3733 * rt/mq_unlink.c: Likewise.
3734 * rt/shm_open.c: Likewise.
3735 * rt/shm_unlink.c: Likewise.
3736 * rt/timer_create.c: Likewise.
3737 * rt/timer_delete.c: Likewise.
3738 * rt/timer_getoverr.c: Likewise.
3739 * rt/timer_gettime.c: Likewise.
3740 * rt/timer_settime.c: Likewise.
3741 * setjmp/__longjmp.c: Likewise.
3742 * setjmp/setjmp.c: Likewise.
3743 * signal/kill.c: Likewise.
3744 * signal/killpg.c: Likewise.
3745 * signal/raise.c: Likewise.
3746 * signal/sigaction.c: Likewise.
3747 * signal/sigaltstack.c: Likewise.
3748 * signal/sigblock.c: Likewise.
3749 * signal/sigignore.c: Likewise.
3750 * signal/sigintr.c: Likewise.
3751 * signal/signal.c: Likewise.
3752 * signal/sigpause.c: Likewise.
3753 * signal/sigpending.c: Likewise.
3754 * signal/sigqueue.c: Likewise.
3755 * signal/sigreturn.c: Likewise.
3756 * signal/sigset.c: Likewise.
3757 * signal/sigsetmask.c: Likewise.
3758 * signal/sigstack.c: Likewise.
3759 * signal/sigsuspend.c: Likewise.
3760 * signal/sigtimedwait.c: Likewise.
3761 * signal/sigvec.c: Likewise.
3762 * signal/sigwait.c: Likewise.
3763 * signal/sigwaitinfo.c: Likewise.
3764 * signal/sysv_signal.c: Likewise.
3765 * socket/accept.c: Likewise.
3766 * socket/accept4.c: Likewise.
3767 * socket/bind.c: Likewise.
3768 * socket/connect.c: Likewise.
3769 * socket/getpeername.c: Likewise.
3770 * socket/getsockname.c: Likewise.
3771 * socket/getsockopt.c: Likewise.
3772 * socket/isfdtype.c: Likewise.
3773 * socket/listen.c: Likewise.
3774 * socket/recv.c: Likewise.
3775 * socket/recvfrom.c: Likewise.
3776 * socket/recvmsg.c: Likewise.
3777 * socket/send.c: Likewise.
3778 * socket/sendmsg.c: Likewise.
3779 * socket/sendto.c: Likewise.
3780 * socket/setsockopt.c: Likewise.
3781 * socket/shutdown.c: Likewise.
3782 * socket/sockatmark.c: Likewise.
3783 * socket/socket.c: Likewise.
3784 * socket/socketpair.c: Likewise.
3785 * stdio-common/ctermid.c: Likewise.
3786 * stdio-common/cuserid.c: Likewise.
3787 * stdio-common/remove.c: Likewise.
3788 * stdio-common/rename.c: Likewise.
3789 * stdio-common/renameat.c: Likewise.
3790 * stdio-common/tempname.c: Likewise.
3791 * stdlib/getcontext.c: Likewise.
3792 * stdlib/makecontext.c: Likewise.
3793 * stdlib/setcontext.c: Likewise.
3794 * stdlib/swapcontext.c: Likewise.
3795 * stdlib/system.c: Likewise.
3796 * streams/fattach.c: Likewise.
3797 * streams/fdetach.c: Likewise.
3798 * streams/getmsg.c: Likewise.
3799 * streams/getpmsg.c: Likewise.
3800 * streams/putmsg.c: Likewise.
3801 * streams/putpmsg.c: Likewise.
3802 * sysdeps/unix/bsd/getpt.c: Likewise.
3803 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3804 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3805 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3807 Likewise.
3808 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3809 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3810 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3811 * sysvipc/msgctl.c: Likewise.
3812 * sysvipc/msgget.c: Likewise.
3813 * sysvipc/msgrcv.c: Likewise.
3814 * sysvipc/msgsnd.c: Likewise.
3815 * sysvipc/semctl.c: Likewise.
3816 * sysvipc/semget.c: Likewise.
3817 * sysvipc/semop.c: Likewise.
3818 * sysvipc/semtimedop.c: Likewise.
3819 * sysvipc/shmat.c: Likewise.
3820 * sysvipc/shmctl.c: Likewise.
3821 * sysvipc/shmdt.c: Likewise.
3822 * sysvipc/shmget.c: Likewise.
3823 * termios/tcdrain.c: Likewise.
3824 * termios/tcflow.c: Likewise.
3825 * termios/tcflush.c: Likewise.
3826 * termios/tcgetattr.c: Likewise.
3827 * termios/tcgetpgrp.c: Likewise.
3828 * termios/tcsendbrk.c: Likewise.
3829 * termios/tcsetattr.c: Likewise.
3830 * termios/tcsetpgrp.c: Likewise.
3831 * time/adjtime.c: Likewise.
3832 * time/clock.c: Likewise.
3833 * time/getitimer.c: Likewise.
3834 * time/gettimeofday.c: Likewise.
3835 * time/setitimer.c: Likewise.
3836 * time/settimeofday.c: Likewise.
3837 * time/stime.c: Likewise.
3838 * time/time.c: Likewise.
3839
3840 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
3841
3842 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3843 /usr/old/bin.
3844
3845 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3846 instead of spaces.
3847 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3848
3849 2012-11-03 Joseph Myers <joseph@codesourcery.com>
3850
3851 [BZ #14796]
3852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3853 FE_TONEAREST before applying Dekker multiplication and Knuth
3854 addition. Clear inexact exceptions and check for exact zero
3855 results afterwards.
3856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3857 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3859 * math/libm-test.inc (fma_test): Add more tests.
3860 (fma_test_towardzero): Likewise.
3861 (fma_test_downward): Likewise.
3862 (fma_test_upward): Likewise.
3863 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3864 function.
3865 (libc_fesetround): New macro.
3866 (libc_fesetroundf): Likewise.
3867 (libc_fesetroundl): Likewise.
3868 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3869 function.
3870 (libc_fesetround_387): Likewise.
3871 (libc_fesetroundf): New macro.
3872 (libc_fesetround): Likewise.
3873 (libc_fesetroundl): Likewise.
3874 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3875 function.
3876 (libc_fesetroundf): New macro.
3877 (libc_fesetround): Likewise.
3878 (libc_fesetroundl): Likewise.
3879 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3880 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3881 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3882 libm_hidden_ver.
3883 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3884 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3885 libm_hidden_def.
3886 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3887 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3888 libm_hidden_ver.
3889 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3890 libm_hidden_def.
3891
3892 [BZ #3439]
3893 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3894 integer constant usable in #if and use that to give value to enum
3895 constant.
3896 (FE_DIVBYZERO): Likewise.
3897 (FE_UNDERFLOW): Likewise.
3898 (FE_OVERFLOW): Likewise.
3899 (FE_INVALID): Likewise.
3900 (FE_INVALID_SNAN): Likewise.
3901 (FE_INVALID_ISI): Likewise.
3902 (FE_INVALID_IDI): Likewise.
3903 (FE_INVALID_ZDZ): Likewise.
3904 (FE_INVALID_IMZ): Likewise.
3905 (FE_INVALID_COMPARE): Likewise.
3906 (FE_INVALID_SOFTWARE): Likewise.
3907 (FE_INVALID_SQRT): Likewise.
3908 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3909 (FE_TONEAREST): Likewise.
3910 (FE_TOWARDZERO): Likewise.
3911 (FE_UPWARD): Likewise.
3912 (FE_DOWNWARD): Likewise.
3913 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3914 (FE_DIVBYZERO): Likewise.
3915 (FE_OVERFLOW): Likewise.
3916 (FE_UNDERFLOW): Likewise.
3917 (FE_INEXACT): Likewise.
3918 (FE_TONEAREST): Likewise.
3919 (FE_DOWNWARD): Likewise.
3920 (FE_UPWARD): Likewise.
3921 (FE_TOWARDZERO): Likewise.
3922 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3923 (FE_UNDERFLOW): Likewise.
3924 (FE_OVERFLOW): Likewise.
3925 (FE_DIVBYZERO): Likewise.
3926 (FE_INVALID): Likewise.
3927 (FE_TONEAREST): Likewise.
3928 (FE_TOWARDZERO): Likewise.
3929 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3930 (FE_OVERFLOW): Likewise.
3931 (FE_UNDERFLOW): Likewise.
3932 (FE_DIVBYZERO): Likewise.
3933 (FE_INEXACT): Likewise.
3934 (FE_TONEAREST): Likewise.
3935 (FE_TOWARDZERO): Likewise.
3936 (FE_UPWARD): Likewise.
3937 (FE_DOWNWARD): Likewise.
3938 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3939 (FE_DIVBYZERO): Likewise.
3940 (FE_OVERFLOW): Likewise.
3941 (FE_UNDERFLOW): Likewise.
3942 (FE_INEXACT): Likewise.
3943 (FE_TONEAREST): Likewise.
3944 (FE_DOWNWARD): Likewise.
3945 (FE_UPWARD): Likewise.
3946 (FE_TOWARDZERO): Likewise.
3947
3948 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3949
3950 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3951
3952 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3953
3954 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3955 commands. Quote $PWD.
3956 (blacklist_exports): Don't use remove_newlines. Replace "declare
3957 -x" by "export".
3958 (remove_newlines): Remove.
3959
3960 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3961
3962 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3963 * stdlib/stdlib.h (atof): Moved to ...
3964 * include/bits/stdlib-float.h: Here. New file.
3965 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3966 * stdlib/bits/stdlib-float.h: New file.
3967 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3968 -mno-sse -mno-mmx.
3969 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3970 <xmmintrin.h>.
3971
3972 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3973
3974 * conform/conformtest.pl (@headers): Add fenv.h.
3975 * conform/data/fenv.h-data: New file.
3976 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3977 include of <math/fenv.h>.
3978
3979 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3980 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3981 && !UNIX98]. Enables tests for XOPEN2K8.
3982 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3983 POSIX2008]: Likewise.
3984
3985 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3986 (struct rusage): Do not expect type or its members.
3987
3988 [BZ #3439]
3989 * math/math.h (FP_NAN): Define macro to integer constant usable in
3990 #if and use that to give value to enum constant.
3991 (FP_INFINITE): Likewise.
3992 (FP_ZERO): Likewise.
3993 (FP_SUBNORMAL): Likewise.
3994 (FP_NORMAL): Likewise.
3995
3996 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3997
3998 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3999 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4000 arguments.
4001
4002 2012-11-02 Roland McGrath <roland@hack.frob.com>
4003
4004 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4005 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4006 autoconf-time if not.
4007 * configure.in: Remove AC_PREREQ.
4008
4009 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4010
4011 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4012 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4013 of the internal implementation.
4014
4015 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4016
4017 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4018 except include of <misc/sys/syslog.h>.
4019
4020 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4021
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4023 function returns with a NULL context exit with zero.
4024
4025 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4026
4027 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4028
4029 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4030
4031 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4032 (run_program_cmd): This.
4033 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4034 (tst_langinfo): New variable. Use it.
4035
4036 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4037
4038 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4039 floating point opcodes.
4040
4041 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4042
4043 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4044 variable.
4045
4046 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4047
4048 * sysdeps/mach/hurd/powerpc: Remove directory.
4049 * sysdeps/mach/powerpc: Likewise.
4050
4051 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4052
4053 * scripts/check-local-headers.sh: Ignore c++ headers.
4054
4055 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4056
4057 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4058 __libc_cleanup_region_start argument.
4059
4060 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4061
4062 [BZ #14784]
4063 [BZ #14785]
4064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4065 x * y using scaling, not as x * y + z.
4066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4068 * math/libm-test.inc (fma_test): Add more tests.
4069 (fma_test_towardzero): Likewise.
4070 (fma_test_downward): Likewise.
4071 (fma_test_upward): Likewise.
4072
4073 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4074
4075 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4076
4077 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4078
4079 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4080 New variable.
4081
4082 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4083
4084 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4085
4086 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4087
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4089 Fix sort order.
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4091 Likewise.
4092
4093 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4094
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4096 Fix the order of the list for glibc 2.17.
4097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4098 Likewise.
4099
4100 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4101
4102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4103
4104 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4105
4106 [BZ #14610]
4107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4108 for low part of x being zero before using __atanl (y).
4109 * math/libm-test.inc (atan2_test): Add another test.
4110
4111 * manual/install.texi (Configuring and compiling): Document
4112 general use of test-wrapper and test-wrapper-env.
4113 * INSTALL: Regenerated.
4114
4115 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4116 (__fma): Do not extract and scale down low bits on after-rounding
4117 systems when result rounded to normal precision would have normal
4118 exponent.
4119 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4120 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4128 macro.
4129 (fma_test): Add more tests.
4130 (fma_test_towardzero): Likewise.
4131 (fma_test_downward): Likewise.
4132 (fma_test_upward): Likewise.
4133
4134 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4135
4136 * sysdeps/i386/tininess.h: Renamed to ...
4137 * sysdeps/x86/tininess.h: This.
4138 * sysdeps/x86_64/tininess.h: Removed.
4139
4140 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4141
4142 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4143 input. Use $(build-program-cmd).
4144 ($(objpfx)tst-array1-static.out): Likewise.
4145 ($(objpfx)tst-array2.out): Likewise.
4146 ($(objpfx)tst-array3.out): Likewise.
4147 ($(objpfx)tst-array4.out): Likewise.
4148 ($(objpfx)tst-array5.out): Likewise.
4149 ($(objpfx)tst-array5-static.out): Likewise.
4150
4151 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4152
4153 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4154 if defined.
4155
4156 * nss/nsswitch.h (nss_interface_function): Provide new
4157 macro for use with NSS functions.
4158 * grp/initgroups.c: Use new macro.
4159 * nss/getXXbyYY.c: Likewise.
4160 * nss/getXXbyYY_r.c: Likewise.
4161 * nss/getXXent.c: Likewise.
4162 * nss/getXXent_r.c: Likewise.
4163 * sysdeps/posix/getaddrinfo.c: Likewise.
4164
4165 2012-10-30 Andreas Jaeger <aj@suse.de>
4166
4167 * po/ru.po: Update Russion translation from translation project.
4168
4169 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4170
4171 [BZ #14152]
4172 [BZ #14783]
4173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4174 result and shift together with sticky bit instead of replicating
4175 round-to-nearest rounding.
4176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4178 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4179 missing underflow exceptions.
4180 (fma_test_towardzero): Add more tests.
4181 (fma_test_downward): Likewise.
4182 (fma_test_upward): Likewise.
4183
4184 [BZ #14047]
4185 * sysdeps/generic/tininess.h: New file.
4186 * sysdeps/i386/tininess.h: Likewise.
4187 * sysdeps/sh/tininess.h: Likewise.
4188 * sysdeps/x86_64/tininess.h: Likewise.
4189 * stdlib/tst-strtod-underflow.c: Likewise.
4190 * stdlib/tst-tininess.c: Likewise.
4191 * stdlib/strtod_l.c: Include <tininess.h>.
4192 (round_and_return): Do not set errno for exact underflow cases.
4193 Force an underflow exception when setting errno for underflow.
4194 Determine underflow based on rounding to normal precision if
4195 TININESS_AFTER_ROUNDING.
4196 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4197 ERANGE for exact underflow cases.
4198 * stdlib/Makefile (tests): Add tst-tininess and
4199 tst-strtod-underflow.
4200 ($(objpfx)tst-tininess): Use $(link-libm).
4201 ($(objpfx)tst-strtod-underflow): Likewise.
4202
4203 2012-10-30 Andreas Jaeger <aj@suse.de>
4204
4205 [BZ#14767]
4206 * elf/Makefile (tests): Remove conditional for have-initfini-array
4207 since this is now always required and the variable does not exist
4208 anymore.
4209 (tests-static): Likewise.
4210 (modules-names): Likewise.
4211
4212 * po/eo.po: Add Esperanto translation from translation project.
4213
4214 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4215 merged with constructor/destructor.
4216 (init_array): Likewise.
4217 * elf/tst-array2dep.c (fini_array): Likewise.
4218 (init_array): Likewise.
4219
4220 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4221
4222 * manual/message.texi: Delete @cartouche tags.
4223
4224 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4225
4226 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4227 EOPNOTSUPP.
4228 * sysdeps/mach/hurd/fsync.c: Likewise.
4229
4230 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4231 [_POSIX_REALTIME_SIGNALS]: Change condition to
4232 [_POSIX_REALTIME_SIGNALS > 0].
4233
4234 2012-10-27 Andreas Jaeger <aj@suse.de>
4235
4236 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4237 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4239 [__WORDSIZE != 64]: Likewise.
4240
4241 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4242
4243 * iconvdata/tst-table.sh: Remove ${SHELL}.
4244 * iconvdata/tst-tables.sh: Likewise.
4245
4246 2012-10-25 David S. Miller <davem@davemloft.net>
4247
4248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4249 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4250 of strtoull.
4251
4252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4253 ifunc-impl-list.c
4254 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4255 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4256 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4257 file.
4258
4259 2012-10-25 Roland McGrath <roland@hack.frob.com>
4260
4261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4262 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4263 __getdirentries.
4264
4265 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4266 Jim Blandy <jimb@codesourcery.com>
4267
4268 * scripts/cross-test-ssh.sh: New file.
4269 * manual/install.texi (Configuring and compiling): Document use of
4270 cross-test-ssh.sh.
4271 * INSTALL: Regenerated.
4272
4273 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4274
4275 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4276 EOPNOTSUPP.
4277
4278 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4279
4280 * Makeconfig (run-program-prefix): Fix comment.
4281
4282 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4283 Jim Blandy <jimb@codesourcery.com>
4284
4285 * Makeconfig (test-wrapper): New variable,
4286 (test-wrapper-env): Likewise.
4287 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4288 (run-built-tests): Define to yes.
4289 (run-program-prefix): Use $(test-wrapper).
4290 (built-program-cmd): Likewise.
4291 * Rules (make-test-out): Use $(test-wrapper-env) and
4292 $(host-built-program-cmd).
4293 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4294 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4295 tst-pathopt.sh.
4296 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4297 $(test-wrapper-env) to tst-rtld-load-self.sh.
4298 ($(objpfx)order2.out): Use $(test-wrapper).
4299 ($(objpfx)tst-initorder.out): Likewise.
4300 ($(objpfx)tst-initorder2.out): Likewise.
4301 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4302 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4303 (test_wrapper_env): New variable. Use it to run ld.so.
4304 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4305 Use it to run ld.so.
4306 (test_wrapper_env): Likewise.
4307 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4308 $(test-wrapper) to run-iconv-test.sh.
4309 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4310 (ICONV): Use $test_wrapper.
4311 * posix/Makefile ($(objpfx)globtest.out): Pass
4312 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4313 globtest.sh, not $(run-program-prefix).
4314 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4315 (test_wrapper): Likewise.
4316 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4317 set together with run_via_rtld_prefix.
4318 (run_program_prefix): Define in terms of test_wrapper and
4319 run_via_rtld_prefix.
4320
4321 2012-10-24 Roland McGrath <roland@hack.frob.com>
4322
4323 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4324 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4325 Targets removed.
4326
4327 [BZ #14743]
4328 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4329 Declare __clock_getres, __clock_gettime, __clock_settime,
4330 __clock_nanosleep, and __clock_getcpuclockid.
4331 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4332 Remove librt_hidden_def (clock_gettime).
4333 * sysdeps/unix/clock_gettime.c: Likewise.
4334 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4336 * rt/clock_getres.c: Define __clock_getres as an alias.
4337 * sysdeps/posix/clock_getres.c: Likewise.
4338 * rt/clock_settime.c: Define __clock_settime as an alias.
4339 * sysdeps/unix/clock_settime.c: Likewise.
4340 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4341 * sysdeps/unix/clock_nanosleep.c: Likewise.
4342 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4343 * rt/clock-compat.c: New file.
4344 * rt/Makefile (librt-routines): Add clock-compat and move
4345 $(clock-routines) to ...
4346 (routines): ... here, new variable.
4347 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4348 Don't add get_clockfreq here.
4349 * rt/Versions (libc: GLIBC_2.17): New version set.
4350 Add clock_* symbols here.
4351 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4353 (GLIBC_2.17): Add clock_* symbols.
4354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4358 Likewise.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4360 Likewise.
4361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4365 * NEWS: Mention the move.
4366
4367 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4368 Use __open, __read, __close rather than their public counterparts.
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4370 (__get_clockfreq_via_cpuinfo): Likewise.
4371 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4372 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4373
4374 * config.h.in (HAVE_IFUNC): New #undef.
4375 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4376 was successful.
4377 * configure: Regenerated.
4378
4379 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4380
4381 * configure.in: Move READELF check to start of file.
4382 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4383 libc_cv_asm_gnu_indirect_function in the process.
4384 * configure: Regenerated.
4385
4386 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4387
4388 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4389 send the output to /dev/null.
4390 (libc_cv_cc_with_libunwind): Likewise.
4391 (libc_cv_as_noexecstack): Likewise.
4392 * configure: Regenerate.
4393
4394 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4395
4396 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4397
4398 * posix/globtest.sh (TMPDIR): Do not set.
4399 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4400 (testout): Likewise.
4401
4402 2012-10-24 Andreas Jaeger <aj@suse.de>
4403
4404 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4405 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4406 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4407 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4408 posix_fadvise64, posix_fallocate64.
4409
4410 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4411 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4412 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4413 Likewise.
4414 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4415 Likewise.
4416 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4417
4418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4419 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4420 <bits/fcntl-linux.h>.
4421 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4422
4423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4424 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4425 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4426 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4427 [__WORDSIZE != 64]: Likewise.
4428
4429 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4430
4431 * Makeconfig (run-built-tests): New variable.
4432 * Rules [$(cross-compiling) = yes]: Change condition to
4433 [$(run-built-tests) = no].
4434 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4435 to [$(run-built-tests) = yes].
4436 * elf/Makefile [$(cross-compiling) = no]: Likewise
4437 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4438 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4439 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4440 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4441 * io/Makefile [$(cross-compiling) = no]: Likewise.
4442 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4443 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4444 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4445 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4446 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4447 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4448 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4449 * string/Makefile [$(cross-compiling) = no]: Likewise.
4450
4451 * posix/Makefile ($(objpfx)globtest.out): Pass
4452 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4453 $(rtld-installed-name).
4454 * posix/globtest.sh (elf_objpfx): Remove variable.
4455 (rtld_installed_name): Likewise.
4456 (library_path): Likewise.
4457 (run_program_prefix): New variable. Use for running globtest
4458 binary.
4459
4460 2012-10-23 Jim Blandy <jimb@codesourcery.com>
4461 Joseph Myers <joseph@codesourcery.com>
4462
4463 * Makeconfig (host-built-program-cmd): New variable.
4464 * elf/Makefile (tst-stackguard1-ARGS): Use
4465 $(host-built-program-cmd).
4466 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4467 (tst-spawn-ARGS): Likewise.
4468 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4469
4470 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4471 Jim Blandy <jimb@codesourcery.com>
4472
4473 * Makeconfig (run-via-rtld-prefix): New variable.
4474 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4475 (built-program-cmd): Likewise.
4476
4477 2012-10-22 Andreas Jaeger <aj@suse.de>
4478
4479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4480 __O_RSYNC if it exists, otherwise to O_SYNC.
4481
4482 2012-10-22 Jim Blandy <jimb@codesourcery.com>
4483 Joseph Myers <joseph@codesourcery.com>
4484
4485 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4486 /dev/null.
4487 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4488 from /dev/null
4489 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4490 /dev/null.
4491
4492 2012-10-22 Andreas Jaeger <aj@suse.de>
4493
4494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4495 Define always.
4496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4497
4498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4499 bits/fcntl-linux.h.
4500
4501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4502 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4503
4504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4505 to __O_LARGEFILE.
4506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4507 to __O_LARGEFILE.
4508
4509 2012-10-21 Jim Blandy <jimb@codesourcery.com>
4510 Joseph Myers <joseph@codesourcery.com>
4511
4512 * config.make.in (NM): New variable.
4513
4514 2012-10-21 Andreas Jaeger <aj@suse.de>
4515
4516 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4517 definitions and declarations that are provided by
4518 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4519
4520 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4521
4522 [BZ #14683]
4523 * elf/Makefile (tests-static): Add tst-leaks1-static.
4524 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4525 ($(objpfx)tst-leaks1-static): New rule.
4526 ($(objpfx)tst-leaks1-static-mem): Likewise.
4527 (tst-leaks1-static-ENV): New macro.
4528 * elf/dl-open.c (dl_open_worker): Check the main application
4529 only if SHARED is defined.
4530 * elf/tst-leaks1-static.c: New file.
4531
4532 2012-10-20 Andreas Jaeger <aj@suse.de>
4533
4534 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4535 generic values for Linux.
4536 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4537 and declarations that are provided by <bits/fcntl-linux.h> and
4538 include <bits/fcntl-linux.h>.
4539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4541
4542 2012-10-20 Roland McGrath <roland@hack.frob.com>
4543
4544 * io/fcntl.h: Move include of <bits/types.h> to the top and
4545 include it unconditionally.
4546
4547 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4548
4549 * wcsmbs/Makefile (tests-ifunc): New variable.
4550 (tests): Add $(tests-ifunc).
4551 * wcsmbs/test-wcschr-ifunc.c: New file.
4552 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4553 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4554 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4555 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4556 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4557
4558 * string/Makefile (tests-ifunc): New variable.
4559 (tests): Add $(tests-ifunc).
4560 * string/test-memccpy.c (TEST_NAME): New macro.
4561 * string/test-memchr.c (TEST_NAME): Likewise.
4562 * string/test-memcmp.c (TEST_NAME): Likewise.
4563 * string/test-memcpy.c (TEST_NAME): Likewise.
4564 * string/test-memmem.c (TEST_NAME): Likewise.
4565 * string/test-memmove.c (TEST_NAME): Likewise.
4566 * string/test-memset.c (TEST_NAME): Likewise.
4567 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4568 * string/test-stpcpy.c (TEST_NAME): Likewise.
4569 * string/test-stpncpy.c (TEST_NAME): Likewise.
4570 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4571 * string/test-strcasestr.c (TEST_NAME): Likewise.
4572 * string/test-strcat.c (TEST_NAME): Likewise.
4573 * string/test-strchr.c (TEST_NAME): Likewise.
4574 * string/test-strcmp.c(TEST_NAME): Likewise.
4575 * string/test-strcpy.c (TEST_NAME): Likewise.
4576 * string/test-strcspn.c (TEST_NAME): Likewise.
4577 * string/test-strlen.c (TEST_NAME): Likewise.
4578 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4579 * string/test-strncmp.c (TEST_NAME): Likewise.
4580 * string/test-strncpy.c (TEST_NAME): Likewise.
4581 * string/test-strnlen.c (TEST_NAME): Likewise.
4582 * string/test-strpbrk.c (TEST_NAME): Likewise.
4583 * string/test-strrchr.c (TEST_NAME): Likewise.
4584 * string/test-strspn.c (TEST_NAME): Likewise.
4585 * string/test-strstr.c (TEST_NAME): Likewise.
4586 * string/test-bcopy-ifunc.c: New file.
4587 * string/test-bzero-ifunc.c: Likewise.
4588 * string/test-memccpy-ifunc.c: Likewise.
4589 * string/test-memchr-ifunc.c: Likewise.
4590 * string/test-memcmp-ifunc.c: Likewise.
4591 * string/test-memcpy-ifunc.c: Likewise.
4592 * string/test-memmem-ifunc.c: Likewise.
4593 * string/test-memmove-ifunc.c: Likewise.
4594 * string/test-mempcpy-ifunc.c: Likewise.
4595 * string/test-memset-ifunc.c: Likewise.
4596 * string/test-rawmemchr-ifunc.c: Likewise.
4597 * string/test-stpcpy-ifunc.c: Likewise.
4598 * string/test-stpncpy-ifunc.c: Likewise.
4599 * string/test-strcasecmp-ifunc.c: Likewise.
4600 * string/test-strcasestr-ifunc.c: Likewise.
4601 * string/test-strcat-ifunc.c: Likewise.
4602 * string/test-strchr-ifunc.c: Likewise.
4603 * string/test-strchrnul-ifunc.c: Likewise.
4604 * string/test-strcmp-ifunc.c: Likewise.
4605 * string/test-strcpy-ifunc.c: Likewise.
4606 * string/test-strcspn-ifunc.c: Likewise.
4607 * string/test-strlen-ifunc.c: Likewise.
4608 * string/test-strncasecmp-ifunc.c: Likewise.
4609 * string/test-strncat-ifunc.c: Likewise.
4610 * string/test-strncmp-ifunc.c: Likewise.
4611 * string/test-strncpy-ifunc.c: Likewise.
4612 * string/test-strnlen-ifunc.c: Likewise.
4613 * string/test-strpbrk-ifunc.c: Likewise.
4614 * string/test-strrchr-ifunc.c: Likewise.
4615 * string/test-strspn-ifunc.c: Likewise.
4616 * string/test-strstr-ifunc.c: Likewise.
4617
4618 * debug/Makefile (tests-ifunc): New variable.
4619 (tests): Add $(tests-ifunc).
4620 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4621 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4622 * debug/test-stpcpy_chk-ifunc.c: New file.
4623 * debug/test-strcpy_chk-ifunc.c: Likewise.
4624
4625 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4626
4627 [BZ #13601]
4628 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4629 header is not read in.
4630
4631 2012-10-19 Joseph Myers <joseph@codesourcery.com>
4632
4633 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4634 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4635 directly. Pass built executable to script as
4636 $(built-program-cmd).
4637 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4638 $testprogram without using LD_LIBRARY_PATH and $ldso.
4639
4640 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4641 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4642 $(rtld-installed-name).
4643 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4644 (rtld_installed_name): Likewise.
4645 (library_path): Likewise.
4646 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4647 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4648 $(run-program-prefix) to tst-tables.sh.
4649 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4650 it to run tst-table-from and tst-table-to.
4651 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4652 Pass it to tst-table.sh.
4653 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4654 $(run-program-prefix) to tst-gettext.sh.
4655 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4656 tst-translit.sh.
4657 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4658 tst-gettext2.sh.
4659 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4660 to run tst-gettext.
4661 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4662 to run tst-gettext2.
4663 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4664 to run tst-translit.
4665 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4666 $(run-program-prefix) to tst-mtrace.sh.
4667 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4668 to run tst-mtrace.
4669 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4670 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4671 $(rtld-installed-name).
4672 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4673 (rtld_installed_name): Likewise.
4674 (run_program_prefix): New variable. Use it to run wordexp-test.
4675
4676 * Makeconfig (ARCH): Remove all definitions.
4677 (machine): Likewise.
4678 [ARCH]: Remove conditional code.
4679 [!objdir]: Give error.
4680 [!objdir] (objpfx): Remove.
4681 [!objdir] (common-objpfx): Likewise.
4682 [!objdir] (common-objdir): Likewise.
4683 * configure.in (config_makefile): Remove. Hardcode Makefile in
4684 AC_CONFIG_FILES call.
4685 * configure: Regenerated.
4686
4687 [BZ #13888]
4688 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4689 or TMPDIR.
4690 (testout): Likewise.
4691
4692 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4693 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4694 $(rtld-installed-name).
4695 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4696 (rtld_installed_name): Likwise.
4697 (runit): Remove function.
4698 (run_getconf): New variable, Use it for running getconf binary.
4699
4700 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 [BZ #14716]
4703 * string/test-memmem.c (check_result): New function.
4704 (do_one_test): Use it.
4705 (check1): New function.
4706 (test_main): Use it.
4707
4708 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4709
4710 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4711
4712 2012-10-18 Joseph Myers <joseph@codesourcery.com>
4713
4714 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4715 (_G_LSEEK64): Likewise.
4716 (_G_MMAP64): Likewise.
4717 (_G_FSTAT64): Likewise.
4718 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4719 (_G_LSEEK64): Likewise.
4720 (_G_MMAP64): Likewise.
4721 (_G_FSTAT64): Likewise.
4722 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4723 unconditional. Call __mmap64 directly.
4724 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4725 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4726 __lseek64 directly.
4727 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4728 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4729 __mmap64 directly.
4730 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4731 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4732 __lseek64 directly.
4733 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4734 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4735 __lseek64 directly.
4736 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4737 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4738 __lseek64 directly.
4739 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4740 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4741 __fxstat64 directly.
4742 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4743 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4744 unconditional.
4745 (freopen64) [!_G_OPEN64]: Remove conditional code.
4746 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4747 unconditional.
4748 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4749 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4750 unconditional.
4751 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4752 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4753 unconditional.
4754 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4755 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4756 unconditional.
4757 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4758 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4759 unconditional.
4760 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4761 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4762 unconditional.
4763 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4764 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4765 unconditional.
4766 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4767
4768 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4769
4770 [BZ #12140]
4771 * manual/memory.texi (Malloc Tunable Parameters): Add note
4772 about free list pointers overwriting some perturb bytes.
4773 Wording suggested by Roland McGrath.
4774
4775 2012-10-17 Joseph Myers <joseph@codesourcery.com>
4776
4777 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4778 (lgamma_test): Likewise.
4779 (tgamma_test): Likewise.
4780
4781 2012-10-16 Florian Weimer <fweimer@redhat.com>
4782
4783 [BZ #14700]
4784 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4785 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4786
4787 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4788
4789 * NEWS: Mention BZ #14716.
4790 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4791 when removing AVAILABLE1_USES_J macro.
4792
4793 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4796 (__bswap_64): __uint64_t for unsigned 64-bit int.
4797
4798 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4799
4800 * include/string.h (memmem): Declare libc hidden alias.
4801 * string/memmem.c (memmem): Define libc hidden alias.
4802 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4803 __read, __close instead of open, read, close.
4804
4805 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4806
4807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4808 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4809 global and hidden.
4810 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4811 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4812 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4813 Likewise.
4814 (__rawmemchr_sse2): Likewise.
4815 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4816 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4817 (__strchr_sse2): Likewise.
4818 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4819 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4820 (__strcasecmp_sse2): Likewise.
4821 (__strncasecmp_sse2): Likewise.
4822 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4823 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4824 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4825 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4826 (__strrchr_sse2): Likewise.
4827 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4828 ifunc-impl-list.c.
4829 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4830 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4831 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4832 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4833 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4835 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4836 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4837 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4838 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4839 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4840 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4841 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4842 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4843 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4844 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4845 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4846 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4847 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4848 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4849 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4850 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4851 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4852 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4853 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4854 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4855 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4856 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4857 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4858 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4859
4860 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4861 global and hidden.
4862 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4863 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4864 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4865 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4866 Likewise.
4867 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4868 Likewise.
4869 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4870 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4871 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4872 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4873 ifunc-impl-list.c.
4874 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4875 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4876 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4877 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4878 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4879 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4881 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4882 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4885 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4886 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4887 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4889 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4892 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4896 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4898 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4903 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4906 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4908 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4911 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4912 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4915
4916 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4917 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4918 * include/ifunc-impl-list.h: New file.
4919 * misc/ifunc-impl-list.c: Likewise.
4920 * misc/Makefile (routines): Add ifunc-impl-list.
4921 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4922 * string/test-string.h: Include <ifunc-impl-list.h>.
4923 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4924 impl_array): New variables.
4925 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4926 are defined.
4927 (test_init): Call __libc_ifunc_impl_list to initialize
4928 func_list if TEST_IFUNC and TEST_NAME are defined.
4929
4930 * string/Makefile (strop-tests): Add bcopy and bzero.
4931 * string/test-bcopy.c: New file.
4932 * string/test-bzero.c: Likewise.
4933 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4934 defined.
4935 * string/test-memset.c: Support bzero test if TEST_BZERO is
4936 defined.
4937 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4938 __libc_memmove.
4939 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4940 __libc_memset.
4941 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4942 of memset.
4943
4944 2012-10-10 Joseph Myers <joseph@codesourcery.com>
4945
4946 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4947 * configure: Regenerated.
4948
4949 * Makeconfig (+link-static-before-libc): Don't include
4950 $(link-static-libc).
4951
4952 * libio/libio.h (_IO_pos_t): Remove.
4953
4954 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4955
4956 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4957 McGrath.
4958
4959 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4960
4961 * crypt/crypt-entry.c: Include fips-private.h.
4962 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4963 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4964 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4965 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4966
4967 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4968
4969 * crypt/crypt-private.h: Include stdbool.h.
4970 (_ufc_setup_salt_r): Return bool.
4971 * crypt/crypt-entry.c: Include errno.h.
4972 (__crypt_r): Return NULL with EINVAL for bad salt.
4973 * crypt/crypt_util.c (bad_for_salt): New.
4974 (_ufc_setup_salt_r): Check that salt is long enough and within
4975 the specified alphabet.
4976 * crypt/badsalttest.c: New file.
4977 * crypt/Makefile (tests): Add it.
4978 ($(objpfx)badsalttest): New.
4979
4980 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4981
4982 * NEWS: Add entry for BZ #14602.
4983
4984 2012-10-09 Joseph Myers <joseph@codesourcery.com>
4985
4986 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4987 type-generic.
4988 * math/libm-test.inc: Update comment listing what functions and
4989 macros are tested.
4990 (isgreater_test): New function.
4991 (isgreaterequal_test): Likewise.
4992 (isless_test): Likewise.
4993 (islessequal_test): Likewise.
4994 (islessgreater_test): Likewise.
4995 (isunordered_test): Likewise.
4996 (main): Call the new functions.
4997
4998 2012-10-09 Roland McGrath <roland@hack.frob.com>
4999
5000 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5001 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5002 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5003 * sysdeps/i386/configure: Regenerated.
5004 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5005 * sysdeps/mach/configure: Regenerated.
5006 * sysdeps/mach/hurd/configure: Regenerated.
5007 * sysdeps/powerpc/configure: Regenerated.
5008 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5009 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5010 * sysdeps/s390/s390-32/configure: Regenerated.
5011 * sysdeps/s390/s390-64/configure: Regenerated.
5012 * sysdeps/sh/configure: Regenerated.
5013 * sysdeps/sparc/configure: Regenerated.
5014 * sysdeps/unix/sysv/linux/configure: Regenerated.
5015 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5016 * sysdeps/x86_64/configure: Regenerated.
5017
5018 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5019 defined. Don't check if MAP is NULL.
5020
5021 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5022
5023 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5024 (_G_stat64): Likewise.
5025 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5026 (_G_stat64): Likewise.
5027 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5028 instead of struct _G_stat64.
5029 * libio/fileops.c (mmap_remap_check): Likewise.
5030 (decide_maybe_mmap): Likewise.
5031 (_IO_new_file_seekoff): Likewise.
5032 (_IO_file_stat): Likewise.
5033 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5034 _G_off64_t.
5035 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5036 instead of struct _G_stat64.
5037 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5038
5039 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5040
5041 [BZ #14602]
5042 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5043 Replace with ...
5044 (CHECK_EOL): New macro.
5045 (two_way_short_needle): Check beginning of haystack for EOL. Use
5046 CHECK_EOL.
5047 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5048 Replace with CHECK_EOL.
5049 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5050 Replace with CHECK_EOL.
5051
5052 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5053
5054 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5055 type-generic.
5056 * math/libm-test.inc: Update comment listing what functions and
5057 macros are tested.
5058 (finite_test): New function.
5059 (isinf_test): Likewise.
5060 (isnan_test): Likewise.
5061 (fpclassify_test): Test subnormal input.
5062 (isfinite_test): Likewise.
5063 (isnormal_test): Likewise.
5064 (main): Call the new functions.
5065
5066 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5067
5068 [BZ #14660]
5069 * Makerules (%.dynsym): Force C locale when running
5070 $(OBJDUMP) --dynamic-syms.
5071
5072 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5073
5074 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5075 <stdint.h>.
5076
5077 2012-10-06 David S. Miller <davem@davemloft.net>
5078
5079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5080 upper 32-bits of the length value in %o2 since we use branch-on-register
5081 tests which consider the entire 64-bit register.
5082
5083 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5084
5085 * string/test-strstr.c (check2): Add a test for page boundary.
5086
5087 2012-10-05 David S. Miller <davem@davemloft.net>
5088
5089 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5091 file.
5092 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5093 sysdep_routines.
5094 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5095 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5096 and bzero when HWCAP_SPARC_CRYPTO is present.
5097
5098 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5099
5100 [BZ #14602]
5101 * string/test-strstr.c (check2): New function.
5102 (test_main): Call check2.
5103
5104 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5105 and bug-strchr1.
5106 * string/bug-strcasestr1.c (do_test): Moved to ...
5107 * string/test-strcasestr.c (check1): Here. New function.
5108 (do_one_test): Break out result checking code into ...
5109 (check_result): This. New function.
5110 (do_one_test): Call check_result.
5111 (test_main): Call check1.
5112 * string/bug-strchr1.c (do_test): Moved to ...
5113 * string/test-strchr.c (check1): Here. New function.
5114 (do_one_test): Break out result checking code into ...
5115 (check_result): This. New function.
5116 (do_one_test): Call check_result.
5117 (test_main): Call check1.
5118 * string/bug-strstr1.c (main): Moved to ...
5119 * string/test-strstr.c (check1): Here. New function.
5120 (do_one_test): Break out result checking code into ...
5121 (check_result): This. New function.
5122 (do_one_test): Call check_result.
5123 (test_main): Call check1.
5124 * string/bug-strcasestr1.c: Removed.
5125 * string/bug-strchr1.c: Likewise.
5126 * string/bug-strstr1.c: Likewise.
5127
5128 * elf/Makefile (dl-routines): Add hwcaps.
5129 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5130 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5131 (_dl_important_hwcaps): Moved to ...
5132 * elf/dl-hwcaps.c: Here. New file.
5133 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5134
5135 [BZ #14557]
5136 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5137 if IS_IN_rtld isn't defined.
5138
5139 * elf/dl-support.c (_dl_sysinfo_map): New.
5140 Include "get-dynamic-info.h" and "setup-vdso.h".
5141 (_dl_non_dynamic_init): Call setup_vdso.
5142 * elf/dynamic-link.h: Don't include <assert.h>.
5143 (elf_get_dynamic_info): Moved to ...
5144 * elf/get-dynamic-info.h: Here. New file.
5145 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5146 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5147 * elf/setup-vdso.h: Here. New file.
5148 * elf/rtld.c: Include "setup-vdso.h".
5149 (dl_main): Call setup_vdso.
5150
5151 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5152
5153 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5154 creal in comment listing functions tested. List finite, isinf,
5155 isnan, isless, islessequal, isgreater, isgreaterequal,
5156 islessgreater, isunordered, lgamma_r and pow10 as functions and
5157 macros not tested. Mention which functions not tested are aliases
5158 for other functions. Fix typo. Note that signs of NaNs are not
5159 tested.
5160
5161 * scripts/config.guess: Update from config.git.
5162 * scripts/config.sub: Likewise.
5163
5164 2012-10-04 Roland McGrath <roland@hack.frob.com>
5165
5166 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5167 * misc/madvise.c (madvise): Renamed to __madvise.
5168 Make madvise a weak alias.
5169 * include/sys/mman.h: Declare __madvise.
5170 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5171 * sysdeps/unix/syscalls.list
5172 (madvise): Make __madvise the strong name, and madvise a weak alias.
5173 * sysdeps/unix/sysv/linux/syscalls.list
5174 (madvise, mmap): Remove redundant entries.
5175 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5176 * malloc/malloc.c (mtrim): Likewise.
5177 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5178
5179 2012-10-03 Roland McGrath <roland@hack.frob.com>
5180
5181 * sysdeps/mach/hurd/dl-cache.c: File removed.
5182 * config.h.in (USE_LDCONFIG): New #undef.
5183 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5184 * configure: Regenerated.
5185 * elf/Makefile (dl-routines): Add dl-cache only under
5186 [$(use-ldconfig) = yes].
5187 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5188 cache on [USE_LDCONFIG].
5189 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5190 [USE_LDCONFIG].
5191 * elf/rtld.c (dl_main): Likewise.
5192
5193 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5194
5195 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5196 _SC_LEVEL4_CACHE_LINESIZE.
5197
5198 2012-10-03 Roland McGrath <roland@hack.frob.com>
5199
5200 * sysdeps/unix/bsd/confstr.h: File removed.
5201
5202 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5203
5204 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5205 sys/sdt-config.h.
5206
5207 2012-10-02 Roland McGrath <roland@hack.frob.com>
5208
5209 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5210 Make 'mapoff' field ElfW(Off) rather than off_t.
5211
5212 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5213
5214 * nscd/Makefile: Remove nscd-cflags and all its users.
5215 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5216 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5217
5218 [BZ #10631]
5219 * malloc.c (malloc_printerr): Clarify error message.
5220
5221 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5222
5223 [BZ #14648]
5224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5225 Set bit_FMA_Usable if FMA is supported.
5226 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5227 macro.
5228 (bit_FMA4_Usable): Updated.
5229 (index_FMA_Usable): New macro.
5230 (CPUID_FMA): Likewise
5231 (HAS_FMA): Defined with bit_FMA_Usable.
5232
5233 2012-10-01 Roland McGrath <roland@hack.frob.com>
5234
5235 * bits/types.h (__swblk_t): Type removed.
5236 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5237 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5239 (__SWBLK_T_TYPE): Likewise.
5240 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5241 (__SWBLK_T_TYPE): Likewise.
5242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5243 (__SWBLK_T_TYPE): Likewise.
5244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5245 (__SWBLK_T_TYPE): Likewise.
5246
5247 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5248 Honza Horak <hhorak@redhat.com>
5249
5250 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5251 (xdr_mapname): Use YPMAXMAP as maxsize.
5252 (xdr_peername): Use YPMAXPEER as maxsize.
5253 (xdr_keydat): Use YPAXRECORD as maxsize.
5254 (xdr_valdat): Use YPMAXRECORD as maxsize.
5255
5256 2012-10-01 Roland McGrath <roland@hack.frob.com>
5257
5258 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5259
5260 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5261 * csu/init-first.c: ... here.
5262 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5263 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5264 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5266 * sysdeps/i386/init-first.c: File removed.
5267 * sysdeps/sh/init-first.c: File removed.
5268
5269 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5270
5271 [BZ #14645]
5272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5273 if x * y might underflow to zero and z is zero.
5274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5276 * math/libm-test.inc (min_subnorm_value): New variable.
5277 (fma_test): Add more tests.
5278 (fma_test_towardzero): Likewise.
5279 (fma_test_downward): Likewise
5280 (fma_test_upward): Likewise.
5281 (initialize): Set min_subnorm_value.
5282
5283 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5284
5285 [BZ #14638]
5286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5287 0 + 0.
5288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5289 mode for addition resulting in exact zero.
5290 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5292 exact 0 + 0.
5293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5294 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5295 * math/libm-test.inc (fma_test): Add more tests.
5296 (fma_test_towardzero): New function.
5297 (fma_test_downward): Likewise.
5298 (fma_test_upward): Likewise.
5299 (main): Call the new functions.
5300
5301 2012-09-28 David S. Miller <davem@davemloft.net>
5302
5303 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5304
5305 2012-09-28 Roland McGrath <roland@hack.frob.com>
5306
5307 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5308 instead of SIGALRM.
5309
5310 * sysdeps/gnu/_G_config.h: Moved to ...
5311 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5312 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5313 * sysdeps/generic/_G_config.h: ... here.
5314
5315 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5316
5317 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5318
5319 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5320 Conditionalize target on [libnss_test1.so-version].
5321
5322 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5323
5324 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5325 (elfobjdir): Move out of conditionals.
5326
5327 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5328 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5329 (__nss_lookup_function): Conditionalize label remove_from_tree on
5330 [!DO_STATIC_NSS || SHARED], matching its only use.
5331
5332 2012-09-28 David S. Miller <davem@davemloft.net>
5333
5334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5335 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5336 file.
5337 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5338 sysdep_routines.
5339 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5341 when HWCAP_SPARC_CRYPTO is present.
5342
5343 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5344
5345 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5346
5347 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5348
5349 [BZ #6530]
5350 * stdio-common/vfprintf.c (process_string_arg): Revert
5351 2000-07-22 change.
5352
5353 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5354
5355 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5356 for testcase.
5357 * stdio-common/tst-sprintf.c: Include <locale.h>
5358 (main): Test sprintf's handling of incomplete multibyte
5359 characters.
5360
5361 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5362
5363 * elf/dl-runtime.c (VERSYMIDX): Removed.
5364 * elf/dl-version.c (VERSYMIDX): Likewise.
5365 * elf/do-rel.h (VERSYMIDX): Likewise.
5366 (VALIDX): Likewise.
5367 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5368 * elf/rtld.c (VALIDX): Likewise.
5369 (ADDRIDX): Likewise.
5370 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5371 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5372 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5373 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5374 (VALIDX): Likewise.
5375 (ADDRIDX): Likewise.
5376
5377 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5378
5379 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5380
5381 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5382
5383 [BZ #11438]
5384 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5385 to global scope.
5386 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5387 addresses are in the same scope as 192.0.2/24.
5388 * posix/gai.conf: Document new scope table defaults.
5389
5390 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5391
5392 [BZ #5298]
5393 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5394 for ftell. Compute offsets from write pointers instead.
5395 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5396
5397 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5398
5399 [BZ #14543]
5400 * libio/Makefile (tests): New test case tst-fseek.
5401 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5402 combination works in wide mode.
5403 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5404 state when the external buffer state changes.
5405
5406 2012-09-27 David S. Miller <davem@davemloft.net>
5407
5408 [BZ #14376]
5409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5410 pass reloc->r_addend in as the 'high' argument to
5411 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5412
5413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5414
5415 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5416
5417 * rt/tst-aio2.c: Include <pthread.h>.
5418 * rt/tst-aio3.c: Likewise.
5419
5420 2012-09-27 Steve Ellcey <sellcey@mips.com>
5421
5422 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5423
5424 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5425
5426 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5427 contents on [SHARED].
5428
5429 2012-09-26 Marek Polacek <polacek@redhat.com>
5430
5431 [BZ #14530]
5432 [BZ #13741]
5433 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5434 for C++ and GCC <4.3 as well as for non GCC compilers.
5435
5436 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5437
5438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5439
5440 2012-09-25 Roland McGrath <roland@hack.frob.com>
5441
5442 * Makefile.in (all, install): Declare with .PHONY.
5443 Reported by Michael Hope <michael.hope@linaro.org>.
5444
5445 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5446
5447 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5448 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5449 system header.
5450 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5451 Likewise.
5452 (sydep_routines): Add the new and the internal functions.
5453 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5454 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5456 (GLIBC_2.17): Add the new function.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5458 (GLIBC_2.17): Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5460 (GLIBC_2.17): Likewise.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5462 (GLIBC_2.17): Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5464
5465 2012-09-25 Alan Modra <amodra@gmail.com>
5466
5467 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5468 Add release barrier before setting once_control to say
5469 initialisation is done. Add hints on lwarx. Use macro in
5470 place of isync.
5471 (clear_once_control): Add release barrier.
5472
5473 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5474
5475 [BZ #13629]
5476 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5477 specially.
5478 * math/s_clog10.c (__clog10): Likewise.
5479 * math/s_clog10f.c (__clog10f): Likewise.
5480 * math/s_clog10l.c (__clog10l): Likewise.
5481 * math/s_clogf.c (__clogf): Likewise.
5482 * math/s_clogl.c (__clogl): Likewise.
5483 * math/Makefile (libm-calls): Add x2y2m1.
5484 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5485 (__x2y2m1): Likewise.
5486 (__x2y2m1l): Likewise.
5487 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5488 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5491 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5492 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5493 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5494 * sysdeps/i386/fpu/libm-test-ulps: Update.
5495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5496
5497 [BZ #14621]
5498 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5499 int as type of variable DEPTH.
5500 (glob): Use size_t instead of int as type of variables NEWCOUNT
5501 and OLD_PATHC.
5502
5503 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5504
5505 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5506 Add s_sincosf-sse2.
5507 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5508 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5509 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5510 macros for using routine as __sincosf_ia32.
5511 Use macro for function declaration and weak_alias.
5512 * sysdeps/i386/fpu/libm-test-ulps: Update.
5513
5514 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5516
5517 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5518 subnormal argument.
5519 * math/s_cexpf.c (__cexpf): Likewise.
5520 * math/s_csinf.c (__csinf): Likewise.
5521 * math/s_csinhf.c (__csinhf): Likewise.
5522 * math/s_ctanf.c (__ctanf): Likewise.
5523 * math/s_ctanhf.c (__ctanhf): Likewise.
5524 * math/s_ccosh.c (__ccoshf): Likewise.
5525 * math/s_cexp.c (__cexpl): Likewise.
5526 * math/s_csin.c (__csin): Likewise.
5527 * math/s_csinh.c (__csinh): Likewise.
5528 * math/s_ctan.c (__ctan): Likewise.
5529 * math/s_ctanh.c (ctanh): Likewise.
5530 * math/s_ccoshl.c (__ccoshl): Likewise.
5531 * math/s_cexpl.c (__cexpl): Likewise.
5532 * math/s_csinl.c (__csinl): Likewise.
5533 * math/s_csinhl.c (__csinhl): Likewise.
5534 * math/s_ctanl.c (__ctanl): Likewise.
5535 * math/s_ctanhl.c (__ctanhl): Likewise.
5536
5537 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5538
5539 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5540 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5541 (_IO_off_t): Define to __off_t, not _G_off_t.
5542 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5543 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5544 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5545 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5546 type of __dummy and __dummy2 fields.
5547 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5548 (_G_ssize_t): Likewise.
5549 (_G_off_t): Likewise.
5550 (_G_pid_t): Likewise.
5551 (_G_uid_t): Likewise.
5552 (_G_wchar_t): Likewise.
5553 (_G_wint_t): Likewise.
5554 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5555 (_G_ssize_t): Likewise.
5556 (_G_off_t): Likewise.
5557 (_G_pid_t): Likewise.
5558 (_G_uid_t): Likewise.
5559 (_G_wchar_t): Likewise.
5560 (_G_wint_t): Likewise.
5561 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5562 (_G_ssize_t): Likewise.
5563 (_G_off_t): Likewise.
5564 (_G_pid_t): Likewise.
5565 (_G_uid_t): Likewise.
5566 (_G_wchar_t): Likewise.
5567 (_G_wint_t): Likewise.
5568
5569 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5570
5571 * malloc/arena.c: Include malloc-sysdep.h.
5572 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5573 is sufficient to shrink the heap or an unmap is needed.
5574 * sysdeps/generic/malloc-sysdep.h: New file. Define
5575 new function check_may_shrink_heap.
5576 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5577 new function check_may_shrink_heap.
5578
5579 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5580
5581 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5582 comments.
5583
5584 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5585
5586 * catgets/test-gencat.sh: Add "set -e".
5587 * elf/tst-pathopt.sh: Likewise.
5588 * grp/tst_fgetgrent.sh: Likewise.
5589 * iconvdata/run-iconv-test.sh: Likewise.
5590 * intl/tst-gettext.sh: Likewise.
5591 * intl/tst-gettext2.sh: Likewise.
5592 * intl/tst-gettext4.sh: Likewise.
5593 * intl/tst-gettext6.sh: Likewise.
5594 * intl/tst-translit.sh: Likewise.
5595 * io/ftwtest-sh: Likewise.
5596 * libio/test-freopen.sh: Likewise.
5597 * malloc/tst-mtrace.sh: Likewise.
5598 * posix/globtest.sh: Likewise.
5599 * posix/tst-getconf.sh: Likewise.
5600 * posix/wordexp-tst.sh: Likewise.
5601 * stdio-common/tst-printf.sh: Likewise.
5602 * stdio-common/tst-unbputc.sh: Likewise.
5603 * stdlib/tst-fmtmsg.sh: Likewise.
5604 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5605 * catgets/Makefile: Do not specify -e option when running
5606 testsuite shell scripts.
5607 * elf/Makefile: Likewise.
5608 * grp/Makefile: Likewise.
5609 * iconvdata/Makefile: Likewise.
5610 * intl/Makefile: Likewise.
5611 * io/Makefile: Likewise.
5612 * libio/Makefile: Likewise.
5613 * malloc/Makefile: Likewise.
5614 * posix/Makefile: Likewise.
5615 * stdio-common/Makefile: Likewise.
5616 * stdlib/Makefile: Likewise.
5617 * sysdeps/x86_64/Makefile: Likewise.
5618
5619 * io/ftwtest-sh: Add copyright header.
5620 * posix/globtest.sh: Likewise.
5621 * posix/tst-getconf.sh: Likewise.
5622 * posix/wordexp-tst.sh: Likewise.
5623 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5624
5625 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5626
5627 [BZ #13679]
5628 * Makeconfig (+link): Defined as $(+link-static) if
5629 $(build-shared) isn't yes.
5630 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5631 isn't yes.
5632 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5633
5634 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5635
5636 [BZ #14562]
5637 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5638 new chunk size with MALLOC_ALIGN_MASK.
5639
5640 2012-09-24 Joseph Myers <joseph@codesourcery.com>
5641
5642 [BZ #5044]
5643 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5644 <rounding-mode.h>.
5645 (__printf_fphex): Determine rounding using get_rounding_mode and
5646 round_away.
5647 * stdio-common/tst-printf-round.c (struct hex_test): New
5648 structure.
5649 (hex_tests): New variable.
5650 (test_hex_in_one_mode): New function.
5651 (do_test): Also run tests for hex float output.
5652
5653 2012-09-21 Joseph Myers <joseph@codesourcery.com>
5654
5655 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5656 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5657 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5658 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5659 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5660 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5661 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5662 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5663
5664 2012-09-20 Joseph Myers <joseph@codesourcery.com>
5665
5666 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5667 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5668 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5669 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5670
5671 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5672
5673 [BZ #14579]
5674 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5675 mode only.
5676 * elf/tst-rtld-load-self.sh: New test.
5677 * elf/Makefile: Run it.
5678
5679 2012-09-18 Joseph Myers <joseph@codesourcery.com>
5680
5681 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5682 (tst-writev-ENV): Remove.
5683 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5684
5685 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5686
5687 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5688
5689 2012-09-17 Joseph Myers <joseph@codesourcery.com>
5690
5691 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5692 unconditional.
5693 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5694 Likewise.
5695 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5696 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5697 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5698 Likewise.
5699
5700 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5701
5702 [BZ #14587]
5703 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5704 * config.make.in (have-cpp-asm-debuginfo): Removed.
5705 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5706 * configure: Regenerated.
5707
5708 2012-09-14 Joseph Myers <joseph@codesourcery.com>
5709
5710 [BZ #5044]
5711 * stdio-common/printf_fp.c: Include <stdbool.h> and
5712 <rounding-mode.h>.
5713 (___printf_fp): Determine rounding using get_rounding_mode and
5714 round_away.
5715 * stdio-common/tst-printf-round.c: New file.
5716 * stdio-common/Makefile (tests): Add tst-printf-round.
5717 (link-libm): New variable.
5718 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5719
5720 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5721
5722 [BZ #14576]
5723 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5724 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5725 Likewise.
5726 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5727 Likewise.
5728
5729 2012-09-13 Joseph Myers <joseph@codesourcery.com>
5730
5731 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5732 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5733 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5734 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5735
5736 2012-09-12 Joseph Myers <joseph@codesourcery.com>
5737
5738 [BZ #14518]
5739 * include/rounding-mode.h: New file.
5740 * sysdeps/generic/get-rounding-mode.h: Likewise.
5741 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5742 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5743 (MAX_VALUE): New macro.
5744 (MIN_VALUE): Likewise.
5745 (overflow_value): New function.
5746 (underflow_value): Likewise.
5747 (round_and_return): Use overflow_value and underflow_value to
5748 determine return values in overflow and underflow cases. Use
5749 round_away to determine rounding depending on rounding mode.
5750 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5751 determine return values in overflow and underflow cases.
5752 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5753 (struct test_results): New structure.
5754 (struct test): Use struct test_results to store expected results
5755 for all rounding modes.
5756 (TEST): Include expected results for all rounding modes.
5757 (test_in_one_mode): New function.
5758 (do_test): Use test_in_one_mode to compute and check results.
5759 Check results for all rounding modes.
5760 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5761 $(link-libm).
5762
5763 2012-12-09 Allan McRae <allan@archlinux.org>
5764
5765 * sysdeps/i386/fpu/libm-test-ulps: Update
5766
5767 2012-09-11 Joseph Myers <joseph@codesourcery.com>
5768
5769 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5770 (_G_int32_t): Likewise.
5771 (_G_uint16_t): Likewise.
5772 (_G_uint32_t): Likewise.
5773 (_G_HAVE_BOOL): Likewise.
5774 (_G_HAVE_ATEXIT): Likewise.
5775 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5776 (_G_HAVE_IO_FILE_OPEN): Likewise.
5777 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5778 (_G_int32_t): Likewise.
5779 (_G_uint16_t): Likewise.
5780 (_G_uint32_t): Likewise.
5781 (_G_HAVE_BOOL): Likewise.
5782 (_G_HAVE_ATEXIT): Likewise.
5783 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5784 (_G_HAVE_IO_FILE_OPEN): Likewise.
5785 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5786 (_G_int32_t): Likewise.
5787 (_G_uint16_t): Likewise.
5788 (_G_uint32_t): Likewise.
5789 (_G_HAVE_BOOL): Likewise.
5790 (_G_HAVE_ATEXIT): Likewise.
5791 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5792 (_G_HAVE_IO_FILE_OPEN): Likewise.
5793
5794 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5795
5796 * csu/libc-tls.c: Update copyright years.
5797
5798 2012-09-10 Joseph Myers <joseph@codesourcery.com>
5799
5800 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5801 [!_G_USING_THUNKS]: Remove conditional code.
5802 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5803 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5804
5805 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5806 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5807 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5808 (_G_VTABLE_LABEL_PREFIX): Likewise.
5809 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5810 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5811 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5812 (_G_VTABLE_LABEL_PREFIX): Likewise.
5813 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5814 * sysdeps/mach/hurd/_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
5819 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5820
5821 * libio/Makefile: Include ../Makeconfig before tests.
5822 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5823 only if $(build-shared) is yes.
5824
5825 * iconv/gconv_db.c: Update copyright years.
5826
5827 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5828
5829 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5830 unwind info if defined PIC. Fix special cases description.
5831 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5832
5833 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5834 DP_HI_MASK entry.
5835 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5836
5837 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5838
5839 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5840
5841 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5842 is NULL.
5843
5844 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5845 (LDLIBS-tst-chk4): This.
5846 (LDFLAGS-tst-chk5): Renamed to ...
5847 (LDLIBS-tst-chk5): This.
5848 (LDFLAGS-tst-chk6): Renamed to ...
5849 (LDLIBS-tst-chk6): This.
5850 (LDFLAGS-tst-lfschk4): Renamed to ...
5851 (LDLIBS-tst-lfschk4): This.
5852 (LDFLAGS-tst-lfschk5): Renamed to ...
5853 (LDLIBS-tst-lfschk5): This.
5854 (LDFLAGS-tst-lfschk6): Renamed to ...
5855 (LDLIBS-tst-lfschk6): This.
5856
5857 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5858 on $(common-objpfx)soversions.mk.
5859
5860 2012-09-07 Joseph Myers <joseph@codesourcery.com>
5861
5862 [BZ #10014]
5863 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5864 example host name.
5865
5866 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5867
5868 * malloc/arena.c (arena_get_retry): New function that gets
5869 another arena for the caller to try its request on.
5870 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5871 current arena cannot fulfill the request.
5872 (__libc_memalign): Likewise.
5873 (__libc_memalign): Likewise.
5874 (__libc_pvalloc): Likewise.
5875 (__libc_calloc): Likewise.
5876
5877 2012-09-05 John Tobey <john.tobey@gmail.com>
5878
5879 [BZ #13542]
5880 * manual/arith.texi (Operations on Complex): Fix description
5881 of carg branch cut.
5882
5883 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5884
5885 [BZ #10014]
5886 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5887 host name.
5888
5889 [BZ #10038]
5890 * manual/memory.texi (Memory): Make order of menu items match
5891 order of sections.
5892
5893 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5894
5895 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5896 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5897 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5898
5899 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5900
5901 * csu/libc-tls.c (static_dtv): Renamed to ...
5902 (_dl_static_dtv): This. Make it global.
5903 (_dl_initial_dtv): Removed.
5904 (__libc_setup_tls): Updated.
5905 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5906 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5907 DL_INITIAL_DTV.
5908
5909 2012-09-06 Petr Machata <pmachata@redhat.com>
5910
5911 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5912 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5913 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5914 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5915
5916 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5917
5918 [BZ #14545]
5919 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5920 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5921 freeing dtv[-1].
5922
5923 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5924
5925 [BZ #14544]
5926 * Makeconfig (link-static-before-libc): Replace $(+prector)
5927 with $(+prectorT).
5928 (link-static-after-libc): Replace $(+postctor) with
5929 $(+postctorT).
5930 (link-bounded): Replace $(+prector)/$(+postctor) with
5931 $(+prectorT)/$(+postctorT).
5932 (+prectorT): New macro.
5933 (+postctorT): Likewise.
5934
5935 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5936
5937 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5938 (round_str): Handle values above the maximum for IBM long double
5939 as inexact.
5940 * stdlib/tst-strtod-round.c (tests): Regenerated.
5941
5942 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5943
5944 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5945 assembler flag.
5946 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5947 zarch_nohighgprs around the zarch optimized routines.
5948 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5949 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5950 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5951 for zarch.
5952
5953 2012-09-05 David S. Miller <davem@davemloft.net>
5954
5955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5956
5957 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5958 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5959 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5960 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5961 entries.
5962
5963 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5964
5965 * malloc/arena.c: Fold copyright years.
5966 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5967
5968 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5969
5970 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5971
5972 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5973
5974 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5975
5976 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5977
5978 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5979 change internal state upon failure.
5980
5981 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5982
5983 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5984 * malloc/memusage.c (mmap): Likewise.
5985 (mmap64, mremap): Likewise. Adjust name in comment.
5986
5987 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5988
5989 * libio/fileops.c: Fix typos in comments.
5990 * libio/oldfileops.c: Likewise.
5991 * libio/wfileops.c: Likewise.
5992
5993 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5994
5995 [BZ #1349]
5996 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5997 (tst-malloc-usable-ENV): Set environment for test case.
5998 * malloc/hooks.c (malloc_check_get_size): New function to get
5999 requested size.
6000 * malloc/malloc.c (musable): Use malloc_check_get_size.
6001 * malloc/tst-malloc-usable.c: New test case.
6002
6003 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6004
6005 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6006
6007 2012-09-05 Allan McRae <allan@archlinux.org>
6008
6009 [BZ #13966]
6010 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6011 determine header location.
6012 * configure: Regenerated.
6013
6014 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6015
6016 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6017 float format.
6018 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6019 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6020 format.
6021 (test): Regenerate.
6022
6023 2012-09-04 David S. Miller <davem@davemloft.net>
6024
6025 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6026 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6028
6029 2012-09-04 Florian Weimer <fweimer@redhat.com>
6030
6031 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6032 failures.
6033
6034 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6035
6036 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6037
6038 [BZ #9914]
6039 * libio/iogetdelim.c: Include <limits.h>.
6040 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6041 + len + 1 would overflow.
6042
6043 2012-09-03 Andreas Jaeger <aj@suse.de>
6044
6045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6046 * sysdeps/i386/fpu/libm-test-ulps: Update.
6047
6048 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6049
6050 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6051 Add s_sinf-sse2, s_conf-sse2.
6052
6053 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6054 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6055 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6056 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6057
6058 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6059 for using routine as __sinf_ia32.
6060 Use macro for function declaration and weak_alias.
6061 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6062 for using routine as __cosf_ia32.
6063 Use macro for function declaration and weak_alias.
6064
6065 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6066 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6067
6068 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6069 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6071
6072 * math/libm-test.inc (cos_test): Add more test cases.
6073 (sin_test): Likewise.
6074 (sincos_test): Likewise.
6075
6076 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6077
6078 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6079 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6080 hidden.
6081 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6082
6083 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6084
6085 [BZ #14538]
6086 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6087 first element of the GOT.
6088 (elf_machine_load_address): Return the difference between
6089 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6090
6091 2012-09-01 Allan McRae <allan@archlinux.org>
6092
6093 [BZ #13412]
6094 * configure.in (AWK): Require gawk version 3.0 or later.
6095 * configure: Regenerated.
6096
6097 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6098
6099 * sysdeps/unix/sysv/linux/kernel-features.h
6100 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6101 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6102 [__NR_clock_getres]: Make code unconditional.
6103 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6104 (clock_getcpuclockid): Remove code left unreachable by removal of
6105 conditionals.
6106 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6107 code unconditional.
6108 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6109 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6110 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6111 Make code unconditional.
6112 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6113 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6114 * sysdeps/unix/sysv/linux/clock_settime.c
6115 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6116 conditional code.
6117 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6118 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6119
6120 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6121
6122 [BZ #14476]
6123 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6124 scripts/test-installation.pl.
6125
6126 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6127 and $ld_so_version if it is set.
6128
6129 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6130
6131 [BZ #14516]
6132 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6133 failure if reading from procfs failed.
6134 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6135
6136 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6137
6138 * sysdeps/unix/sysv/linux/kernel-features.h
6139 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6140 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6141 Remove conditional code.
6142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6143 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6144 Remove conditional code.
6145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6146 * sysdeps/unix/sysv/linux/i386/fxstat.c
6147 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6149 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6150 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6152 * sysdeps/unix/sysv/linux/i386/lxstat.c
6153 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6155 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6156 Remove conditional code.
6157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6158 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6159 Remove conditional code.
6160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6162 <kernel-features.h>.
6163 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6164 Remove.
6165 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6166 Remove conditional code.
6167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6168 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6169 Remove conditional.
6170
6171 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6172
6173 [BZ #5400]
6174 * NEWS: Add fixed bug number.
6175
6176 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6177
6178 [BZ #14519]
6179 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6180 underflowing exponent in case of negative sign.
6181 * stdlib/tst-strtod-round-data: Add more tests.
6182 * stdlib/tst-strtod-round.c (tests): Regenerated.
6183
6184 [BZ #3479]
6185 * stdlib/strtod_l.c (NDIG): Remove.
6186 (HEXNDIG): Likewise.
6187 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6188 smallest representable value.
6189 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6190 lie within an exact representation of 1/2 ulp of the result.
6191 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6192 unconditionally.
6193 (TENS_P9_IDX): Define unconditionally.
6194 (TENS_P9_SIZE): Likewise.
6195 (TENS_P10_IDX): Likewise.
6196 (TENS_P10_SIZE): Likewise.
6197 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6198 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6199 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6200 entries for 10^2^13 and 10^2^14.
6201 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6202 (TENS_P13_IDX): Define.
6203 (TENS_P13_SIZE): Likewise.
6204 (TENS_P14_IDX): Likewise.
6205 (TENS_P14_SIZE): Likewise.
6206 (_fpioconst_pow10): Change array size to
6207 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6208 unconditional.
6209 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6210 1024]: Add entries for 10^2^13 and 10^2^14.
6211 [LAST_POW10 > _LAST_POW10]: Remove #error.
6212 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6213 (_fpioconst_pow10): Change array size to
6214 FPIOCONST_POW10_ARRAY_SIZE.
6215 * stdlib/gen-fpioconst.c: New file.
6216 * stdlib/gen-tst-strtod-round.c: Likewise.
6217 * stdlib/tst-strtod-round-data: Likewise.
6218 * stdlib/tst-strtod-round.c: Likewise.
6219 * stdlib/Makefile (tests): Add tst-strtod-round.
6220
6221 [BZ #14459]
6222 * stdlib/strtod_l.c: Include <stdint.h>.
6223 (NDEBUG): Do not define.
6224 (round_and_return): Change EXPONENT parameter to type intmax_t.
6225 Rearrange calculations to avoid internal overflow possibilities.
6226 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6227 Rearrange calculations to avoid internal overflow possibilities.
6228 Assert that number fits inside MPNSIZE limbs.
6229 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6230 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6231 calculations and add assertions to avoid internal overflow
6232 possibilities. Add casts to avoid signed/unsigned operations.
6233 * stdlib/tst-strtod-overflow.c: New file.
6234 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6235
6236 2012-08-25 Marek Polacek <polacek@redhat.com>
6237
6238 * time/time.h: Fix some typos in comments.
6239
6240 2012-08-23 Roland McGrath <roland@hack.frob.com>
6241
6242 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6243 * posix/tst-rfc3484-2.c: Likewise.
6244 * posix/tst-rfc3484-3.c: Likewise.
6245
6246 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6247
6248 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6249 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6250
6251 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6252
6253 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6254 #include of fxstatat64.c.
6255
6256 2012-08-22 Roland McGrath <roland@hack.frob.com>
6257
6258 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6259 * shadow/getspent_r.c: Likewise.
6260 * shadow/getspnam.c: Likewise.
6261 * shadow/getspnam_r.c: Likewise.
6262 * gshadow/getsgent.c: Likewise.
6263 * gshadow/getsgent_r.c: Likewise.
6264 * gshadow/getsgnam.c: Likewise.
6265 * gshadow/getsgnam_r.c: Likewise.
6266 * inet/getnetbyad.c: Likewise.
6267 * inet/getnetbyad_r.c: Likewise.
6268 * inet/getnetbynm.c: Likewise.
6269 * inet/getnetbynm_r.c: Likewise.
6270 * inet/getnetent.c: Likewise.
6271 * inet/getnetent_r.c: Likewise.
6272 * inet/getproto.c: Likewise.
6273 * inet/getproto_r.c: Likewise.
6274 * inet/getprtent.c: Likewise.
6275 * inet/getprtent_r.c: Likewise.
6276 * inet/getprtname.c: Likewise.
6277 * inet/getprtname_r.c: Likewise.
6278 * inet/getrpcbyname.c: Likewise.
6279 * inet/getrpcbyname_r.c: Likewise.
6280 * inet/getrpcbynumber.c: Likewise.
6281 * inet/getrpcbynumber_r.c: Likewise.
6282 * inet/getrpcent.c: Likewise.
6283 * inet/getrpcent_r.c: Likewise.
6284 * inet/getaliasent.c: Likewise.
6285 * inet/getaliasent_r.c: Likewise.
6286 * inet/getaliasname.c: Likewise.
6287 * inet/getaliasname_r.c: Likewise.
6288 * nscd/getgrgid_r.c: Likewise.
6289 * nscd/getgrnam_r.c: Likewise.
6290 * nscd/gethstbyad_r.c: Likewise.
6291 * nscd/gethstbynm3_r.c: Likewise.
6292 * nscd/getpwnam_r.c: Likewise.
6293 * nscd/getpwuid_r.c: Likewise.
6294 * nscd/getsrvbynm_r.c: Likewise.
6295 * nscd/getsrvbypt_r.c: Likewise.
6296 * nscd/gai.c: Likewise.
6297
6298 * configure.in (build_nscd): New substituted variable, set
6299 by --disable-build-nscd and defaults to $use_nscd.
6300 * configure: Regenerated.
6301 * config.make.in (build-nscd): New substituted variable.
6302 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6303 Change conditional to require [$(build-nscd) = yes] as well.
6304 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6305
6306 [BZ# 13696]
6307 * configure.in (use_nscd): New substituted variable, set by
6308 --disable-nscd. If enabled, define USE_NSCD.
6309 * configure: Regenerated.
6310 * config.h.in: Add USE_NSCD.
6311 * config.make.in (use-nscd): New substituted variable.
6312 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6313 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6314 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6315 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6316 (CFLAGS-getgrnam_r.c): Likewise.
6317 (CFLAGS-initgroups.c): Likewise.
6318 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6319 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6320 Variables removed.
6321 * inet/getnetgrent_r.c
6322 (nscd_setnetgrent): New function, broken out of ...
6323 (setnetgrent): ... here. Call it.
6324 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6325 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6326 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6327 * nscd/Makefile (routines, aux): Move definitions after include of
6328 Makeconfig. Conditionalize on [$(use-nscd) != no].
6329 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6330 Conditionalize on [USE_NSCD].
6331 (is_nscd, nscd_init_cb): Likewise.
6332 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6333 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6334 * nss/nss_db/db-init.c: Likewise.
6335 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6336 [USE_NSCD].
6337 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6338 (make_request): Use it.
6339 (cache_valid_p): New function.
6340 (__check_pf): Use it.
6341 * NEWS: Add item for --disable-nscd.
6342
6343 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6344
6345 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6346 to support sed >= 4.2.1-20-ga9bf076.
6347 * configure: Regenerated.
6348
6349 2012-08-22 Roland McGrath <roland@hack.frob.com>
6350
6351 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6352 Conditionalize whole body on [IREL].
6353
6354 2012-08-22 Jeff Law <law@redhat.com>
6355
6356 [BZ #14505]
6357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6358 if the family is PF_UNSPEC.
6359
6360 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6361
6362 * Makerules (lib-version): Rename from V.
6363 (install-lib-nosubdir): Change V to lib-version.
6364
6365 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6366
6367 [BZ #14252]
6368 * powerpc32/power6/wcschr.c: New file.
6369 * powerpc32/power6/wcscpy.c: New file.
6370 * powerpc32/power6/wcsrchr.c: New file.
6371 * powerpc64/power6/wcschr.c: New file.
6372 * powerpc64/power6/wcscpy.c: New file.
6373 * powerpc64/power6/wcsrchr.c: New file.
6374
6375 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6376
6377 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6378 (two_way_short_needle): Use it.
6379 * string/strstr.c (AVAILABLE1_USES_J): Define.
6380 * string/strcasestr.c: Likewise.
6381
6382 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6383 array references.
6384 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6385
6386 [BZ #11607]
6387 * NEWS: Add an entry.
6388 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6389 define their defaults.
6390 (two_way_short_needle): Detect end-of-string on-the-fly.
6391 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6392 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6393 * string/bug-strcasestr1.c: New test.
6394 * string/Makefile: Run it.
6395
6396 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6397
6398 [BZ #11607]
6399 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6400 the first character.
6401
6402 2012-08-21 Roland McGrath <roland@hack.frob.com>
6403
6404 * csu/elf-init.c (__libc_csu_irel): Function removed.
6405 * csu/libc-start.c (apply_irel): New function.
6406 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6407
6408 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6409
6410 * sysdeps/unix/sysv/linux/kernel-features.h
6411 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6412 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6413 <kernel-features.h>.
6414 [__NR_fadvise64_64]: Make code unconditional.
6415 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6416 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6417 !__NR_fadvise64_64)]: Likewise.
6418 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6419 !__NR_fadvise64_64))]: Likewise.
6420 [__NR_fadvise64]: Make code unconditional.
6421 [!__NR_fadvise64]: Remove conditional code.
6422 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6423 <kernel-features.h>.
6424 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6425 unconditional.
6426 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6427 conditional code.
6428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6429 not include <kernel-features.h>.
6430 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6431 unconditional.
6432 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6433 conditional code.
6434 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6435 include <kernel-features.h>.
6436 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6437 unconditional.
6438 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6439 conditional code.
6440
6441 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6442
6443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6444 slight instruction rearrangements per scrollpipe analysis.
6445 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6446
6447 2012-08-20 Roland McGrath <roland@hack.frob.com>
6448
6449 * manual/syslog.texi (syslog; vsyslog, closelog):
6450 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6451 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6452
6453 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6454 DSOCAPS to match condition on defining it.
6455
6456 2012-08-20 Joseph Myers <joseph@codesourcery.com>
6457
6458 * sysdeps/unix/sysv/linux/kernel-features.h
6459 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6461 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6462 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6464 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6465 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6467 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6468 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6469
6470 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6471 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6472
6473 * sysdeps/unix/sysv/linux/kernel-features.h
6474 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6475 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6476 unconditional.
6477 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6478 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6479 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6480 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6481 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6482 Make code unconditional.
6483 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6484 (__mmap64) [!__NR_mmap2]: Likewise.
6485 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6486 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6487 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6488 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6489 [__NR_mmap2]: Make code unconditional.
6490 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6491 (__mmap64) [!__NR_mmap2]: Likewise.
6492
6493 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6494
6495 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6496
6497 2012-08-18 Andreas Jaeger <aj@suse.de>
6498
6499 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6500
6501 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6502
6503 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6504 * include/unistd.h (__have_sock_cloexec): Likewise.
6505 (__have_pipe2): Likewise.
6506 (__have_dup3): Likewise.
6507
6508 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6509
6510 [BZ #9685]
6511 * include/unistd.h (__have_pipe2): Change define into an extern int.
6512 (__have_dup3): Likewise.
6513 * socket/have_sock_cloexec.c: Include fcntl.h.
6514 (__have_pipe2): New variable.
6515 (__have_dup3): Likewise.
6516
6517 2012-08-17 Mike Frysinger <vapier@gentoo.org>
6518
6519 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6520
6521 2012-08-17 Marek Polacek <polacek@redhat.com>
6522
6523 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6524 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6525
6526 2012-08-17 Roland McGrath <roland@hack.frob.com>
6527
6528 * configure.in: Add AC_SUBST for sysheaders.
6529 * configure: Regenerated.
6530 * config.make.in (sysheaders): New substituted variable.
6531
6532 * sysdeps/unix/mkfifo.c: Moved ...
6533 * sysdeps/posix/mkfifo.c: ... here.
6534 * sysdeps/unix/mkfifoat.c: Moved ...
6535 * sysdeps/posix/mkfifoat.c: ... here.
6536
6537 * sysdeps/unix/utime.c: Moved ...
6538 * sysdeps/posix/utime.c: ... here.
6539
6540 * sysdeps/unix/time.c: Moved ...
6541 * sysdeps/posix/time.c: ... here.
6542 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6543 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6544
6545 * sysdeps/unix/nice.c: Moved ...
6546 * sysdeps/posix/nice.c: ... here.
6547
6548 * sysdeps/unix/alarm.c: Moved ...
6549 * sysdeps/posix/alarm.c: ... here.
6550
6551 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6552
6553 2012-08-17 Jeff Law <law@redhat.com>
6554
6555 * intl/Makefile (codeset_mo): New variable.
6556 ($(codeset_mo)): New target.
6557 (tst-codeset.out): Depend on that. Remove explicit rule.
6558 (tst-gettext3.out, tst-gettext5.out): Likewise.
6559 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6560 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6561 * intl/tst-codeset.sh: Remove.
6562 * intl/tst-gettext3.sh: Likewise.
6563 * intl/tst-gettext5.sh: Likewise.
6564
6565 2012-08-17 Roland McGrath <roland@hack.frob.com>
6566
6567 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6568 * sysdeps/unix/syscalls.list: ... here.
6569
6570 * sysdeps/posix/getaddrinfo.c
6571 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6572 (gaiconf_init, gaiconf_reload): Use them.
6573 [!_STATBUF_ST_NSEC]
6574 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6575 Define using time_t rather than struct timespec.
6576
6577 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6578 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6579 Macros removed.
6580 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6581 [!NO_THREADS].
6582 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6583 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6584 Likewise.
6585
6586 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6587 __libc_cleanup_push argument.
6588
6589 * bits/param.h: New file.
6590 * misc/sys/param.h: New file.
6591 * include/sys/param.h: New file.
6592 * misc/Makefile (headers): Add bits/param.h.
6593 * sysdeps/generic/sys/param.h: File removed.
6594 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6595 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6596 * sysdeps/mach/hurd/bits/param.h: New file.
6597 * sysdeps/mach/hurd/sys/param.h: File removed.
6598
6599 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6600 last change.
6601
6602 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6603 [_IO_MTSAFE_IO].
6604 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6605 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6606 New macros.
6607
6608 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6609 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6610 rather than -D_IO_MTSAFE_IO conditionally.
6611 * stdio-common/Makefile (CPPFLAGS): Likewise.
6612 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6613 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6614 Use $(libio-mtsafe).
6615 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6616 of -D_IO_MTSAFE_IO.
6617 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6618 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6619 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6620 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6621 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6622 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6623 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6624 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6625 (CFLAGS-fread_u_chk.c): Likewise.
6626 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6627 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6628 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6629 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6630 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6631 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6632 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6633 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6634 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6635
6636 * libio/Makefile: Test [$(libc-reentrant) = yes]
6637 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6638
6639 * Makeconfig
6640 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6641 * sysdeps/pthread/configure: File removed.
6642 * sysdeps/pthread/Makeconfig: New file.
6643 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6644 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6645
6646 2012-08-16 Gary Benson <gbenson@redhat.com>
6647
6648 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6649 unmapping the first object in a namespace.
6650
6651 2012-08-16 Roland McGrath <roland@hack.frob.com>
6652
6653 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6654 (__internal_setnetgrent): ... this. Add internal_function to
6655 definition. Add libc_hidden_def.
6656 (setnetgrent): Update caller.
6657 (internal_endnetgrent): Renamed to ...
6658 (__internal_endnetgrent): ... this. Add internal_function to
6659 definition. Add libc_hidden_def.
6660 (endnetgrent): Update caller.
6661 (internal_getnetgrent_r): Renamed to ...
6662 (__internal_getnetgrent_r): ... this. Add internal_function to
6663 definition. Add libc_hidden_def.
6664 (__getnetgrent_r): Update caller.
6665 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6666
6667 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6668
6669 * stdlib/longlong.h: Update from GCC.
6670
6671 2012-08-16 Roland McGrath <roland@hack.frob.com>
6672
6673 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6674 on _QL, which is set by umul_ppmm but never used.
6675 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6676 variables, which are set by GMP macros but never used.
6677 * stdio-common/_itowa.c (_itowa): Likewise.
6678 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6679 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6680
6681 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6682
6683 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6684 struct La_sh_regs is not constant.
6685 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6686 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6687 and struct La_sparc64_regs are not constant.
6688
6689 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6690
6691 * sysdeps/unix/sysv/linux/kernel-features.h
6692 (__ASSUME_POSIX_TIMERS): Remove.
6693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6694 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6695 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6696 Make code unconditional.
6697 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6698 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6699 Make code unconditional.
6700 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6701 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6702 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6703 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6704 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6705 Make code unconditional.
6706 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6707 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6708 (__libc_missing_posix_timers): Remove.
6709
6710 2012-08-15 Roland McGrath <roland@hack.frob.com>
6711
6712 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6713 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6714
6715 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6716
6717 * elf/dl-sym.c: Include <stdlib.h>.
6718
6719 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6720 constants, which avoids warnings in 32-bit builds.
6721
6722 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6723 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6724
6725 * misc/lseek.c: File moved to ...
6726 * io/lseek.c: ... here.
6727
6728 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6729
6730 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6731 shifting LEN more than 31 bits at once.
6732
6733 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6734
6735 [BZ #14195]
6736 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6737 segmentation fault for a case of two empty input strings.
6738 * string/test-strncasecmp.c (check1): Renamed to...
6739 (bz12205): ...this.
6740 (bz14195): Add new testcase for two empty input strings and N > 0.
6741 (test_main): Call new testcase, adapt for renamed function.
6742
6743 2012-08-15 Andreas Jaeger <aj@suse.de>
6744
6745 [BZ #14090]
6746 * crypt/md5test2.c: New test, based on test supplied by Serge
6747 Belyshev <belyshev@depni.sinp.msu.ru>.
6748 * crypt/Makefile (xtests): Add md5test-giant..
6749 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6750
6751 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6752
6753 [BZ #14090]
6754 * crypt/md5.c (md5_process_block): Don't assume the buffer
6755 length is less than 2**32.
6756 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6757 length is less than 2**64.
6758
6759 2012-08-15 Roland McGrath <roland@hack.frob.com>
6760
6761 * string/str-two-way.h: Include <sys/param.h>.
6762 (MAX): Macro removed.
6763
6764 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6765 Move #define and #undef of memmove to just before and after
6766 including <string.h>.
6767
6768 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6769 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6770 and after including <string.h>. Move declarations of
6771 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6772 to before #include "string/memmove.c".
6773
6774 * include/dirent.h: Declare __getdirentries.
6775
6776 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6777 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6778
6779 2012-08-14 Mike Frysinger <vapier@gentoo.org>
6780
6781 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6782 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6783 * sysdeps/i386/configure: Regenerated.
6784 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6785 STABS_CURRENT_FILE, and STABS_FUN.
6786 (END): Remove call to STABS_FUN_END.
6787 (STABS_CURRENT_FILE1): Delete.
6788 (STABS_CURRENT_FILE): Likewise.
6789 (STABS_FUN): Likewise.
6790 (STABS_FUN_END): Likewise.
6791 (STABS_FUN2): Likewise.
6792 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6793 * sysdeps/x86_64/configure: Regenerated.
6794
6795 2012-08-14 Roland McGrath <roland@hack.frob.com>
6796
6797 * elf/dl-open.c: Include <atomic.h>.
6798 * elf/dl-lookup.c: Likewise.
6799
6800 2012-08-14 Joseph Myers <joseph@codesourcery.com>
6801
6802 * sysdeps/unix/sysv/linux/kernel-features.h
6803 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6804 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6805 unconditionally.
6806 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6807 unconditionally.
6808 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6809 condition on __ASSUME_CLONE_THREAD_FLAGS.
6810
6811 2012-08-14 Andreas Jaeger <aj@suse.de>
6812
6813 * sysdeps/i386/fpu/libm-test-ulps: Update.
6814
6815 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6816
6817 * include/atomic.h (atomic_exchange_and_add): Split into ...
6818 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6819 New atomic macros.
6820
6821 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6822
6823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6824
6825 2012-08-13 Jeff Law <law@redhat.com>
6826
6827 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6828 null byte in the output string.
6829
6830 2012-08-10 Joseph Myers <joseph@codesourcery.com>
6831
6832 * sysdeps/unix/sysv/linux/kernel-features.h
6833 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6834 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6835 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6836 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6837 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6838 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6839 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6840
6841 2012-08-09 Jeff Law <law@redhat.com>
6842
6843 [BZ #13939]
6844 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6845 When avoid_arena is set, don't retry in the that arena. Pick the
6846 next one, whatever it might be.
6847 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6848 (arena_lock): Pass in new parameter to arena_get2.
6849 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6850 arena_get2.
6851 (__libc_malloc): Unify retrying after main arena failure with
6852 __libc_memalign version.
6853 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6854
6855 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6856
6857 [BZ #14166]
6858 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6859 to __redirect_strstr.
6860 (__strstr_sse42): Use typeof __redirect_strstr.
6861 (__strstr_ia32): Likewise.
6862 (__libc_strstr): New prototype.
6863 (strstr): Renamed to ...
6864 (__libc_strstr): This.
6865 (strstr): New strong alias of __libc_strstr.
6866 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6867 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6868 __redirect_time.
6869 Include <time.h>.
6870 (__libc_time): New prototype.
6871 (time_ifunc): Replace time with __libc_time.
6872 (time): New strong alias and hidden definition of __libc_time.
6873 (__GI_time): Remove strong alias.
6874 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6875 Include <stddef.h>.
6876 (memmove): Redefined to __redirect_memmove.
6877 (__memmove_sse2): Use typeof __redirect_memmove.
6878 (__memmove_ssse3): Likewise.
6879 (__memmove_ssse3_back): Likewise.
6880 (__libc_memmove): New prototype.
6881 (memmove): Renamed to ...
6882 (__libc_memmove): This.
6883 (memmove): New strong alias of __libc_memmove.
6884
6885 2012-08-08 Mark Salter <msalter@redhat.com>
6886
6887 * elf/elf.h
6888 (R_MN10300_TLS_GD): Define.
6889 (R_MN10300_TLS_LD): Likewise.
6890 (R_MN10300_TLS_LDO): Likewise.
6891 (R_MN10300_TLS_GOTIE): Likewise.
6892 (R_MN10300_TLS_IE): Likewise.
6893 (R_MN10300_TLS_LE): Likewise.
6894 (R_MN10300_TLS_DTPMOD): Likewise.
6895 (R_MN10300_TLS_DTPOFF): Likewise.
6896 (R_MN10300_TLS_TPOFF): Likewise.
6897 (R_MN10300_SYM_DIFF): Likewise.
6898 (R_MN10300_ALIGN): Likewise.
6899 (R_MN10300_NUM): Update.
6900
6901 2012-08-08 Joseph Myers <joseph@codesourcery.com>
6902
6903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6904 Remove.
6905
6906 2012-08-08 Roland McGrath <roland@hack.frob.com>
6907
6908 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6909
6910 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6911 sysdeps/unix -> sysdeps/posix move.
6912 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6913
6914 2012-08-07 Allan McRae <allan@archlinux.org>
6915
6916 [BZ #14303]
6917 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6918 (SUNOS_CPP): Likewise.
6919 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6920 not found.
6921 (open_input): Call CPP using execvp.
6922
6923 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6924
6925 * sysdeps/unix/sysv/linux/kernel-features.h
6926 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6927 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6928 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6929 (__ASSUME_WAITID_SYSCALL): Likewise.
6930 * sysdeps/unix/sysv/linux/dl-execstack.c
6931 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6932 code unconditional.
6933 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6934 conditional code.
6935 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6936 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6937 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6938 code.
6939 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6940 unconditional.
6941 [__ASSUME_WAITID_SYSCALL]: Likewise.
6942 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6943
6944 2012-08-07 Roland McGrath <roland@hack.frob.com>
6945
6946 * sysdeps/unix/closedir.c: Renamed to ...
6947 * sysdeps/posix/closedir.c: ... here.
6948 * sysdeps/unix/dirfd.c: Renamed to ...
6949 * sysdeps/posix/dirfd.c: ... here.
6950 * sysdeps/unix/dirstream.h: Renamed to ...
6951 * sysdeps/posix/dirstream.h: ... here.
6952 * sysdeps/unix/fdopendir.c: Renamed to ...
6953 * sysdeps/posix/fdopendir.c: ... here.
6954 * sysdeps/unix/opendir.c: Renamed to ...
6955 * sysdeps/posix/opendir.c: ... here.
6956 * sysdeps/unix/readdir.c: Renamed to ...
6957 * sysdeps/posix/readdir.c: ... here.
6958 * sysdeps/unix/readdir_r.c: Renamed to ...
6959 * sysdeps/posix/readdir_r.c: ... here.
6960 * sysdeps/unix/rewinddir.c: Renamed to ...
6961 * sysdeps/posix/rewinddir.c: ... here.
6962 * sysdeps/unix/seekdir.c: Renamed to ...
6963 * sysdeps/posix/seekdir.c: ... here.
6964 * sysdeps/unix/telldir.c: Renamed to ...
6965 * sysdeps/posix/telldir.c: ... here.
6966 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6967 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6968 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6969 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6970
6971 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6972 * bits/fcntl.h: ... here.
6973
6974 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6975 not 0.
6976 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6977 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6978 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6979 (struct flock): Move l_start, l_len to the beginning.
6980 Use __pid_t for l_pid.
6981 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6982 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6983 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6984 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6985 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6986 [__USE_LARGEFILE64] (struct flock64): New type.
6987 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6988
6989 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6990 * bits/dirent.h: ... here.
6991
6992 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6993 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6994
6995 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6996
6997 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6998 Change from 2.6.0 to 2.6.16.
6999 * sysdeps/unix/sysv/linux/configure: Regenerated.
7000 * sysdeps/unix/sysv/linux/kernel-features.h
7001 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7002 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7003 version.
7004 (__ASSUME_UTIMES): Likewise.
7005 (__ASSUME_CLONE_STOPPED): Remove.
7006 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7007 architectures, not kernel version.
7008 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7009 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7010 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7011 (__ASSUME_WAITID_SYSCALL): Likewise.
7012 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7013 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7014 * README: State 2.6.16 as minimum Linux kernel version. Do not
7015 refer to older versions.
7016
7017 2012-08-06 Roland McGrath <roland@hack.frob.com>
7018
7019 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7020 Define alphasort64 as an alias.
7021 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7022 Define versionsort64 as an alias.
7023 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7024 Define scandir64 as an alias.
7025 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7026 Define scandirat64 as an alias.
7027 * dirent/alphasort64.c (alphasort64):
7028 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7029 * dirent/versionsort64.c: Likewise.
7030 * dirent/scandir64.c: Likewise.
7031 * dirent/scandirat64.c: Likewise.
7032 * sysdeps/wordsize-64/alphasort.c: File removed.
7033 * sysdeps/wordsize-64/alphasort64.c: File removed.
7034 * sysdeps/wordsize-64/scandir.c: File removed.
7035 * sysdeps/wordsize-64/scandir64.c: File removed.
7036 * sysdeps/wordsize-64/scandirat.c: File removed.
7037 * sysdeps/wordsize-64/scandirat64.c: File removed.
7038 * sysdeps/wordsize-64/versionsort.c: File removed.
7039 * sysdeps/wordsize-64/versionsort64.c: File removed.
7040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7042 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7043 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7044 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7045 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7046 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7047 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7048
7049 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7051 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7053 [defined __arch64__ || defined __sparcv9]
7054 (__INO_T_MATCHES_INO64_T): New macro.
7055 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7056 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7057 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7058 * sysdeps/unix/sysv/linux/bits/dirent.h
7059 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7060 (_DIRENT_MATCHES_DIRENT64): New macro.
7061
7062 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7063 Define lockf64 as an alias.
7064 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7065 Define fseeko64 as an alias.
7066 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7067 Define ftello64 as an alias.
7068 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7069 Define _IO_fgetpos64 and fgetpos64 as aliases.
7070 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7071 Define _IO_fsetpos64 and fsetpos64 as aliases.
7072 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7073 Conditionalize body on this.
7074 * libio/fseeko64.c: Likewise.
7075 * libio/ftello64.c: Likewise.
7076 * libio/iofgetpos64.c: Likewise.
7077 * libio/iofsetpos64.c: Likewise.
7078 * sysdeps/wordsize-64/lockf.c: File removed.
7079 * sysdeps/wordsize-64/lockf64.c: File removed.
7080 * sysdeps/wordsize-64/fseeko.c: File removed.
7081 * sysdeps/wordsize-64/fseeko64.c: File removed.
7082 * sysdeps/wordsize-64/ftello.c: File removed.
7083 * sysdeps/wordsize-64/ftello64.c: File removed.
7084 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7085 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7086 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7087 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7088 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7089 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7090 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7091 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7092 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7093 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7094 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7095 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7098
7099 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7101 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7103 [defined __arch64__ || defined __sparcv9]
7104 (__OFF_T_MATCHES_OFF64_T): New macro.
7105 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7106 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7108 (__OFF_T_MATCHES_OFF64_T): New macro.
7109
7110 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7111
7112 * stdlib/secure-getenv.c (__secure_getenv): Replace
7113 GLIBC_2_16 with GLIBC_2_17.
7114
7115 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7119
7120 2012-08-03 David S. Miller <davem@davemloft.net>
7121
7122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7123
7124 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7125
7126 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7127 Remove.
7128 (__ASSUME_CORRECT_SI_PID): Likewise.
7129 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7130 (__ASSUME_TMPFS_NAME): Likewise.
7131 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7132 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7133 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7134 (HAVE_AUX_SECURE): Make definition unconditional.
7135 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7136 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7137
7138 2012-08-03 Roland McGrath <roland@hack.frob.com>
7139
7140 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7141 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7142 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7143 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7144 __eloop_threshold instead of SYMLOOP_MAX.
7145
7146 * sysdeps/generic/eloop-threshold.h: New file.
7147 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7148 of MAXSYMLINKS.
7149 * elf/chroot_canon.c (chroot_canon): Likewise.
7150
7151 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7152
7153 [BZ #13717]
7154 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7155 Change to 2.6.0 everywhere.
7156 * sysdeps/unix/sysv/linux/configure: Regenerated.
7157 * sysdeps/unix/sysv/linux/kernel-features.h
7158 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7159 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7160 kernel versions.
7161 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7162 (__ASSUME_FUTEX_REQUEUE): Remove.
7163 (__ASSUME_STATFS64): Define unconditionally.
7164 (__ASSUME_AT_SECURE): Likewise.
7165 (__ASSUME_CORRECT_SI_PID): Likewise.
7166 (__ASSUME_TGKILL): Define without depending on kernel version for
7167 i386.
7168 (__ASSUME_UTIMES): Likewise.
7169 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7170 kernel version.
7171 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7172 (__ASSUME_TMPFS_NAME): Likewise.
7173 * README: Update reference to Linux kernel versions.
7174
7175 2012-08-02 Marek Polacek <polacek@redhat.com>
7176
7177 [BZ# 14150]
7178 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7179 libc_cv_asm_type_prefix with %.
7180 * configure: Regenerated.
7181 * include/libc-symbols.h: Remove comment about
7182 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7183 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7184 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7185 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7186 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7187 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7188 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7189 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7190 * elf/tst-unique2mod1.c: Likewise.
7191 * elf/tst-unique1mod2.c: Likewise.
7192 * elf/tst-unique1mod1.c: Likewise.
7193 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7194 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7195 Replace ASM_TYPE_DIRECTIVE with .type.
7196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7197 * sysdeps/i386/sysdep.h: Likewise.
7198 * sysdeps/x86_64/sysdep.h: Likewise.
7199 * sysdeps/sh/sysdep.h: Likewise.
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7201 Do not define ASM_TYPE_DIRECTIVE.
7202 * sysdeps/powerpc/sysdep.h: Likewise.
7203 * sysdeps/powerpc/powerpc32/sysdep.h:
7204 Replace ASM_TYPE_DIRECTIVE with .type.
7205 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7206 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7207 * sysdeps/i386/fpu/e_powf.S: Likewise.
7208 * sysdeps/i386/fpu/e_expl.S: Likewise.
7209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7210 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7211 * sysdeps/i386/fpu/e_pow.S: Likewise.
7212 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7214 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7215 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7216 * sysdeps/i386/fpu/e_log2.S: Likewise.
7217 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7218 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7219 * sysdeps/i386/fpu/e_powl.S: Likewise.
7220 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7221 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7222 * sysdeps/i386/fpu/e_logl.S: Likewise.
7223 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7224 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7225 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7226 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7227 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7228 * sysdeps/i386/fpu/e_log.S: Likewise.
7229 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7230 * sysdeps/i386/fpu/e_logf.S: Likewise.
7231 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7232 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7233 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7234 * sysdeps/i386/fpu/e_log10.S: Likewise.
7235 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7237 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7238 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7240 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7241 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7242 * sysdeps/i386/i686/strtok.S: Likewise.
7243 * sysdeps/i386/i386-mcount.S: Likewise.
7244 * sysdeps/i386/strtok.S: Likewise.
7245 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7246 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7248 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7249 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7250 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7251 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7252 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7253 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7254 * sysdeps/x86_64/_mcount.S: Likewise.
7255 * sysdeps/x86_64/strtok.S: Likewise.
7256 * sysdeps/sh/_mcount.S: Likewise.
7257
7258 2012-08-01 Roland McGrath <roland@hack.frob.com>
7259
7260 * libio/iofopen.c: Include <fcntl.h>.
7261 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7262 (_IO_fopen64, fopen64): Define as aliases.
7263 * libio/iofopen64.c: Include <fcntl.h>.
7264 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7265 Conditionalize body on this.
7266 * sysdeps/wordsize-64/iofopen.c: File removed.
7267 * sysdeps/wordsize-64/iofopen64.c: File removed.
7268
7269 2012-08-01 Marek Polacek <polacek@redhat.com>
7270
7271 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7272 Use dlfcn directly instead of a variable.
7273 (binfmt-subdir): Do not define.
7274 (dlfcn): Likewise.
7275
7276 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7277
7278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7279 Remove all definitions.
7280 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7281 <kernel-features.h>.
7282 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7283 (miss_F_GETOWN_EX): Remove all definitions.
7284 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7285 macro definition.
7286 [!__ASSUME_FCNTL64]: Remove conditional code.
7287 [__ASSUME_FCNTL64]: Make code unconditional.
7288 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7289 <kernel-features.h>.
7290 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7291 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7292 (lockf64) [__NR_fcntl64]: Make code unconditional.
7293 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7294
7295 * sysdeps/unix/sysv/linux/kernel-features.h
7296 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7297 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7298 Make code unconditional.
7299 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7300 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7302 [__NR_vfork]: Make code unconditional.
7303 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7304 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7306 [__NR_vfork]: Make code unconditional.
7307 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7308 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7309
7310 2012-08-01 Roland McGrath <roland@hack.frob.com>
7311
7312 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7313 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7314
7315 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7316 Define mkstemp64 as an alias.
7317 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7318 Define mkstemps64 as an alias.
7319 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7320 Define mkostemp64 as an alias.
7321 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7322 Define mkostemps64 as an alias.
7323 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7324 Conditionalize body on this.
7325 * misc/mkostemp64.c: Likewise.
7326 * misc/mkostemps64.c: Likewise.
7327 * misc/mkstemps64.c: Likewise.
7328 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7329 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7330 * sysdeps/wordsize-64/mkostemp.c: File removed.
7331 * sysdeps/wordsize-64/mkstemp.c: File removed.
7332 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7333 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7335 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7336
7337 [BZ #14138]
7338 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7339 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7340 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7341 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7342
7343 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7344 compat_symbol macros from <shlib-compat.h> rather than the underlying
7345 default_symbol_version and symbol_version macros, so that DEFAULT
7346 lines in shlib-versions are respected.
7347 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7348
7349 2012-08-01 Florian Weimer <fweimer@redhat.com>
7350
7351 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7352 Declare with warn_unused_result.
7353 (setgid, setregid, setegid, setresgid): Likewise.
7354 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7355 Likewise.
7356 * WUR-REPORT: Remove set*id functions.
7357
7358 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7359
7360 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7361
7362 2012-07-31 Roland McGrath <roland@hack.frob.com>
7363
7364 * include/sys/socket.h (__libc_accept, __libc_accept4):
7365 Add attribute_hidden.
7366 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7367
7368 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7369 use of PTR_MANGLE.
7370 * inet/getnetgrent_r.c (setup): Likewise.
7371
7372 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7373
7374 2012-07-31 David S. Miller <davem@davemloft.net>
7375
7376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7377
7378 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7379
7380 [BZ #13629]
7381 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7382 value between 1.0 and 2.0 and smaller part has absolute value less
7383 than 1.0.
7384 * math/s_clog10.c (__clog10): Likewise.
7385 * math/s_clog10f.c (__clog10f): Likewise.
7386 * math/s_clog10l.c (__clog10l): Likewise.
7387 * math/s_clogf.c (__clogf): Likewise.
7388 * math/s_clogl.c (__clogl): Likewise.
7389 * math/libm-test.inc (clog_test): Add more tests.
7390 (clog10_test): Likewise.
7391 * sysdeps/i386/fpu/libm-test-ulps: Update.
7392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7393
7394 2012-07-31 Florian Weimer <fweimer@redhat.com>
7395
7396 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7397 Exit with zero in case no suitable GID is found, and write a
7398 message to standard error.
7399
7400 2012-07-30 Roland McGrath <roland@hack.frob.com>
7401
7402 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7403 rather than to 1.
7404 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7405 (MAXPATHLEN): Removed.
7406 (NOGROUP, NODEV): New macros.
7407 (setbit, clrbit, isset, isclr): New macros.
7408 (howmany, roundup, powerof2): New macros.
7409 (DEV_BSIZE): New macro.
7410
7411 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7412 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7413
7414 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7415 definition on [!__NO_LONG_DOUBLE_MATH].
7416
7417 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7418 PTR_MANGLE and PTR_DEMANGLE.
7419
7420 * socket/accept4.c (accept4): Rename to __libc_accept4.
7421 Define accept4 as a weak alias.
7422
7423 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7424 on [_DIRENT_HAVE_D_TYPE].
7425 * io/ftw.c (ftw_dir): Likewise.
7426
7427 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7428
7429 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7430
7431 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7432 Use the BSD numbers rather than the arbitrary ones we had.
7433 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7434 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7435 (SIGXCPU, SIGXFSZ): New macros.
7436 (_NSIG): Now 32.
7437
7438 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7439 initializer on [_LIBC_REENTRANT].
7440
7441 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7442 definitions inside [_POSIX_MAPPED_FILES].
7443
7444 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7445
7446 * dirent/opendir.c: Include <fcntl.h>.
7447
7448 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7449 (__libc_getspecific): Likewise.
7450 (__libc_key_create): Likewise.
7451
7452 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7453 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7454 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7455 (tmpfile64): Define as alias.
7456 * sysdeps/wordsize-64/tmpfile.c: File removed.
7457 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7458 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7459 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7460
7461 * stdio-common/vfscanf.c: Include <stdbool.h>.
7462 * nss/makedb.c: Likewise.
7463 * stdio-common/_i18n_number.h: Likewise.
7464 * argp/argp-help.c: Likewise.
7465 * posix/wordexp.c: Likewise.
7466 * sysdeps/posix/spawni.c: Likewise.
7467 * nss/nss_files/files-initgroups.c: Likewise.
7468 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7469 * nss/nss_files/files-initgroups.c: Likewise.
7470 * nss/nss_db/db-netgrp.c: Likewise.
7471 * nss/nss_db/db-initgroups.c: Likewise.
7472 * io/fchmodat.c: Include <sys/stat.h>.
7473
7474 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7475 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7476
7477 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7478 [HAVE_MMAP].
7479
7480 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7481 Add multiple inclusion protection.
7482
7483 2012-07-27 David S. Miller <davem@davemloft.net>
7484
7485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7486
7487 2012-07-27 Gary Benson <gbenson@redhat.com>
7488
7489 [BZ #14298]
7490 * elf/rtld.c: Include <stap-probe.h>.
7491 (dl_main): Added static probes "init_start" and "init_complete".
7492 * elf/dl-load.c: Include <stap-probe.h>.
7493 (lose): Take new parameter "nsid".
7494 Added static probe "map_failed".
7495 (_dl_map_object_from_fd): Pass namespace id to lose.
7496 Added static probe "map_start".
7497 (open_verify): Pass namespace id to lose.
7498 * elf/dl-open.c: Include <stap-probe.h>.
7499 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7500 and "reloc_complete".
7501 * elf/dl-close.c: Include <stap-probe.h>.
7502 (_dl_close_worker): Added static probes "unmap_start" and
7503 "unmap_complete".
7504 * elf/rtld-debugger-interface.txt: New file documenting the above.
7505
7506 2012-07-26 Roland McGrath <roland@hack.frob.com>
7507
7508 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7509 rather than a string variable.
7510 * sunrpc/rpc_main.c (h_output): Likewise.
7511 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7512
7513 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7514
7515 * inet/check_native.c: New file.
7516
7517 2012-07-26 Joseph Myers <joseph@codesourcery.com>
7518
7519 [BZ #13629]
7520 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7521 if larger part has absolute value 1.0.
7522 * math/s_clog10.c (__clog10): Likewise.
7523 * math/s_clog10f.c (__clog10f): Likewise.
7524 * math/s_clog10l.c (__clog10l): Likewise.
7525 * math/s_clogf.c (__clogf): Likewise.
7526 * math/s_clogl.c (__clogl): Likewise.
7527 * math/libm-test.inc (clog_test): Add more tests.
7528 (clog10_test): Likewise.
7529 * sysdeps/i386/fpu/libm-test-ulps: Update.
7530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7531
7532 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7533 (pltexit): Likewise.
7534 (La_regs): Likewise.
7535 (La_retval): Likewise.
7536 (int_retval): Likewise.
7537 Update #error for removed macros to refer only to definitions in
7538 tst-audit.h.
7539 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7540 macro.
7541 (pltexit): Likewise.
7542 (La_regs): Likewise.
7543 (La_retval): Likewise.
7544 (int_retval): Likewise.
7545 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7546 macro.
7547 (pltexit): Likewise.
7548 (La_regs): Likewise.
7549 (La_retval): Likewise.
7550 (int_retval): Likewise.
7551 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7552 macro.
7553 (pltexit): Likewise.
7554 (La_regs): Likewise.
7555 (La_retval): Likewise.
7556 (int_retval): Likewise.
7557 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7558 macro.
7559 (pltexit): Likewise.
7560 (La_regs): Likewise.
7561 (La_retval): Likewise.
7562 (int_retval): Likewise.
7563 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7564 macro.
7565 (pltexit): Likewise.
7566 (La_regs): Likewise.
7567 (La_retval): Likewise.
7568 (int_retval): Likewise.
7569 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7570 macro.
7571 (pltexit): Likewise.
7572 (La_regs): Likewise.
7573 (La_retval): Likewise.
7574 (int_retval): Likewise.
7575 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7576 macro definitions in tst-audit.h.
7577 * sysdeps/i386/tst-audit.h: New file.
7578 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7579 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7580 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7581 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7582 * sysdeps/sh/tst-audit.h: Likewise.
7583 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7584 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7585 * sysdeps/x86_64/tst-audit.h: Likewise.
7586
7587 2012-07-26 Andreas Jaeger <aj@suse.de>
7588
7589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7590 ptrace.
7591
7592 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7593 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7594 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7595 PTRACE_O_MASK.
7596 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7597 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7598 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7599
7600 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7601 value.
7602
7603 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7604 _sigsys.
7605 (si_call_addr, si_syscall, si_arch): Define new macro.
7606 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7607 _sigsys.
7608 (si_call_addr, si_syscall, si_arch): Define new marcro.
7609 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7610 _sigsys.
7611 (si_call_addr, si_syscall, si_arch): Define new macro.
7612 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7613 _sigsys.
7614 (si_call_addr, si_syscall, si_arch): Define new macro.
7615
7616 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7617
7618 [BZ #13717]
7619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7620 Change to 2.4.21 where previously 2.4.1.
7621 * sysdeps/unix/sysv/linux/configure: Regenerated.
7622 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7623 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7624 Linux kernel version.
7625 (__ASSUME_STD_AUXV): Remove.
7626 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7627 kernel version.
7628 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7629 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7630 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7631 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7632 (__ASSUME_NETLINK_SUPPORT): Likewise.
7633 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7634 (__no_netlink_support): Remove conditional definition.
7635 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7636 Remove.
7637 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7638 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7639 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7640 (if_nameindex_ioctl): Remove.
7641 (if_nameindex_netlink): Do not handle __no_netlink_support.
7642 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7643 code.
7644 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7645 Remove conditional code.
7646 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7647 code.
7648 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7649 unconditional.
7650 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7651 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7652 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7653 Remove.
7654 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7655 [!__ASSUME_STD_AUXV]: Remove conditional code.
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7657 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7658 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7660 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7661 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7662 code.
7663 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7665 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7666 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7667 conditional code.
7668 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7670 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7671 code.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7673 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7674 conditional code.
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7676 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7677 code unconditional.
7678 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7679 conditional code.
7680 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7681 unconditional.
7682 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7683 conditional code.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7685 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7686 unconditional.
7687 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7688 conditional code.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7690 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7691 code unconditional.
7692 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7693 conditional code.
7694 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7695 unconditional.
7696 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7697 conditional code.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7699 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7700 code unconditional.
7701 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7702 conditional code.
7703 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7704 unconditional.
7705 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7706 conditional code.
7707
7708 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7709
7710 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7711 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7712 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7713 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7714 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7715 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7716 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7717 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7718 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7719 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7720 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7721 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7722 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7723 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7724 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7725 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7726 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7727 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7728 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7730 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7731 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7732 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7733
7734 2012-07-25 Florian Weimer <fweimer@redhat.com>
7735
7736 * Versions.def: Add GLIBC_2.17.
7737 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7738 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7739 Introduce __libc_secure_getenv.
7740 * stdlib/Versions (2.17): Add secure_getenv
7741 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7742 * stdlib/secure-getenv.c: Rename __secure_getenv to
7743 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7744 symbol __secure_getenv for GLIBC_2.0.
7745 * stdlib/tst-secure-getenv.c: New.
7746 * stdlib/Makefile (tests): Add testcase.
7747 * manual/startup.texi (Environment Access): Document
7748 secure_getenv.
7749 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7750 __libc_secure_getenv.
7751 * inet/ruserpass.c (ruserpass): Likewise.
7752 * malloc/mtrace.c (mtrace): Likewise.
7753 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7754 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7755 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7756 * sysdeps/posix/tempname.c: Likewise. Evaluate
7757 HAVE_SECURE_GETENV.
7758 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7759 __secure_getenv to __libc_secure_getenv.
7760 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7762 Likewise.
7763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7764 Likewise.
7765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7767 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7772
7773 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7774
7775 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7776 (struct La_i86_retval): Likewise.
7777 (struct La_x86_64_regs): Likewise.
7778 (struct La_x86_64_retval): Likewise.
7779 (struct La_x32_regs): Likewise.
7780 (struct La_x32_retval): Likewise.
7781 (struct La_ppc32_regs): Likewise.
7782 (struct La_ppc32_retval): Likewise.
7783 (struct La_ppc64_regs): Likewise.
7784 (struct La_ppc64_retval): Likewise.
7785 (struct La_sh_regs): Likewise.
7786 (struct La_sh_retval): Likewise.
7787 (struct La_s390_32_regs): Likewise.
7788 (struct La_s390_32_retval): Likewise.
7789 (struct La_s390_64_regs): Likewise.
7790 (struct La_s390_64_retval): Likewise.
7791 (struct La_sparc32_regs): Likewise.
7792 (struct La_sparc32_retval): Likewise.
7793 (struct La_sparc64_regs): Likewise.
7794 (struct La_sparc64_retval): Likewise.
7795 (struct audit_ifaces): Remove architecture-specific pltenter and
7796 pltexit members.
7797 * sysdeps/i386/ldsodefs.h: New file.
7798 * sysdeps/powerpc/ldsodefs.h: Likewise.
7799 * sysdeps/s390/ldsodefs.h: Likewise.
7800 * sysdeps/sh/ldsodefs.h: Likewise.
7801 * sysdeps/sparc/ldsodefs.h: Likewise.
7802 * sysdeps/x86_64/ldsodefs.h: Likewise.
7803
7804 2012-07-25 Marek Polacek <polacek@redhat.com>
7805
7806 [BZ #6808]
7807 * math/libm-test.inc (yn_test): Add another test.
7808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7809 to ERANGE when the result is +-Inf.
7810 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7811 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7812 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7813 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7814
7815 2012-07-24 Joseph Myers <joseph@codesourcery.com>
7816
7817 * conform/data/time.h-data (NULL): Use macro-constant. Require
7818 equal to 0.
7819 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7820 clock_t.
7821 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7822
7823 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7824
7825 * configure.in <sysdeps resolving>: Correct printing
7826 Implies_before.
7827 * configure: Regenerate.
7828
7829 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7830
7831 * math/w_ilogb.c: Include <limits.h>.
7832 * math/w_ilogbl.c: Likewise.
7833
7834 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7835
7836 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7837 va_copy. Document allowing for unavailable va_copy only as
7838 pre-C99 compatibility.
7839 * manual/string.texi (Copying and Concatenation): Use va_copy
7840 instead of __va_copy in concat example.
7841
7842 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7843
7844 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7845 (__sendto): Use create_address_port. Initialize APORT and deallocate
7846 it if not null.
7847
7848 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7849 with O_NOLINK passed to __file_name_lookup.
7850
7851 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7852 with O_NOLINK passed to __file_name_lookup.
7853
7854 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7855 negative N or less than NGIDS.
7856
7857 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7858 type to string_t. Set ERANGE as errno and return it if NAME is not big
7859 enough. Use memcpy instead of strncpy.
7860
7861 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7862
7863 * elf/Makefile (check-data): Remove.
7864 (localplt.data): New vpath directive.
7865 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7866 instead of $(check-data).
7867 * scripts/data/localplt-generic.data: Move to ...
7868 * sysdeps/generic/localplt.data: ... here.
7869 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7870 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7871 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7873 ... here.
7874 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7876 ... here.
7877 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7879 ... here.
7880 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7882 ... here.
7883 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7885 ... here.
7886 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7888 ... here.
7889
7890 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7891
7892 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7893 PPC32 and PPC64 files.
7894 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7895 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7896
7897 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7898
7899 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7900 __makecontext_ret to ...
7901 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7902 ... here and call exit if uc_link is NULL. New file.
7903 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7904 __makecontext_ret.S.
7905 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7906 __makecontext_ret to ...
7907 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7908 ... here and call exit if uc_link is NULL. New file.
7909 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7910 __makecontext_ret.S.
7911
7912 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7913
7914 * elf/elf.h (R_390_IRELATIVE): New definition.
7915 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7916 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7917 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7918 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7919 (elf_machine_lazy_rel): Likewise.
7920 * sysdeps/s390/dl-irel.h: New file.
7921 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7922 * sysdeps/s390/s390-64/memset.S: New asm code.
7923 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7924 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7925 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7926 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7927 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7928 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7929 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7930 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7931 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7932 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7933 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7934 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7935 * sysdeps/s390/s390-32/memset.S: New asm code.
7936 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7937
7938 2012-07-17 Marek Polacek <polacek@redhat.com>
7939
7940 [BZ #14349]
7941 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7942 * sysdeps/s390/s390-64/configure.in: Likewise.
7943 * sysdeps/sparc/configure.in: Likewise.
7944 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7945 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7946 * sysdeps/i386/configure.in: Likewise.
7947 * sysdeps/x86_64/configure.in: Likewise.
7948 * sysdeps/sh/configure.in: Likewise.
7949 * sysdeps/s390/s390-32/configure: Regenerated.
7950 * sysdeps/s390/s390-64/configure: Likewise.
7951 * sysdeps/x86_64/configure: Likewise.
7952 * sysdeps/sh/configure: Likewise.
7953 * sysdeps/powerpc/powerpc64/configure: Likewise.
7954 * sysdeps/powerpc/powerpc32/configure: Likewise.
7955 * sysdeps/sparc/configure: Likwise.
7956 * sysdeps/i386/configure: Likewise.
7957
7958 * elf/dl-open.c: Comment fixes.
7959
7960 2012-07-17 Joseph Myers <joseph@codesourcery.com>
7961
7962 * Makefile [CXX] (check-data): Remove.
7963 [CXX] (c++-types.data): New vpath directive.
7964 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7965 vpath. Do not allow for C++ type data being missing.
7966 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7967 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7968 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7969 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7970 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7971 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7972 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7974 ... here.
7975 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7977 ... here.
7978 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7980 ... here.
7981 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7983 ... here.
7984 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7986 ... here.
7987 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7989 ... here.
7990 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7992 ... here.
7993 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7995
7996 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7997 definitions to architecture-specific files.
7998 (TLS_IE): Likewise.
7999 (TLS_LD): Likewise.
8000 (TLS_GD): Likewise.
8001 * sysdeps/i386/tls-macros.h: New file.
8002 * sysdeps/powerpc/tls-macros.h: Likewise.
8003 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8004 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8005 * sysdeps/sh/tls-macros.h: Likewise.
8006 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8007 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8008 * sysdeps/x86_64/tls-macros.h: Likewise.
8009
8010 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8011
8012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8013 zero value for regular exit case.
8014
8015 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8016 (__start_context): Preserve zero value for regular exit case.
8017
8018 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8019 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8020
8021 * manual/setjmp.texi (setcontext): Clarify normal process
8022 termination when uc_link is the null pointer.
8023 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8024 exit call.
8025
8026 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8027
8028 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8029 preprocessor. Test for each exception mask separately.
8030
8031 2012-07-16 Andreas Jaeger <aj@suse.de>
8032
8033 * po/ru.po: Update from translation team.
8034
8035 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8036
8037 * conform/data/string.h-data (NULL): Use macro-constant. Require
8038 equal to 0.
8039 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8040 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8041 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8042 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8044
8045 2012-07-13 Andreas Jaeger <aj@suse.de>
8046
8047 * po/fr.po: Update from translation team.
8048
8049 2012-07-12 Marek Polacek <polacek@redhat.com>
8050
8051 [BZ #14173]
8052 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8053 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8054 loop condition.
8055
8056 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8057
8058 [BZ #13717]
8059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8060 Change to 2.4.1 where previously 2.4.0.
8061 * sysdeps/unix/sysv/linux/configure: Regenerated.
8062 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8063 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8064 version.
8065 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8066 (__ASSUME_AT_CLKTCK): Remove.
8067 (__ASSUME_AT_PAGESIZE): Likewise.
8068 (__ASSUME_AT_XID): Likewise.
8069 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8070 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8071 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8072 unconditionally.
8073 (HAVE_AUX_PAGESIZE): Likewise.
8074 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8075 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8076 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8077
8078 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8079
8080 [BZ #14307]
8081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8082 the temporary buffer used to invoke __gethostbyname2_r,
8083 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8084 host_data / struct gaih_addrtuple.
8085 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8086 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8087 header file nss/nsswitch.h.
8088 * nss/nsswitch.h (global scope): Add definition of implementation
8089 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8090 resolv/nss_dns/dns-host.c).
8091
8092 2012-07-11 Andreas Jaeger <aj@suse.de>
8093
8094 * po/fr.po: Update from translation team.
8095
8096 * po/sv.po: Update from translation team
8097 * po/fr.po: Another update from translation team.
8098
8099 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100
8101 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8102 for subnormals or multiply small sinh result by itself.
8103 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8105
8106 2012-07-11 David S. Miller <davem@davemloft.net>
8107
8108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8109
8110 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8111
8112 [BZ #14347]
8113 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8114 (INTERNAL_MARK): Shift it here.
8115
8116 2012-07-10 Marek Polacek <polacek@redhat.com>
8117
8118 [BZ #14151]
8119 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8120 libc_cv_asm_global_directive with .globl.
8121 * configure: Regenerated.
8122 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8123 with .globl.
8124 * sysdeps/i386/configure: Regenerated.
8125 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8126 with .globl.
8127 * sysdeps/x86_64/configure: Regenerated.
8128 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8129 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8130 * elf/tst-unique2mod2.c: Likewise.
8131 * elf/tst-unique2mod1.c: Likewise.
8132 * elf/tst-unique1mod2.c: Likewise.
8133 * elf/tst-unique1mod1.c: Likewise.
8134 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8135 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8136 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8137 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8138 * sysdeps/mach/sysdep.h: Likewise.
8139 * sysdeps/i386/sysdep.h: Likewise.
8140 * sysdeps/i386/i386-mcount.S: Likewise.
8141 * sysdeps/x86_64/_mcount.S: Likewise.
8142 * sysdeps/x86_64/sysdep.h: Likewise.
8143 * sysdeps/sh/_mcount.S: Likewise.
8144 * sysdeps/sh/sysdep.h: Likewise.
8145 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8146 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8147 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8148 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8149 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8150 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8151 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8152 * locale/localeinfo.h: Likewise.
8153 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8154 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8155
8156 2012-07-09 Roland McGrath <roland@hack.frob.com>
8157
8158 [BZ #14336]
8159 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8160 system".
8161 * manual/message.texi (The Uniforum approach): Likewise.
8162 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8163 (glibc iconv Implementation): Likewise.
8164
8165 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8166
8167 [BZ #14337]
8168 * math/s_clog.c (__clog): Avoid scaling a value down where that
8169 could result in underflow.
8170 * math/s_clog10.c (__clog10): Likewise.
8171 * math/s_clog10f.c (__clog10f): Likewise.
8172 * math/s_clog10l.c (__clog10l): Likewise.
8173 * math/s_clogf.c (__clogf): Likewise.
8174 * math/s_clogl.c (__clogl): Likewise.
8175 * math/libm-test.inc (clog_test): Add more tests.
8176 (clog10_test): Likewise.
8177 * sysdeps/i386/fpu/libm-test-ulps: Update.
8178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8179
8180 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8181
8182 [BZ #14283]
8183 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8184 by 7 not 8 to examine high bit of fractional part.
8185
8186 [BZ #14042]
8187 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8188 for call to __mcount_internal.
8189 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8190 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8191 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8192
8193 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8194
8195 [BZ #14154]
8196 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8197 approximation for values within 0x1p-13f of an odd multiple of
8198 pi/4.
8199 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8200 exception. Add more tests.
8201 * sysdeps/i386/fpu/libm-test-ulps: Update.
8202
8203 [BZ #6778]
8204 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8205 inputs and return -1 for them. Do not check for +Inf in case not
8206 reachable for +Inf.
8207 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8208 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8209 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8210 and return -1 for them. Do not check for +Inf in case not
8211 reachable for +Inf.
8212 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8213 define.
8214 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8215 and return -1 for them. Do not check for +Inf in case not
8216 reachable for +Inf.
8217 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8218 spurious underflow.
8219 * sysdeps/i386/fpu/libm-test-ulps: Update.
8220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8221
8222 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8223
8224 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8225
8226 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8227
8228 [BZ #14157]
8229 [BZ #14331]
8230 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8231 could result in spurious underflow. Scale down values above
8232 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8233 * math/s_csqrtf.c (__csqrtf): Likewise.
8234 * math/s_csqrtl.c (__csqrtl): Likewise.
8235 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8236 spurious underflow.
8237 * sysdeps/i386/fpu/libm-test-ulps: Update.
8238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8239
8240 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8241
8242 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8243 xopen-msg.sed.
8244 * catgets/xopen-msg.awk: New file.
8245 * catgets/xopen-msg.sed: Removed.
8246
8247 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8248 po2text.sed.
8249 * intl/po2test.awk: New file.
8250 * intl/po2test.sed: Removed.
8251
8252 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8253
8254 [BZ #14328]
8255 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8256 or multiply small sinh result by itself.
8257 * math/s_ctanf.c (__ctanf): Likewise.
8258 * math/s_ctanh.c (__ctanh): Likewise.
8259 * math/s_ctanhf.c (__ctanhf): Likewise.
8260 * math/s_ctanhl.c (__ctanhl): Likewise.
8261 * math/s_ctanl.c (__ctanl): Likewise.
8262 * math/libm-test.inc (ctan_test_tonearest): New function.
8263 (ctan_test_towardzero): Likewise.
8264 (ctan_test_downward): Likewise.
8265 (ctan_test_upward): Likewise.
8266 (ctanh_test_tonearest): Likewise.
8267 (ctanh_test_towardzero): Likewise.
8268 (ctanh_test_downward): Likewise.
8269 (ctanh_test_upward): Likewise.
8270 (main): Call these new functions.
8271 * sysdeps/i386/fpu/libm-test-ulps: Update.
8272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8273
8274 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8275
8276 * .gitignore: Delete /ports entry.
8277
8278 2012-07-03 Andreas Jaeger <aj@suse.de>
8279
8280 * po/bg.po: Update from translation team.
8281 * po/cs.po: Likewise.
8282 * po/de.po: Likewise.
8283 * po/hr.po: Likewise.
8284 * po/nl.pl: Likewise.
8285 * po/pl.po: Likewise.
8286 * po/vi.po: Likewise.
8287
8288 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8289
8290 * Makeconfig [!+link] (+link-before-libc): New variable.
8291 [!+link] (+link-after-libc): Likewise.
8292 [!+link] (+link-tests): Likewise.
8293 [!+link] (+link): Define in terms of $(+link-before-libc) and
8294 $(+link-after-libc).
8295 [!+link-static] (+link-static-before-libc): New variable.
8296 [!+link-static] (+link-static-after-libc): Likewise.
8297 [!+link-static] (+link-static-tests): Likewise.
8298 [!+link-static] (+link-static): Define in terms of
8299 $(+link-static-before-libc) and $(+link-static-after-libc).
8300 [build-shared] (link-libc-before-gnulib): New variable.
8301 [build-shared] (link-libc-tests): Likewise.
8302 [build-shared] (link-libc): Define in terms of
8303 $(link-libc-before-gnulib).
8304 [!build-shared] (link-libc-tests): New variable.
8305 (link-libc-static-tests): New variable.
8306 [!gnulib] (gnulib-arch): New variable.
8307 [!gnulib] (gnulib-tests): Likewise.
8308 [!gnulib] (static-gnulib-arch): Likewise.
8309 [!gnulib] (static-gnulib-tests): Likewise.
8310 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8311 Define with "=" instead of ":=".
8312 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8313 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8314 * Rules (binaries-all-notests): New variable.
8315 (binaries-all-tests): Likewise.
8316 (binaries-static-notests): Likewise.
8317 (binaries-static-tests): Likewise.
8318 (binaries-all): Define using $(binaries-all-notests) and
8319 $(binaries-all-tests).
8320 (binaries-static): Define using $(binaries-static-notests) and
8321 $(binaries-static-tests).
8322 (binaries-shared-tests): New variable.
8323 (binaries-shared-notests): Likewise.
8324 (binaries-shared): Remove variable.
8325 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8326 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8327 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8328 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8329 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8330 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8331 * elf/Makefile (sln-modules): New variable.
8332 (extra-objs): Add $(sln-modules:=.o).
8333 (ldconfig-modules): Add static-stubs.
8334 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8335 * elf/static-stubs.c: New file.
8336
8337 [BZ #14283]
8338 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8339 by 7 not 8 to examine high bit of fractional part. Use volatile
8340 variables when splitting into final array of floats if
8341 __FLT_EVAL_METHOD__ != 0.
8342 * math/libm-test.inc (cos_test): Add another test.
8343 (sin_test): Likewise.
8344 * sysdeps/i386/fpu/libm-test-ulps: Update.
8345
8346 [BZ #14273]
8347 * math/libm-test.inc (cosh_test): Add more tests.
8348
8349 * version.h (RELEASE): Set to "development".
8350 (VERSION): Set to "2.16.90".
8351
8352 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8353
8354 * NEWS: Update copyright. Remove last-updated date.
8355 Mention math library bug fixes and timezone data changes.
8356 * README: Mention GNU/Hurd, x32, and HPPA support status.
8357
8358 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8359
8360 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8361
8362 2012-06-27 Andreas Jaeger <aj@suse.de>
8363
8364 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8365
8366 2012-06-25 Andreas Jaeger <aj@suse.de>
8367
8368 * sysdeps/s390/fpu/libm-test-ulps: Update.
8369
8370 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8371 Thomas Schwinge <thomas@codesourcery.com>
8372
8373 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8374 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8375 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8376 fanotify_mark.
8377
8378 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8379
8380 * sysdeps/mach/start.c: Remove file.
8381 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8382 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8383 * sysdeps/sh/init-first.c: Likewise.
8384
8385 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8386 registers for frame unwinding purposes, add CFI directives.
8387 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8388 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8389 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8390 Likewise.
8391
8392 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8393 __fortify_fail returning.
8394 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8395
8396 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8397 sysdeps/sh/____longjmp_chk.S.
8398 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8399 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8400 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8401 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8402
8403 * sysdeps/sh/abort-instr.h: New file.
8404 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8405 process in case exit returns.
8406
8407 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8408 initialize the GOT register before use.
8409
8410 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8411 calculation of ARGC > 4.
8412
8413 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8414 meaningful names to some local labels.
8415
8416 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8417 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8418
8419 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8420 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8421 (__arch_compare_and_exchange_val_16_acq): Likewise.
8422 (__arch_compare_and_exchange_val_32_acq): Likewise.
8423 (atomic_exchange_and_add): Fix gUSA sequence.
8424 (atomic_add): Likewise.
8425 (atomic_add_negative): Likewise.
8426 (atomic_add_zero): Likewise.
8427 (atomic_bit_test_set): Likewise.
8428
8429 2012-06-22 Andreas Schwab <schwab@redhat.com>
8430
8431 [BZ #13579]
8432 * include/link.h (struct link_map): Add l_free_initfini.
8433 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8434 l_initfini.
8435 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8436 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8437 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8438 set.
8439
8440 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8441
8442 * configure.in: Use AC_LANG_SOURCE.
8443 * configure: Regenerate.
8444
8445 2012-06-22 Roland McGrath <roland@hack.frob.com>
8446
8447 * configure.in (libc_cv_localstatedir): New substituted variable.
8448 * configure: Regenerated.
8449 * config.make.in (localstatedir): New variable, substituted from
8450 libc_cv_localstatedir.
8451 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8452 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8453 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8454 * sysdeps/gnu/configure: Regenerated.
8455
8456 2012-06-21 Jeff Law <law@redhat.com>
8457
8458 [BZ #14277]
8459 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8460 free. Simplify list management for _LIBC case.
8461
8462 2012-06-21 Joseph Myers <joseph@codesourcery.com>
8463
8464 [BZ #14273]
8465 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8466 Clear sign bit of 64-bit integer value before comparing against
8467 overflow value.
8468
8469 * sysdeps/mach/configure: Regenerated.
8470
8471 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8472
8473 [BZ #14278]
8474 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8475
8476 2012-06-21 Jeff Law <law@redhat.com>
8477
8478 [BZ #13882]
8479 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8480 uint16_t for elements in the "seen" array to avoid char overflows.
8481 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8482 * elf/dl-open.c (dl_open_worker): Likewise.
8483
8484 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8485
8486 * scripts/list-sources.sh: Scan PORTS for translations.
8487 * po/libc.pot: Regenerated.
8488
8489 2012-06-21 Andreas Jaeger <aj@suse.de>
8490
8491 [BZ #12194]
8492 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8493 warning.
8494 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8495 * bits/byteswap-16.h (__bswap_16): Likewise.
8496 * bits/byteswap.h (__bswap_constant_16): Likewise.
8497
8498 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8499
8500 [BZ #14117]
8501 * sysdeps/i386/fpu_control.h: Removed.
8502 * sysdeps/x86_64/fpu_control.h: Moved to ...
8503 * sysdeps/x86/fpu_control.h: Here.
8504
8505 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8506 (_FPU_SETCW): Likewise.
8507
8508 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 [BZ #14117]
8511 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8512 * sysdeps/x86/fpu/bits/mathinline.h: This.
8513 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8514
8515 [BZ #14050]
8516 [BZ #14117]
8517 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8518 functions if __x86_64__ is defined.
8519
8520 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8521
8522 * string/endian.h: Add !__ASSEMBLER__ condition for including
8523 conversion interfaces.
8524
8525 2012-06-15 Joseph Myers <joseph@codesourcery.com>
8526
8527 [BZ #14241]
8528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8529 of ABS(x) in calculating zero to negative powers other than odd
8530 integers.
8531 * math/libm-test.inc (pow_test): Add more tests.
8532
8533 2012-06-15 Andreas Jaeger <aj@suse.de>
8534
8535 * manual/contrib.texi (Contributors): Update entry of Liubov
8536 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8537 Machado Filho.
8538
8539 2012-06-15 Cyril Hrubis <metan@ucw.cz>
8540
8541 * string/string.h: Add __wur to GNU version of strerror_r.
8542
8543 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8544
8545 [BZ #14229]
8546 * string/Makefile (tests): Add tst-strtok_r.
8547 * string/tst-strtok_r.c: New file.
8548 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8549 RAX_LP/RDX_LP on SAVE_PTR.
8550
8551 2012-06-14 Roland McGrath <roland@hack.frob.com>
8552
8553 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8554
8555 2012-06-14 Joseph Myers <joseph@codesourcery.com>
8556
8557 * libm_test.inc (csqrt_test): Allow more spurious underflow
8558 exceptions.
8559 (j0_test): Likewise.
8560 (j1_test): Likewise.
8561 (y0_test): Likewise.
8562 (y1_test): Likewise.
8563
8564 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8565
8566 * po/Makefile (libc.pot): Use UTF-8 charset.
8567
8568 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8569
8570 [BZ #14210]
8571 Suppress sign-conversion warning from FD_SET.
8572 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8573 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8574 not unsigned long int.
8575 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8576
8577 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 [BZ #14050]
8580 [BZ #14117]
8581 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8582 __extern_always_inline instead of __extern_inline.
8583 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8584 (__signbit): Likewise.
8585 (__signbitl): Support C++ namespace.
8586 (lrintf): New inline function.
8587 (lrint): Likewise.
8588 (llrintf): Likewise.
8589 (llrint): Likewise.
8590 (fmaxf): Likewise.
8591 (fmax): Likewise.
8592 (fminf): Likewise.
8593 (fmin): Likewise.
8594 (rint): Likewise.
8595 (rintf): Likewise.
8596 (ceil): Likewise.
8597 (ceilf): Likewise.
8598 (floor): Likewise.
8599 (floorf): Likewise.
8600 (nearbyint): Likewise.
8601 (nearbyintf): Likewise.
8602
8603 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8604
8605 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8606 non-default versions.
8607
8608 2012-06-11 Roland McGrath <roland@hack.frob.com>
8609
8610 [BZ #14218]
8611 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8612
8613 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8614
8615 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8616 (FE_UPWARD, FE_DOWNWARD): Don't define.
8617 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8618 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8619
8620 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8621 reading it.
8622 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8623 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8624
8625 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8626
8627 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8629 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8630 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8631
8632 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8633
8634 [BZ #14117]
8635 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8636 * sysdeps/i386/fpu/Implies: New file.
8637 * sysdeps/x86_64/fpu/Implies: Likewise.
8638 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8639 * sysdeps/x86/fpu/bits/fenv.h: This.
8640
8641 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8642 __SSE_MATH__.
8643
8644 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8645
8646 [BZ #14134]
8647 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8648 character 0xffff that matches the last element of the
8649 conversion table.
8650
8651 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8652
8653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8654 fmodl commit.
8655
8656 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8657
8658 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8659 values higher than 25.6283.
8660
8661 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8662
8663 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8664 subnormal exponent extraction and add some __builtin_expect.
8665 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8666 Fix for subnormal mantissa calculation.
8667
8668 2012-06-04 Mike Frysinger <vapier@gentoo.org>
8669
8670 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8671 cpu2 is -1 and errno is not ENOSYS.
8672
8673 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8674
8675 [BZ #14117]
8676 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8677 * sysdeps/x86/bits/string.h: This.
8678 * sysdeps/x86_64/bits/string.h: Removed.
8679
8680 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8681 if not compiling for x86-64, but compiling for >= i486.
8682
8683 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8684 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8685
8686 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8687 New macro from Linux kernel 3.4.0.
8688 (FP_XSTATE_MAGIC2): Likewise.
8689 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8690 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8691 (struct _fpx_sw_bytes): New struct.
8692 (struct _xsave_hdr): Likewise.
8693 (struct _ymmh_state): Likewise.
8694 (struct _xstate): Likewise.
8695
8696 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8697 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8698 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8699 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8700 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8701 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8702
8703 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8704 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8705 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8706 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8707 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8708 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8709
8710 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8711
8712 [BZ #13743]
8713 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8714 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8715 (sysdep_headers): Include sys/platform/ppc.h.
8716 * sysdeps/powerpc/test-gettimebase.c: Test for
8717 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8718 * manual/Makefile (appendices): Include platform.texi.
8719 * manual/contrib.texi (Contributors): Update @node pointers.
8720 * manual/maint.texi (Maintenance): Likewise.
8721 (Platform): New node.
8722 * manual/platform.texi: New file. Document the new features.
8723
8724 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8725 Jakub Jelinek <jakub@redhat.com>
8726
8727 [BZ #14188]
8728 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8729 where __builtin_expect is unavailable.
8730
8731 2012-06-03 David S. Miller <davem@davemloft.net>
8732
8733 * stdlib/longlong.h: Updated from GCC.
8734
8735 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8736
8737 [BZ #14042]
8738 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8739 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8740 __mcount_internal.
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8742 (GLIBC_2.16): Likewise.
8743
8744 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8747
8748 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8749
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8751 (default-abi): New variable.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8753 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8754 variable.
8755 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8756 Likewise.
8757 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8758 Likewise.
8759 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8760 Likewise.
8761
8762 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8763 definition. Document in comment.
8764
8765 2012-06-01 David S. Miller <davem@davemloft.net>
8766
8767 * stdlib/longlong.h: Updated from GCC.
8768
8769 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8770
8771 [BZ #14117]
8772 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8773 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8774 sys/debugreg.h sys/io.h here.
8775 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8776 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8777 sys/io.h.
8778 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8779 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8780 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8781 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8782 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8783 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8784
8785 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8786 Define only if __x86_64__ is defined.
8787
8788 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8789
8790 [BZ #14048]
8791 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8792 Use int64_t for variable i.
8793 * math/libm-test.inc (fmod_test): Add more tests.
8794
8795 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8796 z computation is not scheduled after fetestexcept.
8797 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8798 Use math_force_eval instead of asm to ensure calculation scheduled
8799 before exception test.
8800 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8801 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8802
8803 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8804
8805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8806 computation is not scheduled after fetestexcept.
8807
8808 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 [BZ #14117]
8811 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8812 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8813
8814 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8815
8816 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8817 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8818
8819 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8820
8821 [BZ #14117]
8822 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8823 <bits/wordsize.h>.
8824 (__WCHAR_MIN): Support __WORDSIZE == 64.
8825 (__WCHAR_MAX): Likewise.
8826
8827 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8828 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8829
8830 [BZ #14183]
8831 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8832 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8833
8834 [BZ #14117]
8835 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8836 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8837
8838 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8839 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8840
8841 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8842 Defined to 1 if __x86_64__ isn't defined.
8843 (_STAT_VER_LINUX_OLD): New.
8844 (st_atime): Remove duplicate.
8845 (st_mtime): Likewise.
8846 (st_ctime): Likewise.
8847
8848 2012-05-31 David S. Miller <davem@davemloft.net>
8849
8850 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8851 entries.
8852
8853 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8854
8855 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8856 gen-libm-test.pl.
8857
8858 [BZ #14132]
8859 * elf/dl-reloc.c: Include <_itoa.h>.
8860 (_dl_reloc_bad_type): Remove use of INTUSE.
8861 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8862 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8863 * stdio-common/psiginfo.c (psiginfo): Likewise.
8864 * stdio-common/psignal.c (psignal): Likewise.
8865 * string/strsignal.c (strsignal): Likewise.
8866 * include/signal.h (_sys_siglist): Declare hidden proto.
8867 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8868 INTVARDEF with libc_hidden_data_def.
8869 * stdio-common/itoa-udigits.c: Likewise.
8870 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8871 (_itoa_lower_digits_internal): Remove declaration.
8872 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8873 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8874 (_sys_sigabbrev_internal): Remove aliases.
8875 (_sys_siglist): Define hidden alias.
8876
8877 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8878
8879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8880 bits/sysctl.h.
8881
8882 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8883
8884 [BZ #14117]
8885 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8886 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8887
8888 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8889 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8890 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8891 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8892 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8893 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8894
8895 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8896 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8897 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8898
8899 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8900 with __addr.
8901 (insw): Likewise.
8902 (insl): Likewise.
8903 (outsb): Likewise.
8904 (outsw): Likewise.
8905 (outsl): Likewise.
8906
8907 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8909 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8910
8911 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8912 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8913 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8914 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8915 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8916 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8917
8918 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8919 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8920
8921 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8922 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8923
8924 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8925 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8926 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8927
8928 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8929 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8930 to ...
8931 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8932
8933 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8934 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8935 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8936
8937 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8938 for x86-64.
8939 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8940
8941 2012-05-31 Joseph Myers <joseph@codesourcery.com>
8942
8943 * math/math.h (M_El): Use two more decimal places.
8944 (M_LOG2El): Likewise.
8945 (M_LOG10El): Likewise.
8946 (M_LN2l): Likewise.
8947 (M_LN10l): Likewise.
8948 (M_PIl): Likewise.
8949 (M_PI_2l): Likewise.
8950 (M_PI_4l): Likewise.
8951 (M_1_PIl): Likewise.
8952 (M_2_PIl): Likewise.
8953 (M_2_SQRTPIl): Likewise.
8954 (M_SQRT2l): Likewise.
8955 (M_SQRT1_2l): Likewise.
8956
8957 2012-05-31 David S. Miller <davem@davemloft.net>
8958
8959 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8960 values between float registers.
8961 * sysdeps/sparc/sparc64/memset.S: Likewise.
8962 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8963
8964 2012-05-31 Mike Frysinger <vapier@gentoo.org>
8965
8966 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8967 -D_FORTIFY_SOURCE=1.
8968 (CPPFLAGS-tst-longjmp_chk.c): Define.
8969 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8970 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8971 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8972 CFLAGS-tst-wchar-h.c.
8973
8974 2012-05-31 Marek Polacek <polacek@redhat.com>
8975
8976 [BZ #14132]
8977 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8978 __endmntent_internal): Remove declaration.
8979 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8980 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8981 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8982
8983 2012-05-30 David S. Miller <davem@davemloft.net>
8984
8985 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8986 (___Q_simulate_exceptions): Use real FP ops rather than writing
8987 into the %fsr.
8988 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8989 Likewise.
8990
8991 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8992
8993 [BZ #14117]
8994 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8995 * sysdeps/x86/bits/xtitypes.h: This.
8996
8997 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8998 * sysdeps/x86/bits/wordsize.h: This.
8999
9000 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9001 * sysdeps/x86/bits/huge_vall.h: This.
9002
9003 * sysdeps/i386/bits/select.h: Removed.
9004 * sysdeps/x86_64/bits/select.h: Renamed to ...
9005 * sysdeps/x86/bits/select.h: This.
9006
9007 * sysdeps/i386/bits/setjmp.h: Removed.
9008 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9009 * sysdeps/x86/bits/setjmp.h: This.
9010
9011 * sysdeps/i386/bits/mathdef.h: Removed.
9012 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9013 * sysdeps/x86/bits/mathdef.h: This.
9014
9015 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9016
9017 [BZ #14132]
9018 * include/sys/socket.h (__connect_internal)
9019 (__libc_sa_len_internal): Remove declaration.
9020 (__connect, __libc_sa_len): Declare hidden_proto.
9021 (SA_LEN): Remove use of INTUSE.
9022 * socket/connect.c: Add libc_hidden_def.
9023 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9024 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9025 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9026 alias.
9027 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9028 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9029 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9030 of adding _internal alias.
9031
9032 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9033
9034 [BZ #14117]
9035 * sysdeps/i386/bits/link.h: Removed.
9036 * sysdeps/i386/bits/linkmap.h: Likewise.
9037 * sysdeps/x86_64/bits/link.h: Renamed to ...
9038 * sysdeps/x86/bits/link.h: This.
9039 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9040 * sysdeps/x86/bits/linkmap.h: This.
9041
9042 * sysdeps/i386/bits/endian.h: Removed.
9043 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9044 * sysdeps/x86/bits/endian.h: This.
9045
9046 * sysdeps/i386/bits/byteswap.h: Removed.
9047 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9048 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9049 * sysdeps/x86/bits/byteswap.h: This.
9050 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9051 * sysdeps/x86/bits/byteswap-16.h: This.
9052 * sysdeps/i386/Implies: Add x86.
9053 * sysdeps/x86_64/Implies: Likewise.
9054
9055 2012-05-30 David S. Miller <davem@davemloft.net>
9056
9057 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9058 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9059 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9060 (FP_TRAPPING_EXCEPTIONS): Define.
9061 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9062 (FP_TRAPPING_EXCEPTIONS): Define.
9063 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9064 subnormals only when inexact has been signalled or underflow
9065 exceptions are enabled.
9066 (_FP_PACK_CANONICAL): Likewise.
9067
9068 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9069
9070 [BZ #14183]
9071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9072 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9073
9074 2012-05-30 Richard Henderson <rth@twiddle.net>
9075
9076 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9077 with #ifndef NOT_IN_libc.
9078
9079 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9080 marked to avoid plt entry.
9081
9082 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9083
9084 [BZ #14112]
9085 * Makeconfig (default-abi): New macro.
9086 (abi-includes): Likewise.
9087 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9088 $(abi-$(default-abi)-lib-soname) for soname if defined.
9089 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9090 abi-variants.
9091 * Makefile (installed-stubs): Likewise.
9092 * include/stubs-biarch.h: Removed.
9093 * scripts/lib-names.awk: Only handle one library at a time.
9094 * scripts/soversions.awk: Remove WORDSIZE support.
9095 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9096 entries.
9097 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9098 Removed.
9099 (syscall-list-default-condition): Likewise.
9100 (syscall-list-default-condition): Likewise.
9101 (syscall-list-includes): Likewise.
9102 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9103 syscall-list-* with abi-*. Handle undefined abi-variants.
9104 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9105 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9106 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9107 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9108 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9109 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9110 Removed.
9111 (syscall-list-32-options): Likewise.
9112 (syscall-list-32-condition): Likewise.
9113 (syscall-list-64-options): Likewise.
9114 (syscall-list-64-condition): Likewise.
9115 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9116 macro.
9117 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9118 Renamed to ...
9119 (abi-*): This.
9120 (abi-64-ld-soname): New macro.
9121 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9122 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9123 Renamed to ...
9124 (abi-*): This.
9125 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9126 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9127
9128 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9129
9130 * sysdeps/unix/sysv/linux/kernel-features.h
9131 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9132 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9133 include <kernel-features.h>.
9134 [!__NR_ftruncate64]: Remove conditional code.
9135 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9136 [__NR_ftruncate64]: Make code unconditional.
9137 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9138 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9139 include <kernel-features.h>.
9140 [!__NR_ftruncate64]: Remove conditional code.
9141 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9142 [__NR_ftruncate64]: Make code unconditional.
9143 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9145 include <kernel-features.h>.
9146 [!__NR_ftruncate64]: Remove conditional code.
9147 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9148 [__NR_ftruncate64]: Make code unconditional.
9149 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9151 include <kernel-features.h>.
9152 [!__NR_ftruncate64]: Remove conditional code.
9153 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9154 [__NR_ftruncate64]: Make code unconditional.
9155 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9156
9157 * configure.in (libc_cv_fpie): Weaken to a compile test using
9158 LIBC_TRY_CC_OPTION.
9159 * configure: Regenerated.
9160
9161 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9162
9163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9167 Refreshed.
9168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9174 Refreshed.
9175
9176 2012-05-27 David S. Miller <davem@davemloft.net>
9177
9178 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9179 (___Q_zero): New.
9180 (__Q_simulate_exceptions): Return void. Change to simulate
9181 exceptions by writing into the %fsr.
9182 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9183 (__Qp_handle_exceptions): Likewise.
9184 (numbers): Delete.
9185 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9186 __Qp_handle_exceptions.
9187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9188 __Qp_handle_exceptions.
9189 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9190 as unused and give dummy FP_RND_NEAREST initializer.
9191 (FP_INHIBIT_RESULTS): Define.
9192 (___Q_simulate_exceptions): Update declaration.
9193 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9194 formatting.
9195 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9196 as unused and give dummy FP_RND_NEAREST initializer.
9197 (__Qp_handle_exceptions): Update declaration.
9198 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9199 formatting.
9200
9201 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9202
9203 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9204 the temporary FPU control word.
9205 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9206 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9207 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9208 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9209 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9210 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9211 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9212 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9213 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9214 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9215 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9216
9217 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9218
9219 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9220 fields.
9221
9222 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9223
9224 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9225 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9226 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9227 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9228 Likewise.
9229 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9230 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9231 Likewise.
9232
9233 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9234
9235 * po/h.po: Update from translation team.
9236
9237 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9238
9239 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9240
9241 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9242 handling of denormals.
9243 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9244 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9245 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9246 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9250 Likewise.
9251
9252 2012-05-26 Marek Polacek <polacek@redhat.com>
9253
9254 [BZ #14152]
9255 * math/libm-test.inc (fma_test): Don't always expect underflow
9256 exception.
9257
9258 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9259
9260 [BZ #12416]
9261 * elf/tst-execstack.c: Include stackinfo.h.
9262 (do_test): Adjust test case to ensure that pthread_getattr_np
9263 behaviour remains the same after marking stack executable.
9264
9265 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9266
9267 * sysdeps/unix/sysv/linux/kernel-features.h
9268 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9269 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9270 kernel-features.h.
9271 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9272 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9273 * sysdeps/unix/sysv/linux/i386/setrlimit.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
9278 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9279
9280 * configure.in: Define the default includes to being none.
9281 * configure: Regenerated.
9282
9283 2012-05-25 Roland McGrath <roland@hack.frob.com>
9284
9285 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9286 * sysdeps/x86_64/setjmp.S: Likewise.
9287 * sysdeps/i386/bsd-setjmp.S: Likewise.
9288 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9289 * sysdeps/i386/setjmp.S: Likewise.
9290 * sysdeps/i386/__longjmp.S: Likewise.
9291 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9292 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9293
9294 * include/stap-probe.h: New file.
9295 * configure.in: Handle --enable-systemtap.
9296 * configure: Regenerated.
9297 * config.h.in (USE_STAP_PROBE): New #undef.
9298 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9299 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9300 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9301
9302 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9303
9304 [BZ #13717]
9305 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9306 to 2.4.0 where earlier.
9307 * sysdeps/unix/sysv/linux/configure: Regenerated.
9308 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9309 <kernel-features.h>.
9310 [__ASSUME_32BITUIDS]: Make code unconditional.
9311 [!__ASSUME_32BITUIDS]: Remove conditional code.
9312 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
9317 [__ASSUME_32BITUIDS]: Make code unconditional.
9318 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9319 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9320 <kernel-features.h>.
9321 [__ASSUME_32BITUIDS]: Make code unconditional.
9322 [!__ASSUME_32BITUIDS]: Remove conditional code.
9323 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
9360 <kernel-features.h>.
9361 [__NR_setresgid] (__setresgid): Do not declare.
9362 [__ASSUME_32BITUIDS]: Make code unconditional.
9363 [!__ASSUME_32BITUIDS]: Remove conditional code.
9364 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9365 <kernel-features.h>.
9366 [__NR_setresuid] (__setresuid): Do not declare.
9367 [__ASSUME_32BITUIDS]: Make code unconditional.
9368 [!__ASSUME_32BITUIDS]: Remove conditional code.
9369 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9370 <kernel-features.h>.
9371 [__ASSUME_32BITUIDS]: Make code unconditional.
9372 [!__ASSUME_32BITUIDS]: Remove conditional code.
9373 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
9410 (__ASSUME_SETRESUID_SYSCALL): Remove.
9411 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9412 (__ASSUME_32BITUIDS): Likewise.
9413 (__ASSUME_LDT_WORKS): Likewise.
9414 (__ASSUME_O_DIRECTORY): Likewise.
9415 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9416 architecture but not kernel version.
9417 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9418 (__ASSUME_MMAP2_SYSCALL): Likewise.
9419 (__ASSUME_STAT64_SYSCALL): Likewise.
9420 (__ASSUME_IPC64): Likewise.
9421 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9422 <kernel-features.h>.
9423 [__ASSUME_32BITUIDS]: Make code unconditional.
9424 [!__ASSUME_32BITUIDS]: Remove conditional code.
9425 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9426 <kernel-features.h>.
9427 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9428 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9429 132096]: Remove conditional code.
9430 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9431 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9432 <kernel-features.h>.
9433 [__ASSUME_32BITUIDS]: Make code unconditional.
9434 [!__ASSUME_32BITUIDS]: Remove conditional code.
9435 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
9440 <kernel-features.h>.
9441 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9442 unconditional.
9443 (__setresgid): Do not declare.
9444 [__ASSUME_32BITUIDS]: Make code unconditional.
9445 [!__ASSUME_32BITUIDS]: Remove conditional code.
9446 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9447 <kernel-features.h>.
9448 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9449 unconditional.
9450 (__setresuid): Do not declare.
9451 [__ASSUME_32BITUIDS]: Make code unconditional.
9452 [!__ASSUME_32BITUIDS]: Remove conditional code.
9453 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9454 <kernel-features.h>.
9455 [__ASSUME_32BITUIDS]: Make code unconditional.
9456 [!__ASSUME_32BITUIDS]: Remove conditional code.
9457 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9458 <kernel-features.h>.
9459 [__ASSUME_32BITUIDS]: Make code unconditional.
9460 [!__ASSUME_32BITUIDS]: Remove conditional code.
9461
9462 2012-05-25 Richard Henderson <rth@twiddle.net>
9463
9464 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9465 dl_hwcap to ifunc resolver.
9466 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9467 elf_ifunc_invoke.
9468 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9469 dl_hwcap to ifunc resolver.
9470 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9471
9472 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9473
9474 [BZ #14153]
9475 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9476 for |x| <= 2**-26, not 2**-57.
9477 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9478 exception.
9479
9480 2012-05-24 Jeff Law <law@redhat.com>
9481
9482 * stdio-common/Makefile (tests): Add bug25.
9483 * stdio-common/bug25.c: New test.
9484
9485 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9486
9487 [BZ #13576]
9488 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9489 multiple of MALLOC_ALIGNMENT in size.
9490 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9491
9492 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9493
9494 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9495 Require >= 256.
9496 (FILENAME_MAX): Use macro-int-constant.
9497 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9498 (_IOFBF): Use macro-int-constant.
9499 (_IOLBF): Likewise.
9500 (_IONBF): Likewise.
9501 (SEEK_CUR): Likewise.
9502 (SEEK_END): Likewise.
9503 (SEEK_SET): Likewise.
9504 (TMP_MAX): Likewise.
9505 (EOF): Use macro-int-constant. Require < 0.
9506 (NULL): Use macro-constant. Require == 0.
9507 (stdin): Require type to be FILE *.
9508 (stdout): Likewise.
9509 (stderr): Likewise.
9510 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9511 macro-int-constant.
9512 (EXIT_SUCCESS): Likewise.
9513 (NULL): Use macro-constant. Require == 0.
9514 (RAND_MAX): Use macro-int-constant.
9515 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9516 [C99-based standards] (strtof): Require function.
9517 [C99-based standards] (strtold): Likewise.
9518 [C99-based standards] (strtoll): Likewise.
9519 [C99-based standards] (strtoull): Likewise.
9520 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9521 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9522 [ISO || ISO99 || ISO11] (math.h): Likewise.
9523 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9524 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9525 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9526
9527 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9528
9529 [BZ #14132]
9530 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9531 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9532 * intl/dgettext.c (DCGETTEXT): Likewise.
9533 * intl/gettext.c (DCGETTEXT): Likewise.
9534 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9535 * posix/regex_internal.h (gettext): Likewise.
9536 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9537 Remove declaration.
9538 * include/argz.h (__argz_count_internal)
9539 (__argz_stringify_internal): Remove declaration.
9540 (__argz_count, __argz_stringify): Declare hidden proto.
9541 * intl/dcgettext.c: Remove use of INTDEF.
9542 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9543 * string/argz-stringify.c: Likewise.
9544 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9545 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9546 Declare hidden proto.
9547 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9548 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9549 Declare hidden proto.
9550 * include/stdio.h (__asprintf_internal): Don't declare.
9551 (__asprintf): Don't define as macro. Declare hidden proto.
9552 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9553 (__fsetlocking): Declare hidden proto.
9554 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9555 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9556 hidden proto.
9557 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9558 (_IO_setlinebuf): Remove use of INTUSE.
9559 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9560 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9561 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9562 Remove declaration.
9563 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9564 (_IO_do_flush): Remove use of INTUSE.
9565 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9566 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9567 (_IO_adjust_column, _IO_least_wmarker)
9568 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9569 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9570 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9571 (_IO_default_doallocate, _IO_wdefault_doallocate)
9572 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9573 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9574 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9575 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9576 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9577 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9578 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9579 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9580 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9581 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9582 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9583 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9584 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9585 proto.
9586 (_IO_flush_all_internal, _IO_adjust_column_internal)
9587 (_IO_default_uflow_internal, _IO_default_finish_internal)
9588 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9589 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9590 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9591 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9592 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9593 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9594 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9595 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9596 (_IO_file_close_internal, _IO_file_close_it_internal)
9597 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9598 (_IO_file_init_internal, _IO_file_attach_internal)
9599 (_IO_file_fopen_internal, _IO_file_read_internal)
9600 (_IO_file_sync_internal, _IO_file_seek_internal)
9601 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9602 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9603 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9604 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9605 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9606 (_IO_list_all_internal, _IO_link_in_internal)
9607 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9608 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9609 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9610 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9611 (_IO_do_write_internal, _IO_padn_internal)
9612 (_IO_getline_info_internal, _IO_getline_internal)
9613 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9614 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9615 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9616 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9617 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9618 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9619 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9620 with libc_hidden_ver, remove use of INTUSE.
9621 * libio/genops.c: Likewise.
9622 * libio/freopen.c: Likewise.
9623 * libio/freopen64.c: Likewise.
9624 * libio/iofclose.c: Likewise.
9625 * libio/iofdopen.c: Likewise.
9626 * libio/iofflush.c: Likewise.
9627 * libio/iofflush_u.c: Likewise.
9628 * libio/iofgets.c: Likewise.
9629 * libio/iofgets_u.c: Likewise.
9630 * libio/iofopen.c: Likewise.
9631 * libio/iofopncook.c: Likewise.
9632 * libio/iofread.c: Likewise.
9633 * libio/iofread_u.c: Likewise.
9634 * libio/ioftell.c: Likewise.
9635 * libio/iofwrite.c: Likewise.
9636 * libio/iogetline.c: Likewise.
9637 * libio/iogets.c: Likewise.
9638 * libio/iogetwline.c: Likewise.
9639 * libio/iopadn.c: Likewise.
9640 * libio/iopopen.c: Likewise.
9641 * libio/ioseekoff.c: Likewise.
9642 * libio/ioseekpos.c: Likewise.
9643 * libio/iosetbuffer.c: Likewise.
9644 * libio/iosetvbuf.c: Likewise.
9645 * libio/ioungetc.c: Likewise.
9646 * libio/ioungetwc.c: Likewise.
9647 * libio/iovdprintf.c: Likewise.
9648 * libio/iovsprintf.c: Likewise.
9649 * libio/iovsscanf.c: Likewise.
9650 * libio/memstream.c: Likewise.
9651 * libio/obprintf.c: Likewise.
9652 * libio/oldfileops.c: Likewise.
9653 * libio/oldiofclose.c: Likewise.
9654 * libio/oldiofdopen.c: Likewise.
9655 * libio/oldiofopen.c: Likewise.
9656 * libio/oldiopopen.c: Likewise.
9657 * libio/oldstdfiles.c: Likewise.
9658 * libio/putc.c: Likewise.
9659 * libio/setbuf.c: Likewise.
9660 * libio/setlinebuf.c: Likewise.
9661 * libio/stdfiles.c: Likewise.
9662 * libio/strops.c: Likewise.
9663 * libio/vasprintf.c: Likewise.
9664 * libio/vscanf.c: Likewise.
9665 * libio/vsnprintf.c: Likewise.
9666 * libio/vswprintf.c: Likewise.
9667 * libio/wfiledoalloc.c: Likewise.
9668 * libio/wfileops.c: Likewise.
9669 * libio/wgenops.c: Likewise.
9670 * libio/wmemstream.c: Likewise.
9671 * libio/wstrops.c: Likewise.
9672 * libio/__fpurge.c: Likewise.
9673 * libio/__fsetlocking.c: Likewise.
9674 * assert/assert.c: Likewise.
9675 * debug/fgets_chk.c: Likewise.
9676 * debug/fgets_u_chk.c: Likewise.
9677 * debug/fread_chk.c: Likewise.
9678 * debug/fread_u_chk.c: Likewise.
9679 * debug/gets_chk.c: Likewise.
9680 * debug/obprintf_chk.c: Likewise.
9681 * debug/vasprintf_chk.c: Likewise.
9682 * debug/vdprintf_chk.c: Likewise.
9683 * debug/vsnprintf_chk.c: Likewise.
9684 * debug/vsprintf_chk.c: Likewise.
9685 * malloc/mtrace.c: Likewise.
9686 * misc/error.c: Likewise.
9687 * misc/syslog.c: Likewise.
9688 * stdio-common/asprintf.c: Likewise.
9689 * stdio-common/fxprintf.c: Likewise.
9690 * stdio-common/getw.c: Likewise.
9691 * stdio-common/isoc99_fscanf.c: Likewise.
9692 * stdio-common/isoc99_scanf.c: Likewise.
9693 * stdio-common/isoc99_vfscanf.c: Likewise.
9694 * stdio-common/isoc99_vscanf.c: Likewise.
9695 * stdio-common/isoc99_vsscanf.c: Likewise.
9696 * stdio-common/printf-prs.c: Likewise.
9697 * stdio-common/printf_fp.c: Likewise.
9698 * stdio-common/printf_fphex.c: Likewise.
9699 * stdio-common/printf_size.c: Likewise.
9700 * stdio-common/putw.c: Likewise.
9701 * stdio-common/scanf.c: Likewise.
9702 * stdio-common/sprintf.c: Likewise.
9703 * stdio-common/tmpfile.c: Likewise.
9704 * stdio-common/vfprintf.c: Likewise.
9705 * stdio-common/vfscanf.c: Likewise.
9706 * stdlib/strfmon_l.c: Likewise.
9707 * sunrpc/openchild.c: Likewise.
9708 * sunrpc/xdr_stdio.c: Likewise.
9709 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9710 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9711
9712 2012-05-24 Roland McGrath <roland@hack.frob.com>
9713
9714 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9715
9716 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9717 in the third column, to generate for the shared library an IFUNC
9718 that uses _dl_vdso_vsym.
9719 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9720 * Makeconfig (object-suffixes-noshared): New variable.
9721
9722 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9723 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9724 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9725 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9726
9727 [BZ #14132]
9728 * include/sys/time.h (__gettimeofday): Remove macro.
9729 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9730 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9731 Remove INTDEF.
9732 (__gettimeofday): Add libc_hidden_def.
9733 (gettimeofday): Add libc_hidden_weak.
9734 * sysdeps/mach/gettimeofday.c: Likewise.
9735 * sysdeps/posix/gettimeofday.c: Likewise.
9736 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9737 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9738 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9739 (__gettimeofday_internal): Remove strong_alias.
9740 (__gettimeofday): Add libc_hidden_def.
9741 (gettimeofday): Add libc_hidden_weak.
9742 * sysdeps/unix/syscalls.list (gettimeofday):
9743 Remove __gettimeofday_internal alias.
9744
9745 2012-05-24 Daniel Jacobowitz <drow@false.org>
9746 H.J. Lu <hongjiu.lu@intel.com>
9747
9748 [BZ #12495]
9749 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9750 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9751 (largebin_index_32_big): New.
9752 (largebin_index): Use it for 16-byte alignment.
9753 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9754 correction with front_misalign.
9755
9756 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9757
9758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9760 Likewise.
9761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9762 Likewise.
9763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9764 Likewise.
9765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9766 Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9768 Likewise.
9769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9770 Likewise.
9771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9772 Likewise.
9773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9774 Likewise.
9775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9776 Likewise.
9777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9778 Likewise.
9779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9780 Likewise.
9781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9782 Likewise.
9783
9784 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9785 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9786
9787 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9788
9789 [BZ #10846]
9790 [BZ #14036]
9791 * math/libm-test.inc (exp_test): Add test from bug 14036.
9792 (pow_test): Add test from bug 10846.
9793
9794 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9795 and other flags.
9796 (special_function): Do not include flags in test name.
9797 (parse_args): Likewise.
9798 * sysdeps/i386/fpu/libm-test-ulps: Update.
9799 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9800 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9801 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9803
9804 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9805 exceptions.
9806 * math/libm-test.inc ("Philosophy"): Update comment about
9807 exception testing.
9808 (UNDERFLOW_EXCEPTION): New macro.
9809 (UNDERFLOW_EXCEPTION_OK): Likewise.
9810 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9811 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9812 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9813 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9814 (INVALID_EXCEPTION_OK): Update value.
9815 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9816 (OVERFLOW_EXCEPTION_OK): Likewise.
9817 (IGNORE_ZERO_INF_SIGN): Likewise.
9818 (test_exceptions): Handle underflow exceptions.
9819 (acos_test): Update for underflow exception expectations.
9820 (cexp_test): Likewise.
9821 (clog_test): Likewise.
9822 (clog10_test): Likewise.
9823 (csqrt_test): Likewise.
9824 (ctan_test): Likewise.
9825 (ctanh_test): Likewise.
9826 (exp_test): Likewise.
9827 (exp10_test): Likewise.
9828 (exp2_test): Likewise.
9829 (expm1_test): Likewise.
9830 (fma_test): Likewise.
9831 (j0_test): Likewise.
9832 (jn_test): Likewise.
9833 (nexttoward_test): Likewise.
9834 (pow_test): Likewise.
9835 (scalbn_test): Likewise.
9836 (scalbln_test): Likewise.
9837 (tan_test): Likewise.
9838 (y1_test): Likewise.
9839 * sysdeps/i386/fpu/libm-test-ulps: Update.
9840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9841
9842 2012-05-23 David S. Miller <davem@davemloft.net>
9843
9844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9845 (__libc_sigaction): Remove unused local variables.
9846
9847 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9848
9849 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9850
9851 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9852
9853 mktime: avoid signed integer overflow
9854 * time/mktime.c (__mktime_internal): Do not mishandle the case
9855 where diff == INT_MIN.
9856
9857 mktime: simplify computation of average
9858 * time/mktime.c (ranged_convert): Use new time_t_avg function
9859 instead of rolling our own (probably-slower) code.
9860
9861 mktime: do not assume signed right shift propagates sign bit
9862 * time/mktime.c (isdst_differ): New static function.
9863 (__mktime_internal): No need to normalize tm_isdst now.
9864 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9865 tm_isdst values.
9866
9867 mktime: merge another wrapv change from gnulib
9868 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9869 from some compilers.
9870
9871 mktime: remove incorrect attempt at unusual arithmetics
9872 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9873 The code didn't really work on such machines anyway.
9874 (TYPE_MINIMUM): Assume two's complement.
9875 (twos_complement_arithmetic): Verify that long_int and time_t
9876 are two's complement (or unsigned, in the latter case).
9877
9878 mktime: check signed shifts on long_int and time_t, too
9879 * time/mktime.c (SHR): Check that shifts work as desired
9880 on the types long_int and time_t too, as SHR is used on
9881 such types.
9882
9883 mktime: do not assume 'long' is wide enough
9884 * time/mktime.c (verify): Move decl up.
9885 (long_int): New type.
9886 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9887 to remove assumption in the code that 'long' is wide enough to
9888 store year values. This assumption is not true on x32 and on
9889 some non-glibc platforms.
9890
9891 mktime: merge wrapv change from gnulib
9892 * time/mktime.c (WRAPV): New macro.
9893 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9894 (guess_time_tm, __mktime_internal): Do not assume that signed
9895 integer overflow wraps around; modern compilers generate code
9896 where this assumption is no longer valid.
9897
9898 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9899
9900 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9901 Replace "jmp L(pseudo_end)" with "ret".
9902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9903 Likewise.
9904
9905 2012-05-23 Andreas Jaeger <aj@suse.de>
9906
9907 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9908 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9909
9910 2012-05-23 Andreas Jaeger <aj@suse.de>
9911 Maximilian Attems <max@stro.at>
9912
9913 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9914 New macros.
9915
9916 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9917
9918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9919 code so that pseudo_end is just ret and the stack pointer is
9920 correct also for static library in error case.
9921
9922 2012-05-23 Joseph Myers <joseph@codesourcery.com>
9923
9924 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9925 move to syscalls.list.
9926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9930
9931 * manual/install.texi (Running make install): Do not mention Linux
9932 kernel version for which pt_chown is not needed.
9933 (Linux): Do not mention problems with nscd with 2.0 kernels.
9934 * INSTALL: Regenerated.
9935
9936 2012-05-23 Andreas Jaeger <aj@suse.de>
9937
9938 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9939 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9940 macro.
9941 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9942 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9943 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9944 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9945 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9946 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9947 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9948 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9950 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9951 * sysdeps/unix/sysv/linux/bits/in.h
9952 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9953
9954 2012-05-22 Roland McGrath <roland@hack.frob.com>
9955
9956 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9957 (PREPARE_VERSION): Just use assert instead, it will be elided
9958 under [NDEBUG] anyway.
9959
9960 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9961
9962 * sysdeps/unix/sysv/linux/Makefile: Include
9963 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9964 (sysdep_routines): Remove sysctl.
9965 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9966 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9967 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9968 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9969 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9970
9971 2012-05-22 Andreas Jaeger <aj@suse.de>
9972
9973 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9974 that pseudo_end is just ret and the stack pointer is correct also
9975 for static library in error case.
9976
9977 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9978
9979 [BZ #14122]
9980 * nss/nsswitch.c (defconfig_entries): New variable.
9981 (__nss_database_lookup): Don't leak defconfig entries.
9982 (nss_parse_service_list): Don't leak on error paths.
9983 (free_database_entries): New function.
9984 (free_defconfig): New function.
9985 (free_mem): Move common code to free_database_entries.
9986
9987 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9988
9989 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9990 Add arch_prctl.
9991 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9992
9993 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9994 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9996 New macro.
9997 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9998 (INTERNAL_SYSCALL_TYPES): Likewise.
9999 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10000 (LOAD_REGS_TYPES_[1-6]): Likewise.
10001 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10002 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10003
10004 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10005
10006 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10007 copysignl for GLIBC_2_0.
10008 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10009 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10011 logbl for GLIBC_2_0.
10012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10013 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10014
10015 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10016
10017 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10018 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10019
10020 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10021 Use "neg %eax".
10022
10023 * time/mktime.c: Update copyright years.
10024
10025 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10026
10027 mktime: merge comment-quoting-style change from gnulib
10028 * time/mktime.c: Quote 'like this' in comments.
10029 The GNU coding standards suggest that we no longer quote `like this',
10030 as "`" and "'" are typically rendered asymmetrically nowadays.
10031 The typical gnulib style is to quote 'like this' when quoting
10032 code, and "like this" when quoting English.
10033
10034 * time/mktime.c (compile-command): Add "-I.".
10035
10036 mktime: merge mktime-internal.h change from gnulib
10037 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10038
10039 mktime: merge time_r change from gnulib
10040 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10041
10042 mktime: merge DEBUG change from gnulib
10043 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10044 case system <time.h> has a #define.
10045
10046 mktime: merge <sys/types.h> change from gnulib
10047 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10048 since <time.t> is now guaranteed to define time_t.
10049
10050 mktime: merge HAVE_CONFIG_H change from gnulib
10051 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10052
10053 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10054
10055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10056 Use "neg %eax".
10057
10058 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10059 __rlim_t cast.
10060 (struct rusage): Use anonymous union to pad each field to
10061 __syscall_slong_t.
10062
10063 2012-05-21 David S. Miller <davem@davemloft.net>
10064
10065 * Makefules (o-iterator): Remove .s cases.
10066 (compile-command.s): Delete.
10067 (COMPILE.s): Delete.
10068 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10069
10070 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10071
10072 * configure.in (libc_cv_predef_stack_protector): Only consider
10073 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10074 * configure: Regenerated.
10075
10076 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10079 New macro. Use R*LP on int and pointer.
10080 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10081 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10082 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10083 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10084
10085 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10086 [__WORDSIZE_TIME64_COMPAT32] instead of
10087 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10088 (struct utmp): Likewise.
10089 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10090 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10091 Renamed to ...
10092 (__WORDSIZE_TIME64_COMPAT32): This.
10093 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10094 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10095 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10096 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10097 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10098 (__WORDSIZE_TIME64_COMPAT32): New macro.
10099
10100 2012-05-21 Andreas Jaeger <aj@suse.de>
10101
10102 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10103 only if [SHARED]. Add prototype for __wcschr_ia32.
10104
10105 2012-05-21 Roland McGrath <roland@hack.frob.com>
10106
10107 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10108 of %rbp unmolested in the jmp_buf while mangling the low bits.
10109 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10110 unmolested high bits of %rbp while demangling the low bits.
10111 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10112
10113 2012-05-21 Andreas Jaeger <aj@suse.de>
10114
10115 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10116 * sunrpc/svc_simple.c: Use it for registerrpc.
10117 * sunrpc/xcrypt.c: Use it for passwd2des.
10118
10119 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10120
10121 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10122
10123 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10124 Don't define if [__SYSCALL_WORDSIZE != 32].
10125 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10126 New macro.
10127
10128 2012-05-21 Bruno Haible <bruno@clisp.org>
10129 Andreas Jaeger <aj@suse.de>
10130
10131 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10132 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10133 inptr and inend for must_buffer_ch.
10134 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10135 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10136 * stdio-common/Makefile (tests): Remove bug15.
10137 (bug15-ENV): Remove macro.
10138 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10139 anymore.
10140
10141 2012-05-19 Andreas Jaeger <aj@suse.de>
10142 Roland McGrath <roland@hack.frob.com>
10143
10144 * manual/contrib.texi: Completely rewritten. It contains now an
10145 alphabetical list of contributors and their contributions.
10146
10147 2012-05-21 Richard Henderson <rth@twiddle.net>
10148
10149 * misc/getauxval.c (__getauxval): Use unsigned long int.
10150 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10151 (getauxval): Use unsigned long int.
10152
10153 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10154
10155 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10156
10157 2012-05-21 Roland McGrath <roland@hack.frob.com>
10158
10159 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10160 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10161 __alignof__ (long double).
10162
10163 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10164
10165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10166
10167 2012-05-20 Richard Henderson <rth@twiddle.net>
10168
10169 * misc/getauxval.c: New file.
10170 * misc/sys/auxv.h: New file.
10171 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10172 (routines): Add getauxval.
10173 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10174 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10175 * elf/dl-sysdep.c (_dl_auxv): Remove.
10176 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10177 * elf/dl-support.c (_dl_auxv): New variable.
10178 (_dl_aux_init): Initialize it.
10179 * manual/startup.texi (Auxiliary Vector): New node.
10180 * sysdeps/generic/bits/hwcap.h: New file.
10181 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10182 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10183 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10184 * sysdeps/sparc/sysdep.h: ... here. Include it.
10185 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10186 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10188 Update.
10189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10197
10198 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199
10200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10201
10202 2012-05-19 David S. Miller <davem@davemloft.net>
10203
10204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10205
10206 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10207
10208 [BZ #14123]
10209 * math/s_ccosh.c: Include <float.h>
10210 (__ccosh): Avoid internal overflow calculating sinh and cosh
10211 values before multiplying by sin and cos values.
10212 * math/s_ccoshf.c: Likewise.
10213 * math/s_ccoshl.c: Likewise.
10214 * math/s_csin.c: Likewise.
10215 * math/s_csinf.c: Likewise.
10216 * math/s_csinl.c: Likewise.
10217 * math/s_csinh.c: Likewise.
10218 * math/s_csinhf.c: Likewise.
10219 * math/s_csinhl.c: Likewise.
10220 * math/libm-test.inc (ccos_test): Add more tests.
10221 (ccosh_test): Likewise.
10222 (csin_test): Likewise.
10223 (csinh_test): Likewise.
10224 * sysdeps/i386/fpu/libm-test-ulps: Update.
10225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10226
10227 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10228
10229 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10230 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10231
10232 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10233
10234 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10235
10236 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10237 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10238 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10239 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10240 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10241 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10242 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10243 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10244 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10245 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10246 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10247 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10248 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10249 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10250 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10251 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10252 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10253 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10254 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10255 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10256 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10257 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10258 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10259 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10260 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10261 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10262 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10263 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10264 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10265 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10266 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10267
10268 2012-05-18 Andreas Jaeger <aj@suse.de>
10269
10270 * csu/.gitignore: Delete.
10271
10272 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10273
10274 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10275 (timex): Use __syscall_slong_t.
10276
10277 2012-05-18 Andreas Jaeger <aj@suse.de>
10278 Carlos O'Donell <carlos_odonell@mentor.com>
10279
10280 * manual/install.texi (Configuring and compiling): Update
10281 description about files modified in the source directory.
10282 * INSTALL: Regenerated.
10283
10284 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10285
10286 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10287 value. Use "or" to set return value to -1.
10288 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10289 negate return value.
10290
10291 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10292
10293 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10294 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10295 failure if the compiler has Graphite support disabled.
10296 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10297 Likewise.
10298 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10299 CFLAGS-memmove.c): Likewise.
10300 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10301 Likewise.
10302
10303 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10304
10305 * sysdeps/x86_64/x32/_itoa.h: New file.
10306
10307 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10308 getdents system call only if kernel and user dirents have the
10309 same d_ino and d_off.
10310
10311 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10312 LLONG_MAX != LONG_MAX.
10313 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10314 (_fitoa_word): Likewise.
10315
10316 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10317 years.
10318 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10319 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10320 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10321
10322 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10323 include <bits/wordsize.h>. Check __x86_64__ instead of
10324 __WORDSIZE.
10325 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10326 if __x86_64__ is defined. Use anonymous union on fpstate.
10327
10328 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10329 anonymous union.
10330
10331 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10332
10333 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10334 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10335 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10336 Refer to _rtld_local_ro instead of _rtld_global_ro.
10337 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10338 Likewise.
10339 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10340 Likewise.
10341 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10342 Likewise.
10343 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10344 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10345 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10346
10347 * sysdeps/powerpc/powerpc32/dl-machine.c
10348 (__elf_machine_runtime_setup) [PROF]: Don't reference
10349 _dl_prof_resolve.
10350
10351 2012-05-18 Andreas Jaeger <aj@suse.de>
10352
10353 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10354 function only available for GCCs before 3.4 since GCC 3.4
10355 introduced a builtin.
10356 (lrint): Likewise.
10357 (llrintf): Likewise.
10358 (llrint): Likewise.
10359 (fmaxf): Likewise.
10360 (fmax): Likewise.
10361 (fminf): Likewise.
10362 (fmin): Likewise.
10363 (rint): Likewise.
10364 (rintf): Likewise.
10365 (nearbyint): Likewise.
10366 (nearbyintf): Likewise.
10367 (ceil): Likewise.
10368 (ceilf): Likewise.
10369 (floor): Likewise.
10370 (floorf): Likewise.
10371
10372 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10373
10374 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10375 on both fields and cast pointer to __syscall_ulong_t.
10376
10377 * bits/types.h (__fsword_t): New type.
10378 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10379 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10381 (__FSWORD_T_TYPE): Likewise.
10382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10383 (__FSWORD_T_TYPE): Likewise.
10384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10385 (__FSWORD_T_TYPE): Likewise.
10386 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10387 (__FSWORD_T_TYPE): Likewise.
10388 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10389 __SWORD_TYPE with __fsword_t.
10390 (statfs64): Likewise.
10391
10392 2012-05-17 David S. Miller <davem@davemloft.net>
10393
10394 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10395
10396 2012-05-17 Andreas Jaeger <aj@suse.de>
10397
10398 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10399 warning.
10400
10401 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10402
10403 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10404
10405 2012-05-17 Andreas Jaeger <aj@suse.de>
10406
10407 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10408 when it is used.
10409
10410 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10411
10412 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10413
10414 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10415
10416 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10417 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10418
10419 2012-05-17 Andreas Jaeger <aj@suse.de>
10420 Carlos O'Donell <carlos_odonell@mentor.com>
10421
10422 [BZ #14059]
10423 * sysdeps/x86_64/multiarch/init-arch.h
10424 (bit_YMM_Usable): Rename to...
10425 (bit_AVX_Usable): ... this.
10426 (bit_FMA4_Usable): New macro.
10427 (bit_XMM_state): New macro.
10428 (bit_YMM_state): New macro.
10429 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10430 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10431 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10432 (CPUID_OSXSAVE): New macro.
10433 (CPUID_AVX): New macro.
10434 (CPUID_FMA4): New macro.
10435 (index_YMM_Usable): Rename to...
10436 (index_AVX_Usable): ... this.
10437 (HAS_AVX): Use HAS_ARCH_FEATURE.
10438 (HAS_FMA4): Likewise.
10439 (HAS_YMM_USABLE): Remove.
10440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10441 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10442 are present.
10443 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10444 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10445 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10446 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10447 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10448
10449 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10450
10451 * math/libm-test.c: Support platforms without multiple rounding modes.
10452 * math/bug-nextafter.c: Support platforms without FP exceptions.
10453 * math/bug-nexttoward.c: Likewise.
10454 * math/test-fenv.c: Likewise.
10455 * math/test-misc.c: Likewise.
10456 * stdlib/bug-getcontext.c: Likewise.
10457
10458 2012-05-17 Andreas Jaeger <aj@suse.de>
10459
10460 * manual/examples/search.c (critter_cmp): Change signature to
10461 avoid warnings.
10462 * manual/string.texi (Collation Functions): Likewise.
10463
10464 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10465
10466 * bits/types.h: Fold copyright years.
10467 * bits/typesizes.h: Likewise.
10468 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10470 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10472 * time/time.h: Likewise.
10473
10474 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10475
10476 [BZ #208]
10477 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10478 in instead of returning them. Return void.
10479 (__libc_mallinfo): Accumulate over all arenas.
10480 (__malloc_stats): Adjust for change in int_mallinfo interface.
10481
10482 2012-05-16 Roland McGrath <roland@hack.frob.com>
10483
10484 [BZ #10375]
10485 * configure.in (NM): Add AC_CHECK_TOOL for it.
10486 (libc_extra_cflags): New substituted variable.
10487 Check for -fstack-protector being used implicitly.
10488 * configure: Regenerated.
10489 * config.make.in (config-extra-cflags): New variable,
10490 gets @libc_extra_cflags@.
10491 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10492
10493 [BZ #10375]
10494 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10495 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10496 * configure: Regenerated.
10497 * config.make.in (CPPUNDEFS): New substituted variable.
10498 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10499 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10500 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10501
10502 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10503
10504 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10505 (mq_attr): Use __syscall_slong_t.
10506
10507 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10508
10509 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10510 Check __x86_64__ instead of __WORDSIZE.
10511 (_STAT_VER_LINUX): Likewise.
10512 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10513 __syscall_ulong_t and __syscall_slong_t.
10514 (stat64): Likewise.
10515
10516 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10517
10518 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10519
10520 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10521
10522 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10523
10524 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10527 __syscall_ulong_t.
10528
10529 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10530 include <bits/wordsize.h>. Check __x86_64__ instead of
10531 __WORDSIZE.
10532 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10533 defined.
10534 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10535
10536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10537 include <bits/wordsize.h>. Check __x86_64__ instead of
10538 __WORDSIZE.
10539 (user_regs_struct): Use "__extension__ unsigned long long"
10540 instead of "unsigned long" if __x86_64__ is defined.
10541 (user): Likewise. Pad after pointer field if __ILP32__ is
10542 defined.
10543
10544 2012-05-16 Joseph Myers <joseph@codesourcery.com>
10545
10546 * configure.in (makeinfo): Require version 4.5 or later. Allow
10547 versions 5 to 9.
10548 * configure: Regenerated.
10549 * manual/install.texi (texinfo): Increase version requirement to
10550 4.5 or later.
10551 * INSTALL: Regenerated.
10552
10553 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10554
10555 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10556
10557 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10558
10559 * sysdeps/x86_64/x32/ffs.c: New file.
10560
10561 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10562 __syscall_ulong_t.
10563 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10564 defined. Use __syscall_ulong_t.
10565 (shminfo): Use __syscall_ulong_t.
10566 (shm_info): Likewise.
10567
10568 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10569 __syscall_ulong_t.
10570
10571 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10572 <bits/wordsize.h>.
10573 (msgqnum_t): Use __syscall_ulong_t.
10574 (msglen_t): Likewise.
10575 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10576 __syscall_ulong_t.
10577
10578 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10579 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10580
10581 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10582
10583 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10584 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10585
10586 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10587 __syscall_slong_t.
10588
10589 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10590 include <bits/wordsize.h>. Check __x86_64__ instead of
10591 __WORDSIZE.
10592
10593 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10594 "unsigned long long int" if __x86_64__ is defined.
10595 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10596
10597 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10598 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10599 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10600
10601 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10602 <stdint.h>.
10603 (GET_PC): Cast to uintptr_t first.
10604 (GET_FRAME): Likewise.
10605 (GET_STACK): Likewise.
10606
10607 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10613 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10615 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10616 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10617 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10618 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10619 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10621 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10622 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10623 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10624 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10625 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10626 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10627 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10628 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10629 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10630 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10631 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10632 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10633 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10634 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10635 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10636
10637 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10638
10639 * Makerules (+depfiles): Also collect depfiles from .oS in
10640 $(extra-objs).
10641 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10642 .oS, $(libnldbl-routines)).
10643
10644 * Makerules (native-compile-mkdep-flags): Define.
10645 * sunrpc/Makefile (extra-objs): Add $(addprefix
10646 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10647 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10648 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10649 calling $(make-target-directory).
10650
10651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10652
10653 * bits/types.h (__snseconds_t): Removed.
10654 * time/time.h (struct timespec): Replace __snseconds_t with
10655 __syscall_slong_t.
10656 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10657 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10658 Likewise.
10659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10660 (__SNSECONDS_T_TYPE): Likewise.
10661 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10662 (__SNSECONDS_T_TYPE): Likewise.
10663 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10664 (__SNSECONDS_T_TYPE): Likewise.
10665
10666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10667
10668 * sysdeps/mach/hurd/bits/typesizes.h
10669 (__SYSCALL_SLONG_TYPE): New macro.
10670 (__SYSCALL_ULONG_TYPE): Likewise.
10671
10672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10673
10674 * bits/types.h (__syscall_slong_t): New type.
10675 (__syscall_ulong_t): Likewise.
10676
10677 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10678 (__SYSCALL_ULONG_TYPE): Likewise.
10679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10680 (__SYSCALL_SLONG_TYPE): Likewise.
10681 (__SYSCALL_ULONG_TYPE): Likewise.
10682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10683 (__SYSCALL_SLONG_TYPE): Likewise.
10684 (__SYSCALL_ULONG_TYPE): Likewise.
10685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10686 (__SYSCALL_SLONG_TYPE): Likewise.
10687 (__SYSCALL_ULONG_TYPE): Likewise.
10688
10689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10690
10691 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10692 Add sigaltstack-offsets.sym.
10693 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10694 <sigaltstack-offsets.h>.
10695 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10696 longjmp_msg pointer.
10697 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10698 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10699 signal stack.
10700 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10701
10702 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10703
10704 * elf/stackguard-macros.h: Remove file.
10705 * sysdeps/generic/stackguard-macros.h: New file.
10706 * sysdeps/i386/stackguard-macros.h: Likewise.
10707 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10708 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10709 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10710 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10711 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10712 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10713 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10714 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10715 <elf/stackguard-macros.h>.
10716
10717 [BZ #14109]
10718 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10719 __aligned__ in attribute.
10720 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10721 (gregset_t): Likewise.
10722
10723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10726 * sysdeps/x86_64/64/Implies-after: Here. New file.
10727 * sysdeps/x86_64/x32/Implies-after: New file.
10728
10729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10730
10731 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10732 and access return value for _dl_profile_fixup. Use R10_LP to
10733 load frame size.
10734
10735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10736
10737 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10738
10739 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10742 * sysdeps/x86_64/x32/sysdep.h: New file.
10743
10744 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10745
10746 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10747 * sysdeps/x86_64/setjmp.S: Likewise.
10748
10749 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10750
10751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10752 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10753 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10754 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10755 remove unused global constant.
10756
10757 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10758
10759 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10760 include of <not-cancel.h>.
10761
10762 2012-05-15 Roland McGrath <roland@hack.frob.com>
10763
10764 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10765
10766 2012-05-15 Jeff Law <law@redhat.com>
10767 Andreas Jaeger <aj@suse.de>
10768
10769 [BZ #13594]
10770 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10771 out from...
10772 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10773 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10774 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10775 code changing __hst_map_handle.map.
10776
10777 2012-05-15 Roland McGrath <roland@hack.frob.com>
10778
10779 * configure.in (sysnames): Look for Implies-before and Implies-after
10780 files.
10781 * configure: Regenerated.
10782
10783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10784
10785 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10786 8-byte data alignment with LP_SIZE alignment.
10787
10788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10789
10790 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10791 into R10_LP.
10792
10793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10794
10795 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10796
10797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10800 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10801 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10802 Likewise.
10803 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10804
10805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10806
10807 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10808 (stackinfo_sub_sp): Likewise.
10809
10810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10811
10812 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10813 RAX_LP.
10814
10815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10818 into R*_LP.
10819
10820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10821
10822 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10823 sizes into R*_LP.
10824
10825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10826
10827 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10828
10829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10830
10831 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10832 into R11_LP and load __x86_64_shared_cache_size_half into
10833 R8_LP.
10834
10835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10838 R8_LP.
10839
10840 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10841
10842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10843 logb for POWER7.
10844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10845 logbf for POWER7.
10846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10847 logbl for POWER7.
10848 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10849 powerpc32/power7/fpu/s_logb.c via #include.
10850 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10851 powerpc32/power7/fpu/s_logbf.c via #include.
10852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10853 powerpc32/power7/fpu/s_logbl.c via #include.
10854
10855 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10856
10857 * README.libm: Remove file.
10858
10859 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10862 count for x32. Use R*_LP and omit operand-size suffix.
10863
10864 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10865
10866 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10867 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10868 * sysdeps/x86_64/x32/shlib-versions: New file.
10869
10870 2012-05-14 Roland McGrath <roland@hack.frob.com>
10871
10872 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10873 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10874 Use _dl_fatal_printf instead.
10875
10876 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10877
10878 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10879 set if not set by the user. Do not allow for being unset.
10880 * sysdeps/unix/sysv/linux/configure: Regenerated.
10881
10882 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10883
10884 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10885 the `q' suffix from lea and replace .quad with ASM_ADDR.
10886
10887 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10888
10889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10890 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10891 instead of $17.
10892 (PTR_DEMANGLE): Likewise.
10893
10894 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10895
10896 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10897 (LP_OP): Likewise.
10898 (ASM_ADDR): Likewise.
10899 (RAX_LP): Likewise.
10900 (RBP_LP): Likewise.
10901 (RBX_LP): Likewise.
10902 (RCX_LP): Likewise.
10903 (RDI_LP): Likewise.
10904 (RSI_LP): Likewise.
10905 (RSP_LP): Likewise.
10906 (R8_LP): Likewise.
10907 (R9_LP): Likewise.
10908 (R10_LP): Likewise.
10909 (R10_LP): Likewise.
10910 (R11_LP): Likewise.
10911 (R12_LP): Likewise.
10912 (R13_LP): Likewise.
10913 (R14_LP): Likewise.
10914 (R15_LP): Likewise.
10915
10916 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10917
10918 * sysdeps/x86_64/x32/dl-machine.h: New file.
10919
10920 2012-05-14 Andreas Jaeger <aj@suse.de>
10921
10922 * manual/Makefile (subdir): Remove export of subdir.
10923 (all): Remove target.
10924 (.PHONY): Remove all from list.
10925 (mkinstalldirs): Remove.
10926 (.PHONY): Remove installdirs from list.
10927 ($(inst_infodir)/libc.info): Use make-target-directory.
10928 (installdirs): Remove.
10929 (subdir_%): Remove.
10930 (glibc-targets): Remove.
10931 (lib): Remove.
10932 (stubs): Remove.
10933 ($(objpfx)stubs ../po/manual.pot): Remove.
10934 ($(objpfx)stamp%): Remove.
10935 (make-target-directory): Remove.
10936 (subdir_install): Remove.
10937 (routines): Remove.
10938 (aux): Remove.
10939 (sources): Remove.
10940 (objects): Remove.
10941 (headers): Remove.
10942
10943 [BZ #13750]
10944 * manual/.gitignore: Remove, it's not needed anymore.
10945 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10946 all files in it.
10947 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10948 directory.
10949 (texis): Renamed to $(objpfx)texis.
10950 (texis-path): New, contains path to generated files.
10951 (chapters.%): Use texis-path for complete path, add extra argument
10952 libc-texinfo.sh.
10953 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10954 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10955 (summary,texi, stamp-summary): Use complete path of
10956 files. Generate files in build dir.
10957 (dir-add.texi): Build in build dir.
10958 (libm-err.texi,stamp-libm-err): Likewise.
10959 (version.texi, stamp-version): Likewise.
10960 (.%c.texi): Likewise.
10961 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10962 (mostlyclean): Remove target.
10963 (realclean): Remove target.
10964 (generated): Add new variable with contents from mostlyclean and
10965 realclean, remove entries duplicated in common-mostlyclean, add
10966 stamp-libm-err and stamp-version.
10967 (generated-dirs): Add libc directory.
10968 ($(inst_infodir)/libc.info): Install files from build dir.
10969
10970 * manual/install.texi (Configuring and compiling): Adjust since
10971 the info files are not part of the tar ball anymore.
10972
10973 2012-05-14 Andreas Jaeger <aj@suse.de>
10974
10975 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10976 variable.
10977
10978 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10979
10980 [BZ #13717]
10981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10982 to 2.2.0 where earlier.
10983 * sysdeps/unix/sysv/linux/configure: Regenerated.
10984 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10985 Remove conditional code.
10986 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10987 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10988 Remove conditional code.
10989 [!__NR_lchown]: Likewise.
10990 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10991 [__NR_lchown]: Likewise.
10992 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10993 comment referencing __ASSUME_LCHOWN_SYSCALL.
10994 * sysdeps/unix/sysv/linux/i386/sigaction.c
10995 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10996 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10997 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10998 Remove conditional code.
10999 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11000 (__protocol_available): Remove #if 0 code.
11001 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11002 conditional code.
11003 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11004 * sysdeps/unix/sysv/linux/kernel-features.h
11005 (__ASSUME_GETCWD_SYSCALL): Don't define.
11006 (__ASSUME_REALTIME_SIGNALS): Likewise.
11007 (__ASSUME_PREAD_SYSCALL): Likewise.
11008 (__ASSUME_PWRITE_SYSCALL): Likewise.
11009 (__ASSUME_POLL_SYSCALL): Likewise.
11010 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11011 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11012 non-SPARC.
11013 (__ASSUME_SIOCGIFNAME): Don't define.
11014 (__ASSUME_MSG_NOSIGNAL): Likewise.
11015 (__ASSUME_SENDFILE): Define unconditionally.
11016 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11017 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11018 conditional code.
11019 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11020 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11021 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11022 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11023 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11024 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11025 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11027 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11030 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11039 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11042 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11045 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11048 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11050 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11051 Remove conditional code.
11052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11053 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11054 Remove conditional code.
11055 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11056 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11057 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11058 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11059 Remove conditional code.
11060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11061 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11062 Remove conditional code.
11063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11064 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11065 Remove conditional code.
11066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11067 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11068 Remove conditional code.
11069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11070 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11071 Remove conditional code.
11072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11073 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11076 * sysdeps/unix/sysv/linux/sigaction.c
11077 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11078 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11079 * sysdeps/unix/sysv/linux/sigpending.c
11080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11082 * sysdeps/unix/sysv/linux/sigprocmask.c
11083 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11084 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11085 * sysdeps/unix/sysv/linux/sigsuspend.c
11086 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11087 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11088 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11089 (__libc_missing_rt_sigs): Remove.
11090 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11091 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11092 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11093 Remove conditional code.
11094 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11095 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11096 return 1.
11097 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11098 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11099 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11100 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11101
11102 2012-05-14 Andreas Jaeger <aj@suse.de>
11103
11104 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11105 it's not used in glibc.
11106 (__coshm1): Likewise.
11107 (__acosh1p): Likewise.
11108 (__sgn): Likewise.
11109
11110 * manual/string.texi (Copying and Concatenation): Add missing
11111 variable in concat example.
11112 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11113
11114 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11115
11116 [BZ #14103]
11117 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11118 __builtin_clzl with __builtin_clzll.
11119
11120 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11121
11122 [BZ #14104]
11123 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11124 libc_freeres_ptr.
11125
11126 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11127
11128 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11129 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11130 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11131 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11132
11133 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11134
11135 * NEWS: Update ia64 info.
11136
11137 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11138
11139 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11140 used as bcopy.
11141
11142 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11143
11144 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11145 * sysdeps/unix/syscalls.list (dup3): Likewise.
11146 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11147 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11148
11149 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11150
11151 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11152 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11153
11154 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11155
11156 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11157 thread pointer.
11158 (TLS_IE): Use mov/add instead of movq/addq to load thread
11159 pointer.
11160 (TLS_GD_PREFIX): New.
11161 (TLS_GD): Use it.
11162
11163 2012-05-11 David S. Miller <davem@davemloft.net>
11164
11165 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11166 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11167 (_FPU_SETCW): Likewise.
11168
11169 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11170
11171 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11172 is 32-byte aligned.
11173
11174 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11175
11176 [BZ #11837]
11177 * iconvdata/gb18030.c: Update tables.
11178 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11179 characters specially.
11180 (BODY for TO_LOOP): Add encoding of missing ranges.
11181
11182 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11183
11184 [BZ #13673]
11185 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11186 * sysdeps/mach/hurd/dup3.c: Likewise.
11187 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11188 * sysdeps/powerpc/memmove.c:: Likewise.
11189
11190 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11191
11192 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11193 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11194
11195 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11196
11197 * elf/elf.h (R_X86_64_RELATIVE64): New.
11198 (R_X86_64_NUM): Updated.
11199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11200 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11201 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11202 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11203 tst-quad1pie tst-quad2pie
11204 (modules-names): Add tst-quadmod1 tst-quadmod2.
11205 ($(objpfx)tst-quad1): New dependency.
11206 ($(objpfx)tst-quad2): Likewise.
11207 ($(objpfx)tst-quad1pie): Likewise.
11208 ($(objpfx)tst-quad2pie): Likewise.
11209 * sysdeps/x86_64/tst-quad1.c: New file.
11210 * sysdeps/x86_64/tst-quad1pie.c: New file.
11211 * sysdeps/x86_64/tst-quad2.c: Likewise.
11212 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11213 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11214 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11215 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11216 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11217
11218 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11219
11220 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11221 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11222 * streams/stropts.h (t_scalar_t): Define type.
11223
11224 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11225 (_PATH_PRESERVE): Set to "/var/lib".
11226 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11227
11228 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11229 instead of int.
11230
11231 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11232 if __dir_mkfile succeeded.
11233
11234 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11235 checking for _hurd_dtablesize. Unlock it right after having
11236 finished _hurd_dtable allocation.
11237
11238 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11239
11240 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11241 * sysdeps/mach/hurd/configure: Regenerated.
11242 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11243 special-casing to...
11244 * sysdeps/gnu/configure.in: ... this new file.
11245 * sysdeps/unix/sysv/linux/configure: Regenerated.
11246 * sysdeps/gnu/configure: New generated file.
11247
11248 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11249 for Linux: use nsec instead of usec, as well as:
11250 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11251 members of type struct timespec.
11252 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11253 New macros.
11254 (struct stat64): Likewise.
11255 (_STATBUF_ST_NSEC): New macro.
11256 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11257
11258 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11259 __strtoul_internal rather than strtoul.
11260
11261 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11262
11263 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11264 and reject them.
11265
11266 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11267
11268 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11269 which preserves existing values.
11270 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11271
11272 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11273
11274 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11275 TIMEOUT values. Return EINVAL for NFDS values either negative or
11276 greater than FD_SETSIZE.
11277
11278 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11279
11280 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11281 allocated, call __vm_protect to finish enabling the existing space, and
11282 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11283 allocate the remainder.
11284
11285 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11286
11287 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11288 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11289
11290 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11291
11292 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11293 sysdeps/mach/hurd/readlink.c.
11294
11295 * posix/tst-sysconf.c (posix_options): Only use
11296 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11297 _POSIX_SYNCHRONIZED_IO when they are defined
11298 * sysdeps/mach/hurd/bits/posix_opt.h:
11299 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11300 (_XOPEN_REALTIME): Undefine macro.
11301 (_XOPEN_REALTIME_THREADS): Undefine macro.
11302 (_XOPEN_SHM): Undefine macro.
11303 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11304 macro to -1.
11305 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11306 macro to -1.
11307 (_POSIX_ASYNC_IO): Undefine macro.
11308 (_POSIX_PRIORITIZED_IO): Undefine macro.
11309 (_POSIX_SPIN_LOCKS): Define macro to -1.
11310
11311 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11312 SA_NODEFER, SA_RESETHAND.
11313 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11314 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11315 F_DUPFD_CLOEXEC.
11316
11317 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11318
11319 * elf/Makefile (pldd-modules): Define unconditionally.
11320
11321 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11322
11323 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11324
11325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11326
11327 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11328 Return ENOENT when name is empty.
11329 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11330
11331 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11332
11333 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11334
11335 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11336
11337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11338
11339 Fix mlock in all cases except non-readable pages.
11340 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11341 instead of VM_PROT_ALL as parameter to __vm_wire function.
11342
11343 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11344 (__mkdir): When path is `/', just fail with EEXIST.
11345 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11346
11347 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11348
11349 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11350 <sys/uio.h> (for writev).
11351 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11352 and <sys/param.h> (for MIN).
11353
11354 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11355
11356 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11357 REQUESTED_TIME. Properly set the remaining time and return EINTR
11358 if interrupted.
11359
11360 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11361
11362 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11363 Depend on against $(link-rpcuserlibs).
11364
11365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11366
11367 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11368 (__libc_stack_end): Do not use attribute_relro.
11369 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11370 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11371 to libthread-provided value.
11372 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11373 attribute_relro.
11374
11375 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11376
11377 [BZ #3748]
11378 * bits/libc-lock.h (__libc_once_get): New macro.
11379 * sysdeps/mach/bits/libc-lock.h: Likewise.
11380 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11381 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11382 instead of using implementation details.
11383
11384 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11385 * libio/freopen.c: Likewise.
11386 * libio/freopen64.c: Likewise.
11387 * misc/syslog.c: Likewise.
11388 * nscd/connections.c: Likewise.
11389 * nscd/netgroupcache.c: Likewise.
11390 * sysdeps/posix/getcwd.c: Likewise.
11391
11392 2012-05-10 Roland McGrath <roland@hack.frob.com>
11393
11394 * math/w_ilogbf.c: Add #include <limits.h>.
11395
11396 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11397
11398 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11399 path instead of returning without unlocking.
11400
11401 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11402 immediate-write ioctls.
11403 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11404
11405 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11406
11407 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11408 __builtin_frame_address instead of making assumptions about the
11409 location of the return address relative to DATA. Force early load of
11410 the return address.
11411 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11412 __builtin_frame_address.
11413
11414 dup3 for GNU Hurd.
11415 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11416 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11417 implement dup3 and do some further code clean-ups.
11418 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11419 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11420
11421 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11422
11423 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11424
11425 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11426 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11427 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11428 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11429 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11430 d->port.lock.
11431
11432 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11433 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11434 when handler == SIG_ERR, not when handler != SIG_ERR.
11435
11436 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11437
11438 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11439 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11440 definitions.
11441
11442 accept4 for GNU Hurd.
11443 * include/sys/socket.h (__libc_accept4): New prototype.
11444 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11445 to implement __libc_accept4.
11446 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11447 __libc_accept4.
11448 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11449
11450 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11451 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11452 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11453 signal-defines.sym.
11454
11455 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11456
11457 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11458
11459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11460
11461 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11462 assertion on O_CLOEXEC flag.
11463 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11464 * hurd/intern-fd.c: Likewise.
11465 * hurd/port2fd.c: Likewise.
11466
11467 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11468
11469 [BZ #3906]
11470 * bits/in.h (IPV6_PKTINFO): Define new macro.
11471 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11472
11473 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11474
11475 [BZ #13954]
11476 [BZ #13955]
11477 [BZ #13956]
11478 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11479 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11480 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11481 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11482 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11483 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11484 * math/libm-test.inc (logb_test) : Additional logb tests.
11485
11486 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11487 Andreas Jaeger <aj@suse.de>
11488
11489 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11490 * configure: Regenerated.
11491 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11492 * config.make.in (link-obsolete-rpc): New substituted variable.
11493 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11494 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11495 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11496 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11497 so that libc.a contains the symbols.
11498 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11499 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11500 * sunrpc/auth_none.c: Likewise.
11501 * sunrpc/auth_unix.c: Likewise.
11502 * sunrpc/authdes_prot.c: Likewise.
11503 * sunrpc/authuxprot.c: Likewise.
11504 * sunrpc/clnt_gen.c: Likewise.
11505 * sunrpc/clnt_perr.c: Likewise.
11506 * sunrpc/clnt_raw.c: Likewise.
11507 * sunrpc/clnt_simp.c: Likewise.
11508 * sunrpc/clnt_tcp.c: Likewise.
11509 * sunrpc/clnt_udp.c: Likewise.
11510 * sunrpc/clnt_unix.c: Likewise.
11511 * sunrpc/des_crypt.c: Likewise.
11512 * sunrpc/des_soft.c: Likewise.
11513 * sunrpc/get_myaddr.c: Likewise.
11514 * sunrpc/key_call.c: Likewise.
11515 * sunrpc/key_prot.c: Likewise.
11516 * sunrpc/netname.c: Likewise.
11517 * sunrpc/pm_getmaps.c: Likewise.
11518 * sunrpc/pm_getport.c: Likewise.
11519 * sunrpc/pmap_clnt.c: Likewise.
11520 * sunrpc/pmap_prot.c: Likewise.
11521 * sunrpc/pmap_prot2.c: Likewise.
11522 * sunrpc/pmap_rmt.c: Likewise.
11523 * sunrpc/publickey.c: Likewise.
11524 * sunrpc/rpc_cmsg.c: Likewise.
11525 * sunrpc/rpc_common.c: Likewise.
11526 * sunrpc/rpc_dtable.c: Likewise.
11527 * sunrpc/rpc_prot.c: Likewise.
11528 * sunrpc/rpc_thread.c: Likewise.
11529 * sunrpc/rtime.c: Likewise.
11530 * sunrpc/svc.c: Likewise.
11531 * sunrpc/svc_auth.c: Likewise.
11532 * sunrpc/svc_raw.c: Likewise.
11533 * sunrpc/svc_run.c: Likewise.
11534 * sunrpc/svc_tcp.c: Likewise.
11535 * sunrpc/svc_udp.c: Likewise.
11536 * sunrpc/svc_unix.c: Likewise.
11537 * sunrpc/svcauth_des.c: Likewise.
11538 * sunrpc/xcrypt.c: Likewise.
11539 * sunrpc/xdr.c: Likewise.
11540 * sunrpc/xdr_array.c: Likewise.
11541 * sunrpc/xdr_float.c: Likewise.
11542 * sunrpc/xdr_intXX_t.c: Likewise.
11543 * sunrpc/xdr_mem.c: Likewise.
11544 * sunrpc/xdr_rec.c: Likewise.
11545 * sunrpc/xdr_ref.c: Likewise.
11546 * sunrpc/xdr_sizeof.c: Likewise.
11547 * sunrpc/xdr_stdio.c: Likewise.
11548
11549 2012-05-10 Roland McGrath <roland@hack.frob.com>
11550
11551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11552 change. Update copyright years.
11553
11554 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11555
11556 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11557
11558 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11559 Joseph Myers <joseph@codesourcery.com>
11560 Paul Pluzhnikov <ppluzhnikov@google.com>
11561
11562 [BZ #14012]
11563 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11564 requiring rpcgen.
11565 [cross-compiling] (extra-libs): Likewise.
11566 [cross-compiling] (extra-libs-others): Likewise.
11567 [cross-compiling] (librpcsvc-routines): Likewise.
11568 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11569 [cross-compiling] (omit-deps): Likewise.
11570 (sunrpc-CPPFLAGS): New variable.
11571 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11572 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11573 (cross-rpcgen-objs): New variable.
11574 (extra-objs): Append $(cross-rpcgen-objs).
11575 ($(cross-rpcgen-objs)): New rule.
11576 ($(objpfx)cross-rpcgen): Likewise.
11577 (rpcgen-cmd): Define to use $(built-program-file). Expand
11578 comment.
11579 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11580 ($(objpfx)x%.stmp): Likewise.
11581 * sunrpc/proto.h [IS_IN_build] (_): Define.
11582 [IS_IN_build] (_libc_intl_domainname): Likewise.
11583
11584 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11585
11586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11587 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11588 and R_X86_64_TPOFF64.
11589
11590 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11591
11592 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11593 sysdeps/unix/sysv/syscalls.list.
11594 (stime): Likewise.
11595 (utime): Likewise.
11596 * sysdeps/unix/sysv/syscalls.list: Remove file.
11597
11598 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11599
11600 [BZ #3440]
11601 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11602 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11603 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11604 (__LC_IDENTIFICATION): Make these macros useful in #if
11605 expressions, as required by C99.
11606
11607 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11608
11609 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11610 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11611 after this.
11612
11613 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11614
11615 * stdlib/longlong.h: Updated from GCC.
11616
11617 2012-05-09 Andreas Jaeger <aj@suse.de>
11618
11619 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11620 default is first entry.
11621 (run_mode): Set type.
11622 (main): Remove informal message about syslog.
11623 (options): Fix typo.
11624
11625 [BZ #14053]
11626 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11627 to asm.
11628 (lrint): Likewise.
11629 (llrintf): Likewise.
11630 (llrint): Likewise.
11631 (rint): Likewise.
11632 (rintf): Likewise.
11633 (nearbyint): Likewise.
11634 (nearbyintf): Likewise.
11635
11636 2012-05-09 Andreas Jaeger <aj@suse.de>
11637 Pedro Alves <palves@redhat.com>
11638
11639 * nscd/nscd.c (run_mode): Use enum.
11640 (main): Cleanup coding style issue.
11641
11642 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
11643 Andreas Jaeger <aj@suse.de>
11644
11645 * nscd/nscd.c (go_background): Replaced with...
11646 (run_mode): ... this.
11647 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
11648 (options): Add -F --foreground.
11649 (main): Implement it.
11650 (parse_opt): Parse it.
11651
11652 2012-05-09 Andreas Jaeger <aj@suse.de>
11653
11654 [BZ #14083]
11655 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11656 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11657 -Wconversion warning.
11658 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11659 Likewise.
11660
11661 2012-05-09 Joseph Myers <joseph@codesourcery.com>
11662
11663 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11664 == 0.
11665 (LC_ALL): Use macro-int-constant.
11666 (LC_COLLATE): Likewise.
11667 (LC_CTYPE): Likewise.
11668 (LC_MESSAGES): Likewise.
11669 (LC_MONETARY): Likewise.
11670 (LC_NUMERIC): Likewise.
11671 (LC_TIME): Likewise.
11672 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11673 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11675 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11676 Specify type.
11677 [C99-based standards] (float_t): Expect type.
11678 [C99-based standards] (double_t): Expect type.
11679 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11680 type.
11681 [C99-based standards] (HUGE_VALL): Likewise.
11682 [C99-based standards] (INFINITY): Likewise.
11683 [C99-based standards] (NAN): Likewise.
11684 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11685 [C99-based standards] (FP_NAN): Likewise.
11686 [C99-based standards] (FP_NORMAL): Likewise.
11687 [C99-based standards] (FP_SUBNORMAL): Likewise.
11688 [C99-based standards] (FP_ZERO): Likewise.
11689 [C99-based standards] (FP_FAST_FMA): Use
11690 optional-macro-int-constant. Specify type. Require == 1.
11691 [C99-based standards] (FP_FAST_FMAF): Likewise.
11692 [C99-based standards] (FP_FAST_FMAL): Likewise.
11693 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11694 [C99-based standards] (FP_ILOGBNAN): Likewise.
11695 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11696 Specify type.
11697 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11698 [C99-based standards] (math_errhandling): Specify type.
11699 [ISO99 || ISO11] (signgam): Do not allow.
11700 [non-C99-based standards] (copysignf): Do not allow.
11701 [non-C99-based standards] (exp2f): Likewise.
11702 [non-C99-based standards] (log2f): Likewise.
11703 [non-C99-based standards] (modff): Allow.
11704 [non-C99-based standards] (erff): Do not allow.
11705 [non-C99-based standards] (erfcf): Likewise.
11706 [non-C99-based standards] (gammaf): Likewise.
11707 [non-C99-based standards] (hypotf): Likewise.
11708 [non-C99-based standards] (j0f): Likewise.
11709 [non-C99-based standards] (j1f): Likewise.
11710 [non-C99-based standards] (jnf): Likewise.
11711 [non-C99-based standards] (lgammaf): Likewise.
11712 [non-C99-based standards] (tgammaf): Likewise.
11713 [non-C99-based standards] (y0f): Likewise.
11714 [non-C99-based standards] (y1f): Likewise.
11715 [non-C99-based standards] (ynf): Likewise.
11716 [non-C99-based standards] (isnanf): Likewise.
11717 [non-C99-based standards] (acoshf): Likewise.
11718 [non-C99-based standards] (asinhf): Likewise.
11719 [non-C99-based standards] (atanhf): Likewise.
11720 [non-C99-based standards] (cbrtf): Likewise.
11721 [non-C99-based standards] (expm1f): Likewise.
11722 [non-C99-based standards] (ilogbf): Likewise.
11723 [non-C99-based standards] (log1pf): Likewise.
11724 [non-C99-based standards] (logbf): Likewise.
11725 [non-C99-based standards] (nextafterf): Likewise.
11726 [non-C99-based standards] (remainderf): Likewise.
11727 [non-C99-based standards] (rintf): Likewise.
11728 [non-C99-based standards] (scalbf): Likewise.
11729 [non-C99-based standards] (copysignl): Likewise.
11730 [non-C99-based standards] (exp2l): Likewise.
11731 [non-C99-based standards] (log2l): Likewise.
11732 [non-C99-based standards] (modfl): Allow.
11733 [non-C99-based standards] (erfl): Do not allow.
11734 [non-C99-based standards] (erfcl): Likewise.
11735 [non-C99-based standards] (gammal): Likewise.
11736 [non-C99-based standards] (hypotl): Likewise.
11737 [non-C99-based standards] (j0l): Likewise.
11738 [non-C99-based standards] (j1l): Likewise.
11739 [non-C99-based standards] (jnl): Likewise.
11740 [non-C99-based standards] (lgammal): Likewise.
11741 [non-C99-based standards] (tgammal): Likewise.
11742 [non-C99-based standards] (y0l): Likewise.
11743 [non-C99-based standards] (y1l): Likewise.
11744 [non-C99-based standards] (ynl): Likewise.
11745 [non-C99-based standards] (isnanl): Likewise.
11746 [non-C99-based standards] (acoshl): Likewise.
11747 [non-C99-based standards] (asinhl): Likewise.
11748 [non-C99-based standards] (atanhl): Likewise.
11749 [non-C99-based standards] (cbrtl): Likewise.
11750 [non-C99-based standards] (expm1l): Likewise.
11751 [non-C99-based standards] (ilogbl): Likewise.
11752 [non-C99-based standards] (log1pl): Likewise.
11753 [non-C99-based standards] (logbl): Likewise.
11754 [non-C99-based standards] (nextafterl): Likewise.
11755 [non-C99-based standards] (remainderl): Likewise.
11756 [non-C99-based standards] (rintl): Likewise.
11757 [non-C99-based standards] (scalbl): Likewise.
11758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11759 [non-C99-based standards] (FP_*): Do not allow.
11760 [C99-based standards] (FP_*): Change to
11761 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11762 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11763 allow.
11764 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11765 (SIG_ERR): Likewise.
11766 [X/Open-based standards] (SIG_HOLD): Likewise.
11767 (SIG_IGN): Likewise.
11768 (SIGABRT): Use macro-int-constant. Specify type. Require
11769 positive value.
11770 (SIGFPE): Likewise.
11771 (SIGILL): Likewise.
11772 (SIGINT): Likewise.
11773 (SIGSEGV): Likewise.
11774 (SIGTER): Likewise.
11775 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11776 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11777 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11778 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11779 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11780 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11781 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11782 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11783 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11784 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11785 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11786 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11787 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11788 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11789 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11790 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11791 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11792 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11793 [X/Open-based standards] (SIGTRAP): Likewise.
11794 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11795 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11796 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11797 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11798 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11799 allow.
11800
11801 2012-05-08 Ian Wienand <ianw@vmware.com>
11802
11803 [BZ #14080]
11804 * time/tzset.c (__tzset_parse_tz): Update default rules for
11805 daylight time changes in the Energy Policy Act of 2005.
11806
11807 2012-05-09 Andreas Jaeger <aj@suse.de>
11808
11809 [BZ #13983]
11810 * elf/ldconfig.c (parse_conf): Change string to make clear that
11811 ldconfig only issued a warning if ld.so.conf does not exist.
11812
11813 2012-05-08 David S. Miller <davem@davemloft.net>
11814
11815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11816 movxtod instead of popping the value on the stack.
11817
11818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11819
11820 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11821
11822 * config.h.in: Add HAVE_ARM_PCS_VFP.
11823
11824 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
11825
11826 [BZ #13979]
11827 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11828 checking but the checks are disabled for any reason.
11829
11830 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11831
11832 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11833 and ELF64_R_TYPE with ELFW(R_TYPE).
11834
11835 2012-05-08 Joseph Myers <joseph@codesourcery.com>
11836
11837 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11838 (ulimit): Likewise.
11839
11840 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11841 (settimeofday): Likewise.
11842
11843 2012-05-08 Mike Frysinger <vapier@gentoo.org>
11844
11845 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11846 a struct th_u2 inside the union, and move tu_block/tu_code into
11847 a new th_u3 union of tu_block/tu_code inside of that. Move
11848 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11849 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11850 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11851 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11852 (th_stuff): Change to th_u1.tu_stuff.
11853 (th_data): Define.
11854 (th_msg): Change to th_u1.th_u2.tu_data.
11855
11856 2012-05-07 David S. Miller <davem@davemloft.net>
11857
11858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11859
11860 [BZ #14074]
11861 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11862 (SETUP_PIC_REG): Use it.
11863 (SETUP_PIC_REG_LEAF): Use it.
11864
11865 2012-05-07 Joseph Myers <joseph@codesourcery.com>
11866
11867 [BZ #13885]
11868 [BZ #13923]
11869 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11870 USE_AS_EXPM1L.
11871 (EXPL_FINITE): Likewise.
11872 (FLDLOG): Likewise.
11873 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11874 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11875 e_expl.S.
11876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11877 USE_AS_EXPM1L.
11878 (EXPL_FINITE): Likewise.
11879 (FLDLOG): Likewise.
11880 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11881 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11882 e_expl.S.
11883 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11884 test of -max_value argument for long double.
11885 * sysdeps/i386/fpu/libm-test-ulps: Update.
11886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11887
11888 2012-05-06 David S. Miller <davem@davemloft.net>
11889
11890 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11891 quad soft-float symbols whose references which are compiler
11892 generated.
11893 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11894
11895 2012-05-06 Joseph Myers <joseph@codesourcery.com>
11896
11897 [BZ #13884]
11898 [BZ #13914]
11899 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11900 USE_AS_EXP10L.
11901 (EXPL_FINITE): Likewise.
11902 (FLDLOG): Likewise.
11903 (c0): Likewise.
11904 (c1): Likewise.
11905 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11906 Adjust comments for base varying.
11907 (__expl_finite): Change alias to EXPL_FINITE.
11908 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11909 e_expl.S.
11910 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11911 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11913 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11914 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11915 USE_AS_EXP10L.
11916 (EXPL_FINITE): Likewise.
11917 (FLDLOG): Likewise.
11918 (c0): Likewise.
11919 (c1): Likewise.
11920 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11921 Adjust comments for base varying.
11922 (__expl_finite): Change alias to EXPL_FINITE.
11923 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11924 tests for bugs.
11925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11926
11927 [BZ #14064]
11928 * math/libm-test.inc (check_float_internal): Correct ulp
11929 calculation for subnormal expected results.
11930
11931 2012-05-06 Andreas Jaeger <aj@suse.de>
11932
11933 * Makeconfig (+math-flags): New, set to -frounding-math.
11934 (+cflags): Add +math-flags so that all of glibc gets compiled with
11935 it.
11936
11937 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11938
11939 2012-05-05 Joseph Myers <joseph@codesourcery.com>
11940
11941 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11942 Disable one test.
11943
11944 [BZ #13787]
11945 [BZ #13922]
11946 [BZ #14036]
11947 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11948 (__ieee754_expl): Allow for and saturate large arguments.
11949 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11950 (u_threshold): Likewise.
11951 (__exp): Call __ieee754_exp before checking for overflow and
11952 underflow.
11953 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11954 (u_threshold): Likewise.
11955 (__expf): Call __ieee754_expf before checking for overflow and
11956 underflow.
11957 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11958 (u_threshold): Likewise.
11959 (__expl): Call __ieee754_expl before checking for overflow and
11960 underflow.
11961 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11962 (__ieee754_expl): Allow for and saturate large arguments.
11963 * math/libm-test.inc (exp_test): Add another test. Do not allow
11964 missing overflow exception on overflow.
11965 (expm1_test): Do not allow missing overflow exception on overflow.
11966
11967 * sysdeps/i386/fpu/e_expl.c: Move to ...
11968 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11969 rather than using inline asm.
11970 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11971 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11972 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11973
11974 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11975 (nice): Likewise.
11976 (poll): Likewise.
11977 (signal): Likewise.
11978 (time): Likewise.
11979 (times): Likewise.
11980
11981 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11982
11983 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11984 sysdeps/unix/common/syscalls.list.
11985 (fchmod): Likewise.
11986 (fchown): Likewise.
11987 (ftruncate): Likewise.
11988 (getrusage): Likewise.
11989 (gettimeofday): Likewise.
11990 (setpgid): Likewise.
11991 (setregid): Likewise.
11992 (setreuid): Likewise.
11993 (sigaction): Likewise.
11994 (truncate): Likewise.
11995 (vhangup): Likewise.
11996 * sysdeps/unix/common/syscalls.list: Remove file.
11997 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11998 * sysdeps/unix/sysv/linux/Implies: Likewise.
11999
12000 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12004 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12005 Moved to ...
12006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12007 Here.
12008 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12009 to ...
12010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12011 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12012 to ...
12013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12014 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12015 to ...
12016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12017 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12018 to ...
12019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12020 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12021 to ...
12022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12023 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12024 to ...
12025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12026 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12027 to ...
12028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12029 Here.
12030 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12031 to ...
12032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12033 Here.
12034 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12035 to ...
12036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12037 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12038 Moved to ...
12039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12040 Here.
12041 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12042 to ...
12043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12044
12045 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12046
12047 * sysdeps/unix/common/bits/dirent.h: Remove file.
12048 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12049
12050 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12051 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12052 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12053 * sysdeps/unix/bsd/isatty.c: Likewise.
12054 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12055 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12056 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12057
12058 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12059
12060 [BZ #13563]
12061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12062 long double comparison inaccuracies.
12063 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12065
12066 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12067
12068 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12069 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12070
12071 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12072
12073 [BZ #14049]
12074 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12075 nonzero digits before rounding a hex value.
12076 * stdlib/tst-strtod.c (tests): Add another test.
12077
12078 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12079
12080 * sysdeps/s390/fpu/libm-test-ulps: Update.
12081
12082 2012-05-03 Andreas Jaeger <aj@suse.de>
12083
12084 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12085 does not get optimized out.
12086 (malloc_opt_barrier): New.
12087
12088 2012-05-03 Andreas Jaeger <aj@suse.de>
12089 Roland McGrath <roland@hack.frob.com>
12090
12091 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12092 intermediate file deletion.
12093 (generated): Add .symlist files.
12094
12095 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12096
12097 [BZ #13775]
12098 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12099 Redirect under this condition.
12100 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12101 [__USE_GNU] (__dprintf_chk): Not under this condition.
12102 [__USE_GNU] (__vdprintf_chk): Likewise.
12103 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12104 under this condition.
12105 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12106 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12107 [__USE_XOPEN2K8] (vdprintf): Likewise.
12108 [__USE_GNU] (__dprintf_chk): Not under this condition.
12109 [__USE_GNU] (__vdprintf_chk): Likewise.
12110 [__USE_GNU] (dprintf): Likewise.
12111 [__USE_GNU] (vdprintf): Likewise.
12112
12113 2012-05-03 Roland McGrath <roland@hack.frob.com>
12114
12115 * elf/Makefile (common-generated): Set this instead of generated for
12116 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12117 $(all-built-dso)-derived lists.
12118
12119 2012-05-03 Andreas Jaeger <aj@suse.de>
12120
12121 * sysdeps/i386/fpu/libm-test-ulps: Update.
12122
12123 * FAQ: Removed.
12124 * FAQ.in: Likewise.
12125 * scripts/gen-FAQ.pl: Likewise.
12126 * manual/install.texi (Installation): Point to online location of
12127 FAQ.
12128 * Makefile (files-for-dist): Remove FAQ.
12129 (FAQ): Remove.
12130
12131 2012-05-02 Allan McRae <allan@archlinux.org>
12132
12133 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12134 (LDFLAGS-reldepmod5.so): Likewise.
12135 (LDFLAGS-reldep6mod1.so): Likewise.
12136 (LDFLAGS-reldep6mod4.so): Likewise.
12137 (LDFLAGS-reldep8mod3.so): Likewise.
12138 (LDFLAGS-unload4mod1.so): Likewise.
12139 (LDFLAGS-unload4mod2.so): Likewise.
12140 (LDFLAGS-tst-initorder): Likewise.
12141 (LDFLAGS-tst-initordera2.so): Likewise.
12142 (LDFLAGS-tst-initordera3.so): Likewise.
12143 (LDFLAGS-tst-initordera4.so): Likewise.
12144 (LDFLAGS-tst-initorderb2.so): Likewise.
12145 (LDFLAGS-noload): Likewise.
12146 (LDFLAGS-next): Likewise.
12147 (LDFLAGS-order2mod1.so): Likewise.
12148 (LDFLAGS-order2mod2.so): Likewise.
12149 (LDFLAGS-tst-initorder2): Likewise.
12150 (LDFLAGS-tst-initorder2a.so): Likewise.
12151 (LDFLAGS-tst-initorder2b.so): Likewise.
12152 (LDFLAGS-tst-initorder2c.so): Likewise.
12153 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12154
12155 2012-05-02 David S. Miller <davem@davemloft.net>
12156
12157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12158
12159 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12160
12161 [BZ #14055]
12162 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12163
12164 2012-05-02 Andreas Jaeger <aj@suse.de>
12165
12166 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12167 since we manipulate rounding mode.
12168 (CPPFLAGS-test-idouble.c): Likewise.
12169 (CPPFLAGS-test-ifloat.c): Likewise.
12170 (CFLAGS-test-ldouble.c): Likewise.
12171 (CFLAGS-test-double.c): Likewise.
12172 (CFLAGS-test-float.c): Likewise.
12173 (CFLAGS-test-misc.c): Likewise.
12174 (CFLAGS-test-test-fenv.c): Likewise.
12175
12176 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12177
12178 [BZ #2550]
12179 [BZ #2570]
12180 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12181 comparisons to determine direction to adjust input.
12182
12183 2012-05-01 Roland McGrath <roland@hack.frob.com>
12184
12185 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12186 output to the target.
12187
12188 * scripts/localplt.awk: New file.
12189 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12190 (check-localplt-CFLAGS): Variable removed.
12191 ($(all-built-dso:=.jmprel)): New static pattern rule.
12192 (generated): Add those targets.
12193 (localplt-built-dso): New variable.
12194 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12195
12196 * elf/check-localplt.c: File removed.
12197
12198 * scripts/check-execstack.awk: New file.
12199 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12200 (check-execstack-CFLAGS): Variable removed.
12201 ($(objpfx)check-execstack.h): Target removed.
12202 ($(objpfx)execstack-default): New target.
12203 (generated): Add that instead of check-execstack.h.
12204 ($(all-built-dso:=.phdr)): New static pattern rule.
12205 (generated): Add those targets.
12206 * elf/check-execstack.c: File removed.
12207
12208 * scripts/check-textrel.awk: New file.
12209 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12210 (check-textrel-CFLAGS): Variable removed.
12211 (all-built-dso): Use := to define.o
12212 ($(all-built-dso:=.dyn)): New static pattern rule.
12213 (generated): Add those targets.
12214 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12215 * config.make.in (READELF): New substituted variable.
12216 * elf/check-textrel.c: File removed.
12217
12218 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12219
12220 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12221 allow.
12222 * conform/data/ctype.h-data [C99-based standards] (isblank):
12223 Expect function.
12224 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12225 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12227 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12228 Specify type. Require positive value.
12229 (EILSEQ): Likewise.
12230 (ERANGE): Likewise.
12231 [ISO || POSIX] (EILSEQ): Do not expect.
12232 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12233 Specify type. Require positive value.
12234 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12235 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12236 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12237 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12238 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12239 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12240 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12241 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12242 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12243 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12244 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12245 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12246 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12247 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12248 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12249 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12250 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12251 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12252 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12253 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12254 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12255 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12256 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12257 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12258 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12259 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12260 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12261 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12262 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12263 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12264 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12265 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12266 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12267 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12268 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12269 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12270 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12271 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12272 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12273 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12274 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12275 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12276 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12277 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12278 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12279 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12280 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12281 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12282 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12283 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12284 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12285 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12286 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12287 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12288 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12289 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12290 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12291 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12292 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12293 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12294 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12295 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12296 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12297 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12298 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12299 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12300 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12301 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12302 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12303 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12304 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12305 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12306 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12307 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12308 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12309 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12310 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12311 Require >= 2.
12312 (FLT_ROUNDS): Expect as macro, not constant.
12313 (FLT_MANT_DIG): Use macro-int-constant.
12314 (DBL_MANT_DIG): Likewise.
12315 (LDBL_MANT_DIG): Likewise.
12316 (FLT_DIG): Likewise.
12317 (DBL_DIG): Likewise.
12318 (LDBL_DIG): Likewise.
12319 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12320 (DBL_MIN_EXP): Likewise.
12321 (LDBL_MIN_EXP): Likewise.
12322 (FLT_MAX_EXP): Use macro-int-constant.
12323 (DBL_MAX_EXP): Likewise.
12324 (LDBL_MAX_EXP): Likewise.
12325 (FLT_MAX_10_EXP): Likewise.
12326 (DBL_MAX_10_EXP): Likewise.
12327 (LDBL_MAX_10_EXP): Likewise.
12328 (FLT_MAX): Use macro-constant.
12329 (DBL_MAX): Likewise.
12330 (LDBL_MAX): Likewise.
12331 (FLT_EPSILON): Use macro-constant. Give upper bound.
12332 (DBL_EPSILON): Likewise.
12333 (LDBL_EPSILON): Likewise.
12334 (FLT_MIN): Likewise.
12335 (DBL_MIN): Likewise.
12336 (LDBL_MIN): Likewise.
12337 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12338 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12339 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12340 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12341 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12342 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12343 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12344 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12345 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12346 [ISO11] (FLT_TRUE_MIN): Likewise.
12347 [ISO11] (LDBL_TRUE_MIN): Likewise.
12348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12349 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12350 (SCHAR_MIN): Use macro-int-constant. Specify type.
12351 (SCHAR_MAX): Likewise.
12352 (UCHAR_MAX): Likewise.
12353 (CHAR_MIN): Likewise.
12354 (CHAR_MAX): Likewise.
12355 (MB_LEN_MAX): Use macro-int-constant.
12356 (SHRT_MIN): Use macro-int-constant. Specify type.
12357 (SHRT_MAX): Likewise.
12358 (USHRT_MAX): Likewise.
12359 (INT_MAX): Likewise.
12360 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12361 bound negative.
12362 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12363 bound with "U".
12364 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12365 bound with "L".
12366 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12367 bound negative. Suffix upper bound with "L".
12368 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12369 bound with "UL".
12370 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12371 Specify type.
12372 [C99-based standards] (LLONG_MAX): Likewise.
12373 [C99-based standards] (ULLONG_MAX): Likewise.
12374 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12375 == 0.
12376 [ISO11] (max_align_t): Require type.
12377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12378
12379 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12380 from $CFLAGS, without defining away __attribute__ calls.
12381 (checknamespace): Use $CFLAGS_namespace.
12382
12383 * conform/conformtest.pl (@keywords): Only include C99 keywords
12384 for standards based on C99 or C11.
12385
12386 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12387 Disable tests.
12388 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12389 UNIX98]: Likewise.
12390
12391 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12392 usability of symbols in #if.
12393
12394 * conform/conformtest.pl: If macro or constant types start
12395 "promoted:", expect the symbol to be of the following type
12396 promoted by the integer promotions.
12397
12398 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12399 in one place. Also handle "macro-constant".
12400
12401 * conform/conformtest.pl: Only accept expected macro values with
12402 "==". Parse all "macro" lines in one place.
12403 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12404
12405 * conform/conformtest.pl: Handle braced types on "constant" lines
12406 instead of handling "typed-constant".
12407 * conform/data/signal.h-data: Use "constant" instead of
12408 "typed-constant".
12409
12410 * conform/conformtest.pl: Handle "optional-" at start of lines in
12411 one place rather than duplicating several cases. Handle each
12412 format of "macro" line with initial "optional-".
12413
12414 * conform/conformtest.pl: Only accept expected constant or
12415 optional-constant values with "==". Parse all "constant" lines in
12416 one place. Parse all "optional-constant" lines in one place.
12417 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12418 * conform/data/fmtmsg.h-data: Likewise.
12419 * conform/data/netinet/in.h-data: Likewise.
12420 * conform/data/tar.h-data: Likewise.
12421 * conform/data/limits.h-data: Use "==" form on "constant" and
12422 "optional-constant" lines.
12423
12424 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12425 Use -std=c99 for XOPEN2K.
12426 (@knownproblems): Remove.
12427 (newtoken): Don't check %isknown.
12428
12429 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12430 Do not expect macro.
12431 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12432 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12433 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12434 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12435 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12436 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12437 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12438 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12439 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12440 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12441 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12442 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12443 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12444 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12445 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12446 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12447 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12448 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12449 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12450 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12451 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12452 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12453 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12454 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12455 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12456 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12457 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12458 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12459 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12460 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12461 [XPG3] (acosh): Likewise.
12462 [XPG3] (asinh): Likewise.
12463 [XPG3] (atanh): Likewise.
12464 [XPG3] (cbrt): Likewise.
12465 [XPG3] (expm1): Likewise.
12466 [XPG3] (ilogb): Likewise.
12467 [XPG3] (log1p): Likewise.
12468 [XPG3] (logb): Likewise.
12469 [XPG3] (nextafter): Likewise.
12470 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12471 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12472 [XPG3] (remainder): Likewise.
12473 [XPG3] (rint): Likewise.
12474 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12475 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12476 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12477 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12478 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12479 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12480 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12481 [UNIX98 || XOPEN2K] (scalb): Expect.
12482 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12483 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12484 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12485 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12486 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12487 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12488 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12489 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12490 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12491 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12492 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12493 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12494 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12495 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12496 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12497 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12498 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12499 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12500 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12501 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12502 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12503 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12504 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12505 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12506 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12507 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12508 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12509 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12510 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12511 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12512 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12513 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12514 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12515 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12516 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12517 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12518 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12519 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12520 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12521 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12522 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12523 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12524 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12525 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12526 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12527 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12528 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12529 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12530 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12531 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12532 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12533 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12534 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12535 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12536 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12537 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12538 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12539 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12540 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12541 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12542 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12543 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12544 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12545 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12546 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12547 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12548 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12549 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12550 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12551 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12552 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12553 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12554 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12555 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12556 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12557 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12558 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12559 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12560 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12561 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12562 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12563 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12564 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12565 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12566 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12567 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12568 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12569 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12570 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12571 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12572 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12573 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12574 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12575 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12576 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12577 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12580 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12581 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12582 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12583 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12584 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12585 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12586 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12587 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12588 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12589 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12590 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12591 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12592 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12599 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12600 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12601 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12602 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12603 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12604 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12605 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12606 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12607 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12608 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12609 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12610 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12611 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12613 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12614 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12615 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12616 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12617 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12618 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12619
12620 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12621 _XOPEN_SOURCE_EXTENDED for XPG4.
12622
12623 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12624
12625 * Makeconfig (localtime): Remove variable.
12626 (inst_localtime-file): Likewise.
12627
12628 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12629
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12631 Update.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12633 Update.
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12635 Update.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12637 Update.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12639 Update.
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12641 Update.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12643 Update.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12645 Update.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12647 Update.
12648
12649 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12650
12651 [BZ #2550]
12652 [BZ #2570]
12653 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12654 comparisons to determine direction to adjust input.
12655 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12656 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12657 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12658 Likewise.
12659 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12660 Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12662 Likewise.
12663 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12664 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12665 Likewise.
12666 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12667 Likewise.
12668 * math/libm-test.inc (nexttoward_test): Add more tests.
12669
12670 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12671
12672 [BZ #14040]
12673 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12674 in version GLIBC_2.1, not GLIBC_2.0.
12675 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12676 Likewise.
12677
12678 2012-04-30 Joseph Myers <joseph@codesourcery.com>
12679
12680 [BZ #13942]
12681 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12682 (1 - x) * (1 + x).
12683 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12684 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12685 * math/libm-test.inc (acos_test): Add more tests.
12686 (asin_test): Likewise.
12687 * sysdeps/i386/fpu/libm-test-ulps: Update.
12688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12689
12690 [BZ #14034]
12691 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12692 of square root.
12693 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12694 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12695 * math/libm-test.inc (acos_test_tonearest): New function.
12696 (acos_test_towardzero): Likewise.
12697 (acos_test_downward): Likewise.
12698 (acos_test_upward): Likewise.
12699 (asin_test_tonearest): Likewise.
12700 (asin_test_towardzero): Likewise.
12701 (asin_test_downward): Likewise.
12702 (asin_test_upward): Likewise.
12703 (main): Call the new functions.
12704 * sysdeps/i386/fpu/libm-test-ulps: Update.
12705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12706
12707 [BZ #13884]
12708 [BZ #13924]
12709 * math/e_exp10.c: Include <float.h>.
12710 (__ieee754_exp10): Handle underflow here rather than multiplying
12711 large negative argument by M_LN10.
12712 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12713 of __ieee754_expf.
12714 * math/e_exp10l.c: Include <float.h>.
12715 (__ieee754_exp10l): Handle underflow here rather than multiplying
12716 large negative argument by M_LN10l.
12717 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12718 spurious overflow exception on underflow.
12719
12720 2012-04-29 Marek Polacek <polacek@redhat.com>
12721
12722 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12723 (__fortify_function): New macro.
12724 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12725 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12726 __extern_always_inline.
12727 * libio/bits/stdio2.h: Likewise.
12728 * libio/bits/stdio.h: Likewise.
12729 * string/string.h: Likewise.
12730 * string/bits/string3.h: Likewise.
12731 * include/stdio.h: Likewise.
12732 * stdlib/bits/stdlib.h: Likewise.
12733 * stdlib/stdlib.h: Likewise.
12734 * rt/bits/mqueue2.h: Likewise.
12735 * rt/mqueue.h: Likewise.
12736 * posix/bits/unistd.h: Likewise.
12737 * posix/unistd.h: Likewise.
12738 * io/bits/poll2.h: Likewise.
12739 * io/bits/fcntl2.h: Likewise.
12740 * io/fcntl.h: Likewise.
12741 * io/sys/poll.h: Likewise.
12742 * misc/bits/syslog.h: Likewise.
12743 * misc/bits/syslog-ldbl.h: Likewise.
12744 * misc/sys/syslog.h: Likewise.
12745 * socket/bits/socket2.h: Likewise.
12746 * socket/sys/socket.h: Likewise.
12747 * debug/tst-chk1.c: Likewise.
12748 * wcsmbs/bits/wchar2.h: Likewise.
12749 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12750 * wcsmbs/wchar.h: Likewise.
12751
12752 2012-04-29 Andreas Jaeger <aj@suse.de>
12753
12754 * Makerules (tests): Remove enable-check-abi protection.
12755 (check-abi-warn): Remove.
12756 (check-abi-%): Remove check-abi-warn usage.
12757
12758 * configure.in: Remove check-abi configure option.
12759 * configure: Regenerated.
12760 * config.make.in (enable-check-abi): Remove.
12761
12762 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12763
12764 [BZ #14033]
12765 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12766 double functions to double *_finite functions.
12767
12768 [BZ #13941]
12769 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12770 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12771 LDBL_MIN_EXP.
12772 * stdio-common/Makefile (tests): Add tst-sprintf3.
12773 * stdio-common/tst-sprintf3.c: New file.
12774
12775 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12776 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12777
12778 2012-04-28 Joseph Myers <joseph@codesourcery.com>
12779
12780 * conform/conformtest.pl: Remove duplicate typed-constant
12781 handling.
12782
12783 2012-04-28 David S. Miller <davem@davemloft.net>
12784
12785 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12786 (check-abi-%): Remove AWK script prerequisite and explicit
12787 abilist directory.
12788 (check-abi): Rewrite to just diff the symlist with the abilist.
12789 (config-tls, config-abi-config): Delete, no longer used.
12790 (update-abi-%): Remove AWK script and explicit abilist directory.
12791 (update-abi): Rewrite to simply compare and conditionally copy the
12792 symlist and the sysdep abilist file. Remove update-abi-config
12793 checks.
12794 * abilist/ld.abilist: Remove.
12795 * abilist/libBrokenLocale.abilist: Remove.
12796 * abilist/libanl.abilist: Remove.
12797 * abilist/libcrypt.abilist: Remove.
12798 * abilist/libdl.abilist: Remove.
12799 * abilist/librt.abilist: Remove.
12800 * abilist/libthread_db.abilist: Remove.
12801 * abilist/libutil.abilist: Remove.
12802 * scripts/extract-abilist.awk: Remove.
12803 * scripts/merge-abilist.awk: Remove.
12804 * sysdeps/generic/libcidn.abilist: New file.
12805 * sysdeps/generic/libnss_compat.abilist: New file.
12806 * sysdeps/generic/libnss_db.abilist: New file.
12807 * sysdeps/generic/libnss_dns.abilist: New file.
12808 * sysdeps/generic/libnss_files.abilist: New file.
12809 * sysdeps/generic/libnss_hesiod.abilist: New file.
12810 * sysdeps/generic/libnss_nis.abilist: New file.
12811 * sysdeps/generic/libnss_nisplus.abilist: New file.
12812 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12813 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12814 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12815 file.
12816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12817 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12818 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12819 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12820 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12821 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12822 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12823 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12824 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12825 file.
12826 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12827 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12828 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12829 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12830 file.
12831 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12832 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12833 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12834 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12835 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12836 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12837 file.
12838 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12839 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12840 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12841 file.
12842 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12844 New file.
12845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12846 New file.
12847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12848 New file.
12849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12850 New file.
12851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12852 New file.
12853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12854 New file.
12855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12856 New file.
12857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12858 New file.
12859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12860 New file.
12861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12862 New file.
12863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12864 New file.
12865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12866 New file.
12867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12868 New file.
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12870 file.
12871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12872 New file.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12874 New file.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12876 file.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12878 New file.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12880 New file.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12882 file.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12884 New file.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12886 New file.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12888 New file.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12890 New file.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12892 New file.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12894 New file.
12895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12897 file.
12898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12899 New file.
12900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12901 file.
12902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12903 file.
12904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12905 file.
12906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12907 file.
12908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12909 file.
12910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12911 New file.
12912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12913 file.
12914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12915 file.
12916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12917 New file.
12918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12919 file.
12920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12922 file.
12923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12924 New file.
12925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12926 file.
12927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12928 file.
12929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12930 file.
12931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12932 file.
12933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12934 file.
12935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12936 New file.
12937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12938 file.
12939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12940 file.
12941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12942 New file.
12943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12944 file.
12945 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12946 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12947 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12948 file.
12949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12950 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12951 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12952 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12953 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12954 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12955 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12956 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12957 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12958 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12961 file.
12962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12963 New file.
12964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12965 file.
12966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12967 file.
12968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12969 file.
12970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12971 file.
12972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12973 file.
12974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12975 New file.
12976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12977 New file.
12978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12979 file.
12980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12981 New file.
12982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12983 file.
12984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12986 file.
12987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12988 New file.
12989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12990 file.
12991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12992 file.
12993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12994 file.
12995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12996 file.
12997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12998 file.
12999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13000 New file.
13001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13002 New file.
13003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13004 file.
13005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13006 New file.
13007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13008 file.
13009
13010 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13011
13012 * conform/conformtest.pl: Fix typo in handling typed-constant from
13013 allow-header.
13014
13015 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13016
13017 * README: Cut down references to pre-2.6 Linux kernels and
13018 Linuxthreads. Update lists of configurations in libc and ports
13019 and sort alphabetically. Say "or newer" with Linux kernel version
13020 requirements.
13021
13022 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13023
13024 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13025
13026 [BZ #887]
13027 * math/libm-test.inc (logb_test_downward): New test to expose
13028 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13029 rounding mode.
13030
13031 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13032
13033 [BZ #14027]
13034 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13035 to be done.
13036 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13037 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13038
13039 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13040
13041 * sysdeps/unix/i386/brk.S: Remove file.
13042 * sysdeps/unix/i386/dl-brk.S: Likewise.
13043 * sysdeps/unix/i386/pipe.S: Likewise.
13044 * sysdeps/unix/i386/sigreturn.S: Likewise.
13045 * sysdeps/unix/i386/syscall.S: Likewise.
13046 * sysdeps/unix/i386/vfork.S: Likewise.
13047 * sysdeps/unix/i386/wait.S: Likewise.
13048
13049 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13050 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13051
13052 * configure.in (arm*-none*): Do not allow without
13053 --enable-hacker-mode.
13054 (netbsd*): Remove case setting base_os.
13055 (386bsd*): Likewise.
13056 (freebsd*): Likewise.
13057 (bsdi*): Likewise.
13058 (osf*): Likewise.
13059 (sunos*): Likewise.
13060 (ultrix*): Likewise.
13061 (newsos*): Likewise.
13062 (dynix*): Likewise.
13063 (*bsd*): Likewise.
13064 (sysv*): Likewise.
13065 (isc*): Likewise.
13066 (esix*): Likewise.
13067 (sco*): Likewise.
13068 (minix*): Likewise.
13069 (irix4*): Likewise.
13070 (irix6*): Likewise.
13071 (solaris[2-9]*): Likewise.
13072 (none): Likewise.
13073 * configure: Regenerated.
13074
13075 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13076
13077 [BZ #11521]
13078 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13079 overflow or cancellation in calculating denominator.
13080 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13082 down expression to avoid unexpected rounding in newer GCCs.
13083 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13084
13085 2012-04-26 David S. Miller <davem@davemloft.net>
13086
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13088 long-double compat symbols.
13089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13102
13103 2012-04-25 David S. Miller <davem@davemloft.net>
13104
13105 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13106 HWCAP_* values only after the memory barriers have been defined.
13107 (atomic_full_barrier): Define.
13108 (atomic_read_barrier): Define.
13109 (atomic_write_barrier): Define.
13110
13111 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13112
13113 * shlib-versions: Add libgcc_s version information.
13114 * sysdeps/generic/libgcc_s.h: Remove.
13115 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13116 libgcc_s.h.
13117 * sysdeps/gnu/unwind-resume.c: Likewise.
13118 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13119
13120 2012-04-25 David S. Miller <davem@davemloft.net>
13121
13122 * sysdeps/unix/sparc/brk.S: Delete.
13123 * sysdeps/unix/sparc/dl-brk.S: Delete.
13124 * sysdeps/unix/sparc/pipe.S: Delete.
13125 * sysdeps/unix/sparc/sysdep.S: Delete.
13126 * sysdeps/unix/sparc/sysdep.h: Delete.
13127 * sysdeps/unix/sparc/vfork.S: Delete.
13128 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13129 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13130 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13131 ret_ERRVAL, r0, r1, MOVE): Define.
13132 (JUMPTARGET): Remove.
13133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13134 sysdeps/unix/sparc/sysdep.h
13135 (ENTRY, END): Remove.
13136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13137
13138 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13139
13140 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13141 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13142 -DIS_IN_build.
13143
13144 * timezone/README: Update upstream location and email address for
13145 tzcode and tzdata.
13146 * timezone/zdump.c: Update from tzcode 2012b.
13147 * timezone/zic.c: Likewise.
13148
13149 * configure.in (libc_cv_as_needed): Remove test.
13150 * configure: Regenerated.
13151 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13152 conditional definition.
13153 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13154 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13155 * config.make.in (have-as-needed): Remove variable.
13156
13157 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13158 Paul Pluzhnikov <ppluzhnikov@google.com>
13159
13160 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13161 strings correctly.
13162
13163 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13164
13165 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13166 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13167 * sysdeps/sh/strlen.S: Likewise.
13168
13169 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13170
13171 * sysdeps/unix/fork.S: Remove file.
13172 * sysdeps/unix/i386/fork.S: Likewise.
13173 * sysdeps/unix/sparc/fork.S: Likewise.
13174
13175 * sysdeps/unix/system.c: Remove file.
13176 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13177
13178 * sysdeps/unix/getegid.S: Remove file.
13179 * sysdeps/unix/geteuid.S: Likewise.
13180
13181 2012-04-24 Roland McGrath <roland@hack.frob.com>
13182
13183 * scripts/check-localplt.awk: New file.
13184 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13185 of diff.
13186 * scripts/data/localplt-generic.data: Add a comment.
13187
13188 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13189 NODE when __dir_mkfile failed.
13190 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13191 Reported by Ludovic Courtès <ludo@gnu.org>.
13192
13193 2012-04-24 Andreas Jaeger <aj@suse.de>
13194
13195 * Makerules (common-clean): Also remove gen-as-const-headers
13196 files.
13197
13198 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13199
13200 * Makerules (native-compile): Do not change working directory for
13201 build. Use $(OUTPUT_OPTION) in command.
13202 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13203
13204 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13205
13206 [BZ #13886]
13207 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13208 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13209 * math/libm-test.inc (floor_test): Add more tests.
13210 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13211
13212 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13213
13214 * sysdeps/unix/getdents.c: Remove file.
13215 * sysdeps/unix/sysv/getdents.c: Likewise.
13216 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13217
13218 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13219 sysdeps/unix/mman/syscalls.list.
13220 (mmap): Likewise.
13221 (mprotect): Likewise.
13222 (msync): Likewise.
13223 (munmap): Likewise.
13224 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13225 * sysdeps/unix/mman/syscalls.list: Remove.
13226 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13227
13228 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13229 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13230 * configure: Regenerated.
13231 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13232 $(libgcc_s_suffix).
13233 * config.make.in (libgcc_s_suffix): Remove variable.
13234
13235 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13236
13237 * sysdeps/unix/sysv/gethostname.c: Move to ...
13238 * sysdeps/posix/gethostname.c: ... here.
13239
13240 * sysdeps/unix/execve.S: Remove file.
13241
13242 * sysdeps/unix/_exit.S: Remove file.
13243
13244 2012-04-23 Andreas Jaeger <aj@suse.de>
13245
13246 [BZ #13739]
13247 * manual/Makefile: Remove make dist support, there's no
13248 need for a stand-alone documentation tar ball.
13249 (TEXI2DVI): Define always, it's not in Makeconfig.
13250 (dist): Removed.
13251 (tar-it): Removed.
13252 (edition): Removed.
13253 (glibc-doc-$(edition).tar): Removed
13254 (%.Z): Removed.
13255 (%.gz): Removed.
13256 (%.uu): Removed.
13257 (ETAGS): Remove, it's in Makeconfig.
13258 (move-if-change): Remove, it's in Makeconfig.
13259
13260 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13261
13262 [BZ #13970]
13263 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13264 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13265 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13266 (strtod_l, strtof_l, strtold_l): Remove __wur.
13267 It is not necessarily an error to ignore strtol's return value.
13268 One can reliably look at the stored endptr to decide whether
13269 the number had valid syntax.
13270
13271 2012-04-21 Andreas Jaeger <aj@suse.de>
13272
13273 [BZ #13739]
13274 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13275
13276 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13277
13278 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13279 * sysdeps/unix/sysv/Versions: Remove file.
13280
13281 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13282
13283 [BZ #13927]
13284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13285
13286 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13287
13288 [BZ #7064]
13289 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13290 version from __vm86.
13291
13292 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13293
13294 * sysdeps/unix/common/lxstat.c: Remove file.
13295 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13296
13297 * sysdeps/unix/sysv/Makefile: Remove file.
13298
13299 * sysdeps/unix/sysv/direct.h: Remove file.
13300
13301 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13302 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13303 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13304 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13305 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13306 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13307 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13308
13309 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13310
13311 * sysdeps/unix/xmknod.c: Remove file.
13312 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13313
13314 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13315
13316 * sysdeps/unix/sysv/i386/time.S: Remove file.
13317
13318 * sysdeps/unix/fxstat.c: Remove file.
13319 * sysdeps/unix/xstat.c: Likewise.
13320 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13321
13322 * sysdeps/unix/sysv/sigaction.c: Remove file.
13323
13324 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13325 (sysdep_headers): Remove variable.
13326 [termio.h not in sysdep_headers] (generated): Likewise.
13327 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13328 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13329 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13330 * sysdeps/unix/sysv/tcflow.c: Likewise.
13331 * sysdeps/unix/sysv/tcflush.c: Likewise.
13332 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13333 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13334 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13335 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13336 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13337
13338 * sysdeps/unix/siglist.c: Remove file.
13339
13340 * sysdeps/unix/getppid.S: Remove file.
13341
13342 * sysdeps/unix/mkdir.c: Remove file.
13343 * sysdeps/unix/rmdir.c: Likewise.
13344
13345 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13346
13347 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13348 ERR_MAX value.
13349 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13350 errlist-compat value.
13351
13352 2012-04-18 David S. Miller <davem@davemloft.net>
13353
13354 * sysdeps/generic/memcopy.h (reg_char): Delete.
13355 * debug/strcat_chk.c: Use char, not reg_char.
13356 * debug/strcpy_chk.c: Likewise.
13357 * debug/strncat_chk.c: Likewise.
13358 * debug/strncpy_chk.c: Likewise.
13359 * string/memchr.c: Likewise.
13360 * string/memrchr.c: Likewise.
13361 * string/rawmemchr.c: Likewise.
13362 * string/strcat.c: Likewise.
13363 * string/strchr.c: Likewise.
13364 * string/strchrnul.c: Likewise.
13365 * string/strcmp.c: Likewise.
13366 * string/strcpy.c: Likewise.
13367 * string/strncat.c: Likewise.
13368 * string/strncmp.c: Likewise.
13369 * string/strncpy.c: Likewise.
13370
13371 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13372
13373 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13374 __builtin_memcopy is called when src and dest ranges are known to not
13375 overlap.
13376
13377 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13378
13379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13380 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13381 fwd_align_merge macro call.
13382 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13383 bwd_align_merge macro call.
13384 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13385
13386 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13387
13388 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13389 bwd_align_merge macros.
13390 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13391 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13392 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13393
13394 2012-04-18 David S. Miller <davem@davemloft.net>
13395
13396 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13397
13398 2012-04-18 Andreas Jaeger <aj@suse.de>
13399
13400 [BZ# 6794]
13401 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13402 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13403 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13404
13405 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13406 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13407 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13408
13409 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13410 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13411 Adjust for changed ldbl-128 files.
13412
13413 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13414 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13415 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13416
13417 2012-04-17 David S. Miller <davem@davemloft.net>
13418
13419 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13420
13421 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13422
13423 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13424 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13425 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13426 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13427 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13428 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13429
13430 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13431
13432 [BZ #6794]
13433 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13434 * math/libm-test.inc: Add ilogb errno and exception tests.
13435 * math/w_ilogb.c: New file: ilogb wrapper.
13436 * math/w_ilogbf.c: New file: ilogbf wrapper.
13437 * math/w_ilogbl.c: New file: ilogbl wrapper.
13438 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13439 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13440 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13441 exception being thrown with 0.0 as argument.
13442 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13443 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13444 exception being thrown with 0.0 as argument.
13445 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13446 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13447 exception being thrown with 0.0 as argument.
13448 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13449 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13450 exception being thrown with 0.0 as argument.
13451 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13452 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13453 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13454 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13455 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13456 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13457 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13458 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13459 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13460
13461 2012-04-17 Petr Baudis <pasky@ucw.cz>
13462
13463 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13464 with altivec.
13465
13466 2012-04-16 Marek Polacek <polacek@redhat.com>
13467
13468 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13469
13470 2012-04-16 Marek Polacek <polacek@redhat.com>
13471
13472 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13473 operands of fdivp instruction.
13474
13475 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13476
13477 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13478 * elf/tst-auditmod3b.c: Likewise.
13479 * elf/tst-auditmod4b.c: Likewise.
13480 * elf/tst-auditmod5b.c: Likewise.
13481 * elf/tst-auditmod6b.c: Likewise.
13482 * elf/tst-auditmod6c.c: Likewise.
13483 * elf/tst-auditmod7b.c: Likewise.
13484 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13485 * sysdeps/x86_64/preconfigure.in: Likewise.
13486 * sysdeps/x86_64/preconfigure: Regenerated.
13487
13488 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13491 __ILP32__.
13492
13493 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
13494
13495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13496 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13497
13498 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13499
13500 [BZ #13973]
13501 * locale/iso-639.def: Fix gl language name. Spotted by
13502 Yaron Shahrabani.
13503
13504 2012-04-12 Roland McGrath <roland@hack.frob.com>
13505
13506 [BZ #2074]
13507 * libio/libio.h (__io_write_fn): Update comment.
13508
13509 2012-04-12 Petr Baudis <pasky@ucw.cz>
13510
13511 [BZ #2074]
13512 * stdio.texi (Hook Functions): The user provided writer function
13513 is not allowed to return -1.
13514
13515 2012-04-11 David S. Miller <davem@davemloft.net>
13516
13517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13518
13519 2012-04-11 Mike Frysinger <vapier@gentoo.org>
13520
13521 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13522 Add a leading slash to rtkaio.
13523
13524 2012-04-11 Jim Meyering <meyering@redhat.com>
13525
13526 [BZ #11959]
13527 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13528 It is not necessarily an error to ignore fwrite's return
13529 value. One can reliably use ferror to test for errors after
13530 the fact.
13531
13532 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13533
13534 * bits/types.h (__snseconds_t): New type.
13535 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13536
13537 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13538 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13539 (__SNSECONDS_T_TYPE): Likewise.
13540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13541 (__SNSECONDS_T_TYPE): Likewise.
13542 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13543 (__SNSECONDS_T_TYPE): Likewise.
13544
13545 2012-04-10 Andreas Jaeger <aj@suse.de>
13546
13547 [BZ #2636]
13548 * manual/time.texi (Processor Time): Return type of times is
13549 elapsed real time since an arbitrary point in the past.
13550 (CPU Time): Move CLK_TCK from here...
13551 (Processor Time): ...to here. Correct description.
13552 * manual/conf.texi (Constants for Sysconf): Correct description of
13553 _SC_CLK_TCK.
13554
13555 2012-04-10 David S. Miller <davem@davemloft.net>
13556
13557 [BZ #13967]
13558 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13559 where the is a gap between DT_REL(A) and DT_JMPREL.
13560
13561 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13562
13563 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13564 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13565 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13566
13567 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13568
13569 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13570 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13571 (dl_main): Handle --inhibit-cache.
13572 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13573 _dl_inhibit_cache.
13574 * elf/dl-load.c (_dl_map_object): Use it.
13575 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13576
13577 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13578
13579 [BZ #13872]
13580 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13581 (__ieee754_powl): Saturate large exponents rather than testing for
13582 overflow of y*log2(x).
13583 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13584 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13585 exceptions.
13586
13587 [BZ #11521]
13588 * math/s_ctan.c: Include <float.h>.
13589 (__ctan): Avoid internal overflow or cancellation in calculating
13590 denominator.
13591 * math/s_ctanf.c: Likewise.
13592 * math/s_ctanl.c: Likewise.
13593 * math/s_ctanh.c: Likewise.
13594 * math/s_ctanhf.c: Likewise.
13595 * math/s_ctanhl.c: Likewise.
13596 * math/libm-test.inc (ctan_test): Add more tests.
13597 (ctanh_test): Likewise.
13598 * sysdeps/i386/fpu/libm-test-ulps: Update.
13599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13600
13601 2012-04-09 Andreas Jaeger <aj@suse.de>
13602
13603 [BZ #6894]
13604 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13605 is an optional BSD extension.
13606
13607 [BZ #10254]
13608 * manual/stdio.texi (Opening Streams): Document additional fopen
13609 parameters.
13610
13611 2012-04-09 Roland McGrath <roland@hack.frob.com>
13612
13613 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13614 %eax without telling the compiler.
13615
13616 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13617
13618 [BZ # 13963]
13619 * manual/install.texi: Use sourceware.org.
13620
13621 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13622
13623 [BZ #13873]
13624 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13625 (__ieee754_pow): Generate overflow and underflow using huge*huge
13626 and tiny*tiny rather than just returning constant infinity or zero
13627 for large exponents.
13628 * math/libm-test.inc (pow_test): Require overflow exceptions for
13629 applicable cases of large exponents.
13630
13631 [BZ #706]
13632 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13633 (__ieee754_pow): Use iterative multiplication algorithm only for
13634 integer exponents with absolute value below 1024. Check for odd
13635 integer exponents when using algorithm for real exponents.
13636 * math/libm-test.inc (pow_test): Add more tests.
13637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13638
13639 2012-04-08 Joseph Myers <joseph@codesourcery.com>
13640
13641 [BZ #13705]
13642 * math/libm-test.inc (exp_test): Do not allow overflow exception
13643 on underflow test.
13644
13645 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13646
13647 [BZ #13705]
13648 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13649 instead of __kernel_standard_f.
13650
13651 2012-04-08 Mike Frysinger <vapier@gentoo.org>
13652
13653 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13654 * sysdeps/x86_64/memset_chk.S: Likewise.
13655
13656 2012-04-08 Andreas Jaeger <aj@suse.de>
13657
13658 [BZ #10153]
13659 * manual/startup.texi (Environment Access): Describe return value
13660 for putenv and setenv.
13661
13662 [BZ #6895]
13663 * manual/filesys.texi (Directory Entries): Add description for
13664 DT_LNK.
13665
13666 [BZ #6890]
13667 * manual/filesys.texi (Directory Entries): Clarify that it's file
13668 system not operating system in the description of DT_UNKNOWN.
13669
13670 [BZ #6578]
13671 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13672
13673 2012-04-08 Stephen Compall <s11@member.fsf.org>
13674
13675 [BZ #6649]
13676 * manual/llio.texi (Opening and Closing Files): Add cross
13677 reference to explain mode argument.
13678
13679 2012-04-07 Mike Frysinger <vapier@gentoo.org>
13680
13681 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13682 * sysdeps/x86_64/memset_chk.S: Likewise.
13683
13684 2012-04-07 David S. Miller <davem@davemloft.net>
13685
13686 * elf/elf.h (R_SPARC_WDISP10): Define.
13687 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13688 R_SPARC_SIZE32.
13689 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13690 R_SPARC_SIZE64 and R_SPARC_H34.
13691
13692 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13693
13694 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13695 conditions and remove no longer applicable assertion.
13696
13697 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13698
13699 * bits/byteswap.h: Include <features.h>.
13700 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13701 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13702
13703 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13704
13705 * bits/byteswap.h (__bswap_16): Removed.
13706 Include <bits/byteswap-16.h> to get __bswap_16.
13707 * sysdeps/i386/bits/byteswap.h: Likewise.
13708 * sysdeps/s390/bits/byteswap.h: Likewise.
13709 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13710 * bits/byteswap-16.h: New file.
13711 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13712 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13713 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13714 * string/Makefile (headers): Add bits/byteswap-16.h.
13715
13716 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13717
13718 [BZ #13895]
13719 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13720 extra indirection.
13721 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13722 * nss/tst-nss-static.c: New.
13723
13724 2012-04-06 Robert Millan <rmh@gnu.org>
13725
13726 [BZ #6486]
13727 * manual/llio.texi (File Position Primitive): lseek
13728 refers to WHENCE when it really means OFFSET.
13729
13730 2012-04-06 Andreas Jaeger <aj@suse.de>
13731
13732 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13733 strncmp declarations.
13734
13735 * abilist/libc.abilist: Add __poll and __ppoll.
13736
13737 2012-04-05 David S. Miller <davem@davemloft.net>
13738
13739 * scripts/check-local-headers.sh: Accept a host triplet in the
13740 path matched by the exclude regexp.
13741
13742 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13743 definition.
13744 * sysdeps/powerpc/powerpc32/dl-machine.h
13745 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13746 * sysdeps/s390/s390-32/dl-machine.h
13747 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13748 * sysdeps/sparc/sparc32/dl-machine.h
13749 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13750 * sysdeps/sparc/sparc64/dl-machine.h
13751 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13752
13753 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13754 lazy binding.
13755 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13756 undefined symbol errors.
13757
13758 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13759 DT_NEEDED entries.
13760
13761 2012-04-05 Michael Matz <matz@suse.de>
13762
13763 [BZ #13592]
13764 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13765
13766 2012-04-05 Andreas Jaeger <aj@suse.de>
13767
13768 [BZ #13908]
13769 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13770 comment.
13771
13772 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13773
13774 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13775 which ROUND is no valid rounding mode.
13776
13777 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13778
13779 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13780 read again.
13781 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13782
13783 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13784
13785 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13786 an exception using FPU order intentionally.
13787
13788 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13789
13790 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13791 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13792 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13793 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13794
13795 2012-04-05 Simon Josefsson <simon@josefsson.org>
13796
13797 [BZ #12340]
13798 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13799 EINVAL when BUFLEN is too smal.
13800
13801 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13802
13803 [BZ #13553]
13804 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13805 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13806
13807 2012-04-03 Andreas Jaeger <aj@suse.de>
13808
13809 [BZ #13938]
13810 * manual/setjmp.texi (System V contexts): Fix sentence.
13811
13812 [BZ #13926]
13813 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13814 New macro for this case.
13815 [!__GNUC__] (__bswap_64): New inline function for this case.
13816 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13817 * bits/byteswap.h: Likewise.
13818 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13819 ull, guard with __GLIBC_HAVE_LONG_LONG.
13820
13821 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13822 __GLIBC_HAVE_LONG_LONG.
13823
13824 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13825 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13826
13827 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13828
13829 [BZ #13691]
13830 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13831 inptr and inend, rather than using last_ch.
13832
13833 2012-04-02 David S. Miller <davem@davemloft.net>
13834
13835 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13836 * stdio-common/printf-parse.h (read_int): Change return type to
13837 'int', return -1 on INT_MAX overflow.
13838 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13839 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13840 overflows INT_MAX. Check for overflow of in-format-string precision
13841 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13842 SIZE_MAX not INT_MAX for integer overflow test.
13843 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13844 skip the construct in the format string but do not record anything.
13845 * stdio-common/bug22.c: Adjust to test both width/prevision
13846 INT_MAX overflow as well as total length INT_MAX overflow. Check
13847 explicitly for proper errno values.
13848
13849 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13850
13851 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13852 CHAR_MAX.
13853 * string/test-strcmp.c [! WIDE]: Likewise.
13854 * time/tst-mktime2.c: Likewise for INT_MAX.
13855 * string/test-string.h: #include <sys/param.h> for MIN.
13856
13857 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13858 * sysdeps/i386/init-first.c (init): Likewise.
13859 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13860 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13861 * sysdeps/sh/init-first.c (init): Likewise.
13862
13863 2012-04-01 Ulrich Drepper <drepper@gmail.com>
13864
13865 * po/ru.po: Update from translation team.
13866 * po/vi.po: Likewise.
13867
13868 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13869
13870 * resolv/nss_dns/dns-host.c: Merge copyright years.
13871
13872 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13873
13874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13875 Optimize memcpy with prefetch if
13876 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13877 src, dst pointers have unequal 16 byte alignments.
13878
13879 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13880
13881 [BZ #13928]
13882 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13883 from a CNAME entry and return the minimum ttl for the query.
13884 (gaih_getanswer_slice): Likewise.
13885
13886 2012-03-30 Jeff Law <law@redhat.com>
13887
13888 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13889 due to long keys.
13890 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13891 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13892
13893 * resolv/nss_dns/dns-host.c: Update copyright year.
13894
13895 2012-03-30 Ulrich Drepper <drepper@gmail.com>
13896
13897 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13898 requests to save a system call. Fix check that all bytes are sent.
13899
13900 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13901 comments for sendmmsg.
13902
13903 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13904
13905 [BZ #13691]
13906 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13907 with only 1 character between 0x0041 and 0x01b0.
13908 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13909 * wcsmbs/tst-mbsnrtowcs.c: New file.
13910
13911 2012-03-29 David S. Miller <davem@davemloft.net>
13912
13913 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13914 small copies by hand.
13915
13916 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13917
13918 [BZ #13761]
13919 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13920 _nss_compat_initgroups_dyn): Fall back to malloc/free
13921 for large group memberships.
13922
13923 2012-03-28 David S. Miller <davem@davemloft.net>
13924
13925 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13926 that branches into memcpy.
13927 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13930 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13932 bits.
13933 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13934 implementation too.
13935 * sysdeps/sparc/mempcpy.S: New file.
13936
13937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13938 the IFUNC routine in the libc case.
13939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13940
13941 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13942 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13943 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13944 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13945 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13946 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13947 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13948 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13949
13950 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13951 loop to 256 bytes instead of 64 bytes and fix test signedness.
13952
13953 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13954 * sysdeps/sparc/sparc32/Makefile: rather than here...
13955 * sysdeps/sparc/sparc64/Makefile: and here.
13956
13957 2012-03-28 Ulrich Drepper <drepper@gmail.com>
13958
13959 * malloc/mallocbug.c: Avoid warnings about unused variables.
13960
13961 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13962
13963 [BZ #13760]
13964 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13965 in the right place. Discard and retry query if response is
13966 larger than input buffer size.
13967
13968 2012-03-28 Joseph Myers <joseph@codesourcery.com>
13969
13970 [BZ #369]
13971 [BZ #2678]
13972 [BZ #3866]
13973 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13974 x for large integer exponent.
13975 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13976 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13977 sign of result as needed afterwards.
13978 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13979 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13980 result for underflowing pow the same as for overflow.
13981 (__kernel_standard_l): Handle powl overflow and underflow here
13982 rather than calling __kernel_standard.
13983 * math/libm-test.inc (pow_test): Add more tests.
13984
13985 [BZ #3868]
13986 [BZ #13879]
13987 [BZ #13910]
13988 [BZ #13911]
13989 [BZ #13912]
13990 [BZ #13913]
13991 [BZ #13915]
13992 [BZ #13916]
13993 [BZ #13917]
13994 [BZ #13918]
13995 [BZ #13919]
13996 [BZ #13920]
13997 [BZ #13921]
13998 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13999 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14000 (__kernel_standard_l): New function.
14001 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14002 __kernel_standard.
14003 * math/w_acosl.c (__acosl): Likewise.
14004 * math/w_asinl.c (__asinl): Likewise.
14005 * math/w_atan2l.c (__atan2l): Likewise.
14006 * math/w_atanhl.c (__atanhl): Likewise.
14007 * math/w_coshl.c (__coshl): Likewise.
14008 * math/w_exp10l.c (__exp10l): Likewise.
14009 * math/w_exp2l.c (__exp2l): Likewise.
14010 * math/w_fmodl.c (__fmodl): Likewise.
14011 * math/w_hypotl.c (__hypotl): Likewise.
14012 * math/w_j0l.c (__j0l, __y0l): Likewise.
14013 * math/w_j1l.c (__j1l, __y1l): Likewise.
14014 * math/w_jnl.c (__jnl, __ynl): Likewise.
14015 * math/w_lgammal.c (__lgammal): Likewise.
14016 * math/w_log10l.c (__log10l): Likewise.
14017 * math/w_log2l.c (__log2l): Likewise.
14018 * math/w_logl.c (__logl): Likewise.
14019 * math/w_powl.c (__powl): Likewise.
14020 * math/w_remainderl.c (__remainderl): Likewise.
14021 * math/w_scalbl.c (sysv_scalbl): Likewise.
14022 * math/w_sinhl.c (__sinhl): Likewise.
14023 * math/w_sqrtl.c (__sqrtl): Likewise.
14024 * math/w_tgammal.c (__tgammal): Likewise.
14025 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14026 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14027 * math/libm-test.inc (acos_test): Add more tests.
14028 (acosh_test): Likewise.
14029 (asin_test): Likewise.
14030 (atanh_test): Likewise.
14031 (exp_test): Likewise.
14032 (exp10_test): Likewise.
14033 (exp2_test): Likewise.
14034 (expm1_test): Likewise.
14035 (lgamma_test): Likewise.
14036 (log_test): Likewise.
14037 (log10_test): Likewise.
14038 (log1p_test): Likewise.
14039 (log2_test): Likewise.
14040 (pow_test): Do not allow some spurious overflow exceptions.
14041 (sqrt_test): Add more tests.
14042 (tgamma_test): Likewise.
14043 (y0_test): Likewise.
14044 (y1_test): Likewise.
14045 (yn_test): Likewise.
14046
14047 2012-03-27 Anton Blanchard <anton@samba.org>
14048
14049 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14050 MAP_HUGETLB.
14051 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14052 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14054
14055 2012-03-27 David S. Miller <davem@davemloft.net>
14056
14057 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14058
14059 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14060 have-as-vis3 check.
14061
14062 2012-03-27 Andreas Jaeger <aj@suse.de>
14063
14064 * sysdeps/x86_64/elf/configure.in: Moved to ...
14065 * sysdeps/x86_64/configure.in: ... here.
14066 * sysdeps/x86_64/elf/start.S: Moved to ...
14067 * sysdeps/x86_64/start.S: ... here.
14068 * sysdeps/x86_64/elf/configure: Delete.
14069
14070 * sysdeps/x86_64/configure.in: Merge contents from
14071 sysdeps/i386/configure.in (without i686 check).
14072
14073 * sysdeps/i386/elf/Versions: Merge into ...
14074 * sysdeps/i386/Versions: ... this.
14075 * sysdeps/i386/elf/Versions: Delete file.
14076 * sysdeps/i386/elf/start.S: Moved to ...
14077 * sysdeps/i386/start.S: ...here.
14078 * sysdeps/i386/elf/configure.in: Merge into...
14079 * sysdeps/i386/configure.in: ...here.
14080 * sysdeps/i386/elf/configure.in: Delete file.
14081 * sysdeps/i386/elf/configure: Delete file.
14082
14083 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14084 * debug/backtracesyms.c: ... here.
14085 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14086 * debug/backtracesymsfd.c: ... here.
14087 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14088 * sysdeps/generic/ifunc-sel.h: ... here.
14089
14090 * sysdeps/unix/i386/start.c: Delete file.
14091 * sysdeps/unix/sparc/start.c: Delete file.
14092 * sysdeps/unix/start.c: Delete file.
14093
14094 * sysdeps/sh/elf/configure.in: Moved to ...
14095 * sysdeps/sh/configure.in: ... here.
14096 * sysdeps/sh/elf/start.S: Moved to ...
14097 * sysdeps/sh/start.S: ... here.
14098 * sysdeps/sh/elf/configure: Delete file.
14099
14100 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14101 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14102 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14103 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14104 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14105 * sysdeps/powerpc/powerpc64/start.S: here.
14106 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14107 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14108 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14109 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14110 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14111
14112 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14113 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14114 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14115 * sysdeps/powerpc/powerpc32/start.S: ... here.
14116 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14117 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14118 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14119
14120 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14121 * sysdeps/powerpc/ifunc-sel.h: ... here.
14122 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14123 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14124
14125 * sysdeps/sparc/elf/configure.in: Moved to ...
14126 * sysdeps/sparc/configure.in: ... here.
14127 * sysdeps/sparc/elf/configure: Delete file.
14128 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14129 * sysdeps/sparc/sparc32/start.S: ... here.
14130 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14131 * sysdeps/sparc/sparc64/start.S: ... here.
14132 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14133 * sysdeps/sparc/sparc32/Makefile: ... this.
14134 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14135 * sysdeps/sparc/sparc64/Makefile: ... this.
14136
14137 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14138 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14139 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14140 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14141 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14142 * sysdeps/s390/s390-32/setjmp.S: ... here.
14143 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14144 * sysdeps/s390/s390-32/configure.in: ... here.
14145 * sysdeps/s390/s390-32/elf/configure: Delete file.
14146 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14147 * sysdeps/s390/s390-32/start.S: ... here.
14148
14149 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14150 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14151 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14152 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14153 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14154 * sysdeps/s390/s390-64/setjmp.S: ... here.
14155 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14156 * sysdeps/s390/s390-64/configure.in: ... here
14157 * sysdeps/s390/s390-64/elf/configure: Delete file.
14158 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14159 * sysdeps/s390/s390-64/start.S: ... here.
14160 * sysdeps/s390/s390-64/elf/configure: Delete.
14161
14162 * configure.in: Remove support for elf directories in sysdeps.
14163
14164 * configure: Regenerated.
14165 * sysdeps/i386/configure: Regenerated.
14166 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14167 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14168 * sysdeps/s390/s390-32/configure: Regenerated.
14169 * sysdeps/s390/s390-64/configure: Regenerated.
14170 * sysdeps/sh/configure: Regenerated.
14171 * sysdeps/sparc/configure: Regenerated.
14172 * sysdeps/x86_64/configure: Regenerated.
14173
14174 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14175
14176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14177
14178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14179 denormal result into account.
14180
14181 2012-03-25 Roland McGrath <roland@hack.frob.com>
14182
14183 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14184 Reported by Allan McRae <allan@archlinux.org>.
14185
14186 2012-03-23 Jeff Law <law@redhat.com>
14187
14188 * nss/getnssent.c (__nss_getent): Fix typo.
14189
14190 2012-03-23 David S. Miller <davem@davemloft.net>
14191
14192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14193
14194 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14197 to pad to uint64_t for each field.
14198 (dl_tls_index): Replace unsigned long with uint64_t.
14199
14200 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14201 Paul Pluzhnikov <ppluzhnikov@google.com>
14202
14203 [BZ #6528]
14204 * grp/Makefile (otherlibs): Don't set it.
14205 * inet/Makefile (otherlibs): Likewise.
14206 * login/Makefile (otherlibs): Likewise.
14207 * nscd/Makefile (otherlibs): Likewise.
14208 * posix/Makefile (otherlibs): Likewise.
14209 * pwd/Makefile (otherlibs): Likewise.
14210 * rt/Makefile (otherlibs): Likewise.
14211 * sunrpc/Makefile (otherlibs): Likewise.
14212 * nss/Makefile (otherlibs): Likewise.
14213 Add libnss_files to routines and static-only-routines.
14214 ($(objpfx)getent): Remove rule.
14215 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14216 static-only-routines.
14217
14218 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #13892]
14221 * math/s_cexp.c: Include <float.h>.
14222 (__cexp): Handle exp result overflowing not necessarily
14223 overflowing both real and imaginary parts of result.
14224 * math/s_cexpf.c: Likewise.
14225 * math/s_cexpl.c: Likewise.
14226 * math/libm-test.inc (cexp_test): Add more tests.
14227 * sysdeps/i386/fpu/libm-test-ulps: Update.
14228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14229
14230 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14231
14232 * include/link.h (ELFW): New macro.
14233 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14234 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14235
14236 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14239 with uint64_t.
14240
14241 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14244 declaration.
14245 (struct La_x32_retval): Likewise.
14246
14247 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14248
14249 * sysdeps/x86_64/preconfigure.in: New file.
14250 * sysdeps/x86_64/preconfigure: New generated file.
14251
14252 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14253
14254 [BZ #13824]
14255 * math/e_exp2l.c: Include <float.h>.
14256 (__ieee754_exp2l): Handle overflow and underflow cases
14257 separately. Only pass fractional part of argument to
14258 __ieee754_expl.
14259 * math/libm-test.inc (exp2_test): Add more tests.
14260
14261 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14262 negating x to take absolute value.
14263 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14264 Likewise.
14265 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14266 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14267 Likewise.
14268 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14269 computing low part if x was negated.
14270 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14271
14272 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14273
14274 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14275 la_x32_gnu_pltexit.
14276 (pltexit): Cast int_retval to ptrdiff_t.
14277 * elf/tst-auditmod3b.c: Likewise.
14278 * elf/tst-auditmod4b.c: Likewise.
14279 * elf/tst-auditmod5b.c: Likewise.
14280 * elf/tst-auditmod6b.c: Likewise.
14281 * elf/tst-auditmod6c.c: Likewise.
14282 * elf/tst-auditmod7b.c: Likewise.
14283
14284 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14285 and x32_gnu_pltexit.
14286
14287 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14288 __ELF_NATIVE_CLASS.
14289 (La_x32_regs): New macro.
14290 (La_x32_retval): Likewise.
14291 (la_x32_gnu_pltenter): New function prototype.
14292 (la_x32_gnu_pltexit): Likewise.
14293
14294 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14295
14296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14297 exponent.
14298
14299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14300
14301 * configure.in (libc_cv_cc_nofma): Check for option to disable
14302 generation of FMA instructions.
14303 * configure: Regenerate.
14304 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14305 * sysdeps/ieee754/dbl-64/Makefile: New file.
14306 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14307 Remove brandred-fma4.
14308 (CFLAGS-brandred-fma4.c): Remove.
14309 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14310 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14311 define.
14312 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14313 define.
14314
14315 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14316
14317 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14318 LLONG_MAX != LONG_MAX.
14319 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14320 (_fitoa_word): Likewise.
14321 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14322 LLONG_MAX != LONG_MAX.
14323 * stdio-common/_itowa.h: Include <_itoa.h>.
14324 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14325 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14326 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14327 only if not defined.
14328 (_ITOA_WORD_TYPE): Likewise.
14329 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14330 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14331
14332 2012-03-21 David S. Miller <davem@davemloft.net>
14333
14334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14335
14336 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14337
14338 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14339 of x86_64 when setting libc_cv_slibdir, libdir and
14340 libc_cv_localedir.
14341 * sysdeps/unix/sysv/linux/configure: Regenerated.
14342
14343 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14344
14345 * manual/lang.texi (Old Varargs): Remove section.
14346 (How Variadic): Update menu.
14347 (va_start): Do not mention varargs.h.
14348
14349 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14350 Joseph Myers <joseph@codesourcery.com>
14351
14352 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14353 link test.
14354 * configure: Regenerated.
14355
14356 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14357
14358 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14359 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14360 conformtest.pl
14361
14362 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14363
14364 * NOTES: Remove.
14365 * Makefile (files-for-dist): Remove NOTES.
14366 (NOTES): Remove rule.
14367 * README: Don't refer to NOTES.
14368 * manual/creature.texi: Don't include macros.texi.
14369 * manual/intro.texi (creature.texi): Remove comment referring to
14370 NOTES.
14371
14372 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14373 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14374 * configure: Regenerated.
14375 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14376 LIBC_TRY_CC_OPTION.
14377 (libc_cv_as_i686): Likewise.
14378 (libc_cv_cc_avx): Likewise.
14379 (libc_cv_cc_sse2avx): Likewise.
14380 (libc_cv_cc_fma4): Likewise.
14381 (libc_cv_cc_novzeroupper): Likewise.
14382 * sysdeps/i386/configure: Regenerated.
14383
14384 [BZ #13883]
14385 * sysdeps/i386/fpu/s_cexp.S: Remove.
14386 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14387 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14388 * math/libm-test.inc (cexp_test): Add more tests.
14389 * sysdeps/i386/fpu/libm-test-ulps: Update.
14390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14391
14392 2012-03-21 Allan McRae <allan@archlinux.org>
14393
14394 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14395
14396 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14397
14398 [BZ #13871]
14399 * math/w_exp2.c: Do not include <float.h>.
14400 (o_threshold, u_threshold): Remove.
14401 (__exp2): Calculate result before checking finiteness and calling
14402 __kernel_standard.
14403 * math/w_exp2f.c: Likewise.
14404 * math/w_exp2l.c: Likewise.
14405 * math/libm-test.inc (exp2_test): Require overflow exception for
14406 1e6 input.
14407
14408 [BZ #3866]
14409 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14410 range of signed 64-bit integers before using fistpll. Remove
14411 checks for whether integers fit in mantissa bits.
14412 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14413 the range of signed 32-bit integers before using fistpl. Remove
14414 checks for whether integers fit in mantissa bits.
14415 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14416 (__ieee754_powl): Test for y outside the range of signed 64-bit
14417 integers before using fistpll. Reduce 64-bit values to 63-bit
14418 ones as needed.
14419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14420 divide-by-zero is raised for zero to large negative powers.
14421 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14422 (__ieee754_powl): Test for y outside the range of signed 64-bit
14423 integers before using fistpll. Reduce 64-bit values to 63-bit
14424 ones as needed.
14425 * math/libm-test.inc (pow_test): Add more tests.
14426
14427 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14428
14429 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14430 <stdio-common/_itoa.h>.
14431 * debug/segfault.c: Likewise.
14432 * elf/dl-cache.c: Likewise.
14433 * elf/dl-minimal.c: Likewise.
14434 * elf/dl-misc.c: Likewise.
14435 * elf/dl-sysdep.c: Likewise.
14436 * elf/dl-version.c: Likewise.
14437 * elf/rtld.c: Likewise.
14438 * hurd/hurdsock.c: Likewise.
14439 * hurd/lookup-retry.c: Likewise.
14440 * malloc/malloc.c: Likewise.
14441 * malloc/mtrace.c: Likewise.
14442 * nscd/nscd_getgr_r.c: Likewise.
14443 * nscd/nscd_getpw_r.c: Likewise.
14444 * nscd/nscd_getserv_r.c: Likewise.
14445 * posix/getopt_init.c: Likewise.
14446 * posix/wordexp.c: Likewise.
14447 * stdio-common/_itoa.c: Likewise.
14448 * stdio-common/printf_fphex.c: Likewise.
14449 * stdio-common/vfprintf.c: Likewise.
14450 * string/_strerror.c: Likewise.
14451 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14452 * sysdeps/i386/i686/hp-timing.h: Likewise.
14453 * sysdeps/mach/_strerror.c: Likewise.
14454 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14455 * sysdeps/mach/hurd/sethostid.c: Likewise.
14456 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14457 * sysdeps/mach/xpg-strerror.c: Likewise.
14458 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14459 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14460 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14461 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14462 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14463 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14464 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14465 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14466 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14467 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14468 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14469 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14470 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14471 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14472 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14473 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14474 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14475 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14476 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14477 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14478 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14479
14480 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14481
14482 * stdio-common/_itoa.h: Moved to ...
14483 * sysdeps/generic/_itoa.h: Here.
14484
14485 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14486
14487 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14488 instead of "_itoa.h" and "_itowa.h".
14489 * stdio-common/vfprintf.: Likewise.
14490
14491 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14492
14493 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14494 <bits/wordsize.h>.
14495 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14496 (__signbit): Likwise.
14497 (llrintf): Likwise.
14498 (llrint): Likwise.
14499
14500 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14501
14502 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14503 __WORDSIZE != 64.
14504
14505 2012-03-20 Joseph Myers <joseph@codesourcery.com>
14506
14507 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14508 OVERFLOW_EXCEPTION_OK.
14509 * math/libm-test.inc ("Philosophy"): Update comment about
14510 exception testing.
14511 (OVERFLOW_EXCEPTION): Define.
14512 (OVERFLOW_EXCEPTION_OK): Likewise.
14513 (INVALID_EXCEPTION_OK): Renumber.
14514 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14515 (IGNORE_ZERO_INF_SIGN): Likewise.
14516 (test_exceptions): Handle FE_OVERFLOW.
14517 (exp10_test): Expect overflow exceptions.
14518 (exp2_test): Likewise.
14519 (expm1_test): Likewise.
14520 (nextafter_test): Likewise.
14521 (pow_test): Likewise.
14522 (scalbn_test): Likewise.
14523 (scalbln_test): Likewise.
14524
14525 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14526
14527 * sysdeps/x86_64/bits/atomic.h
14528 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14529 64bit integer.
14530 (atomic_exchange_acq): Likewise.
14531 (__arch_exchange_and_add_body): Likewise.
14532 (__arch_add_body): Likewise.
14533 (atomic_add_negative): Likewise.
14534 (atomic_add_zero): Likewise.
14535
14536 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14537
14538 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14539 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14540
14541 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14542
14543 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14544 Check __x86_64__ instead of __WORDSIZE.
14545
14546 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14547
14548 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14549
14550 2012-03-19 David S. Miller <davem@davemloft.net>
14551
14552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14553
14554 * sysdeps/sparc/fpu/fenv_private.h: New file.
14555 * sysdeps/sparc/fpu/math_private.h: Use it.
14556 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14557 Remove.
14558 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14559 (libc_feholdexcept_setroundl): Remove.
14560 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14561 Remove.
14562 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14563 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14564
14565 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14566
14567 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14568 int64_t instead of long int.
14569 (INSERT_WORDS64): Likwise.
14570
14571 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14572
14573 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14574 _Unwind_GetCFA return to _Unwind_Ptr first.
14575
14576 2012-03-19 Joseph Myers <joseph@codesourcery.com>
14577
14578 [BZ #13629]
14579 * math/s_clog.c: Include <float.h>.
14580 (__clog): Scale large or subnormal inputs.
14581 * math/s_clogf.c: Likewise.
14582 * math/s_clogl.c: Likewise.
14583 * math/s_clog10.c: Include <float.h>.
14584 (M_LOG10_2): Define.
14585 (__clog10): Scale large or subnormal inputs.
14586 * math/s_clog10f.c: Likewise.
14587 * math/s_clog10l.c: Likewise.
14588 * math/libm-test.inc (clog_test): Add more tests.
14589 (clog10_test): Likewise.
14590 * sysdeps/i386/fpu/libm-test-ulps: Update.
14591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14592
14593 [BZ #11451]
14594 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14595 x and y.
14596 * math/libm-test.inc (atan2_test): Add another test.
14597
14598 * Makerules (common-objdir-compile): Remove.
14599 * sysdeps/unix/Makefile (config-generated): Do not add
14600 $(unix-generated) to variable.
14601 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14602 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14603 Remove rule.
14604 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14605 Likewise.
14606 [generic bits/local_lim.h] (before-compile): Do not append to
14607 variable.
14608 [generic bits/local_lim.h] (common-generated): Likewise.
14609 [generic sys/param.h] (before-compile): Do not append to variable.
14610 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14611 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14612 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14613 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14614 include.
14615 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14616 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14617 [generic sys/param.h] ($(addprefix
14618 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14619 [generic sys/param.h] (common-generated): Do not append to
14620 variable.
14621 [generic sys/param.h] (sysdep_headers): Likewise.
14622 [generic bits/errno.h] (before-compile): Do not append to
14623 variable.
14624 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14625 rule.
14626 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14627 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14628 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14629 [generic bits/errno.h] (common-generated): Do not append to
14630 variable.
14631 [generic bits/ioctls.h] (before-compile): Do not append to
14632 variable.
14633 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14634 rule.
14635 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14636 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14637 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14638 rule.
14639 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14640 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14641 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14642 [generic bits/ioctls.h] (common-generated): Do not append to
14643 variable.
14644 [generic sys/syscall.h] (syscall.h): Remove variable.
14645 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14646 rule.
14647 [generic sys/syscall.h] (before-compile): Do not append to
14648 variable.
14649 [generic sys/syscall.h] (common-generated): Likewise.
14650 * sysdeps/unix/errnos-tmpl.c: Remove file.
14651 * sysdeps/unix/errnos.awk: Likewise.
14652 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14653 * sysdeps/unix/ioctls.awk: Likewise.
14654 * sysdeps/unix/mk-local_lim.c: Likewise.
14655 * sysdeps/unix/snarf-ioctls: Likewise.
14656
14657 2012-03-19 Richard Henderson <rth@twiddle.net>
14658
14659 * sysdeps/i386/fpu/fenv_private.h: New file.
14660 * sysdeps/i386/fpu/math_private.h: Use it.
14661 (math_opt_barrier, math_force_eval): Remove.
14662 (libc_feholdexcept_setround_53bit): Remove.
14663 (libc_feupdateenv_53bit): Remove.
14664 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14665 (math_opt_barrier, math_force_eval): Remove.
14666 (libc_feholdexcept): Remove.
14667 (libc_feholdexcept_setround): Remove.
14668 (libc_fetestexcept, libc_fesetenv): Remove.
14669 (libc_feupdateenv_test): Remove.
14670 (libc_feupdateenv, libc_feholdsetround): Remove.
14671 (libc_feresetround): Remove.
14672
14673 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14674 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14675
14676 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14677 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14678 (libc_feupdateenv_testl): New.
14679 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14680 (libc_feupdateenv_testf): New.
14681 (libc_feupdateenv): Use libc_feupdateenv_test.
14682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14683 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14684
14685 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14686 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14687 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14688 (libc_feresetround_noex): New.
14689 (libc_feresetround_noexf): New.
14690 (libc_feresetround_noexl): New.
14691 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14692 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14693 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14694 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14695 SET_RESTORE_ROUND.
14696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14698 (__cos): Likewise.
14699 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14700 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14701 SET_RESTORE_ROUND_NOEX.
14702 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14703 SET_RESTORE_ROUND_NOEXF.
14704 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14705 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14706 (libc_feholdsetroundf): New.
14707 (libc_feresetround, libc_feresetroundf): New.
14708
14709 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14710 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14711 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14712
14713 * sysdeps/generic/math_private.h: Include <fenv.h>.
14714 (default_libc_feholdexcept): New.
14715 (default_libc_feholdexcept_setround): New.
14716 (default_libc_fesetenv, default_libc_feupdateenv): New.
14717 (libc_feholdexcept): Only define if undefined.
14718 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14720 (libc_feholdexcept_setroundl): Likewise.
14721 (libc_feholdexcept_setround_53bit): Likewise.
14722 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14725 (libc_feupdateenv_53bit): Likewise.
14726 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14727 (libc_feholdexcept): Convert from macro to inline function.
14728 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14729 (libc_fesetenv, libc_feupdateenv): Likewise.
14730
14731 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14732 not previously defined.
14733 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14734 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14735 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14736 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14737 * sysdeps/ieee754/flt-32/math_private.h: New file.
14738 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14739 math_private.h below SET_FLOAT_WORD.
14740 (__isnan, __isinf_ns, __finite): Remove.
14741 (__isnanf, __isinf_nsf, __finitef): Remove.
14742
14743 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14744
14745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14746
14747 2012-03-17 David S. Miller <davem@davemloft.net>
14748
14749 [BZ #6471]
14750 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14751 for 2.16.
14752
14753 2012-03-16 David S. Miller <davem@davemloft.net>
14754
14755 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14756 warnings.
14757
14758 [BZ #6471]
14759 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14760 properly.
14761 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14762 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14763 sysdep_routines when subdir is sysvipc.
14764 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14765 __getshmlba helper.
14766
14767 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14768
14769 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14770
14771 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14772 [__LP64__].
14773
14774 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14775
14776 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14777 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14778 (__lround): Renamed to ...
14779 (__llround): This. Replace long int with long long int.
14780 Define lround functions as aliases of llround functions.
14781 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14782
14783 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14784
14785 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14786 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14787 adresses to uintptr_t. Replace "long int" and "unsigned long
14788 int" with "greg_t" on va_arg.
14789
14790 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14791
14792 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14793 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14794
14795 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14796 Move e_machine check before EI_CLASS check. Handle x32
14797 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14798 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14799 SKIP_EM_IA_64 and include
14800 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14801
14802 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14803 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14804 (add_system_dir): New macro.
14805
14806 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14807 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14808
14809 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14810
14811 [BZ #2551]
14812 [BZ #2552]
14813 [BZ #2553]
14814 [BZ #2554]
14815 [BZ #2562]
14816 [BZ #2563]
14817 [BZ #2565]
14818 [BZ #2566]
14819 [BZ #2576]
14820 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14821 (y0): Likewise.
14822 * math/w_j0f.c (j0f): Likewise.
14823 (y0f): Likewise.
14824 * math/w_j0l.c (__j0l): Likewise.
14825 (__y0l): Likewise.
14826 * math/w_j1.c (j1): Likewise.
14827 (y1): Likewise.
14828 * math/w_j1f.c (j1f): Likewise.
14829 (y1f): Likewise.
14830 * math/w_j1l.c (__j1l): Likewise.
14831 (__y1l): Likewise.
14832 * math/w_jn.c (jn): Likewise.
14833 (yn): Likewise.
14834 * math/w_jnf.c (jnf): Likewise.
14835 (ynf): Likewise.
14836 * math/w_jnl.c (__jnl): Likewise.
14837 (__ynl): Likewise.
14838 * math/libm-test.inc (j0_test): Add more tests.
14839 (j1_test): Likewise.
14840 (jn_test): Likewise. Add trailing semicolon to existing test.
14841 (y0_test): Likewise.
14842 (y1_test): Likewise.
14843 * sysdeps/i386/fpu/libm-test-ulps: Update.
14844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14845
14846 [BZ #13851]
14847 [BZ #13854]
14848 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14849 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14850 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14851 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14852 (__tanl): Set errno for infinite argument.
14853 * sysdeps/i386/fpu/mptan.c: Remove.
14854 * sysdeps/i386/fpu/s_tan.S: Likewise.
14855 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14856 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14857 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14858 * math/libm-test.inc (tan_test): Add more tests and enable more
14859 tests for double and long double.
14860 * sysdeps/i386/fpu/libm-test-ulps: Update.
14861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14862
14863 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14864
14865 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14866 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14867
14868 2012-03-16 Roland McGrath <roland@hack.frob.com>
14869
14870 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14871 * configure.in: Use it for both main tree and add-ons.
14872 * configure: Regenerated.
14873
14874 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14875
14876 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14877
14878 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14879
14880 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14881 in comment.
14882
14883 [BZ #13851]
14884 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14885 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14889 infinite argument.
14890 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14891 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14892 != 0 for prec == 2.
14893 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14894 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14895 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14896 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14897 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14898 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14899 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14900 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14901 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14902 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14903 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14904 * math/libm-test.inc (cos_test): Add more tests and enable more
14905 tests for long double.
14906 (sin_test): Likewise.
14907 (sincos_test): Likewise.
14908 * sysdeps/i386/fpu/libm-test-ulps: Update.
14909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14910
14911 2012-03-16 David S. Miller <davem@davemloft.net>
14912
14913 * sysdeps/sparc/fpu/math_private.h: New file.
14914
14915 2012-03-15 David S. Miller <davem@davemloft.net>
14916
14917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14918 file.
14919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14921 file.
14922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14928 sysdep routines.
14929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14930
14931 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14932 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14933
14934 * sysdeps/sparc/sparc-ifunc.h: New file.
14935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14936 sparc-ifunc.h
14937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14939 Likewise.
14940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14941 Likewise.
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14946 Likewise.
14947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14952 Likewise.
14953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14954 Likewise.
14955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14979
14980 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14981
14982 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14983 scaling.
14984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14985
14986 2012-03-15 Andreas Jaeger <aj@suse.de>
14987
14988 [BZ #13852]
14989 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14990 ieee754/flt-32 implementation for sin, cos and sincos.
14991 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14992 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14993 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14994 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14995 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14996 ieee754/flt-32 implementation for tan.
14997
14998 * math/libm-test.inc (cos_test): Enable some large input tests for
14999 float as well
15000 (sin_test): Likewise.
15001 (sincos_test): Likewise.
15002 (tan_test): Add tests for large input.
15003
15004 * sysdeps/i386/fpu/libm-test-ulps: Update.
15005
15006 2012-03-15 Andreas Jaeger <aj@suse.de>
15007
15008 [BZ #13658]
15009 * math/libm-test.inc (cos_test): Add more test cases.
15010 (sin_test): Likewise.
15011 (sincos_test): Likewise.
15012
15013 2012-03-15 Andreas Jaeger <aj@suse.de>
15014
15015 [BZ #13837]
15016 * math/libm-test.inc (cos_test): Add a test case for large input
15017 value.
15018 (sin_test): Likewise.
15019 (sincos_test): Likewise.
15020
15021 2012-03-15 Andreas Jaeger <aj@suse.de>,
15022 Joseph Myers <joseph@codesourcery.com>
15023
15024 [BZ #13658]
15025 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15026 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15027 * sysdeps/i386/fpu/branred.c: Likewise.
15028 * sysdeps/i386/fpu/dosincos.c: Likewise.
15029 * sysdeps/i386/fpu/mpa.c: Likewise.
15030 * sysdeps/i386/fpu/s_cos.S: Likewise.
15031 * sysdeps/i386/fpu/s_sin.S: Likewise.
15032 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15033 * sysdeps/i386/fpu/sincos32.c: Likewise.
15034
15035 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15036 Define.
15037 (libc_feupdateenv_53bit): Define.
15038 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15039 Define.
15040 (libc_feupdateenv_53bit): Define.
15041
15042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15043 53 bit (without extend i386 double precision).
15044
15045 * math/libm-test.inc (sincos_test): Add tests for large input.
15046 (sin): Likewise.
15047 (cos): Likewise.
15048
15049 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15050
15051 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15052
15053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15054
15055 2012-03-15 David S. Miller <davem@davemloft.net>
15056
15057 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15058 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15059 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15060 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15073 file.
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15076 file.
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15079 file.
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15082 file.
15083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15085 fmin/fmax sysdep routines.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15087
15088 2012-03-14 David S. Miller <davem@davemloft.net>
15089
15090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15119 routines.
15120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15121 file.
15122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15124 file.
15125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15127 file.
15128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15130 file.
15131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15133 file.
15134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15136 file.
15137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15138 file.
15139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15140 file.
15141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15142 file.
15143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15144 New file.
15145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15146 file.
15147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15148 file.
15149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15151 file.
15152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15154 file.
15155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15157 file.
15158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15160 VIS3 routines.
15161
15162 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15163 New file.
15164
15165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15166
15167 * sysdeps/sparc/configure.in: New file.
15168 * sysdeps/sparc/configure: Generate.
15169 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15170 * configure: Regenerate.
15171 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15172 * config.make.in (have-as-vis3): New.
15173 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15174 available use -Av9d instead of -Av9a.
15175 * sysdeps/sparc/sparc64/Makefile: Likewise.
15176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15178 New file.
15179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15180 file.
15181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15182 New file.
15183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15184 file.
15185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15190
15191 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15192 fzeros/fnegs to load 0x80000000 into a float register instead of
15193 using the stack.
15194 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15195
15196 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15197
15198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15199 bits/syscall.h.
15200 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15201 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15202 ($(inst_includedir)/bits/syscall.h): Remove rule.
15203 ($(objpfx)bits/syscall.d): Include instead of
15204 $(objpfx)syscall-list.d.
15205 (generated): Change syscall-list.h and syscall-list.d to
15206 bits/syscall.h and bits/syscall.d.
15207
15208 2012-03-14 Roland McGrath <roland@hack.frob.com>
15209
15210 [BZ #13846]
15211 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15212
15213 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15214
15215 [BZ #13841]
15216 * math/s_csqrt.c: Include <float.h>.
15217 (__csqrt): Scale large or subnormal inputs.
15218 * math/s_csqrtf.c: Likewise.
15219 * math/s_csqrtl.c: Likewise.
15220 * math/libm-test.inc (csqrt_test): Add more tests.
15221 * sysdeps/i386/fpu/libm-test-ulps: Update.
15222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15223
15224 [BZ #13840]
15225 * math/libm-test.inc (hypot_test): Add more tests.
15226
15227 2012-03-13 David S. Miller <davem@davemloft.net>
15228
15229 [BZ #13840]
15230 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15231 double-precision for the calculation instead of scaling.
15232
15233 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15234
15235 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15236 manipulate bits before adding and subtracting TWO52[sx].
15237 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15238 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15239 Likewise.
15240 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15241
15242 2012-03-13 David S. Miller <davem@davemloft.net>
15243
15244 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15245 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15247 rtld-global-offsets.h
15248 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15249
15250 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15251 large parameters.
15252
15253 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15254
15255 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15256 'err' in the ifdef scope in which it is actually used.
15257
15258 * nss/nss_db/db-init.c: Include string.h
15259
15260 2012-03-12 David S. Miller <davem@davemloft.net>
15261
15262 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15263 masking out of the most significant byte of random value used.
15264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15265 Fix coding style in previous change.
15266
15267 * sysdeps/unix/sysv/linux/kernel-features.h
15268 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15269 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15270 expression.
15271 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15272 later.
15273
15274 2012-03-11 David S. Miller <davem@davemloft.net>
15275
15276 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15277 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15278 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15279 for 'resultvar' otherwise things get truncated on 64-bit.
15280
15281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15282 Fix masking out of the most significant byte of random value used.
15283
15284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15285
15286 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15287
15288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15289
15290 2012-03-09 David S. Miller <davem@davemloft.net>
15291
15292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15293 variables with appropriate CPP guards.
15294 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15295 frame pointer, not the stack pointer. Correct layout comments. Fix test
15296 on resulting framesize and the management of the outregs buffer for pltexit.
15297 Preserve floating point return values across _dl_call_pltexit call.
15298 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15299 framesize and the management of the outregs buffer for pltexit.
15300 Preserve floating point return values across _dl_call_pltexit
15301 call.
15302 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15303 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15304 (print_exit): Fix format string for return register value.
15305
15306 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15307
15308 * sunrpc/Makefile (others): Add rpcgen.
15309 ($(objpfx)rpcgen): Remove special build rule and dependency on
15310 libc.
15311 * sunrpc/rpcgen.c: New file.
15312
15313 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15314
15315 [BZ #13673]
15316 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15317 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15318 * sysdeps/i386/crti.S: Likewise.
15319 * sysdeps/i386/crtn.S: Likewise.
15320 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15321 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15322 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15323 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15324 * sysdeps/sh/crti.S: Likewise.
15325 * sysdeps/sh/crtn.S: Likewise.
15326 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15327
15328 [BZ #13673]
15329 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15330 with URL.
15331 * locale/programs/locfile-kw.gperf: Likewise.
15332 * locale/programs/charmap-kw.h: Regenerated.
15333 * locale/programs/locfile-kw.h: Likewise.
15334
15335 [BZ #13673]
15336 * intl/plural.y: Replace FSF snail mail address with URL.
15337 * intl/plural.c: Regenerated.
15338
15339 2012-03-09 Richard Henderson <rth@twiddle.net>
15340
15341 * include/math_private.h: Remove file.
15342 * math/math_private.h: Move file ...
15343 * sysdeps/generic/math_private.h: ... here.
15344
15345 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15346 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15347 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15348
15349 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15350 and <math_private.h>.
15351 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15352 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15353 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15354 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15355 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15381 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15384 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15385 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15410 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15439 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15440 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15441 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15442 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15443 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15445 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15446 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15447 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15448 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15449 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15451 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15452 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15453 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15454 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15455 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15456 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15457 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15458 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15459 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15460 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15461 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15462 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15463 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15464 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15465 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15466 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15468 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15469 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15470 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15471 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15472 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15473 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15474 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15475 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15476 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15477 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15478 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15479 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15480 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15481 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15482 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15484 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15485 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15486 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15487 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15488 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15489 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15490 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15491 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15492 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15493 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15494 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15495 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15496 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15497 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15498 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15499 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15500 * sysdeps/ieee754/k_standard.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15618 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15623 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15624 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15627 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15632 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15636 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15637 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15638 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15641 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15644 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15646 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15647 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15650 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15651 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15652 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15655 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15656 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15660 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15661 * sysdeps/ieee754/s_lib_version.c: Likewise.
15662 * sysdeps/ieee754/s_matherr.c: Likewise.
15663 * sysdeps/ieee754/s_signgam.c: Likewise.
15664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15665 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15666 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15667 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15668 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15669 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15670 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15671 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15672 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15673 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15674 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15675 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15676 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15677 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15678 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15680 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15681 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15682 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15685
15686 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15687
15688 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15689 * sunrpc/rpc_main.c: Likewise.
15690 * sunrpc/rpc_svcout.c: Likewise.
15691
15692 2012-03-09 David S. Miller <davem@davemloft.net>
15693
15694 * include/math_private.h: New file.
15695
15696 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15697
15698 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15699 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15700 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15701 from <bits/socket_type.h>.
15702 (enum __socket_type): Don't define here.
15703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15705 bits/socket_type.h.
15706
15707 [BZ #13566]
15708 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15709 checking __USE_GNU.
15710
15711 * Makerules ($(inst_includedir)/%.h): New rule.
15712 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15713 (install-others): Remove variable setting.
15714 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15715
15716 2012-03-08 Richard Henderson <rth@twiddle.net>
15717
15718 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15719 from macro to inline function; merge with the
15720 !__LIBC_INTERNAL_MATH_INLINES version.
15721 (__ieee754_sqrtf): Likewise.
15722
15723 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15724 to inline function.
15725 (__rintf, __floor, __floorf): Likewise.
15726
15727 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15728 macro to inline function.
15729 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15730
15731 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15732 not <math/math_private.h>.
15733
15734 2012-03-08 David S. Miller <davem@davemloft.net>
15735
15736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15737 copyright year.
15738 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15739
15740 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15741
15742 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15743 normalization.
15744 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15745 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15746
15747 2012-03-08 Ulrich Drepper <drepper@gmail.com>
15748
15749 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15750 be defined individually, they must be defined as a block. Define
15751 S for printing a string instead of hidint the different by using a
15752 macro for adding the 'l'.
15753 * stdio-common/tst-fphex-wide.c: Adjust.
15754
15755 2012-03-07 Marek Polacek <polacek@redhat.com>
15756
15757 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15758
15759 2012-03-08 Marek Polacek <polacek@redhat.com>
15760
15761 [BZ #13806]
15762 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15763 * stdio-common/tst-fphex.c: Define a few macros to make the
15764 test reusable. Use them.
15765 * stdio-common/tst-fphex-wide.c: New file.
15766
15767 2012-03-08 Joseph Myers <joseph@codesourcery.com>
15768
15769 [BZ #6911]
15770 * manual/macros.texi (gnusystems): New macro.
15771 (nongnusystems): Likewise.
15772 (gnulinuxhurdsystems): Likewise.
15773 (gnuhurdsystems): Likewise..
15774 (gnulinuxsystems): Likewise.
15775 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15776 variants of the GNU system, not "GNU system".
15777 * manual/conf.texi: Likewise.
15778 * manual/errno.texi: Likewise. Update example of errno macro
15779 expansion.
15780 * manual/filesys.texi: Likewise.
15781 (getumask): Document as specific to GNU/Hurd.
15782 * manual/install.texi: Likewise. Reword some references to
15783 GNU/Linux.
15784 * manual/intro.texi: Likewise.
15785 * manual/io.texi: Likewise.
15786 (File Name Portability): Detail which constraints are inapplicable
15787 to all GNU systems and which are only inapplicable to GNU/Hurd.
15788 * manual/job.texi: Likewise.
15789 * manual/llio.texi: Likewise.
15790 (O_NOCTTY): Document as present on GNU/Linux.
15791 * manual/maint.texi: Likewise.
15792 * manual/memory.texi: Likewise.
15793 * manual/pattern.texi: Likewise.
15794 * manual/pipe.texi: Likewise.
15795 * manual/process.texi: Likewise.
15796 * manual/resource.texi: Likewise.
15797 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15798 child on GNU/Hurd.
15799 * manual/setjmp.texi: Likewise.
15800 * manual/signal.texi: Likewise.
15801 * manual/startup.texi: Likewise.
15802 * manual/stdio.texi: Likewise.
15803 * manual/terminal.texi: Likewise.
15804 (ONLCR): Document as POSIX.
15805 (OXTABS): Document availability on GNU/Linux as XTABS.
15806 (ONOEOT): Document availability separately from other bits.
15807 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15808 * manual/time.texi: Likewise.
15809 * manual/users.texi: Likewise.
15810 * INSTALL: Regenerated.
15811 * sysdeps/gnu/errlist.c: Regenerated.
15812
15813 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15814 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15815 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15816 puts.
15817 * configure: Regenerated.
15818
15819 2012-03-07 Joseph Myers <joseph@codesourcery.com>
15820
15821 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15822 default includes instead of AC_HEADER_CHECK.
15823 * sysdeps/i386/configure: Regenerated.
15824
15825 [BZ #10716]
15826 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15827 * math/s_cacoshf.c (__cacoshf): Likewise.
15828 * math/s_cacoshl.c (__cacoshl): Likewise.
15829 * math/s_casinh.c (__casinh): Set signs of result from argument.
15830 * math/s_casinhf.c (__casinhf): Likewise.
15831 * math/s_casinhl.c (__casinhl): Likewise.
15832 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15833 (casinh_test): Add more tests.
15834 * sysdeps/i386/fpu/libm-test-ulps: Update.
15835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15836
15837 2012-03-07 Ulrich Drepper <drepper@gmail.com>
15838
15839 * po/zh_TW.po: Update from translation team.
15840
15841 * login/Makefile (distribute): Remove variable.
15842 * catgets/Makefile: Likewise.
15843 * mach/Makefile: Likewise.
15844 * malloc/Makefile: Likewise.
15845 * misc/Makefile: Likewise.
15846 * iconv/Makefile: Likewise.
15847 * nscd/Makefile: Likewise.
15848 * hurd/Makefile: Likewise.
15849 * manual/Makefile: Likewise.
15850 * locale/Makefile: Likewise.
15851 * intl/Makefile: Likewise.
15852 * conform/Makefile: Likewise.
15853 * nss/Makefile: Likewise.
15854 * time/Makefile: Likewise.
15855 * soft-fp/Makefile: Likewise.
15856 * dirent/Makefile: Likewise.
15857 * gmon/Makefile: Likewise.
15858 * po/Makefile: Likewise.
15859 * rt/Makefile: Likewise.
15860 * socket/Makefile: Likewise.
15861 * math/Makefile: Likewise.
15862 * signal/Makefile: Likewise.
15863 * debug/Makefile: Likewise.
15864 * elf/Makefile: Likewise.
15865 * timezone/Makefile: Likewise.
15866 * stdlib/Makefile: Likewise.
15867 * iconvdata/Makefile: Likewise.
15868 * sunrpc/Makefile: Likewise.
15869 * io/Makefile: Likewise.
15870 * argp/Makefile: Likewise.
15871 * inet/Makefile: Likewise.
15872 * hesiod/Makefile: Likewise.
15873 * grp/Makefile: Likewise.
15874 * csu/Makefile: Likewise.
15875 * wctype/Makefile: Likewise.
15876 * crypt/Makefile: Likewise.
15877 * libio/Makefile: Likewise.
15878 * string/Makefile: Likewise.
15879 * nis/Makefile: Likewise.
15880 * resolv/Makefile: Likewise.
15881 * stdio-common/Makefile: Likewise.
15882 * wcsmbs/Makefile: Likewise.
15883 * dlfcn/Makefile: Likewise.
15884 * posix/Makefile: Likewise.
15885
15886 [BZ #6959]
15887 * timezone/Makefile: Don't install timezone files, just the programs
15888 and scripts.
15889
15890 2012-03-06 Ulrich Drepper <drepper@gmail.com>
15891
15892 * nss/databases.def: Add missing gshadow entry.
15893
15894 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15895
15896 2012-03-06 Marek Polacek <polacek@redhat.com>
15897
15898 [BZ #13726]
15899 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15900 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15901 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15902 * stdio-common/tst-long-dbl-fphex.c: New file.
15903
15904 2012-03-06 David S. Miller <davem@davemloft.net>
15905
15906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15907 (set_obp_int): New function.
15908 (get_obp_int): New function.
15909 (__get_clockfreq_via_dev_openprom): Likewise.
15910 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15911 Avoid unused variable warnings on 'val' and use builtin_expect.
15912 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15913 __builtin_expect.
15914 (INLINE_CLONE_SYSCALL): Likewise.
15915
15916 2012-03-05 David S. Miller <davem@davemloft.net>
15917
15918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15919
15920 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15921
15922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15923
15924 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15925 only for |x| >= 40.
15926 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15927
15928 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
15929
15930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15931 Replace gettimeofday with __vdso_gettimeofday.
15932
15933 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15934 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15935 __vdso_clock_gettime and __vdso_getcpu.
15936
15937 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15938 time with __vdso_time.
15939
15940 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15941
15942 * manual/lang.texi (size_t): Note types to which size_t may be
15943 equivalent with the GNU C Library, but do not describe when
15944 differences between them are significant.
15945
15946 2012-03-05 Andreas Jaeger <aj@suse.de>
15947
15948 * sysdeps/i386/fpu/libm-test-ulps: Update.
15949
15950 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15951
15952 [BZ #3976]
15953 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15954 (__ieee754_pow): Save and restore rounding mode and use
15955 round-to-nearest for main computations.
15956 * math/libm-test.inc (pow_test_tonearest): New function.
15957 (pow_test_towardzero): Likewise.
15958 (pow_test_downward): Likewise.
15959 (pow_test_upward): Likewise.
15960 (main): Call the new functions.
15961 * sysdeps/i386/fpu/libm-test-ulps: Update.
15962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15963
15964 [BZ #3976]
15965 * math/libm-test.inc (cosh_test_tonearest): New function.
15966 (cosh_test_towardzero): Likewise.
15967 (cosh_test_downward): Likewise.
15968 (cosh_test_upward): Likewise.
15969 (sinh_test_tonearest): Likewise.
15970 (sinh_test_towardzero): Likewise.
15971 (sinh_test_downward): Likewise.
15972 (sinh_test_upward): Likewise.
15973 (main): Call the new functions.
15974 * sysdeps/i386/fpu/libm-test-ulps: Update.
15975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15976
15977 2012-03-05 Tom de Vries <tom@codesourcery.com>
15978
15979 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15980 default stack guard is set in last bytes.
15981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15982
15983 2012-03-05 Kees Cook <keescook@chromium.org>
15984
15985 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15986
15987 [BZ #13656]
15988 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15989 possibly allocate from heap instead of stack.
15990 * stdio-common/bug-vfprintf-nargs.c: New file.
15991 * stdio-common/Makefile (tests): Add nargs overflow test.
15992
15993 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15994
15995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15996
15997 2012-03-03 Marek Polacek <polacek@redhat.com>
15998
15999 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16000 * math/math_private.h: Likewise.
16001 * stdlib/tst-strtod.c: Likewise.
16002 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16003 * sysdeps/x86_64/bits/atomic.h: Likewise.
16004
16005 2012-03-02 David S. Miller <davem@davemloft.net>
16006
16007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16011 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16012 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16013 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16014 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16015
16016 2012-03-02 Roland McGrath <roland@hack.frob.com>
16017
16018 [BZ #13792]
16019 * manual/examples/README: New file, says the example source files
16020 can be used under GPL>=2.
16021 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16022 line containing just "*/".
16023 * manual/examples/add.c: Add copyright header (GPL>=2).
16024 * manual/examples/argp-ex1.c: Likewise.
16025 * manual/examples/argp-ex2.c: Likewise.
16026 * manual/examples/argp-ex3.c: Likewise.
16027 * manual/examples/argp-ex4.c: Likewise.
16028 * manual/examples/atexit.c: Likewise.
16029 * manual/examples/db.c: Likewise.
16030 * manual/examples/dir.c: Likewise.
16031 * manual/examples/dir2.c: Likewise.
16032 * manual/examples/execinfo.c: Likewise.
16033 * manual/examples/filecli.c: Likewise.
16034 * manual/examples/filesrv.c: Likewise.
16035 * manual/examples/fmtmsgexpl.c: Likewise.
16036 * manual/examples/genpass.c: Likewise.
16037 * manual/examples/inetcli.c: Likewise.
16038 * manual/examples/inetsrv.c: Likewise.
16039 * manual/examples/isockad.c: Likewise.
16040 * manual/examples/longopt.c: Likewise.
16041 * manual/examples/memopen.c: Likewise.
16042 * manual/examples/memstrm.c: Likewise.
16043 * manual/examples/mkfsock.c: Likewise.
16044 * manual/examples/mkisock.c: Likewise.
16045 * manual/examples/mygetpass.c: Likewise.
16046 * manual/examples/pipe.c: Likewise.
16047 * manual/examples/popen.c: Likewise.
16048 * manual/examples/rprintf.c: Likewise.
16049 * manual/examples/search.c: Likewise.
16050 * manual/examples/select.c: Likewise.
16051 * manual/examples/setjmp.c: Likewise.
16052 * manual/examples/sigh1.c: Likewise.
16053 * manual/examples/sigusr.c: Likewise.
16054 * manual/examples/stpcpy.c: Likewise.
16055 * manual/examples/strdupa.c: Likewise.
16056 * manual/examples/strftim.c: Likewise.
16057 * manual/examples/strncat.c: Likewise.
16058 * manual/examples/subopt.c: Likewise.
16059 * manual/examples/swapcontext.c: Likewise.
16060 * manual/examples/termios.c: Likewise.
16061 * manual/examples/testopt.c: Likewise.
16062 * manual/examples/testpass.c: Likewise.
16063 * manual/examples/timeval_subtract.c: Likewise.
16064
16065 [BZ #13792]
16066 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16067 function to ...
16068 * manual/timeval_subtract.c.texi: ... here, new file.
16069
16070 2012-03-02 David S. Miller <davem@davemloft.net>
16071
16072 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16073
16074 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16075
16076 [BZ #3976]
16077 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16078 (__sin): Save and restore rounding mode and use round-to-nearest
16079 for all computations.
16080 (__cos): Save and restore rounding mode and use round-to-nearest
16081 for all computations.
16082 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16083 <fenv.h>.
16084 (tan): Save and restore rounding mode and use round-to-nearest for
16085 all computations.
16086 * math/libm-test.inc (cos_test_tonearest): New function.
16087 (cos_test_towardzero): Likewise.
16088 (cos_test_downward): Likewise.
16089 (cos_test_upward): Likewise.
16090 (sin_test_tonearest): Likewise.
16091 (sin_test_towardzero): Likewise.
16092 (sin_test_downward): Likewise.
16093 (sin_test_upward): Likewise.
16094 (tan_test_tonearest): Likewise.
16095 (tan_test_towardzero): Likewise.
16096 (tan_test_downward): Likewise.
16097 (tan_test_upward): Likewise.
16098 (main): Call the new functions.
16099 * sysdeps/i386/fpu/libm-test-ulps: Update.
16100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16101
16102 [BZ #10135]
16103 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16104 small n, then large n, before computing and testing k+n.
16105 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16107 Likewise.
16108 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16109 Likewise.
16110 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16111 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16113 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16116 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16117 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16118 * math/libm-test.inc (scalbn_test): Add more tests.
16119 (scalbln_test): Likewise.
16120
16121 * manual/filesys.texi (mode_t): Describe constraints on size and
16122 signedness, not exact equivalence to a particular type.
16123 (ino_t): Likewise.
16124 (ino64_t): Likewise.
16125 (dev_t): Likewise.
16126 (nlink_t): Likewise.
16127 (blkcnt_t): Likewise.
16128 (blkcnt64_t): Likewise.
16129 * manual/llio.texi (off_t): Likewise.
16130
16131 [BZ #3976]
16132 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16133 (__ieee754_exp): Save and restore rounding mode and use
16134 round-to-nearest for all computations.
16135 * math/libm-test.inc (exp_test_tonearest): New function.
16136 (exp_test_towardzero): Likewise.
16137 (exp_test_downward): Likewise.
16138 (exp_test_upward): Likewise.
16139 (main): Call the new functions.
16140 * sysdeps/i386/fpu/libm-test-ulps: Update.
16141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16142
16143 2012-03-01 Chris Demetriou <cgd@google.com>
16144
16145 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16146 have predictable order.
16147
16148 2012-03-01 David S. Miller <davem@davemloft.net>
16149
16150 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16151
16152 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16153 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16154 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16155 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16156
16157 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16158 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16159 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16161 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16162 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16163 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16164 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16165 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16166
16167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16168
16169 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16170 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16171 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16172
16173 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16175 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16176 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16177 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16180 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16181 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16182 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16183 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16187 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16189 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16190 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16191 * sysdeps/sparc/elf/configure: Regenerated.
16192
16193 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16194
16195 * configure.in (AS, LD): Require binutils 2.20 or later.
16196 * configure: Regenerated.
16197 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16198 as required minimum version.
16199 * INSTALL: Regenerated.
16200
16201 [BZ #2541]
16202 [BZ #4108]
16203 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16204 before squaring exponent.
16205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16206 bottom long double and 27 bits of top long double before squaring
16207 exponent.
16208 * math/libm-test.inc (erfc_test): Add more tests.
16209 * sysdeps/i386/fpu/libm-test-ulps: Update.
16210 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16212
16213 2012-03-01 Kai Tietz <ktietz@redhat.com>
16214
16215 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16216 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16217 containing bit-fields.
16218 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16219 * soft-fp/single.h (_FP_UNION_S): Likewise.
16220 * soft-fp/double.h (_FP_UNION_D): Likewise.
16221
16222 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16223
16224 [BZ #13786]
16225 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16226 not include ../strcmp.S.
16227 [USE_AS_STRNCASECMP_L]: Likewise.
16228 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16229 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16230 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16231 (__strncasecmp_l_ia32): Define as alias to
16232 __strncasecmp_l_nonascii.
16233
16234 [BZ #5794]
16235 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16236 * sysdeps/i386/fpu/libm-test-ulps: Update.
16237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16238
16239 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16241
16242 2012-02-29 Jeff Law <law@redhat.com>
16243
16244 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16245 out of bounds read.
16246
16247 2012-02-29 Marek Polacek <polacek@redhat.com>
16248
16249 [BZ #13706]
16250 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16251 * elf/Makefile: Add rules to run tst-unused-dep.out.
16252
16253 2012-02-28 David S. Miller <davem@davemloft.net>
16254
16255 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16256 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16261
16262 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16263
16264 * math/libm-test.inc (llround_test): Move one test from
16265 lround_test. Use TEST_f_L in moved test.
16266 (lround_test): Move misplaced test to llround_test. Add testcase
16267 from bug 2561.
16268
16269 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16270
16271 * sysdeps/x86_64/fpu/e_expf.S: New file.
16272 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16273
16274 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16275
16276 [BZ #13637]
16277 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16278 of remain_len that may cause incomplete multi-byte character and
16279 false match.
16280 * posix/bug-regex33.c: New file.
16281 * posix/Makefile (tests): Add bug-regex33.
16282
16283 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16284
16285 * manual/macros.texi: New file.
16286 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16287 * manual/libc.texinfo: Include macros.texi.
16288 * manual/creatute.texi: Likewise.
16289 * manual/install.texi: Likewise.
16290 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16291 @glibcadj{} in references to the GNU C Library.
16292 * manual/charset.texi: Likewise.
16293 * manual/conf.texi: Likewise.
16294 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16295 when not using those macros.
16296 * manual/creature.texi: Likewise.
16297 * manual/crypt.texi: Likewise.
16298 * manual/errno.texi: Likewise.
16299 * manual/filesys.texi: Likewise.
16300 * manual/header.texi: Likewise.
16301 * manual/install.texi: Likewise.
16302 * manual/intro.texi: Likewise.
16303 * manual/io.texi: Likewise.
16304 * manual/job.texi: Likewise.
16305 * manual/lang.texi: Likewise.
16306 * manual/libc.texiinfo: Likewise.
16307 * manual/llio.texi: Likewise.
16308 * manual/locale.texi: Likewise.
16309 * manual/maint.texi: Likewise.
16310 * manual/math.texi: Likewise.
16311 * manual/memory.texi: Likewise.
16312 * manual/message.texi: Likewise.
16313 * manual/nss.texi: Likewise.
16314 * manual/pattern.texi: Likewise.
16315 * manual/process.texi: Likewise.
16316 * manual/resource.texi: Likewise.
16317 * manual/search.texi: Likewise.
16318 * manual/setjmp.texi: Likewise.
16319 * manual/signal.texi: Likewise.
16320 * manual/socket.texi: Likewise.
16321 * manual/startup.texi: Likewise.
16322 * manual/stdio.texi: Likewise.
16323 * manual/string.texi: Likewise.
16324 * manual/sysinfo.texi: Likewise.
16325 * manual/syslog.texi: Likewise.
16326 * manual/terminal.texi: Likewise.
16327 * manual/time.texi: Likewise.
16328 * manual/users.texi: Likewise.
16329 * INSTALL: Regenerated.
16330 * NOTES: Regenerated.
16331 * sysdeps/gnu/errlist.c: Regenerated.
16332
16333 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16334
16335 * include/dirent.h: Include <dirstream.h> before
16336 <dirent/dirent.h>.
16337
16338 2012-02-28 David S. Miller <davem@davemloft.net>
16339
16340 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16341 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16342 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16343 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16344
16345 2012-02-27 David S. Miller <davem@davemloft.net>
16346
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16349 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16350 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16351
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16353 frame pointer instead of stack pointer relative arg slot.
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16357
16358 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16359
16360 [BZ #3992]
16361 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16362
16363 2012-02-27 David S. Miller <davem@davemloft.net>
16364
16365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16369 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16370 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16371 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16372 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16373
16374 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16375
16376 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16377 later. Allow versions 5-9.
16378 * configure: Regenerated.
16379 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16380 required minimum version and 4.6 as recommended version. Do not
16381 mention bugs in GCC 2.7 and 2.8.
16382 * INSTALL: Regenerated.
16383
16384 2012-02-27 David S. Miller <davem@davemloft.net>
16385
16386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16390 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16391 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16392 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16393 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16394
16395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16396 manipulate bits before adding and subtracting TWO112[sx].
16397 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16398
16399 2012-02-27 Roland McGrath <roland@hack.frob.com>
16400
16401 [BZ #13775]
16402 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16403 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16404 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16405 being in POSIX, because they are in 1003.1-2008.
16406
16407 * rt/tst-aio.c: Include <fcntl.h>.
16408 * rt/tst-aio7.c: Likewise.
16409 * rt/tst-aio64.c: Likewise.
16410
16411 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16412
16413 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16414
16415 * manual/install.texi (--with-headers): Describe headers as
16416 interface headers, not private headers.
16417 (Specific advice for GNU/Linux systems): Describe use of headers
16418 from "make headers_install", not private headers from older
16419 kernels.
16420 * INSTALL: Regenerated.
16421 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16422 Change to 2.6.19.
16423 * sysdeps/unix/sysv/linux/configure: Regenerated.
16424
16425 * manual/llio.texi (fclean): Remove documentation.
16426
16427 * manual/Makefile (libc-texi-generated): New variable. Include
16428 version.texi.
16429 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16430 $(libc-texi-generated), not duplicated list of files.
16431 (version.texi, stamp-version): New rules.
16432 (realclean): Remove $(libc-texi-generated), not individual files
16433 from that list. Do not remove dir-add.texinfo.
16434 * manual/libc.texinfo: Comment out uses of edition numbers and
16435 references to printed manual. Remove last-updated dates.
16436 (EDITION): Comment out.
16437 (ISBN): Likewise.
16438 (VERSION, UPDATED): Remove.
16439 (version.texi): Include.
16440
16441 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16442
16443 * sysdeps/posix/spawni.c: Include <signal.h>.
16444 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16445 * sysdeps/pthread/aio_fsync.c: Likewise.
16446
16447 2012-02-26 Ulrich Drepper <drepper@gmail.com>
16448
16449 * conform/Makefile (tests): Run only when not cross-compiling and
16450 when fast-check is not defined.
16451
16452 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16453 * conform/data/limits.h-data: Fixes for POSIX2008.
16454 * conform/run-conformtest.sh: Run all tests.
16455 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16456 headers.
16457 * include/bits/dlfcn.h: Likewise.
16458 * include/langinfo.h: Likewise.
16459 * include/monetary.h: Likewise.
16460 * include/sys/poll.h: Likewise.
16461
16462 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16463 for __USE_GNU.
16464 * posix/spawn.h: Define __need_sigset_t.
16465 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16466 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16467 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16468 to get sigevent_t only.
16469 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16470 only for __USE_GNU.
16471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16472 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16473 process_vm_writev only for __USE_GNU.
16474 * termios/termios.h: Declare tcgetsid also for POSIX2008.
16475
16476 * conform/Makefile: For now ignore errors from run-conformtest.
16477 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16478 POSIX to avoid namespace pollution. Don't prepend headers.
16479 * conform/data/aio.h-data: Fixes for POSIX testing.
16480 * conform/data/fcntl.h-data: Likewise.
16481 * conform/data/glob.h-data: Likewise.
16482 * conform/data/grp.h-data: Likewise.
16483 * conform/data/pthread.h-data: Likewise.
16484 * conform/data/pwd.h-data: Likewise.
16485 * conform/data/signal.h-data: Likewise.
16486 * conform/data/spawn.h-data: Likewise.
16487 * conform/data/stdio.h-data: Likewise.
16488 * conform/data/stdlib.h-data: Likewise.
16489 * conform/data/stropts.h-data: Likewise.
16490 * conform/data/sys/mman.h-data: Likewise.
16491 * conform/data/sys/stat.h-data: Likewise.
16492 * conform/data/sys/types.h-data: Likewise.
16493 * conform/data/sys/wait.h-data: Likewise.
16494 * conform/data/time.h-data: Likewise.
16495 * conform/data/unistd.h-data: Likewise.
16496 * conform/data/utime.h-data: Likewise.
16497
16498 * io/sys/stat.h: fchmod was always in POSIX.
16499 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16500 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16501 * rt/aio.h: Define __need_timespec before including <time.h>.
16502 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16503 struct. Add forward declaration of pthread_attr_t and use it in
16504 sigevent.
16505 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16507 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16508 always remove CLK_TCK definition.
16509
16510 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16511
16512 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16513
16514 2012-02-25 Ulrich Drepper <drepper@gmail.com>
16515
16516 * conform/run-conformtest.sh: New file.
16517 * conform/Makefile: Run run-conformtest for tests.
16518 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16519 support.
16520
16521 * conform/data/uchar.h-data: New file.
16522 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16523 * conform/data/arpa/inet.h-data: Likewise.
16524 * conform/data/assert.h-data: Likewise.
16525 * conform/data/complex.h-data: Likewise.
16526 * conform/data/cpio.h-data: Likewise.
16527 * conform/data/ctype.h-data: Likewise.
16528 * conform/data/dirent.h-data: Likewise.
16529 * conform/data/dlfcn.h-data: Likewise.
16530 * conform/data/errno.h-data: Likewise.
16531 * conform/data/fcntl.h-data: Likewise.
16532 * conform/data/float.h-data: Likewise.
16533 * conform/data/fmtmsg.h-data: Likewise.
16534 * conform/data/fnmatch.h-data: Likewise.
16535 * conform/data/ftw.h-data: Likewise.
16536 * conform/data/glob.h-data: Likewise.
16537 * conform/data/grp.h-data: Likewise.
16538 * conform/data/iconv.h-data: Likewise.
16539 * conform/data/inttypes.h-data: Likewise.
16540 * conform/data/langinfo.h-data: Likewise.
16541 * conform/data/libgen.h-data: Likewise.
16542 * conform/data/limits.h-data: Likewise.
16543 * conform/data/locale.h-data: Likewise.
16544 * conform/data/math.h-data: Likewise.
16545 * conform/data/monetary.h-data: Likewise.
16546 * conform/data/mqueue.h-data: Likewise.
16547 * conform/data/ndbm.h-data: Likewise.
16548 * conform/data/net/if.h-data: Likewise.
16549 * conform/data/netdb.h-data: Likewise.
16550 * conform/data/netinet/in.h-data: Likewise.
16551 * conform/data/nl_types.h-data: Likewise.
16552 * conform/data/poll.h-data: Likewise.
16553 * conform/data/pthread.h-data: Likewise.
16554 * conform/data/pwd.h-data: Likewise.
16555 * conform/data/regex.h-data: Likewise.
16556 * conform/data/sched.h-data: Likewise.
16557 * conform/data/search.h-data: Likewise.
16558 * conform/data/semaphore.h-data: Likewise.
16559 * conform/data/setjmp.h-data: Likewise.
16560 * conform/data/signal.h-data: Likewise.
16561 * conform/data/spawn.h-data: Likewise.
16562 * conform/data/stdarg.h-data: Likewise.
16563 * conform/data/stdio.h-data: Likewise.
16564 * conform/data/stdlib.h-data: Likewise.
16565 * conform/data/string.h-data: Likewise.
16566 * conform/data/strings.h-data: Likewise.
16567 * conform/data/stropts.h-data: Likewise.
16568 * conform/data/sys/ipc.h-data: Likewise.
16569 * conform/data/sys/mman.h-data: Likewise.
16570 * conform/data/sys/msg.h-data: Likewise.
16571 * conform/data/sys/resource.h-data: Likewise.
16572 * conform/data/sys/select.h-data: Likewise.
16573 * conform/data/sys/sem.h-data: Likewise.
16574 * conform/data/sys/shm.h-data: Likewise.
16575 * conform/data/sys/socket.h-data: Likewise.
16576 * conform/data/sys/stat.h-data: Likewise.
16577 * conform/data/sys/statvfs.h-data: Likewise.
16578 * conform/data/sys/time.h-data: Likewise.
16579 * conform/data/sys/timeb.h-data: Likewise.
16580 * conform/data/sys/times.h-data: Likewise.
16581 * conform/data/sys/types.h-data: Likewise.
16582 * conform/data/sys/uio.h-data: Likewise.
16583 * conform/data/sys/un.h-data: Likewise.
16584 * conform/data/sys/utsname.h-data: Likewise.
16585 * conform/data/sys/wait.h-data: Likewise.
16586 * conform/data/syslog.h-data: Likewise.
16587 * conform/data/tar.h-data: Likewise.
16588 * conform/data/termios.h-data: Likewise.
16589 * conform/data/utime.h-data: Likewise.
16590 * conform/data/utmpx.h-data: Likewise.
16591 * conform/data/varargs.h-data: Likewise.
16592 * conform/data/wchar.h-data: Likewise.
16593 * conform/data/wctype.h-data: Likewise.
16594 * conform/data/wordexp.h-data: Likewise.
16595
16596 * include/stropts.h: New file.
16597 * include/uchar.h: New file.
16598 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16599 * include/assert.h: Likewise.
16600 * include/ctype.h: Likewise.
16601 * include/dirent.h: Likewise.
16602 * include/dlfcn.h: Likewise.
16603 * include/fcntl.h: Likewise.
16604 * include/fnmatch.h: Likewise.
16605 * include/glob.h: Likewise.
16606 * include/grp.h: Likewise.
16607 * include/libio.h: Likewise.
16608 * include/locale.h: Likewise.
16609 * include/math.h: Likewise.
16610 * include/net/if.h: Likewise.
16611 * include/netdb.h: Likewise.
16612 * include/netinet/in.h: Likewise.
16613 * include/pthread.h: Likewise.
16614 * include/pwd.h: Likewise.
16615 * include/regex.h: Likewise.
16616 * include/sched.h: Likewise.
16617 * include/search.h: Likewise.
16618 * include/setjmp.h: Likewise.
16619 * include/signal.h: Likewise.
16620 * include/stdio.h: Likewise.
16621 * include/stdlib.h: Likewise.
16622 * include/string.h: Likewise.
16623 * include/sys/cdefs.h: Likewise.
16624 * include/sys/mman.h: Likewise.
16625 * include/sys/msg.h: Likewise.
16626 * include/sys/resource.h: Likewise.
16627 * include/sys/select.h: Likewise.
16628 * include/sys/socket.h: Likewise.
16629 * include/sys/stat.h: Likewise.
16630 * include/sys/statvfs.h: Likewise.
16631 * include/sys/time.h: Likewise.
16632 * include/sys/times.h: Likewise.
16633 * include/sys/uio.h: Likewise.
16634 * include/sys/utsname.h: Likewise.
16635 * include/sys/wait.h: Likewise.
16636 * include/termios.h: Likewise.
16637 * include/time.h: Likewise.
16638 * include/ulimit.h: Likewise.
16639 * include/unistd.h: Likewise.
16640 * include/utime.h: Likewise.
16641 * include/wchar.h: Likewise.
16642 * include/wctype.h: Likewise.
16643 * include/wordexp.h: Likewise.
16644
16645 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16646
16647 * time/time.h: TIME_UTC must be a macro.
16648 Make timespec_get available for ISO C11 only as well.
16649
16650 2012-02-24 Ulrich Drepper <drepper@gmail.com>
16651
16652 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16653 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16654
16655 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16656
16657 * configure.in: Use -o not -a in test for unsupported multi-arch.
16658
16659 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16660
16661 * manual/texinfo.tex: Update to version 2012-01-19.16.
16662
16663 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16664
16665 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16666
16667 2012-02-24 Roland McGrath <roland@hack.frob.com>
16668
16669 [BZ #13738]
16670 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16671 * manual/fdl-1.3.texi: New file.
16672 * manual/fdl-1.1.texi: File removed.
16673
16674 [BZ #13738]
16675 * manual/libc.texinfo (FDL_VERSION): New @set.
16676 Use it for mention of FDL in cover text.
16677 (Documentation License): Use it in @include file name.
16678
16679 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16680 Roland McGrath <roland@hack.frob.com>
16681
16682 [BZ #5461]
16683 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16684 not LONG_LONG_MAX and LONG_LONG_MIN.
16685 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16686 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16687 name.
16688 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16689
16690 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16691
16692 [BZ #2547]
16693 [BZ #11365]
16694 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16695 manipulate bits before adding and subtracting TWO23[sx].
16696 * math/libm-test.inc (nearbyint_test): Add more tests.
16697
16698 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16699
16700 [BZ #2548]
16701 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16702 bits before adding and subtracting TWO23[sx].
16703 * math/libm-test.inc (rint_test): Add more tests.
16704 (rint_test_tonearest): Likewise.
16705 (rint_test_towardzero): Likewise.
16706 (rint_test_downward): Likewise.
16707 (rint_test_upward: Likewise.
16708
16709 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16710
16711 [BZ #10110]
16712 * include/stdc-predef.h: New file. Extracted from features.h.
16713 * include/features.h: Include stdc-predef.h.
16714 * Makefile (headers): Add stdc-predef.h.
16715 * CONFORMANCE (Compiler limitations): Update.
16716
16717 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16718
16719 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16720
16721 2012-02-21 David S. Miller <davem@davemloft.net>
16722
16723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16724 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16725
16726 2012-02-20 David S. Miller <davem@davemloft.net>
16727
16728 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16729 using a normal save/restore sequence, rather than allocating a
16730 dummy stack frame just to store a frame pointer and restore.
16731 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16732
16733 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16734
16735 * manual/install.texi: Fix stray word in line-wrapped comment.
16736
16737 2012-02-20 David S. Miller <davem@davemloft.net>
16738
16739 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16740 both binutils and gcc support GOTDATA.
16741
16742 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16743 "rd %pc" in the PIC register setup sequences.
16744
16745 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16746 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16747 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16748 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16749 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16752 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16754 (SYSCALL_ERROR_HANDLER): Likewise.
16755 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16756 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16758 (SYSCALL_ERROR_HANDLER): Likewise.
16759
16760 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16761 (HAVE_GCC_GOTDATA): New.
16762 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16763 relocation support in both binutils and gcc.
16764 * sysdeps/sparc/elf/configure: Regenerate.
16765
16766 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16767 * sysdeps/sparc/sparc32/elf/configure: Delete.
16768 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16769 * sysdeps/sparc/sparc64/elf/configure: Delete.
16770 * sysdeps/sparc/elf/configure.in: New file.
16771 * sysdeps/sparc/elf/configure: Generate.
16772
16773 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16774 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16775 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16776 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16777 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16778
16779 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16780
16781 * manual/install.texi: Do not mention specific glibc version
16782 numbers.
16783 * manual/libc.texinfo (VERSION, UPDATED): Update.
16784 (@copying): Use @copyright{} and range of years.
16785
16786 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16787
16788 [BZ #13695]
16789 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16790 [crti.S not in sysdirs] (generated): Do not append.
16791 [crti.S not in sysdirs] (omit-deps): Likewise.
16792 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16793 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16794 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16795 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16796 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16797 Likewise.
16798 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16799 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16800 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16801 * csu/defs.awk: Remove file.
16802 * sysdeps/generic/initfini.c: Likewise.
16803 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16804 variable.
16805 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16806 Likewise.
16807
16808 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16809
16810 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16811 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16812 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16813 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16815 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16816 <bits/epoll.h>.
16817 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16818 (__EPOLL_PACKED): Define to empty if not defined by
16819 <bits/epoll.h>.
16820 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16822 bits/epoll.h.
16823
16824 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16825
16826 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16827 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16828 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16829 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16830 <bits/timerfd.h>.
16831 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16833 bits/timerfd.h.
16834
16835 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16836
16837 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16838 in C locale.
16839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16840 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16841 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843
16844 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16845
16846 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16847 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16848
16849 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16850
16851 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16852 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16853 defined.
16854 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16855 Likewise.
16856 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16857 entry for 2.16.
16858
16859 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16860
16861 * math/w_acos.c: Use non-signaling floating-point comparisons.
16862 * math/w_acosf.c: Likewise.
16863 * math/w_acosh.c: Likewise.
16864 * math/w_acoshf.c: Likewise.
16865 * math/w_acoshl.c: Likewise.
16866 * math/w_acosl.c: Likewise.
16867 * math/w_asin.c: Likewise.
16868 * math/w_asinf.c: Likewise.
16869 * math/w_asinl.c: Likewise.
16870 * math/w_atanh.c: Likewise.
16871 * math/w_atanhf.c: Likewise.
16872 * math/w_atanhl.c: Likewise.
16873 * math/w_exp2.c: Likewise.
16874 * math/w_exp2f.c: Likewise.
16875 * math/w_exp2l.c: Likewise.
16876 * math/w_j0.c: Likewise.
16877 * math/w_j0f.c: Likewise.
16878 * math/w_j0l.c: Likewise.
16879 * math/w_j1.c: Likewise.
16880 * math/w_j1f.c: Likewise.
16881 * math/w_j1l.c: Likewise.
16882 * math/w_jn.c: Likewise.
16883 * math/w_jnf.c: Likewise.
16884 * math/w_log.c: Likewise.
16885 * math/w_log10.c: Likewise.
16886 * math/w_log10f.c: Likewise.
16887 * math/w_log10l.c: Likewise.
16888 * math/w_log2.c: Likewise.
16889 * math/w_log2f.c: Likewise.
16890 * math/w_log2l.c: Likewise.
16891 * math/w_logf.c: Likewise.
16892 * math/w_logl.c: Likewise.
16893 * math/w_sqrt.c: Likewise.
16894 * math/w_sqrtf.c: Likewise.
16895 * math/w_sqrtl.c: Likewise.
16896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16897 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16899 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16900 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16901
16902 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16903
16904 [BZ #9739]
16905 * manual/string.texi (strnlen): Use correct parameter name in
16906 equivalent expression.
16907
16908 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16909
16910 [BZ #11174]
16911 * manual/users.texi (seteuid): Consistently use neweuid for
16912 argument name.
16913
16914 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16915
16916 [BZ #13704]
16917 * manual/nss.texi (Services in the NSS configuration): Correct
16918 list of services in example configuration file.
16919
16920 2012-02-19 Nick Bowler <nbowler@draconx.ca>
16921
16922 [BZ #11322]
16923 * manual/arith.texi: Remove statements about negative zero
16924 behaving identically to zero.
16925
16926 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16927
16928 [BZ #5993]
16929 * manual/install.texi: Do not document upgrading from libc5.
16930
16931 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16932
16933 [BZ #4596]
16934 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16935
16936 2012-02-18 David S. Miller <davem@davemloft.net>
16937
16938 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16939 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16940 %o7 across the call.
16941 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16942 instead.
16943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16944 SETUP_PIC_REG_LEAF.
16945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16946 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16947 * sysdeps/sparc/crtn.S: Likewise.
16948
16949 2012-02-17 Ulrich Drepper <drepper@gmail.com>
16950
16951 * aout/Makefile: Remove.
16952
16953 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16954
16955 [BZ #13058]
16956 * manual/examples/argp-ex1.c (main): Format definition in GNU
16957 style.
16958 * manual/examples/argp-ex2.c (main): Likewise.
16959 * manual/examples/argp-ex3.c (main): Likewise.
16960 * manual/examples/argp-ex4.c (main): Likewise.
16961 * manual/examples/longopt.c (main): Use new-style prototype
16962 definition.
16963 * manual/examples/strncat.c (main): Specify return type and use
16964 (void) for arguments.
16965 * manual/examples/subopt.c (main): Use char **argv argument.
16966
16967 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16968
16969 [BZ #5077]
16970 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16971 rounding modes.
16972
16973 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16974
16975 [BZ #6907]
16976 * manual/string.texi (strchr): Change when strchrnul is
16977 recommended.
16978
16979 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16980
16981 [BZ #174]
16982 * manual/locale.texi (setlocale): Document LOCPATH.
16983
16984 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16985
16986 [BZ #10210]
16987 * manual/process.texi (execle): Move @dots{} before last argument.
16988
16989 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
16990
16991 [BZ #12047]
16992 * manual/charset.texi (Generic Charset Conversion): Fix typo
16993 (LC_TYPE -> LC_CTYPE).
16994
16995 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16996
16997 [BZ #5805]
16998 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16999 (scalbnf): Likewise.
17000 (scalbnl): Likewise.
17001 (scalbln): Likewise.
17002 (scalblnf): Likewise.
17003 (scalblnl): Likewise.
17004 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17005 (vwarnx): Likewise.
17006 (verr): Likewise.
17007 (verrx): Likewise.
17008 * manual/filesys.texi (telldir): Use braces around return type.
17009 * manual/llio.texi (mmap): Add space after comma.
17010 (mmap64): Likewise.
17011 * manual/math.texi (jn): Use @var{} on parameter names.
17012 (jnf): Likewise.
17013 (jnl): Likewise.
17014 (yn): Likewise.
17015 (ynf): Likewise.
17016 (ynl): Likewise.
17017 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17018 line.
17019 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17020 "...".
17021 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17022 (sched_get_priority_max): Likewise.
17023 * manual/signal.texi (sigvec): Add space after comma.
17024 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17025 names.
17026 (if_indextoname): Likewise.
17027 (if_freenameindex): Likewise.
17028 (sendto): Use ',' instead of '.' in prototype.
17029 * manual/startup.texi (syscall): Use @dots{} instead of literal
17030 "...".
17031 * manual/stdio.texi (__fpending): Separate initial words of
17032 paragraph from @deftypefun line.
17033 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17034 "...".
17035 (vsyslog): Use @var{} on parameter names.
17036 * manual/terminal.texi (stty): Use @var{} on parameter names.
17037 * manual/users.texi (getutmp): Use @var{} on parameter names.
17038 (getutmpx): Likewise.
17039
17040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17041
17042 [BZ #6884]
17043 * manual/stdio.texi (fopen): Fix typos in description of
17044 ",ccs=STRING".
17045
17046 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17047
17048 [BZ #4026]
17049 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17050 get clock_id definition.
17051
17052 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17053
17054 [BZ #4822]
17055 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17056 (madvise): Cast every argument to void on its own.
17057
17058 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17059
17060 [BZ #9902]
17061 * manual/startup.texi (Exit Status): Fix typo.
17062
17063 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17064
17065 [BZ #10140]
17066 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17067 * manual/examples/argp-ex2.c: Likewise.
17068 * manual/examples/argp-ex3.c: Likewise.
17069
17070 2012-02-16 Richard Henderson <rth@redhat.com>
17071
17072 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17073 * sysdeps/s390/s390-32/initfini.c: Remove.
17074 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17075 * sysdeps/s390/s390-64/initfini.c: Remove.
17076
17077 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17078
17079 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17080 compiler output for sysdeps/generic/initfini.c.
17081 * sysdeps/sh/elf/initfini.c: Remove file.
17082
17083 2012-02-16 David S. Miller <davem@davemloft.net>
17084
17085 [BZ #11494]
17086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17087
17088 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17089 * sysdeps/sparc/crti.S: New file.
17090 * sysdeps/sparc/crtn.S: New file.
17091 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17092 * sysdeps/sparc/sparc64/Makefile: Likewise.
17093
17094 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17095
17096 [BZ #3335]
17097 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17098
17099 2012-02-15 Roland McGrath <roland@hack.frob.com>
17100
17101 [BZ #4822]
17102 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17103
17104 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17105 (write, read, close): Likewise.
17106 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17107
17108 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17109
17110 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17111 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17112 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17113 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17114 <bits/signalfd.h>.
17115 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17117 bits/signalfd.h.
17118
17119 2012-02-14 Marek Polacek <polacek@redhat.com>
17120
17121 * sysdeps/x86_64/crti.S: New file.
17122 * sysdeps/x86_64/crtn.S: New file.
17123 * sysdeps/x86_64/elf/initfini.c: Remove file.
17124
17125 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17126
17127 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17128 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17129 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17130 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17131 <bits/inotify.h>.
17132 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17134 bits/inotify.h.
17135
17136 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17137
17138 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17139 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17140 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17141 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17142 <bits/eventfd.h>.
17143 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17145 bits/eventfd.h.
17146
17147 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17148
17149 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17150 __feraiseexcept instead of feraiseexcept.
17151
17152 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17153 nanosleep invocations.
17154 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17155 strings, and add error checking for a nanosleep invocations.
17156
17157 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17158
17159 Replace FSF snail mail address with URLs, as per GNU coding standards.
17160 Most of the snail mail addresses were wrong anyway, and omitting
17161 them makes the source code easier to maintain. Almost all of the
17162 changes are to license notices and to locale LC_IDENTIFICATION
17163 addresses, except for this one:
17164 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17165 not its snail mail address.
17166
17167 2012-02-09 Richard Henderson <rth@twiddle.net>
17168
17169 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17170 of kernel-features.h.
17171
17172 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17173
17174 2012-02-08 Marek Polacek <polacek@redhat.com>
17175
17176 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17177 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17178 * sysdeps/gnu/_G_config.h: Likewise.
17179 * sysdeps/generic/_G_config.h: Likewise.
17180
17181 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17182
17183 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17184 tests.
17185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17186
17187 * sysdeps/powerpc/powerpc32/crti.S: New file.
17188 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17189 * sysdeps/powerpc/powerpc64/crti.S: New file.
17190 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17191
17192 * Makeconfig (have-initfini): Don't set.
17193 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17194 * configure.in (nopic_initfini): Don't substitute.
17195 * config.h.in (HAVE_INITFINI): Don't #undef.
17196 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17197 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17198
17199 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17200
17201 Support crti.S and crtn.S provided directly by architectures.
17202 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17203 [crti.S in sysdirs] (omit-deps): Likewise.
17204 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17205 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17206 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17207 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17208 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17209 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17210 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17211 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17212 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17213 compiler output for sysdeps/generic/initfini.c.
17214 * sysdeps/i386/elf/Makefile: Remove file.
17215 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17216
17217 2012-02-07 Marek Polacek <polacek@redhat.com>
17218
17219 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17220 * sysdeps/gnu/_G_config.h: Likewise.
17221 * sysdeps/mach/hurd/_G_config.h: Likewise.
17222
17223 2012-02-07 Marek Polacek <polacek@redhat.com>
17224
17225 * math/Makefile (tests): Add tst-CMPLX2.
17226 * math/tst-CMPLX2.c: New file.
17227
17228 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17229
17230 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17231
17232 * math/libm-test.inc (jn_test): Add missing L suffix.
17233
17234 2012-02-06 Marek Polacek <polacek@redhat.com>
17235
17236 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17237 * sysdeps/i386/fpu/e_powf.S: Likewise.
17238 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17239 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17240 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17241 * sysdeps/i386/fpu/e_pow.S: Likewise.
17242 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17243 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17244 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17245 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17246 * sysdeps/i386/fpu/e_log2.S: Likewise.
17247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17248 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17249 * sysdeps/i386/fpu/e_powl.S: Likewise.
17250 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17252 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17253 * sysdeps/i386/fpu/e_logl.S: Likewise.
17254 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17255 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17256 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17257 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17258 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17260 * sysdeps/i386/fpu/e_log.S: Likewise.
17261 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17262 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17263 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17264 * sysdeps/i386/fpu/e_logf.S: Likewise.
17265 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17266 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17267 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17268 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17269 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17270 * sysdeps/i386/fpu/e_log10.S: Likewise.
17271 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17272 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17273 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17274 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17275 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17276 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17277 * sysdeps/i386/asm-syntax.h: Likewise.
17278 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17279 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17281 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17282 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17283 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17284 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17285 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17287 * sysdeps/powerpc/sysdep.h: Likewise.
17288 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17289 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17290
17291 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17292
17293 [BZ #411]
17294 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17295
17296 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17297
17298 * sysdeps/i386/sysdep.h: Include <features.h>.
17299 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17300 version.
17301
17302 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17303
17304 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17305 Define.
17306 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17307 LOAD_PIC_REG_STR.
17308
17309 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17310
17311 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17312 (SETUP_PIC_REG): Use GET_PC_THUNK.
17313 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17314 macro.
17315
17316 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17317
17318 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17319 for non-PIC compilation.
17320 (SETUP_PIC_REG): Add .p2align directive.
17321 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17322 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17323 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17324 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17326 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17327 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17329 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17330 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17331 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17332 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17333 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17334 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17335 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17336 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17337 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17338 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17339 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17340 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17342 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17343 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17344 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17347 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17348 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17349 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17350 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17351 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17353 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17354 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17355 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17356 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17357 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17358 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17359 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17360 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17361 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17362
17363 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17364
17365 * math/tst-CMPLX.c: Include <stdio.h>.
17366
17367 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17368
17369 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17370 float.
17371 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17372 * sysdeps/sparc/bits/mathdef.h: Likewise.
17373
17374 2012-01-31 Marek Polacek <polacek@redhat.com>
17375
17376 * libio/libio.h: Don't define _PARAMS.
17377 * locale/programs/config.h: Don't define PARAMS.
17378 * stdlib/strtol_l.c: Likewise.
17379 (__strtol_l): Remove PARAMS from the prototype.
17380
17381 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17382
17383 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17384 names. Just use the correct names. Remove unnecessary wrapper
17385 functions.
17386 * malloc/arena.c: Likewise.
17387 * malloc/hooks.c: Likewise.
17388
17389 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17390 ARENA_TEST says not to. Simplify test for creation of a new arena.
17391 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17392
17393 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17394
17395 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17396 into tail calls.
17397 (update_get_addr): New function.
17398 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17399 GET_ADDR_MODULE parameter.
17400
17401 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17402
17403 * crypt/cert.c: Remove __STDC__ conditionals.
17404 * crypt/crypt-entry.c: Likewise.
17405 * crypt/crypt_util.c: Likewise.
17406 * libio/filedoalloc.c: Likewise.
17407 * libio/fileops.c: Likewise.
17408 * libio/genops.c: Likewise.
17409 * libio/iofclose.c: Likewise.
17410 * libio/iofdopen.c: Likewise.
17411 * libio/iofopen.c: Likewise.
17412 * libio/iofopen64.c: Likewise.
17413 * libio/iogetdelim.c: Likewise.
17414 * libio/iopopen.c: Likewise.
17415 * libio/obprintf.c: Likewise.
17416 * libio/oldfileops.c: Likewise.
17417 * libio/oldiofclose.c: Likewise.
17418 * libio/oldiofdopen.c: Likewise.
17419 * libio/oldiofopen.c: Likewise.
17420 * libio/oldiopopen.c: Likewise.
17421 * libio/wfiledoalloc.c: Likewise.
17422 * libio/wgenops.c: Likewise.
17423 * locale/programs/xmalloc.c: Likewise.
17424 * misc/syslog.c: Likewise.
17425 * stdio-common/xbug.c: Likewise.
17426 * string/memchr.c: Likewise.
17427 * string/memcmp.c: Likewise.
17428 * string/memrchr.c: Likewise.
17429 * string/rawmemchr.c: Likewise.
17430 * sysdeps/posix/getcwd.c: Likewise.
17431 * time/strftime_l.c: Likewise.
17432
17433 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17434
17435 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17436 * config.make.in (config-cflags-sse2avx): Define.
17437 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17438 Fix typo.
17439
17440 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17441
17442 * scripts/config.guess: Update from upstream config git repository.
17443 * scripts/config.sub: Likewise.
17444
17445 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17446
17447 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17448 (EM_NUM): Update.
17449 (R_TILEPRO_*, R_TILEGX_*): New macros.
17450
17451 * scripts/firstversions.awk: Fix bug in version range handling.
17452
17453 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17454
17455 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17456
17457 * include/sys/epoll.h: New file.
17458 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17459 libc_hidden_def.
17460
17461 2012-01-28 Ulrich Drepper <drepper@gmail.com>
17462
17463 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17464 Avoid unnecessary __WORDSIZE == 64 test.
17465 (fmaxf): Use VEX format if possible.
17466 (fmax): Likewise.
17467 (fminf): Likewise.
17468 (fmin): Likewise.
17469
17470 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17471 * math/math_private.h: Remove libc_fegetround* and
17472 libc_fesetround*.
17473 * sysdeps/i386/configure.in: Check for -msse2avx.
17474 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17475 also if SSE2AVX is defined.
17476 Remove libc_fegetround* and libc_fesetround*.
17477 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17478 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17480 of HAS_YMM_USABLE.
17481 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17482 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17486
17487 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17488
17489 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17490
17491 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17492 size is not set.
17493 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17494
17495 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17496
17497 [BZ #13618]
17498 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17499 relocation.
17500 * Makeconfig (libm): Define.
17501 * elf/Makefile: Add rules to build and run tst-relsort1.
17502 * elf/tst-relsort1.c: New file.
17503 * elf/tst-relsort1mod1.c: New file.
17504 * elf/tst-relsort1mod2.c: New file.
17505
17506 2012-01-27 Joseph Myers <joseph@codesourcery.com>
17507
17508 * math/s_ldexp.c: Remove __STDC__ conditionals.
17509 * math/s_ldexpf.c: Likewise.
17510 * math/s_ldexpl.c: Likewise.
17511 * math/s_nextafter.c: Likewise.
17512 * math/s_nexttowardf.c: Likewise.
17513 * math/s_significand.c: Likewise.
17514 * math/s_significandf.c: Likewise.
17515 * math/s_significandl.c: Likewise.
17516 * math/w_jnl.c: Likewise.
17517 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17518 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17519 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17520 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17521 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17523 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17524 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17525 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17538 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17539 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17541 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17542 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17543 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17544 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17545 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17547 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17548 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17549 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17550 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17551 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17552 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17554 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17555 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17556 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17557 * sysdeps/ieee754/k_standard.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17601 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17602 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17603 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17606 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17607 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17610 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17619 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17632 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17633 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17637 * sysdeps/ieee754/s_matherr.c: Likewise.
17638 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17642
17643 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17644
17645 * crypt/md5.h: Remove __STDC__ conditionals.
17646 * libio/libioP.h: Likewise.
17647 * locale/programs/config.h: Likewise.
17648 * sysdeps/generic/sysdep.h: Likewise.
17649 * sysdeps/i386/asm-syntax.h: Likewise.
17650 * sysdeps/s390/asm-syntax.h: Likewise.
17651 * sysdeps/unix/sysdep.h: Likewise.
17652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17654
17655 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17656
17657 * libio/libio.h: Remove __STDC__ conditionals.
17658 * malloc/obstack.h: Likewise.
17659 * math/complex.h: Likewise.
17660 * math/math.h: Likewise.
17661 * sysdeps/generic/_G_config.h: Likewise.
17662 * sysdeps/gnu/_G_config.h: Likewise.
17663 * sysdeps/mach/hurd/_G_config.h: Likewise.
17664 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17665 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17666 * sysdeps/sparc/bits/mathdef.h: Likewise.
17667
17668 2012-01-26 Ulrich Drepper <drepper@gmail.com>
17669
17670 [BZ #13583]
17671 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17672 Clean up HAS_* macros.
17673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17674 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17675 possible.
17676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17677 HAS_AVX.
17678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17683
17684 2012-01-25 Joseph Myers <joseph@codesourcery.com>
17685
17686 * elf/tst-unique3.cc (gets): Remove declaration.
17687 * elf/tst-unique3lib.cc (gets): Likewise.
17688 * elf/tst-unique3lib2.cc (gets): Likewise.
17689 * elf/tst-unique4.cc (gets): Likewise.
17690
17691 2012-01-24 Ulrich Drepper <drepper@gmail.com>
17692
17693 * include/stdio.h: Add C++ protection. Add gets declarations and
17694 definitions.
17695 * debug/tst-chk1.c: Don't declare gets here.
17696 * stdio-common/tst-gets.c: Likewise.
17697
17698 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17699
17700 * posix/glob: Remove directory.
17701
17702 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17703
17704 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17705
17706 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17707
17708 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17709 of the non-standard EPFNOSUPPORT.
17710
17711 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17712
17713 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17714 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17715 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17716
17717 2012-01-21 Ulrich Drepper <drepper@gmail.com>
17718
17719 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17720
17721 2012-01-20 Ulrich Drepper <drepper@gmail.com>
17722
17723 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17724 transient errors.
17725 * nscd/grpcache.c (cache_addgr): Likewise.
17726 * nscd/hstcache.c (cache_addhst): Likewise.
17727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17728 * nscd/pwdcache.c (cache_addpw): Likewise.
17729 * nscd/servicescache.c (cache_addserv): Likewise.
17730
17731 2012-01-16 Ulrich Drepper <drepper@gmail.com>
17732
17733 * malloc/malloc.c: Various cleanups.
17734 * malloc/hooks.c: Likewise.
17735
17736 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17737 * stdlib/bug-fmtmsg1.c: New file.
17738
17739 * stdlib/fmtmsg.c (init): Add missing unlock.
17740 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17741
17742 2012-01-12 Marek Polacek <polacek@redhat.com>
17743
17744 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17745 and _GNU_SOURCE.
17746
17747 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17748
17749 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17750 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17751 macro to ensure uniqueness of label name.
17752 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17753 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17754
17755 2012-01-11 Ulrich Drepper <drepper@gmail.com>
17756
17757 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17758
17759 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17760 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17763
17764 2012-01-10 Ulrich Drepper <drepper@gmail.com>
17765
17766 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17767
17768 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17769 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17770 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17771
17772 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17773
17774 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17775 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17776 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17778
17779 * math/bits/math-finite.h: Add ldexp support.
17780
17781 2012-01-10 Marek Polacek <polacek@redhat.com>
17782
17783 * locale/programs/localedef.h (show_archive_content): Add noreturn
17784 attribute.
17785
17786 2012-01-09 Ulrich Drepper <drepper@gmail.com>
17787
17788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17789
17790 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17791
17792 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17793
17794 * io/Makefile (headers): Add bits/poll2.h.
17795
17796 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17797
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17799 typo #include statement.
17800
17801 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17802
17803 * include/sys/cdefs.h: Define __attribute_alloc_size.
17804 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17805 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17806 * elf/pldd.c: Likewise.
17807 * iconv/iconv_charmap.c: Likewise.
17808 * iconv/iconvconfig.c: Likewise.
17809 * iconv/strtab.c: Likewise.
17810 * locale/programs/locale.c: Likewise.
17811 * locale/programs/localedef.h: Likewise.
17812 * locale/programs/simple-hash.c: Likewise.
17813 * nscd/nscd.h: Likewise.
17814 * nss/makedb.c: Likewise.
17815 * sysdeps/generic/ldconfig.h: Likewise.
17816 * locale/programs/localedef.c: Remove xmalloc prototype.
17817 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17818
17819 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17820
17821 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17822 appropriate.
17823
17824 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17825
17826 * math/Makefile (tests): Add tst-CMPLX.
17827 * math/tst-CMPLX.c: New file.
17828
17829 * math/complex.h (CMPLXL): Fix typo.
17830
17831 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17832 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17833 GLIBC_2.16.
17834 * debug/tst-chk1.c: Add poll and ppoll tests.
17835 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17836 * include/sys/poll.h: Add hidden proto for ppoll.
17837 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17838 * sysdeps/mach/hurd/ppoll.c: Likewise.
17839 * io/ppoll.c: Likewise.
17840 * debug/poll_chk.c: New file.
17841 * debug/ppoll_chk.c: New file.
17842 * include/bits/poll2.h: New file.
17843 * io/bits/poll2.h: New file.
17844
17845 [BZ #1350]
17846 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17847
17848 * configure.in: static is always set to yes. Remove.
17849 * config.make.in: Don't set build-static.
17850 * Makeconfig: Remove use of build-static.
17851 * dlfcn/Makefile: Likewise.
17852 * elf/Makefile: Likewise.
17853 * math/Makefile: Likewise.
17854 * misc/Makefile: Likewise.
17855 * nptl/Makefile: Likewise.
17856 * sysdeps/mach/hurd/Makefile: Likewise.
17857
17858 * configure.in: PWD_P is not used anymore.
17859 * config.make.in: Remove PWD_P entry.
17860
17861 * configure.in: Remove last remnants of RANLIB.
17862 No need to check for signed size_t anymore.
17863 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17864 and IA-64.
17865 Remove __builtin_expect test because we require at least gcc 3.4.
17866 * aclocal.m4: Likewise.
17867
17868 * wcsmbs/mbrtoc16.c: Implement using towc function.
17869 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17870 * wcsmbs/wcsmbsload.c: Likewise.
17871 * iconv/gconv_simple.c: Likewise.
17872 * iconv/gconv_int.h: Likewise.
17873 * iconv/gconv_builtin.h: Likewise.
17874 * iconv/iconv_prog.c: Remove CHAR16 handling.
17875
17876 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17877
17878 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17879
17880 * configure.in: Remove --with-elf and --enable-bounded options.
17881 Dont set base_machine for ia64. More non-ELF conditions removed.
17882 Remove testing and setting of leading underscore information.
17883 * config.make.in (build-bounded): Set to no.
17884 * config.h.in: Remove NO_UNDERSCORES entry.
17885 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17886 them.
17887 * csu/start.c: Remove !NO_UNDERSCORE code.
17888 * locale/localeinfo.h: Likewise.
17889 * sysdeps/generic/machine-gmon.h: Likewise.
17890 * sysdeps/generic/sysdep.h: Likewise.
17891 * sysdeps/i386/sysdep.h: Likewise.
17892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17893 * sysdeps/mach/sysdep.h: Likewise.
17894 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17895 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17896 * sysdeps/sh/sysdep.h: Likewise.
17897 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17898 * sysdeps/unix/i386/sysdep.S: Likewise.
17899 * sysdeps/unix/sparc/start.c: Likewise.
17900 * sysdeps/unix/sparc/sysdep.S: Likewise.
17901 * sysdeps/unix/sparc/sysdep.h: Likewise.
17902 * sysdeps/unix/start.c: Likewise.
17903 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17904 * sysdeps/x86_64/sysdep.h: Likewise.
17905
17906 2012-01-07 Ulrich Drepper <drepper@gmail.com>
17907
17908 [BZ #13553]
17909 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17910 for non-gcc.
17911 * argp/argp-fmtstream.h: Use const instead __const.
17912 * argp/argp.h: Likewise.
17913 * assert/assert.h: Likewise.
17914 * bits/fenv.h: Likewise.
17915 * bits/sched.h: Likewise.
17916 * bits/sigset.h: Likewise.
17917 * bits/sigthread.h: Likewise.
17918 * catgets/nl_types.h: Likewise.
17919 * conform/data/pthread.h-data: Likewise.
17920 * crypt/crypt-private.h: Likewise.
17921 * crypt/crypt.h: Likewise.
17922 * crypt/crypt_util.c: Likewise.
17923 * ctype/ctype.h: Likewise.
17924 * debug/execinfo.h: Likewise.
17925 * debug/mbsnrtowcs_chk.c: Likewise.
17926 * debug/mbsrtowcs_chk.c: Likewise.
17927 * debug/wcsnrtombs_chk.c: Likewise.
17928 * debug/wcsrtombs_chk.c: Likewise.
17929 * debug/wcstombs_chk.c: Likewise.
17930 * dirent/dirent.h: Likewise.
17931 * dlfcn/dlfcn.h: Likewise.
17932 * elf/neededtest4.c: Likewise.
17933 * grp/grp.h: Likewise.
17934 * gshadow/gshadow.h: Likewise.
17935 * iconv/gconv.h: Likewise.
17936 * iconv/gconv_int.h: Likewise.
17937 * iconv/gconv_simple.c: Likewise.
17938 * iconv/iconv.h: Likewise.
17939 * iconv/loop.c: Likewise.
17940 * iconv/skeleton.c: Likewise.
17941 * include/aio.h: Likewise.
17942 * include/aliases.h: Likewise.
17943 * include/argz.h: Likewise.
17944 * include/arpa/inet.h: Likewise.
17945 * include/assert.h: Likewise.
17946 * include/dirent.h: Likewise.
17947 * include/dlfcn.h: Likewise.
17948 * include/execinfo.h: Likewise.
17949 * include/fcntl.h: Likewise.
17950 * include/fenv.h: Likewise.
17951 * include/glob.h: Likewise.
17952 * include/grp.h: Likewise.
17953 * include/libintl.h: Likewise.
17954 * include/mntent.h: Likewise.
17955 * include/netdb.h: Likewise.
17956 * include/pwd.h: Likewise.
17957 * include/rpc/netdb.h: Likewise.
17958 * include/sched.h: Likewise.
17959 * include/search.h: Likewise.
17960 * include/shadow.h: Likewise.
17961 * include/signal.h: Likewise.
17962 * include/stdio.h: Likewise.
17963 * include/stdlib.h: Likewise.
17964 * include/string.h: Likewise.
17965 * include/sys/socket.h: Likewise.
17966 * include/sys/stat.h: Likewise.
17967 * include/sys/statfs.h: Likewise.
17968 * include/sys/statvfs.h: Likewise.
17969 * include/sys/syslog.h: Likewise.
17970 * include/sys/time.h: Likewise.
17971 * include/sys/uio.h: Likewise.
17972 * include/time.h: Likewise.
17973 * include/unistd.h: Likewise.
17974 * include/utmp.h: Likewise.
17975 * include/wchar.h: Likewise.
17976 * include/wctype.h: Likewise.
17977 * inet/aliases.h: Likewise.
17978 * inet/arpa/inet.h: Likewise.
17979 * inet/netinet/ether.h: Likewise.
17980 * inet/netinet/in.h: Likewise.
17981 * intl/libintl.h: Likewise.
17982 * io/bits/fcntl2.h: Likewise.
17983 * io/fcntl.h: Likewise.
17984 * io/ftw.h: Likewise.
17985 * io/sys/poll.h: Likewise.
17986 * io/sys/stat.h: Likewise.
17987 * io/sys/statfs.h: Likewise.
17988 * io/sys/statvfs.h: Likewise.
17989 * io/utime.h: Likewise.
17990 * libio/bits/stdio.h: Likewise.
17991 * libio/bits/stdio2.h: Likewise.
17992 * libio/libio.h: Likewise.
17993 * libio/libioP.h: Likewise.
17994 * libio/stdio.h: Likewise.
17995 * locale/lc-ctype.c: Likewise.
17996 * locale/locale.h: Likewise.
17997 * login/utmp.h: Likewise.
17998 * malloc/arena.c: Likewise.
17999 * malloc/malloc.c: Likewise.
18000 * malloc/malloc.h: Likewise.
18001 * malloc/mcheck.c: Likewise.
18002 * malloc/mtrace.c: Likewise.
18003 * math/bits/mathcalls.h: Likewise.
18004 * math/fenv.h: Likewise.
18005 * math/math_private.h: Likewise.
18006 * misc/bits/error.h: Likewise.
18007 * misc/bits/syslog.h: Likewise.
18008 * misc/err.h: Likewise.
18009 * misc/error.h: Likewise.
18010 * misc/fstab.h: Likewise.
18011 * misc/mntent.h: Likewise.
18012 * misc/regexp.h: Likewise.
18013 * misc/search.h: Likewise.
18014 * misc/sgtty.h: Likewise.
18015 * misc/sys/mman.h: Likewise.
18016 * misc/sys/syslog.h: Likewise.
18017 * misc/sys/uio.h: Likewise.
18018 * misc/sys/xattr.h: Likewise.
18019 * misc/ttyent.h: Likewise.
18020 * nis/rpcsvc/ypclnt.h: Likewise.
18021 * nss/nss.h: Likewise.
18022 * posix/bits/unistd.h: Likewise.
18023 * posix/fnmatch.h: Likewise.
18024 * posix/glob.h: Likewise.
18025 * posix/sched.h: Likewise.
18026 * posix/spawn.h: Likewise.
18027 * posix/sys/wait.h: Likewise.
18028 * posix/unistd.h: Likewise.
18029 * posix/wordexp.h: Likewise.
18030 * pwd/pwd.h: Likewise.
18031 * resolv/netdb.h: Likewise.
18032 * resource/sys/resource.h: Likewise.
18033 * rt/aio.h: Likewise.
18034 * rt/bits/mqueue2.h: Likewise.
18035 * rt/mqueue.h: Likewise.
18036 * shadow/shadow.h: Likewise.
18037 * signal/signal.h: Likewise.
18038 * socket/send.c: Likewise.
18039 * socket/sendto.c: Likewise.
18040 * socket/sys/socket.h: Likewise.
18041 * stdio-common/printf.h: Likewise.
18042 * stdlib/bits/stdlib.h: Likewise.
18043 * stdlib/fmtmsg.h: Likewise.
18044 * stdlib/monetary.h: Likewise.
18045 * stdlib/stdlib.h: Likewise.
18046 * stdlib/ucontext.h: Likewise.
18047 * streams/stropts.h: Likewise.
18048 * string/argz.h: Likewise.
18049 * string/bits/string2.h: Likewise.
18050 * string/string.h: Likewise.
18051 * string/strings.h: Likewise.
18052 * sunrpc/rpc/auth.h: Likewise.
18053 * sunrpc/rpc/auth_des.h: Likewise.
18054 * sunrpc/rpc/clnt.h: Likewise.
18055 * sunrpc/rpc/netdb.h: Likewise.
18056 * sunrpc/rpc/pmap_clnt.h: Likewise.
18057 * sunrpc/rpc/xdr.h: Likewise.
18058 * sysdeps/generic/inttypes.h: Likewise.
18059 * sysdeps/generic/net/if.h: Likewise.
18060 * sysdeps/generic/sys/swap.h: Likewise.
18061 * sysdeps/gnu/net/if.h: Likewise.
18062 * sysdeps/gnu/utmpx.h: Likewise.
18063 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18064 * sysdeps/i386/i486/bits/string.h: Likewise.
18065 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18066 * sysdeps/s390/bits/string.h: Likewise.
18067 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18068 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18069 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18070 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18071 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18072 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18073 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18074 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18075 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18076 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18077 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18078 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18079 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18080 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18081 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18082 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18083 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18084 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18085 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18086 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18089 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18090 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18091 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18092 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18093 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18094 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18095 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18096 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18097 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18098 * sysvipc/sys/ipc.h: Likewise.
18099 * sysvipc/sys/msg.h: Likewise.
18100 * sysvipc/sys/sem.h: Likewise.
18101 * sysvipc/sys/shm.h: Likewise.
18102 * termios/termios.h: Likewise.
18103 * time/sys/time.h: Likewise.
18104 * time/time.h: Likewise.
18105 * wcsmbs/bits/wchar2.h: Likewise.
18106 * wcsmbs/uchar.h: Likewise.
18107 * wcsmbs/wchar.h: Likewise.
18108 * wctype/wctype.h: Likewise.
18109
18110 [BZ #13551]
18111 * Makeconfig: Remove all but ELF support including AIX support.
18112 * Makerules: Likewise.
18113 * config.h.in: Likewise.
18114 * config.make.in: Likewise.
18115 * configure: Likewise.
18116 * configure.in: Likewise.
18117 * csu/Makefile: Likewise.
18118 * csu/version.c: Likewise.
18119 * debug/Makefile: Likewise.
18120 * dlfcn/Makefile: Likewise.
18121 * elf/Makefile: Likewise.
18122 * extra-lib.mk: Likewise.
18123 * iconv/Makefile: Likewise.
18124 * include/libc-symbols.h: Likewise.
18125 * include/shlib-compat.h: Likewise.
18126 * resolv/Makefile: Likewise.
18127 * resolv/res_libc.c: Likewise.
18128 * rt/Makefile: Likewise.
18129 * sysdeps/i386/asm-syntax.h: Likewise.
18130 * sysdeps/i386/sysdep.h: Likewise.
18131 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18132 * sysdeps/mach/sysdep.h: Likewise.
18133 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18134 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18135 * sysdeps/s390/asm-syntax.h: Likewise.
18136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18138 * sysdeps/sh/sysdep.h: Likewise.
18139 * sysdeps/unix/sparc/sysdep.h: Likewise.
18140 * sysdeps/wordsize-32/divdi3.c: Likewise.
18141 * sysdeps/x86_64/sysdep.h: Likewise.
18142
18143 * argp/Versions: Remove _argp_unlock_xxx.
18144
18145 [BZ #13559]
18146 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18147 * abilist/libBrokenLocale.abilist: Likewise.
18148 * abilist/libanl.abilist: Likewise.
18149 * abilist/libc.abilist: Likewise.
18150 * abilist/libcrypt.abilist: Likewise.
18151 * abilist/libdl.abilist: Likewise.
18152 * abilist/libm.abilist: Likewise.
18153 * abilist/libnsl.abilist: Likewise.
18154 * abilist/libpthread.abilist: Likewise.
18155 * abilist/libresolv.abilist: Likewise.
18156 * abilist/librt.abilist: Likewise.
18157 * abilist/libthread_db.abilist: Likewise.
18158 * abilist/libutil.abilist: Likewise.
18159 * abilist/libnss_db.abilist: New file.
18160
18161 * scripts/abilist.awk: Add support for indirect functions.
18162
18163 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18164
18165 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18166
18167 * shlib-versions: Remove entries for ports architectures.
18168
18169 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18170 files in ports.
18171 * elf/stackguard-macros.h: Remove support for IA-64.
18172 * elf/tst-auditmod1.c: Likewise.
18173 * sysdeps/generic/ldsodefs.h: Likewise.
18174
18175 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18176 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18177 configure files.
18178
18179 [BZ #13552]
18180 * configure.in: Remove --enable-omitfp support.
18181 * FAQ.in: Adjust.
18182 * config.make.in: Likewise.
18183 * Makeconfig: Likewise.
18184 * manual/install.texi: Likewise.
18185
18186 In case anyone cares, the IA-64 architecture could move to ports.
18187 * sysdeps/ia64/*: Removed.
18188 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18189 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18190
18191 [BZ #13555]
18192 * configure.in: Remove entries for unsupported architectures.
18193
18194 [BZ #13533]
18195 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18196 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18197 routines.
18198 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18199 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18200 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18201 fall back to using wcrtomb.
18202 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18203 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18204 renaming.
18205 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18206 * wcsmbs/tst-c16c32-1.c: New file.
18207
18208 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18209 local variable.
18210
18211 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18212
18213 * elf/tst-unique3.cc: Add explicit declaration of gets.
18214 * elf/tst-unique3lib.cc: Likewise.
18215 * elf/tst-unique3lib2.cc: Likewise.
18216 * elf/tst-unique4.cc: Likewise.
18217
18218 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18219
18220 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18221
18222 [BZ #13566]
18223 * assert/assert.h (static_assert): Don't define for C++.
18224 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18225 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18226
18227 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18228
18229 * iconv/loop.c (single loop): Fix assertion in storing of
18230 remaining bytes.
18231
18232 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18233
18234 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18235
18236 * posix/getconf.c: Update copyright year.
18237 * nss/getent.c: Likewise.
18238 * nss/makedb.c: Likewise.
18239 * iconv/iconvconfig.c: Likewise.
18240 * iconv/iconv_prog.c: Likewise.
18241 * elf/ldconfig.c: Likewise.
18242 * elf/pldd.c: Likewise.
18243 * elf/sotruss.ksh: Likewise.
18244 * catgets/gencat.c: Likewise.
18245 * csu/version.c: Likewise.
18246 * elf/ldd.bash.in: Likewise.
18247 * elf/sprof.c (print_version): Likewise.
18248 * locale/programs/locale.c: Likewise.
18249 * locale/programs/localedef.c: Likewise.
18250 * login/programs/pt_chown.c: Likewise.
18251 * nscd/nscd.c (print_version): Likewise.
18252 * debug/xtrace.sh: Likewise.
18253 * malloc/memusage.sh: Likewise.
18254 * malloc/mtrace.pl: Likewise.
18255 * debug/catchsegv.sh: Likewise.
18256
18257 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18258
18259 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18260 pure attribute.
18261
18262 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18263
18264 [BZ #13533]
18265 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18266 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18267 transformations.
18268 * iconv/gconv_int.h: Likewise.
18269 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18270 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18271 from libc for GLIBC_2.16.
18272 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18273 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18274 * wcsmbs/uchar.h: Really define mbstate_t.
18275 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18276 * wcsmbs/c16rtomb.c: New file.
18277 * wcsmbs/mbrtoc16.c: New file.
18278 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18279 for C/POSIX locale.
18280 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18281 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18282
18283 * wcsmbs/wchar.h: Add missing __restrict.
18284
18285 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18286
18287 [BZ #13532]
18288 * time/Makefile (routines): Add timespec_get.
18289 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18290 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18291 timespec for ISO C11.
18292 * time/timespec_get.c: New file.
18293 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18294 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18295
18296 [BZ #13531]
18297 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18298 * stdlib/stdlib.h: Declare aligned_alloc.
18299 * Versions.def: Add GLIBC_2.16 for libc.
18300 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18301
18302 [BZ 13527]
18303 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18304 ISO C11.
18305
18306 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18307 code.
18308
18309 [BZ #13528]
18310 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18311
18312 [BZ #13529]
18313 * assert/assert.h (static_assert): Define.
18314
18315 * version.h: Update for 2.16 development version.
18316
18317 [BZ #13526]
18318 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18319 _ISOC11_SOURCE.
18320
18321 * version.h (RELEASE): Bump for 2.15 release.
18322 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18323
18324 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18325 Patch by Marek Polacek <mpolacek@redhat.com>.
18326
18327 * bits/byteswap.h: Protect long long constants with __extension__.
18328 * sysdeps/i386/bits/byteswap.h: Likewise.
18329 * sysdeps/ia64/bits/byteswap.h: Likewise.
18330 * sysdeps/s390/bits/byteswap.h: Likewise.
18331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18332
18333 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18334
18335 [BZ #13540]
18336 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18337 destination buffer.
18338 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18339
18340 2011-12-23 Marek Polacek <polacek@redhat.com>
18341
18342 * elf/dl-addr.c (determine_info): Add inline keyword.
18343 * elf/tst-auditmod4b.c (check_avx): Likewise.
18344 * elf/tst-auditmod6b.c (check_avx): Likewise.
18345 * elf/tst-auditmod6c.c (check_avx): Likewise.
18346 * elf/tst-auditmod7b.c (check_avx): Likewise.
18347
18348 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18349
18350 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18351 !__SSE_MATH__.
18352
18353 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18354
18355 [BZ #13540]
18356 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18357 processing for last bytes.
18358
18359 2011-08-06 Bruno Haible <bruno@clisp.org>
18360
18361 [BZ #13061]
18362 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18363 U+0385, not to U+1FEE.
18364
18365 [BZ #13062]
18366 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18367 entry for U+00A5 U+0301.
18368
18369 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18370
18371 [BZ #13166]
18372 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18373 buffer for the output is too small.
18374
18375 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18376 optimization.
18377
18378 [BZ #13185]
18379 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18380 SSE flags if possible.
18381
18382 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18383
18384 [BZ #13540]
18385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18386 processing for last bytes.
18387
18388 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18389
18390 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18391 (syscall-list-default-options, syscall-list-default-condition)
18392 (syscall-list-includes): Define.
18393 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18394 list of ABIs and options and #if conditions for each ABI. Do not
18395 handle common syscalls between ABIs specially.
18396 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18397 Remove.
18398 (syscall-list-variants, syscall-list-32bit-options)
18399 (syscall-list-32bit-condition, syscall-list-64bit-options)
18400 (syscall-list-64bit-condition): Define.
18401 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
18406 Remove.
18407 (syscall-list-variants, syscall-list-32bit-options)
18408 (syscall-list-32bit-condition, syscall-list-64bit-options)
18409 (syscall-list-64bit-condition): Define.
18410 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18411 Remove.
18412 (syscall-list-variants, syscall-list-32bit-options)
18413 (syscall-list-32bit-condition, syscall-list-64bit-options)
18414 (syscall-list-64bit-condition): Define.
18415
18416 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18417
18418 * locale/iso-639.def: Add brx entry.
18419
18420 [BZ #13328]
18421 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18422 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18423
18424 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18425 __feraiseexcept_renamed.
18426
18427 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18428
18429 [BZ #13538]
18430 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18431 EPOLLET with unsigned values.
18432 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18434
18435 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18436 to large cancellation.
18437 * math/s_cacoshf.c: Likewise.
18438 * math/s_cacoshl.c: Likewise.
18439
18440 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18441
18442 [BZ #13305]
18443 [BZ #12786]
18444 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18445 * math/s_cacoshf.c: Likewise.
18446 * math/s_cacoshl.c: Likewise.
18447
18448 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18449
18450 [BZ #13439]
18451 * iconv/gconv.h: Define __GCONV_SWAP.
18452 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18453 * iconvdata/utf-16.c: Likewise.
18454 * iconvdata/utf-32.c: Likewise.
18455
18456 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18457
18458 [BZ #13524]
18459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18460 numerator after shifting it by one limb.
18461
18462 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18463
18464 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18465 under [__USE_EXTERN_INLINES].
18466
18467 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18468
18469 [BZ #13446]
18470 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18471
18472 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18473
18474 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18475 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18476 optimized code.
18477 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18478 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18479 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18480 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18481 for strncasecmp/strncasecmp_l compilation.
18482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18483 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18484
18485 2011-12-08 Marek Polacek <mpolacek@redhat.com>
18486
18487 [BZ #13484]
18488 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18489 of __asm__.
18490
18491 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18492
18493 [BZ #13506]
18494 * time/tzfile.c (__tzfile_read): Check values from file header.
18495
18496 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18497
18498 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18499 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18500 * powerpc/powerpc32/dl-start.S: Likewise.
18501 * powerpc/powerpc32/elf/start.S: Likewise.
18502 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18503 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18504 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18505 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18506 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18507 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18508 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18509 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18510 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18511 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18512 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18513 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18514 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18515 * powerpc/powerpc32/memset.S: Likewise.
18516 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18517 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18518 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18519 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18520 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18521 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18522 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18523 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18524 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18525 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18526 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18527 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18528 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18529
18530 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18531
18532 * math/libm-test.inc: Added more nearbyint tests.
18533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18537
18538 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18539
18540 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18541 FD_CLOEXEC.
18542
18543 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18544
18545 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18546 Add wcscpy-ssse3 wcscpy-c.
18547 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18548 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18549 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18550 * sysdeps/x86_64/wcschr.S: New file.
18551 * sysdeps/x86_64/wcsrchr.S: New file.
18552 * string/test-strcmp.c: Remove checking of wcscmp function for
18553 wrong alignments.
18554 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18555 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18556 wcsrchr-sse2 wcsrchr-c.
18557 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18558 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18559 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18560 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18561 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18562 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18563 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18564 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18565 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18566 * wcsmbc/wcschr.c (WCSCHR): New macro.
18567
18568 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18569
18570 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18571 * wcsmbs/test-wcsrchr.c: New file.
18572 * string/test-strrchr.c: Add wcsrchr support.
18573 (WIDE): New macro.
18574 * wcsmbs/test-wcscpy.c: New file.
18575 * string/test-strcpy.c: Add wcscpy support.
18576 (WIDE): New macro.
18577
18578 2011-12-10 Ulrich Drepper <drepper@gmail.com>
18579
18580 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18581 the inner loop.
18582
18583 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18584
18585 [BZ #13472]
18586 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18587
18588 2011-12-04 Ulrich Drepper <drepper@gmail.com>
18589
18590 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
18591 Minor optimizations.
18592
18593 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18594 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18595 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18596
18597 2011-12-03 Ulrich Drepper <drepper@gmail.com>
18598
18599 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18600 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18601 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18602 for gcc to avoid warnings.
18603 * inet/Makefile (tests): Add tst-checks.
18604 * inet/tst-checks.c: New file.
18605
18606 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18607 warning.
18608
18609 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18610 __wmemcmp_sse2.
18611
18612 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18613 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18614
18615 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18616
18617 2011-12-02 Ulrich Drepper <drepper@gmail.com>
18618
18619 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18620 problem.
18621
18622 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18623
18624 2011-11-29 Joseph Myers <joseph@codesourcery.com>
18625
18626 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18627 conditional on GCC version.
18628 (__arch_compare_and_exchange_val_8_acq)
18629 (__arch_compare_and_exchange_val_16_acq)
18630 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18631 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18632 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18633
18634 2011-12-02 Joseph Myers <joseph@codesourcery.com>
18635
18636 * sysdeps/sh/backtrace.c: New file.
18637
18638 2011-12-02 Andreas Schwab <schwab@redhat.com>
18639
18640 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18641 parenthesis.
18642
18643 2011-12-01 Andreas Schwab <schwab@redhat.com>
18644
18645 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18646 falling back to utime.
18647
18648 2011-11-30 Andreas Schwab <schwab@redhat.com>
18649
18650 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18651 expectations for float.
18652
18653 2011-11-29 Andreas Schwab <schwab@redhat.com>
18654
18655 * locale/weight.h (findidx): Add parameter len.
18656 * locale/weightwc.h (findidx): Likewise.
18657 * posix/fnmatch_loop.c (FCT): Adjust caller.
18658 * posix/regcomp.c (build_equiv_class): Likewise.
18659 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18660 * posix/regexec.c (check_node_accept_bytes): Likewise.
18661 * string/strcoll_l.c (STRCOLL): Likewise.
18662 * string/strxfrm_l.c (STRXFRM): Likewise.
18663
18664 2011-11-17 Ulrich Drepper <drepper@gmail.com>
18665
18666 * Makefile.in: Remove CVSOPT handling.
18667 * configure.in: Remove use of AC_REVISION.
18668 * iconvdata/Makefile (distribute): No need to filter out CVS.
18669 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18670 handling.
18671
18672 2011-11-16 Andreas Schwab <schwab@redhat.com>
18673
18674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18675 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18676 [USE_AS_STRNCASECMP_L]: Likewise.
18677 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18678 NO_TLS_DIRECT_SEG_REFS.
18679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18680 Fix argument offsets for non-PIC.
18681 [USE_AS_STRNCASECMP_L]: Likewise.
18682 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18683 NO_TLS_DIRECT_SEG_REFS.
18684
18685 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18686
18687 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18688 O_CLOEXEC.
18689 * locale/loadlocale.c (_nl_load_locale): Likewise.
18690
18691 2011-11-15 Andreas Schwab <schwab@redhat.com>
18692
18693 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18694 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18696 (SYSCALL_GETTIME): Set errno on error.
18697
18698 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18699 count references to noai6ai_cached.
18700
18701 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18702
18703 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18704
18705 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18706 FD_CLOEXEC for /proc/self/maps.
18707
18708 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18709 FD_CLOEXEC for /proc/meminfo.
18710
18711 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18712 gai.conf.
18713
18714 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18715 FD_CLOEXEC for given file.
18716
18717 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18718
18719 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18720 FD_CLOEXEC for /etc/hosts.
18721 (_gethtent): Likewise.
18722
18723 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18724
18725 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18726 cancellation and set FD_CLOEXEC for /etc/netgroup.
18727
18728 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18729 reading /etc/publickey.
18730
18731 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18732 allow cancellation when reading /etc/group.
18733
18734 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18735 cancellation.
18736 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18737
18738 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18739 when using data file.
18740
18741 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18742
18743 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18744 (write_nis_obj): Use "c" and "e" in fopen.
18745
18746 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18747
18748 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18749
18750 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18751
18752 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18753
18754 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18755 locale.alias.
18756
18757 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18758
18759 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18760
18761 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18762
18763 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18764 file parsing and set FD_CLOEXEC.
18765
18766 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18767
18768 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18769
18770 2011-11-14 Andreas Schwab <schwab@redhat.com>
18771
18772 * malloc/arena.c (arena_get2): Don't call reused_arena when
18773 _int_new_arena failed.
18774
18775 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18776
18777 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18778 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18779 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18781 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18783 to compile strcasecmp and strncasecmp.
18784 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18785 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18786
18787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18788
18789 2011-11-13 Ulrich Drepper <drepper@gmail.com>
18790
18791 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18792 locale-defines.sym to gen-as-const-headers.
18793 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18794 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18796 to compile strcasecmp and strncasecmp.
18797 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18798 strcasecmp_l and strncasecmp_l.
18799 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18800 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18801 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18802 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18803 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18804 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18805 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18806 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18807 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18808 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18809 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18810
18811 2011-11-12 Ulrich Drepper <drepper@gmail.com>
18812
18813 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18814 result of SYSDEP_GETTIME_CPU to retval.
18815 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18816 parameter list to macro. Remove trailing semicolon. Adjust users.
18817
18818 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18819 variable.
18820
18821 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18822 mantissa words.
18823 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18824
18825 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18826 from unused variable.
18827
18828 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18829 DWARF definitions.
18830 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18831 for assembling.
18832
18833 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18834 over namespaces.
18835
18836 * sunrpc/rpc_prot.c (rejected): Fix case value.
18837
18838 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18839 unsigned long long int to avoid warnings in shift.
18840
18841 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18842 of use of trans.
18843 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18844 variable tmp.
18845
18846 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18847 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18848 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18849
18850 * nis/nis_table.c (nis_list): Use variable of correct type for
18851 result of __follow_path call.
18852
18853 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18854
18855 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18856 of math functions ceil, trunc, floor, round, and sqrt, when
18857 avaliable on the platform.
18858 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18859 name clash.
18860 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18861 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18862 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18863
18864 2011-10-30 Marek Polacek <mpolacek@redhat.com>
18865
18866 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18867 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18868
18869 2011-11-11 Roland McGrath <roland@hack.frob.com>
18870
18871 * include/unistd.h: Fix __readlink return type.
18872 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18873
18874 2011-11-11 Ulrich Drepper <drepper@gmail.com>
18875
18876 * stdlib/ucontext.h: Undo last change for makecontext.
18877
18878 2011-11-11 Andreas Schwab <schwab@redhat.com>
18879
18880 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18881
18882 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18883 * setjmp/setjmp.h: Mark functions as non-leaf.
18884 * setjmp/bits/setjmp2.h: Likewise.
18885 * stdlib/ucontext.h: Likewise.
18886
18887 2011-11-10 Andreas Schwab <schwab@redhat.com>
18888
18889 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18890 (reused_arena): Don't check arena limit.
18891 (arena_get2): Atomically check arena limit.
18892
18893 2011-11-08 Ulrich Drepper <drepper@gmail.com>
18894
18895 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18896 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18897
18898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18899 instructions.
18900
18901 2011-11-07 Andreas Schwab <schwab@redhat.com>
18902
18903 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18904 handler when locking.
18905
18906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18907 Fix size of allocated buffer.
18908
18909 2011-11-04 Andreas Schwab <schwab@redhat.com>
18910
18911 [BZ #10103]
18912 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18913 declarations for long double functions.
18914 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18915
18916 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18917
18918 2011-11-03 Andreas Schwab <schwab@redhat.com>
18919
18920 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18921 installed.
18922
18923 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18924 is disabled.
18925
18926 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18927
18928 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18929
18930 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18931
18932 * include/alloca.h (stackinfo_alloca_round): Define.
18933 (extend_alloca): Use it.
18934 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18935 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18936 here.
18937
18938 * scripts/check-local-headers.sh: Ignore libaudit.h.
18939
18940 * nscd/Makefile (extra-objs): Make recursively expanded.
18941
18942 2011-11-01 Ulrich Drepper <drepper@gmail.com>
18943
18944 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18946
18947 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18948 * posix/tst-rfc3484-2.c: Likewise.
18949 * posix/tst-rfc3484-3.c: Likewise.
18950
18951 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18952 process_vm_writev.
18953 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18954 process_vm_writev.
18955 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18956 process_vm_writev from libc using GLIBC_2.15 version.
18957
18958 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18959
18960 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18961
18962 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18963 stack usage.
18964
18965 2011-10-31 Ulrich Drepper <drepper@gmail.com>
18966
18967 [BZ #13367]
18968 * nss/getent.c (initgroups_keys): Show error message in case no group
18969 names are given.
18970
18971 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18972 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18973 __bump_nl_timestamp.
18974 * nscd/connections (nscd_init): When host database is served open
18975 netlink socket and request notification about configuration changes.
18976 (main_loop_poll): Track netlink file descriptor and bump timestamp
18977 in case data becomes available.
18978 (main_loop_epoll): Likewise.
18979 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18980 (database_pers_head): Add extra_data fileds.
18981 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18982 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18983 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18984 Adjust caller.
18985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18986 in6ai data, call __free_in6ai.
18987 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18988 Add -DHAVE_NETLINK.
18989 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18990 interface information. Reuse previous data if netlink timestamp
18991 is not changed.
18992 (__bump_nl_timestamp): New function.
18993 (__free_in6ai): New function.
18994
18995 2011-10-30 Ulrich Drepper <drepper@gmail.com>
18996
18997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18998 close_not_cancel_no_status here.
18999 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19000
19001 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19002
19003 [BZ #13276]
19004 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19005 return value.
19006
19007 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19008 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19009 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19010
19011 2011-07-03 Andreas Jaeger <aj@suse.de>
19012
19013 [BZ #10709]
19014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19015 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19016 * math/libm-test.inc (sin_test): Add test case.
19017
19018 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19019
19020 [BZ #13337]
19021 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19022 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19023
19024 * elf/chroot_canon.c (chroot_canon): Cleanups.
19025
19026 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19027
19028 [BZ #13335]
19029 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19030 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19031
19032 * string/test-strchr.c: Make usable for strchrnul testing.
19033 * string/test-strchrnul.c: New file.
19034 * string/Makefile (strop-tests): Add strchrnul.
19035
19036 * po/it.po: Update from translation team.
19037 * po/es.po: Likewise.
19038
19039 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19040
19041 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19042 the three constants needed as parameters. Drop the others.
19043 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19044 __m128i_strloadu_tolower.
19045 Create and initialize variable zero and use it in all the places
19046 where _mm_setzero_si128 was used.
19047
19048 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19049 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19050 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19052 anymore.
19053 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19054 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19055 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19056 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19057 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19058 __mpranred, __mptan.
19059 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19060 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19061 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19062 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19063 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19064 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19065 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19066 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19067 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19068
19069 2011-10-28 Andreas Schwab <schwab@redhat.com>
19070
19071 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19072 redefine if SHARED.
19073 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19074
19075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19076 wide char related routines to wcsmbs subdir.
19077
19078 2011-10-27 Andreas Schwab <schwab@redhat.com>
19079
19080 [BZ #13344]
19081 * misc/sys/cdefs.h (__THROWNL): Define.
19082 * posix/unistd.h: Use __THREADNL instead of __THREAD
19083 for memory synchronization functions.
19084
19085 2011-10-26 Roland McGrath <roland@hack.frob.com>
19086
19087 [BZ #13349]
19088 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19089 doesn't exist.
19090 * manual/stdio.texi (Obstack Streams): Node removed.
19091
19092 2011-10-26 Andreas Schwab <schwab@redhat.com>
19093
19094 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19095 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19096 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19097
19098 * math/math_private.h (math_force_eval): Allow non-addressable
19099 arguments.
19100 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19101
19102 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19103
19104 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19105 file is not needed.
19106
19107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19108 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19109 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19110 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19111 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19112 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19114 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19115 Add AVX variants.
19116 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19117 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19118 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19119 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19120 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19121 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19122 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19123 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19124 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19125 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19126 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19127 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19128 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19129 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19130 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19131 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19132 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19133 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19134 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19135
19136 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19137 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19138
19139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19140 place. Use VEX encoding when compiling for AVX.
19141
19142 2011-10-25 Andreas Schwab <schwab@redhat.com>
19143
19144 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19145 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19146
19147 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19148
19149 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19150
19151 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19152 useless if() expression.
19153 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19154 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19155 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19156 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19157 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19158 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19159 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19160 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19161 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19166 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19167 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19168 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19171 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19172
19173 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19174
19175 2011-10-25 Andreas Schwab <schwab@redhat.com>
19176
19177 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19178 condition.
19179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19180
19181 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19182
19183 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19184 .text section. Avoid duplicate constants.
19185 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19195 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19197 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19200 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19202 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19208 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19209 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19210 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19211 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19212 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19213 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19214 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19215 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19216 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19217 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19218 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19219 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19220 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19221 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19222 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19223 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19224 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19225 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19226 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19227 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19228 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19229 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19230
19231 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19232
19233 * sysdeps/x86_64/dla.h: Move to ...
19234 * sysdeps/x86_64/fpu/dla.h: ...here.
19235 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19236 situations. Use __builtin_fma only for gcc 4.6 and up.
19237
19238 * config.make.in: Add have-mfma4 entry.
19239 * configure.in: Substitute libc_cv_cc_fma4.
19240 * math/Makefile (dbl-only-routines): Add sincostab.
19241 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19242 Use __sincostab not sincos.
19243 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19244 name is a macro.
19245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19249 using __copysign.
19250 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19251 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19252 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19253 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19254 and __inv.
19255 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19256 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19257 __copysign.
19258 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19259 define aliases when function name is a macro.
19260 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19261 sysdeps/ieee754/dbl-64/sincos.tbl.
19262 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19263 fma4-enabled routines.
19264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19265 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19269 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19270 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19271 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19272 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19273 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19274 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19275 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19276 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19277 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19279 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19280 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19281 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19282 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19284 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19285 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19287 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19289 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19291 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19292 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19293 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19294
19295 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19296 rename.
19297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19305
19306 2011-10-24 Andreas Schwab <schwab@redhat.com>
19307
19308 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19309
19310 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19311
19312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19313
19314 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19315 prediction.
19316 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19317
19318 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19319 Remove unused variable magic_bits.
19320 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19321
19322 * string/strnlen.c: Define and use STRNLEN macro.
19323 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19324 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19326 * wcsmbs/wcslen.c: Define and use WCSLEN.
19327 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19328 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19329 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19330 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19331 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19332 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19333 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19334
19335 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19336
19337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19338 strnlen-sse2-no-bsf.
19339 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19340 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19341 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19342 Add strnlen support.
19343 (USE_AS_STRNLEN): New macro.
19344 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19345 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19346 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19347 * sysdeps/x86_64/wcslen.S: New file.
19348
19349 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19350
19351 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19352 XMM-moves are used for copying on small sizes.
19353
19354 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19355
19356 * wcsmbs/Makefile (strop-tests): Add wcschr.
19357 * wcsmbs/test-wcschr.c: New file.
19358 * string/test-strchr.c: Update.
19359 Add wcschr support.
19360 (WIDE): New macro.
19361
19362 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19363
19364 * wcsmbs/Makefile (strop-tests): Add wcslen.
19365 * wcsmbs/test-wcslen.c: New file.
19366 * string/test-strlen.c: Update.
19367 Add wcslen support.
19368 (WIDE): New macro.
19369
19370 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19371
19372 * po/it.po: Update from translation team.
19373
19374 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19375
19376 * sysdeps/x86_64/wcscmp.S: Update.
19377 Fix wrong comparison semantics.
19378 wcscmp shall use signed comparison not unsigned.
19379 Don't use substraction to avoid overflow bug.
19380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19381 * wcsmbc/wcscmp.c: Likewise.
19382 * string/test-strcmp.c: Likewise.
19383 Add new tests to check cases with negative values.
19384
19385 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19386
19387 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19388 * sysdeps/x86_64/dla.h: ...here. New file.
19389 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19398
19399 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19400
19401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19402 __ynl_finite aliases.
19403
19404 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19405
19406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19407
19408 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19409 define DLA_FMA.
19410 [DLA_FMA] (EMULV): Use DLA_FMA.
19411 [DLA_FMA] (MUL12): Use EMULV.
19412 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19413 that are not needed.
19414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19421
19422 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19423
19424 * math/s_nan.c: Undef __nan.
19425 * math/s_nanf.c: Undef __nanf.
19426 * math/s_nanl.c: Undef __nanl.
19427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19428 "math_private.h".
19429
19430 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19431
19432 * math/s_catan.c: Add branch predictions.
19433 * math/s_catanf.c: Likewise.
19434 * math/s_catanh.c: Likewise.
19435 * math/s_catanhf.c: Likewise.
19436 * math/s_catanhl.c: Likewise.
19437 * math/s_catanl.c: Likewise.
19438 * math/s_cexp.c: Likewise.
19439 * math/s_cexpf.c: Likewise.
19440 * math/s_cexpl.c: Likewise.
19441 * math/s_clog.c: Likewise.
19442 * math/s_clog10.c: Likewise.
19443 * math/s_clog10f.c: Likewise.
19444 * math/s_clog10l.c: Likewise.
19445 * math/s_clogf.c: Likewise.
19446 * math/s_clogl.c: Likewise.
19447 * math/s_csqrt.c: Likewise.
19448 * math/s_csqrtf.c: Likewise.
19449 * math/s_csqrtl.c: Likewise.
19450 * math/s_ctanf.c: Likewise.
19451 * math/s_ctanh.c: Likewise.
19452 * math/s_ctanhf.c: Likewise.
19453 * math/s_ctanhl.c: Likewise.
19454 * math/s_ctanl.c: Likewise.
19455
19456 * math/math_private.h: Define __nan, __nanf, __nanl.
19457 * math/s_cacosh.c: Include <math_private.h>.
19458 * math/s_cacoshl.c: Likewise.
19459 * math/s_casinh.c: Likewise.
19460 * math/s_casinhf.c: Likewise.
19461 * math/s_casinhl.c: Likewise.
19462 * math/s_ccos.c: Rely entire on ccosh.
19463 * math/s_ccosf.c: Rely entire on ccoshf.
19464 * math/s_ccosl.c: Rely entirely on ccoshl.
19465 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19466 Remove tests for FE_INVALID.
19467 * math/s_ccoshf.c: Likewise.
19468 * math/s_ccoshl.c: Likewise.
19469 * math/s_csin.c: Likewise.
19470 * math/s_csinf.c: Likewise.
19471 * math/s_csinh.c Likewise.
19472 * math/s_csinhf.c: Likewise.
19473 * math/s_csinhl.c: Likewise.
19474 * math/s_csinl.c: Likewise.
19475 * math/s_ctan.c: Likewise.
19476 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19477 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19479
19480 2011-10-21 Ulrich Drepper <drepper@gmail.com>
19481
19482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19483 compilation problems.
19484
19485 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19486 __builtin_expect.
19487
19488 2011-10-20 Ulrich Drepper <drepper@gmail.com>
19489
19490 * sysdeps/i386/configure.in: Test for -mfma4 option.
19491 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19492 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19493 COMMON_CPUID_INDEX_80000001.
19494 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19495 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19496 use it if FMA3 is not supported.
19497 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19498
19499 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19501
19502 2011-10-20 Andreas Schwab <schwab@redhat.com>
19503
19504 [BZ #12892]
19505 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19506 it would create a cycle with a link time dependency.
19507
19508 2011-10-19 Ulrich Drepper <drepper@gmail.com>
19509
19510 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19511 instruction.
19512 * string/Makefile (strop-tests): Add rawmemchr.
19513 * string/test-rawmemchr.c: New file.
19514
19515 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19517 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19518 when compiling str{,n}casecmp and when AVX is available. Hook up
19519 new optimized code in initializers.
19520
19521 2011-10-19 Andreas Schwab <schwab@redhat.com>
19522
19523 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19524 __feraiseexcept instead of feraiseexcept.
19525
19526 2011-10-18 Ulrich Drepper <drepper@gmail.com>
19527
19528 * math/math_private.h: Define defaults for libc_fetestexcept and
19529 libc_feupdateenv.
19530 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19531 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19532 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19533 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19534 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19535 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19536 libc_fetestexcept and libc_feupdateenv.
19537
19538 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19539 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19540 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19541 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19542 libc_feholdexcept_setround.
19543
19544 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19545 Add s_nearbyint-c and s_nearbyintf-c.
19546 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19547 nearbyintf inlines.
19548 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19549 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19550 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19551 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19552
19553 * math/math_private.h: Define defaults for libc_fegetround,
19554 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19555 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19556 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19558 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19559 standard functions.
19560 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19561 Remove comments and hacks for old compiler versions.
19562 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19563 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19564 libc_feholdexceptl.
19565
19566 2011-10-18 Andreas Schwab <schwab@redhat.com>
19567
19568 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19569 (__feraiseexcept_renamed): Add __NTH.
19570 (feraiseexcept): Add __NTH. Rename local variables to fix
19571 namespace violations.
19572
19573 2011-10-17 Ulrich Drepper <drepper@gmail.com>
19574
19575 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19576
19577 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19578
19579 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19580 recently added interfaces.
19581 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19582
19583 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19584 about macro parameter expansion.
19585
19586 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19587 __NO_MATH_INLINES is defined. Cleanups.
19588
19589 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19590 and __floorf is target has SSE4.1.
19591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19592 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19593 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19594 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19595
19596 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19597 name.
19598 (floorf): Likewise.
19599
19600 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19601
19602 2011-10-17 Andreas Schwab <schwab@redhat.com>
19603
19604 * misc/sys/cdefs.h: Fix last change.
19605
19606 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19607 database lookup.
19608
19609 2011-10-16 Ulrich Drepper <drepper@gmail.com>
19610
19611 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19612
19613 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19615 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19617 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19620 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19621 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19622 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19623 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19624 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19625 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19626 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19627 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19628 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19629 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19630 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19631 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19632 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19633 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19634 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19635
19636 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19637 ceil, ceilf, floor, floorf.
19638
19639 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19640 Perform IRELATIVE relocations last.
19641
19642 * elf/do-rel.h: Add another parameter nrelative, replacing the
19643 local variable with the same name. Change name of the function
19644 to end in Rel or Rela (uppercase).
19645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19646 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19647 elf_dynamic_do_##reloc function.
19648
19649 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19650
19651 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19652 is sufficient, at least on modern CPUs.
19653
19654 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19655
19656 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19657 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19658
19659 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19660 __expl_finite.
19661 * math/bits/math-finite.h: Add entries for exp.
19662 * math/e_expl.c: Add __*_finite alias.
19663 * sysdeps/i386/fpu/e_exp.S: Likewise.
19664 * sysdeps/i386/fpu/e_expf.S: Likewise.
19665 * sysdeps/i386/fpu/e_expl.c: Likewise.
19666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19667 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19668 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19669 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19670 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19671 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19672 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19673
19674 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19675 is sufficient, at least on modern CPUs.
19676
19677 * ctype/ctype-info.c (__ctype_init): Define.
19678 * include/ctype.h (__ctype_init): Declare.
19679 (__ctype_b_loc): The variable is always initialized.
19680 (__ctype_toupper_loc): Likewise.
19681 (__ctype_tolower_loc): Likewise.
19682 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19683 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19684
19685 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19686
19687 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19688
19689 * configure.in: Also look in $cxxmachine/include for C++ system
19690 headers.
19691
19692 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19693
19694 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19695 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19696 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19697 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19698 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19699 (USE_AS_WMEMCMP): New macro.
19700 Fixing indents.
19701 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19702 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19703 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19704 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19706 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19707 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19708 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19709 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19710 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19711 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19712 (USE_AS_WMEMCMP): New macro.
19713 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19714 * sysdeps/string/test-memcmp.c: Update.
19715 Fix simple_wmemcmp.
19716 Add new tests.
19717 * wcsmbs/wmemcmp.c: Update.
19718 (WMEMCMP): New macro.
19719 Fix overflow bug.
19720
19721 2011-10-12 Andreas Jaeger <aj@suse.de>
19722
19723 [BZ #13268]
19724 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19725
19726 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19727
19728 * libio/iofwide.c (do_length): Avoid warning.
19729
19730 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19731
19732 2011-10-14 Ulrich Drepper <drepper@gmail.com>
19733
19734 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19735
19736 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19737 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19738 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19739 * sysdeps/i386/i686/fpu/e_log.S: New file.
19740 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19741 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19742
19743 * ctype/ctype.h: Add support for inlined isXXX functions when
19744 compiling C++ code.
19745
19746 2011-10-14 Andreas Schwab <schwab@redhat.com>
19747
19748 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19749
19750 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19751
19752 2011-10-13 Roland McGrath <roland@hack.frob.com>
19753
19754 [BZ #13291]
19755 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19756
19757 2011-10-13 Andreas Schwab <schwab@redhat.com>
19758
19759 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19760 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19761 feraiseexcept.
19762
19763 * sysdeps/x86_64/memrchr.S: Check for zero size.
19764
19765 * string/stratcliff.c: Add memrchr tests.
19766
19767 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19768
19769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19770 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19771 rawmemchr-sse2 rawmemchr-sse2-bsf.
19772 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19773 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19774 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19775 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19776 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19777 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19778 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19779 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19780 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19781 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19782 * string/memrchr.c (MEMRCHR): New macro.
19783
19784 2011-10-12 Ulrich Drepper <drepper@gmail.com>
19785
19786 Add integration with gcc's -ffinite-math-only and optimize wrapper
19787 functions in libm.
19788 * Versions.def: Define GLIBC_2.15 version for libm.
19789 * math/Makefile (headers): Add bits/math-finite.h.
19790 * math/bits/math-finite.h: New file.
19791 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19792 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19793 * math/e_acoshl.c: Add __*_finite alias.
19794 * math/e_acosl.c: Likewise.
19795 * math/e_asinl.c: Likewise.
19796 * math/e_atan2l.c: Likewise.
19797 * math/e_atanhl.c: Likewise.
19798 * math/e_coshl.c: Likewise.
19799 * math/e_exp10.c: Likewise.
19800 * math/e_exp10f.c: Likewise.
19801 * math/e_exp10l.c: Likewise.
19802 * math/e_exp2l.c: Likewise.
19803 * math/e_fmodl.c: Likewise.
19804 * math/e_gammal_r.c: Likewise.
19805 * math/e_hypotl.c: Likewise.
19806 * math/e_j0l.c: Likewise.
19807 * math/e_j1l.c: Likewise.
19808 * math/e_jnl.c: Likewise.
19809 * math/e_lgammal_r.c: Likewise.
19810 * math/e_log10l.c: Likewise.
19811 * math/e_log2l.c: Likewise.
19812 * math/e_logl.c: Likewise.
19813 * math/e_powl.c: Likewise.
19814 * math/e_sinhl.c: Likewise.
19815 * math/e_sqrtl.c: Likewise.
19816 * math/e_scalb.c: Completely rewritten and optimized.
19817 * math/e_scalbf.c: Likewise.
19818 * math/e_scalbl.c: Likewise.
19819 * math/w_acos.c: Likewise.
19820 * math/w_acosf.c: Likewise.
19821 * math/w_acosl.c: Likewise.
19822 * math/w_acosh.c: Likewise.
19823 * math/w_acoshf.c: Likewise.
19824 * math/w_acoshl.c: Likewise.
19825 * math/w_asin.c: Likewise.
19826 * math/w_asinf.c: Likewise.
19827 * math/w_asinl.c: Likewise.
19828 * math/w_atan2.c: Likewise.
19829 * math/w_atan2f.c: Likewise.
19830 * math/w_atan2l.c: Likewise.
19831 * math/w_atanh.c: Likewise.
19832 * math/w_atanhf.c: Likewise.
19833 * math/w_atanhl.c: Likewise.
19834 * math/w_exp10.c: Likewise.
19835 * math/w_exp10f.c: Likewise.
19836 * math/w_exp10l.c: Likewise.
19837 * math/w_fmod.c: Likewise.
19838 * math/w_fmodf.c: Likewise.
19839 * math/w_fmodl.c: Likewise.
19840 * math/w_j0.c: Likewise.
19841 * math/w_j0f.c: Likewise.
19842 * math/w_j0l.c: Likewise.
19843 * math/w_j1.c: Likewise.
19844 * math/w_j1f.c: Likewise.
19845 * math/w_j1l.c: Likewise.
19846 * math/w_jn.c: Likewise.
19847 * math/w_jnf.c: Likewise.
19848 * math/w_log.c: Likewise.
19849 * math/w_logf.c: Likewise.
19850 * math/w_logl.c: Likewise.
19851 * math/w_log10.c: Likewise.
19852 * math/w_log10f.c: Likewise.
19853 * math/w_log10l.c: Likewise.
19854 * math/w_log2.c: Likewise.
19855 * math/w_log2f.c: Likewise.
19856 * math/w_log2l.c: Likewise.
19857 * math/w_pow.c: Likewise.
19858 * math/w_powf.c: Likewise.
19859 * math/w_powl.c: Likewise.
19860 * math/w_remainder.c: Likewise.
19861 * math/w_remainderf.c: Likewise.
19862 * math/w_remainderl.c: Likewise.
19863 * math/w_scalb.c: Likewise.
19864 * math/w_scalbf.c: Likewise.
19865 * math/w_scalbl.c: Likewise.
19866 * math/w_sqrt.c: Likewise.
19867 * math/w_sqrtf.c: Likewise.
19868 * math/w_sqrtl.c: Likewise.
19869 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19870 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19871 used.
19872 * math/math_private.h: Declare __kernel_standard_f.
19873 * math/w_cosh.c: Remove cruft and optimize a bit.
19874 * math/w_coshf.c: Likewise.
19875 * math/w_coshl.c: Likewise.
19876 * math/w_exp2.c: Likewise.
19877 * math/w_exp2f.c: Likewise.
19878 * math/w_exp2l.c: Likewise.
19879 * math/w_hypot.c: Likewise.
19880 * math/w_hypotf.c: Likewise.
19881 * math/w_hypotl.c: Likewise.
19882 * math/w_lgamma.c: Likewise.
19883 * math/w_lgamma_r.c: Likewise.
19884 * math/w_lgammaf.c: Likewise.
19885 * math/w_lgammaf_r.c: Likewise.
19886 * math/w_lgammal.c: Likewise.
19887 * math/w_lgammal_r.c: Likewise.
19888 * math/w_sinh.c: Likewise.
19889 * math/w_sinhf.c: Likewise.
19890 * math/w_sinhl.c: Likewise.
19891 * math/w_tgamma.c: Likewise.
19892 * math/w_tgammaf.c: Likewise.
19893 * math/w_tgammal.c: Likewise.
19894 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19896 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19897 Minor optimizations. Pretty printing. Remove cruft.
19898 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19899 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19900 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19901 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19902 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19903 * sysdeps/i386/fpu/e_asin.S: Likewise.
19904 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19905 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19906 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19907 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19908 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19909 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19910 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19911 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19912 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19913 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19914 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19915 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19916 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19917 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19918 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19919 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19920 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19921 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19922 * sysdeps/i386/fpu/e_log.S: Likewise.
19923 * sysdeps/i386/fpu/e_log10.S: Likewise.
19924 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19926 * sysdeps/i386/fpu/e_log2.S: Likewise.
19927 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19928 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19929 * sysdeps/i386/fpu/e_logf.S: Likewise.
19930 * sysdeps/i386/fpu/e_logl.S: Likewise.
19931 * sysdeps/i386/fpu/e_pow.S: Likewise.
19932 * sysdeps/i386/fpu/e_powf.S: Likewise.
19933 * sysdeps/i386/fpu/e_powl.S: Likewise.
19934 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19935 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19936 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19937 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19938 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19940 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19941 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19942 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19943 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19944 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19946 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19960 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19964 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19965 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19966 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19967 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19968 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19970 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19971 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19981 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19982 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19983 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19984 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19985 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19986 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19987 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19988 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19989 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19990 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19994 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19995 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19998 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19999 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20000 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20002 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20003 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20007 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20018 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20019 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20020 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20022 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20025 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20027 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20028 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20029 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20030 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20031 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20032 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20033 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20034 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20035 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20036 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20037 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20038 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20039 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20040 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20041 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20042 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20043 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20044 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20045 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20046 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20048 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20049 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20050 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20051 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20052 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20053 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20054 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20055 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20056 (__isnanf): Likewise.
20057 (__isinf_ns): Likewise.
20058 (__isinf_nsf): Likewise.
20059 (__finite): Likewise.
20060 (__finitef): Likewise.
20061 (__ieee754_sqrt): Define as macro.
20062 (__ieee754_sqrtf): Define as macro.
20063 (__ieee754_sqrtl): Define as macro.
20064 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20065 inlined copy.
20066 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20067 __FINITE_MATH_ONLY__ consistent.
20068 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20069
20070 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20071
20072 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20073 of rawmemchr.
20074
20075 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20076
20077 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20078
20079 * po/ja.po: Update from translation team.
20080
20081 2011-10-08 Roland McGrath <roland@hack.frob.com>
20082
20083 * locale/programs/locarchive.c (prepare_address_space): New function.
20084 (create_archive, enlarge_archive, open_archive): Use it.
20085
20086 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20087 inside [SHARED], where it is used.
20088
20089 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20090
20091 * nss/getent.c (netgroup_keys): Remove unused variable.
20092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20093
20094 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20095
20096 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20097 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20099 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20100 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20101 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20102 * math/Makefile (libm-calls): Add s_isinf_ns.
20103 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20104 * math/multc3.c: Likewise.
20105 * math/s_casin.c: Likewise.
20106 * math/s_casinf.c: Likewise.
20107 * math/s_casinl.c: Likewise.
20108 * math/s_ccos.c: Likewise.
20109 * math/s_ccosf.c: Likewise.
20110 * math/s_ccosl.c: Likewise.
20111 * math/s_ctan.c: Likewise.
20112 * math/s_ctanf.c: Likewise.
20113 * math/s_ctanh.c: Likewise.
20114 * math/s_ctanhf.c: Likewise.
20115 * math/s_ctanhl.c: Likewise.
20116 * math/s_ctanl.c: Likewise.
20117 * math/w_fmod.c: Likewise.
20118 * math/w_fmodf.c: Likewise.
20119 * math/w_fmodl.c: Likewise.
20120 * math/w_remainder.c: Likewise.
20121 * math/w_remainderf.c: Likewise.
20122 * math/w_remainderl.c: Likewise.
20123 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20124 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20127 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20128 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20129 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20130 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20131
20132 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20133 of the number.
20134 * stdio-common/printf_fphex.c: Likewise.
20135 * stdio-common/printf_size.c: Likewise.
20136
20137 * math/e_exp10.c: Include math_private.h using <...> not "...".
20138 * math/e_exp10f.c: Likewise.
20139 * math/e_exp10l.c: Likewise.
20140 * math/e_exp2l.c: Likewise.
20141 * math/e_j0l.c: Likewise.
20142 * math/e_j1l.c: Likewise.
20143 * math/e_jnl.c: Likewise.
20144 * math/e_lgammal_r.c: Likewise.
20145 * math/e_rem_pio2l.c: Likewise.
20146 * math/e_scalb.c: Likewise.
20147 * math/e_scalbf.c: Likewise.
20148 * math/e_scalbl.c: Likewise.
20149 * math/k_cosl.c: Likewise.
20150 * math/k_sinl.c: Likewise.
20151 * math/k_tanl.c: Likewise.
20152 * math/s_cacoshf.c: Likewise.
20153 * math/s_catan.c: Likewise.
20154 * math/s_catanf.c: Likewise.
20155 * math/s_catanh.c: Likewise.
20156 * math/s_catanhf.c: Likewise.
20157 * math/s_catanhl.c: Likewise.
20158 * math/s_catanl.c: Likewise.
20159 * math/s_ccosh.c: Likewise.
20160 * math/s_ccoshf.c: Likewise.
20161 * math/s_ccoshl.c: Likewise.
20162 * math/s_cexp.c: Likewise.
20163 * math/s_cexpf.c: Likewise.
20164 * math/s_cexpl.c: Likewise.
20165 * math/s_clog.c: Likewise.
20166 * math/s_clog10.c: Likewise.
20167 * math/s_clog10f.c: Likewise.
20168 * math/s_clog10l.c: Likewise.
20169 * math/s_clogf.c: Likewise.
20170 * math/s_clogl.c: Likewise.
20171 * math/s_csin.c: Likewise.
20172 * math/s_csinf.c: Likewise.
20173 * math/s_csinh.c: Likewise.
20174 * math/s_csinhf.c: Likewise.
20175 * math/s_csinhl.c: Likewise.
20176 * math/s_csinl.c: Likewise.
20177 * math/s_csqrt.c: Likewise.
20178 * math/s_csqrtf.c: Likewise.
20179 * math/s_csqrtl.c: Likewise.
20180 * math/s_ctan.c: Likewise.
20181 * math/s_ctanf.c: Likewise.
20182 * math/s_ctanh.c: Likewise.
20183 * math/s_ctanhf.c: Likewise.
20184 * math/s_ctanhl.c: Likewise.
20185 * math/s_ctanl.c: Likewise.
20186 * math/s_ldexp.c: Likewise.
20187 * math/s_ldexpf.c: Likewise.
20188 * math/s_ldexpl.c: Likewise.
20189 * math/s_significand.c: Likewise.
20190 * math/s_significandf.c: Likewise.
20191 * math/s_significandl.c: Likewise.
20192 * math/w_acos.c: Likewise.
20193 * math/w_acosf.c: Likewise.
20194 * math/w_acosh.c: Likewise.
20195 * math/w_acoshf.c: Likewise.
20196 * math/w_acoshl.c: Likewise.
20197 * math/w_acosl.c: Likewise.
20198 * math/w_asin.c: Likewise.
20199 * math/w_asinf.c: Likewise.
20200 * math/w_asinl.c: Likewise.
20201 * math/w_atan2.c: Likewise.
20202 * math/w_atan2f.c: Likewise.
20203 * math/w_atan2l.c: Likewise.
20204 * math/w_atanh.c: Likewise.
20205 * math/w_atanhf.c: Likewise.
20206 * math/w_atanhl.c: Likewise.
20207 * math/w_cosh.c: Likewise.
20208 * math/w_coshf.c: Likewise.
20209 * math/w_coshl.c: Likewise.
20210 * math/w_dremf.c: Likewise.
20211 * math/w_exp10.c: Likewise.
20212 * math/w_exp10f.c: Likewise.
20213 * math/w_exp10l.c: Likewise.
20214 * math/w_exp2.c: Likewise.
20215 * math/w_exp2f.c: Likewise.
20216 * math/w_fmod.c: Likewise.
20217 * math/w_fmodf.c: Likewise.
20218 * math/w_fmodl.c: Likewise.
20219 * math/w_hypot.c: Likewise.
20220 * math/w_hypotf.c: Likewise.
20221 * math/w_hypotl.c: Likewise.
20222 * math/w_j0.c: Likewise.
20223 * math/w_j0f.c: Likewise.
20224 * math/w_j0l.c: Likewise.
20225 * math/w_j1.c: Likewise.
20226 * math/w_j1f.c: Likewise.
20227 * math/w_j1l.c: Likewise.
20228 * math/w_jn.c: Likewise.
20229 * math/w_jnf.c: Likewise.
20230 * math/w_jnl.c: Likewise.
20231 * math/w_lgamma.c: Likewise.
20232 * math/w_lgamma_r.c: Likewise.
20233 * math/w_lgammaf.c: Likewise.
20234 * math/w_lgammaf_r.c: Likewise.
20235 * math/w_lgammal.c: Likewise.
20236 * math/w_lgammal_r.c: Likewise.
20237 * math/w_log.c: Likewise.
20238 * math/w_log10.c: Likewise.
20239 * math/w_log10f.c: Likewise.
20240 * math/w_log10l.c: Likewise.
20241 * math/w_log2.c: Likewise.
20242 * math/w_log2f.c: Likewise.
20243 * math/w_log2l.c: Likewise.
20244 * math/w_logf.c: Likewise.
20245 * math/w_logl.c: Likewise.
20246 * math/w_pow.c: Likewise.
20247 * math/w_powf.c: Likewise.
20248 * math/w_powl.c: Likewise.
20249 * math/w_remainder.c: Likewise.
20250 * math/w_remainderf.c: Likewise.
20251 * math/w_remainderl.c: Likewise.
20252 * math/w_scalb.c: Likewise.
20253 * math/w_scalbf.c: Likewise.
20254 * math/w_scalbl.c: Likewise.
20255 * math/w_sinh.c: Likewise.
20256 * math/w_sinhf.c: Likewise.
20257 * math/w_sinhl.c: Likewise.
20258 * math/w_sqrt.c: Likewise.
20259 * math/w_sqrtf.c: Likewise.
20260 * math/w_sqrtl.c: Likewise.
20261 * math/w_tgamma.c: Likewise.
20262 * math/w_tgammaf.c: Likewise.
20263 * math/w_tgammal.c: Likewise.
20264
20265 * po/ja.po: Update from translation team.
20266
20267 2011-09-29 Andreas Jaeger <aj@suse.de>
20268
20269 [BZ #13179]
20270 * sunrpc/netname.c (netname2host): Fix logic.
20271
20272 [BZ #6779]
20273 [BZ #6783]
20274 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20275 correctly.
20276 * math/w_remainder.c (__remainder): Likewise.
20277 * math/w_remainderf.c (__remainderf): Likewise.
20278 * math/libm-test.inc (remainder_test): Add test cases.
20279
20280 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20281
20282 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20283 sdiv_qrnnd.
20284
20285 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20286
20287 * string/test-memcmp.c: Avoid unncessary #defines.
20288 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20289
20290 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20291
20292 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20293 Use new sse2 version for core i3 - i7 as it's faster
20294 than sse42 version.
20295 (bit_Prefer_PMINUB_for_stringop): New.
20296 * sysdeps/x86_64/rawmemchr.S: Update.
20297 Replace with faster SSE2 version.
20298 * sysdeps/x86_64/memrchr.S: New file.
20299 * sysdeps/x86_64/memchr.S: Update.
20300 Replace with faster SSE2 version.
20301
20302 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20303
20304 * elf/dl-load.c (lose): Add cast to avoid warning.
20305
20306 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20307
20308 * po/ca.po: Update from translation team.
20309
20310 * inet/getnetgrent_r.c: Hook up nscd.
20311 * nscd/Makefile (routines): Add nscd_netgroup.
20312 (nscd-modules): Add netgroupcache.
20313 (CFLAGS-netgroupcache.c): Define.
20314 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20315 (cache_search): Add const to second parameter.
20316 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20317 INNETGR.
20318 (dbs): Add netgrdb entry.
20319 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20320 (verify_persistent_db): Handle netgrdb.
20321 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20322 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20323 GETFDNETGR.
20324 (netgroup_response_header): Define.
20325 (innetgroup_response_header): Define.
20326 (datahead): Add netgroup_response_header and innetgroup_response_header
20327 elements.
20328 * nscd/nscd.conf: Add entries for netgroup cache.
20329 * nscd/nscd.h (dbtype): Add netgrdb.
20330 (_PATH_NSCD_NETGROUP_DB): Define.
20331 (netgroup_iov_disabled): Declare.
20332 (xmalloc, xcalloc, xrealloc): Move declarations here.
20333 (cache_search): Adjust prototype.
20334 Add netgroup-related prototypes.
20335 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20336 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20337 (__nscd_innetgr): Declare.
20338 * nscd/selinux.c (perms): Use access_vector_t as element type and
20339 add netgroup-related initializers.
20340 * nscd/netgroupcache.c: New file.
20341 * nscd/nscd_netgroup.c: New file.
20342 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20343 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20344 For four parameters use innetgr.
20345 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20346 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20347 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20348 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20349
20350 * nscd/connections.c (register_traced_file): Don't register file
20351 for disabled databases.
20352
20353 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20354
20355 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20356
20357 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20358 from tree and freeing node.
20359
20360 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20361
20362 * nss/nsswitch.c (__nss_database_lookup): Handle
20363 nss_parse_service_list out of memory case.
20364
20365 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20366
20367 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20368 out of memory case.
20369
20370 2011-10-04 Andreas Schwab <schwab@redhat.com>
20371
20372 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20373 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20374 pass it down.
20375 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20376 elf_machine_rela, elf_machine_lazy_rel.
20377 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20378 (ELF_DYNAMIC_DO_REL): Likewise.
20379 (ELF_DYNAMIC_DO_RELA): Likewise.
20380 (ELF_DYNAMIC_RELOCATE): Likewise.
20381 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20382 to ELF_DYNAMIC_DO_REL.
20383 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20384 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20385 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20386 elf_machine_rela.
20387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20388 skip_ifunc, don't call ifunc function if non-zero.
20389 (elf_machine_rela): Likewise.
20390 (elf_machine_lazy_rel): Likewise.
20391 (elf_machine_lazy_rela): Likewise.
20392 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20393 (elf_machine_lazy_rel): Likewise.
20394 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20395 Likewise.
20396 (elf_machine_lazy_rel): Likewise.
20397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20398 Likewise.
20399 (elf_machine_lazy_rel): Likewise.
20400 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20401 (elf_machine_lazy_rel): Likewise.
20402 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20403 (elf_machine_lazy_rel): Likewise.
20404 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20405 (elf_machine_lazy_rel): Likewise.
20406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20407 (elf_machine_lazy_rel): Likewise.
20408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20409 (elf_machine_lazy_rel): Likewise.
20410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20411 (elf_machine_lazy_rel): Likewise.
20412
20413 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20414
20415 * nss/nss_files/files-init.c (_nss_files_init): Use static
20416 initialization for all the *_traced_file variables.
20417
20418 2011-09-28 Andreas Schwab <schwab@redhat.com>
20419
20420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20421
20422 2011-09-27 Roland McGrath <roland@hack.frob.com>
20423
20424 [BZ #13226]
20425 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20426
20427 2011-09-27 Andreas Schwab <schwab@redhat.com>
20428
20429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20430 Reread the line before reparsing it.
20431
20432 2011-09-26 Andreas Schwab <schwab@redhat.com>
20433
20434 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20435
20436 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20437 Maxim Kuvyrkov <maxim@codesourcery.com>
20438 Joseph Myers <joseph@codesourcery.com>
20439
20440 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20441 if needed for __stack_chk_guard.
20442
20443 2011-09-19 Roland McGrath <roland@hack.frob.com>
20444
20445 * sysdeps/posix/spawni.c (script_execute): Always define it.
20446 It will be optimized away if unused.
20447 (maybe_script_execute): New function.
20448 (__spawni): Call it.
20449
20450 * Makerules: Don't include tls.make.
20451 (config-tls): Always set to thread.
20452 * tls.make.c: File removed.
20453
20454 2011-09-19 Mike Frysinger <vapier@gentoo.org>
20455
20456 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20457 * config.make.in (CPPFLAGS-config): New substituted variable.
20458
20459 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20460
20461 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20462
20463 [BZ #13192]
20464 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20465 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20466
20467 2011-09-15 Roland McGrath <roland@hack.frob.com>
20468
20469 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20470 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20472 (CALL_FAIL): Likewise.
20473 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20474 (CALL_FAIL): Macro removed.
20475 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20476
20477 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20478
20479 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20480 for __FINITE_MATH_ONLY__ == 1.
20481
20482 2011-09-15 Andreas Schwab <schwab@redhat.com>
20483
20484 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20485 __ieee754_sqrt instead of sqrt.
20486 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20487 __ieee754_sqrtf instead of sqrtf.
20488 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20489 __floorf instead of floorf.
20490 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20491 __floorf, __truncf instead of floorf, truncf.
20492
20493 2011-09-14 Ulrich Drepper <drepper@gmail.com>
20494
20495 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20496
20497 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20498 __extern_always_inline.
20499 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20500 32-bit.
20501
20502 2011-09-14 Andreas Schwab <schwab@redhat.com>
20503
20504 * elf/rtld.c (dl_main): Also relocate in dependency order when
20505 doing symbol dependency testing.
20506
20507 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20508
20509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20510 Always define `refsym'.
20511
20512 2011-09-13 Andreas Schwab <schwab@redhat.com>
20513
20514 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20515 (__FD_ELT): Renamed from __FDELT.
20516 * misc/bits/select2.h (__FD_ELT): Likewise.
20517 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20518 __FD_MASK instead of __FDELT, __FDMASK.
20519 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20520 Likewise.
20521 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20522 Likewise.
20523
20524 * elf/Makefile (gen-ldd): Fix pattern.
20525
20526 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20527 (init_tls): Likewise.
20528
20529 2011-09-12 Ulrich Drepper <drepper@gmail.com>
20530
20531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20532
20533 2011-09-12 Andreas Schwab <schwab@redhat.com>
20534
20535 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20536 `struct cmsghdr *' instead of `void *'.
20537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20538 Likewise.
20539
20540 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20541
20542 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20543 if non-absolute.
20544 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20545 ldd_rewrite_script.
20546
20547 2011-09-11 Ulrich Drepper <drepper@gmail.com>
20548
20549 * configure.in: Remove --with-tls option.
20550 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20551 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20552 out in case it is missing.
20553 * sysdeps/ia64/elf/configure.in: Likewise.
20554 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20555 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20556 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20557 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20558 * sysdeps/sh/elf/configure.in: Likewise.
20559 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20560 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20561 * sysdeps/x86_64/elf/configure.in: Likewise.
20562 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20563 * sysdeps/mach/hurd/tls.h: Likewise.
20564
20565 [BZ #13067]
20566 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20567
20568 [BZ #13090]
20569 * configure.in: Fix use of AC_INIT.
20570
20571 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20572
20573 2011-09-10 Ulrich Drepper <drepper@gmail.com>
20574
20575 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20576 __set_errno.
20577 * malloc/hooks.c: Likewise.
20578
20579 [BZ #11929]
20580 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20581 variables statically.
20582 (narenas): Initialize.
20583 (list_lock): Initialize.
20584 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20585 initializtion of main_arena and list_lock. Small cleanups.
20586 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20587 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20588 Add initializers to main_arena and mp_.
20589 (malloc_state): Remove pagesize member. Change all users to use
20590 GLRO(dl_pagesize).
20591
20592 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20593 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20594 is always initialized.
20595
20596 * malloc/malloc.c: Removed unused configurations and dead code.
20597 * malloc/arena.c: Likewise.
20598 * malloc/hooks.c: Likewise.
20599 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
20600
20601 * include/tls.h: Removed. USE___THREAD must always be defined.
20602 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20603 * elf/dl-libc.c: Likewise.
20604 * elf/dl-tsd.c: Likewise.
20605 * include/errno.h: Likewise.
20606 * include/netdb.h: Likewise.
20607 * include/resolv.h: Likewise.
20608 * inet/herrno-loc.c: Likewise.
20609 * inet/herrno.c: Likewise.
20610 * malloc/arena.c: Likewise.
20611 * malloc/hooks.c: Likewise.
20612 * malloc/malloc.c: Likewise.
20613 * resolv/res-state.c: Likewise.
20614 * resolv/res_libc.c: Likewise.
20615 * sysdeps/i386/dl-machine.h: Likewise.
20616 * sysdeps/ia64/dl-machine.h: Likewise.
20617 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20618 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20619 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20620 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20621 * sysdeps/sh/dl-machine.h: Likewise.
20622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20623 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20624 * sysdeps/unix/i386/sysdep.S: Likewise.
20625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20626 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20631 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20635 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20636 * sysdeps/x86_64/dl-machine.h: Likewise.
20637 * tls.make.c: Likewise.
20638
20639 * configure.in: Remove --with-__thread option. Make tests for
20640 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20641 tls_model attribute fail if no support is available. Remove
20642 USE_IN_LIBIO.
20643 * Makeconfig: Adjust for dropped configure option. All features are
20644 now mandatory.
20645 * Makerules: Likewise.
20646 * Versions.def: Likewise.
20647 * argp/argp-fmtstream.c: Likewise.
20648 * argp/argp-fmtstream.h: Likewise.
20649 * argp/argp-help.c: Likewise.
20650 * assert/assert.c: Likewise.
20651 * config.h.in: Likewise.
20652 * config.make.in: Likewise.
20653 * configure: Likewise.
20654 * configure.in: Likewise.
20655 * csu/Versions: Likewise.
20656 * csu/init.c: Likewise.
20657 * elf/tst-audit2.c: Likewise.
20658 * elf/tst-tls10.c: Likewise.
20659 * elf/tst-tls10.h: Likewise.
20660 * elf/tst-tls11.c: Likewise.
20661 * elf/tst-tls12.c: Likewise.
20662 * elf/tst-tls14.c: Likewise.
20663 * elf/tst-tlsmod11.c: Likewise.
20664 * elf/tst-tlsmod12.c: Likewise.
20665 * elf/tst-tlsmod13.c: Likewise.
20666 * elf/tst-tlsmod13a.c: Likewise.
20667 * elf/tst-tlsmod14a.c: Likewise.
20668 * elf/tst-tlsmod15b.c: Likewise.
20669 * elf/tst-tlsmod16a.c: Likewise.
20670 * elf/tst-tlsmod16b.c: Likewise.
20671 * elf/tst-tlsmod7.c: Likewise.
20672 * elf/tst-tlsmod8.c: Likewise.
20673 * elf/tst-tlsmod9.c: Likewise.
20674 * gmon/gmon.c: Likewise.
20675 * grp/fgetgrent_r.c: Likewise.
20676 * grp/putgrent.c: Likewise.
20677 * hurd/fopenport.c: Likewise.
20678 * include/libc-symbols.h: Likewise.
20679 * include/tls.h: Likewise.
20680 * intl/gettextP.h: Likewise.
20681 * intl/loadinfo.h: Likewise.
20682 * locale/global-locale.c: Likewise.
20683 * locale/localeinfo.h: Likewise.
20684 * mach/devstream.c: Likewise.
20685 * malloc/arena.c: Likewise.
20686 * malloc/set-freeres.c: Likewise.
20687 * misc/err.c: Likewise.
20688 * misc/getttyent.c: Likewise.
20689 * misc/mntent_r.c: Likewise.
20690 * posix/getopt.c: Likewise.
20691 * posix/wordexp.c: Likewise.
20692 * pwd/fgetpwent_r.c: Likewise.
20693 * resolv/Versions: Likewise.
20694 * resolv/res_hconf.c: Likewise.
20695 * shadow/fgetspent_r.c: Likewise.
20696 * shadow/putspent.c: Likewise.
20697 * stdio-common/printf_fphex.c: Likewise.
20698 * stdio-common/tmpfile.c: Likewise.
20699 * stdlib/abort.c: Likewise.
20700 * stdlib/fmtmsg.c: Likewise.
20701 * sunrpc/auth_unix.c: Likewise.
20702 * sunrpc/clnt_perr.c: Likewise.
20703 * sunrpc/clnt_tcp.c: Likewise.
20704 * sunrpc/clnt_udp.c: Likewise.
20705 * sunrpc/clnt_unix.c: Likewise.
20706 * sunrpc/openchild.c: Likewise.
20707 * sunrpc/svc_simple.c: Likewise.
20708 * sunrpc/svc_tcp.c: Likewise.
20709 * sunrpc/svc_udp.c: Likewise.
20710 * sunrpc/svc_unix.c: Likewise.
20711 * sunrpc/xdr.c: Likewise.
20712 * sunrpc/xdr_array.c: Likewise.
20713 * sunrpc/xdr_rec.c: Likewise.
20714 * sunrpc/xdr_ref.c: Likewise.
20715 * sunrpc/xdr_stdio.c: Likewise.
20716
20717 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20718
20719 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20720
20721 2011-07-03 Andreas Jaeger <aj@suse.de>
20722
20723 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20724 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20725 regenerate with gen-libm-tests.pl.
20726
20727 2010-05-12 Petr Baudis <pasky@suse.cz>
20728
20729 [BZ #11589]
20730 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20731 around j0() zero points by switching to j1().
20732 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20733 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20736
20737 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20738
20739 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20740 instead of 0.
20741 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20742 instead of 0.
20743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20744 Patch in part by Pavel Roskin <proski@gnu.org>.
20745
20746 [BZ #13138]
20747 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20748 realloc.
20749 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20750 Free memory block if necessary.
20751
20752 [BZ #12847]
20753 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20754 be NULL. Don't lock in this case.
20755
20756 2011-09-09 Roland McGrath <roland@hack.frob.com>
20757
20758 * elf/elf.h (ELFOSABI_GNU): New macro.
20759 (ELFOSABI_LINUX): Define to that.
20760
20761 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20762
20763 * string/strncat.c (strncat): Undef the symbol in case it has been
20764 defined in bits/string.h.
20765
20766 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20767
20768 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20769
20770 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20771 link map.
20772
20773 2011-08-17 Andreas Jaeger <aj@suse.de>
20774
20775 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20776
20777 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20778 Ian Lance Taylor <iant@google.com>
20779
20780 * math/libm-test.inc (lround_test): New testcase.
20781 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20782
20783 2011-09-08 Ulrich Drepper <drepper@gmail.com>
20784
20785 * Makefile: Remove support for automatic cvs check-ins.
20786 * Makerules: Likewise.
20787 * config.make.in: Likewise.
20788 * configure.in: Likewise.
20789 * intl/Makefile: Likewise.
20790 * locale/Makefile: Likewise.
20791 * po/Makefile: Likewise.
20792 * posix/Makefile: Likewise.
20793 * sysdeps/gnu/Makefile: Likewise.
20794 * sysdeps/mach/hurd/Makefile: Likewise.
20795 * sysdeps/sparc/sparc32/Makefile: Likewise.
20796
20797 [BZ #13118]
20798 * posix/Makefile (bug-regex32-ENV): Define.
20799 Patch by John Stanley <jpsinthemix@verizon.net>.
20800
20801 * misc/Makefile (headers): Add bits/select2.h.
20802 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20803 * misc/bits/select2.h: New file.
20804 * include/bits/select2.h: New file.
20805 * debug/Makefile (routines): Add fdelt_chk.
20806 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20807 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20808 FD_ISSET.
20809 * debug/fdelt_chk.c: New file.
20810
20811 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20812 * wcsmbs/test-wmemcmp.c: Likewise.
20813 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20814 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20815
20816 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20817
20818 * string/Makefile (strop-tests): Add memcmp.
20819 * string/test-wmemcmp.c: New file.
20820 * string/test-memcmp.c: Add wmemcmp support.
20821
20822 2011-09-08 Roland McGrath <roland@hack.frob.com>
20823
20824 [BZ #13153]
20825 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20826 2011-07-19 change.
20827
20828 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20829 garbage value in a __mach_port_mod_refs call in the cases of the
20830 task-self and thread-self ports.
20831
20832 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20833
20834 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20835
20836 2011-09-08 Andreas Schwab <schwab@redhat.com>
20837
20838 * elf/dl-load.c (lose): Check for non-null L.
20839
20840 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20841
20842 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20843
20844 * elf/dl-libc.c (dlerror_run): Pass back error code from
20845 dl_catch_error.
20846
20847 [BZ #13123]
20848 * elf/dl-load.c (lose): Free l_origin if it is valid.
20849
20850 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20851 names.
20852 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20853 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20854 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20856 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20857 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20858
20859 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20860
20861 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20862 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20863 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20864 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20865 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20866 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20867 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20868 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20869 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20870 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20871
20872 2011-08-15 Alan Modra <amodra@gmail.com>
20873
20874 [BZ #13092]
20875 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20876 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20877 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20878 ppc_mcount to static-only-routines.
20879 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20880 __mcount_internal.
20881 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20882 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20883
20884 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20885
20886 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20887 for finite and infinity parameters.
20888
20889 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20890
20891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20892 and add nop instructions for throughput optimization.
20893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20894
20895 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20896
20897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20898 aligned copy for power7 with vector-scalar instructions.
20899 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20900
20901 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20902
20903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20904 AVX check.
20905
20906 2011-09-07 Andreas Schwab <schwab@redhat.com>
20907
20908 [BZ #13144]
20909 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20910 last change.
20911
20912 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20913
20914 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20915 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20916 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20917 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20918 clock_gettime.
20919
20920 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20921
20922 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20923 Forgot to demangle the pointer.
20924
20925 * sysdeps/i386/sysdep.h: Define atom_text_section.
20926 * sysdeps/x86_64/sysdep.h: Likewise.
20927 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20928 section with atom_text_section.
20929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20930 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20931 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20933 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20934
20935 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20936 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20937 already be defined. Change to take two parameters and don't assign
20938 result to variable. Adjust all users.
20939 Define INTERNAL_GETTIME if not already defined.
20940 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20941 call.
20942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20943 HAVE_CLOCK_GETTIME_VSYSCALL.
20944 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20945
20946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20947 gettimeofday vsyscall, just use time.
20948
20949 2011-09-06 Andreas Schwab <schwab@redhat.com>
20950
20951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20952 <errno.h>.
20953
20954 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20955
20956 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20957 syscall on x86-64.
20958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20959 syscall.
20960 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20962 syscall if possible.
20963
20964 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20965
20966 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20967 e_ident. Don't pass to find_mapsXX.
20968 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20969
20970 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20971
20972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20973 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20974 * sysdeps/x86_64/multiarch/strchr.S: Update.
20975 Check bit_slow_BSF bit.
20976 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20977 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20978 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20979
20980 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20981
20982 [BZ #13134]
20983 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20984 before glibc 2.15.
20985 (tryshell): Define.
20986 (__spawni): Change last parameter to be flag. Test
20987 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20988 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20989 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20990 * posix/spawni.c: Likewise.
20991 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20992 * posix/spawnp.c: Likewise. Change normal version to use
20993 SPAWN_XFLAGS_USE_PATH.
20994 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20995 SPAWN_XFLAGS_TRY_SHELL.
20996
20997 [BZ #13150]
20998 * posix/glob.h: Remove gcc 1.x support.
20999
21000 [BZ #13068]
21001 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21002
21003 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21004
21005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21006 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21007 strrchr-sse2-bsf
21008 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21009 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21010 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21012 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21013 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21014
21015 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21016
21017 * sysdeps/x86_64/wcscmp.S: New file.
21018
21019 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21020 wcscmp-c wcscmp-sse2
21021 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21022 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21023 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21024 * wcsmbs/wcscmp.c: Allow renaming.
21025
21026 2011-09-05 David S. Miller <davem@davemloft.net>
21027
21028 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21029 stack slot, rather than the struct return pointer slot.
21030 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21031 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21033 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21034
21035 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21036
21037 * po/ja.po: Update from translation team.
21038
21039 [BZ #13144]
21040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21041 kernel in 64-bit binaries.
21042
21043 2011-09-01 David S. Miller <davem@davemloft.net>
21044
21045 * elf/elf.h (HWCAP_SPARC_*): Move to..
21046 * sysdeps/sparc/sysdep.h: this new file and add new values.
21047 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21048 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21049 _DL_HWCAP_COUNT to 24.
21050 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21051 entries.
21052 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21053 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21054 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21056 instead of magic constants.
21057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21058
21059 2011-08-31 David S. Miller <davem@davemloft.net>
21060
21061 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21063 Reimplement to do errno handling inline.
21064 (SYSCALL_ERROR_HANDLER): New macro.
21065 (__SYSCALL_STRING): Do not do errno handling in asm.
21066 (__CLONE_SYSCALL_STRING): Delete.
21067 (__INTERNAL_SYSCALL_STRING): Delete.
21068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21069 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21070 (PSEUDO): Reimplement to do errno handling inline.
21071 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21072 (SYSCALL_ERROR_HANDLER): New macro.
21073 (__SYSCALL_STRING): Do not do errno handling in asm.
21074 (__CLONE_SYSCALL_STRING): Delete.
21075 (__INTERNAL_SYSCALL_STRING): Delete.
21076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21077 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21078 i386.
21079 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21080 (inline_syscall*): Add 'err' argument.
21081 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21082 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21083 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21084 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21085
21086 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21087 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21088
21089 2011-08-30 Andreas Schwab <schwab@redhat.com>
21090
21091 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21092
21093 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21094
21095 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21096 directive.
21097
21098 2011-08-24 David S. Miller <davem@davemloft.net>
21099
21100 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21101
21102 2011-08-24 Andreas Schwab <schwab@redhat.com>
21103
21104 * elf/Makefile: Add rules to build and run unload8 test.
21105 * elf/unload8.c: New file.
21106 * elf/unload8mod1.c: New file.
21107 * elf/unload8mod1x.c: New file.
21108 * elf/unload8mod2.c: New file.
21109 * elf/unload8mod3.c: New file.
21110
21111 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21112 it wasn't used.
21113
21114 2011-08-23 David S. Miller <davem@davemloft.net>
21115
21116 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21117 subtract stack bias.
21118 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21119 %sp not %fp in calculations.
21120 (_JMPBUF_UNWINDS_ADJ): Likewise.
21121
21122 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21123 (aio_suspend): Call it to force an exception region around the
21124 AIO_MISC_WAIT() invocation.
21125
21126 2011-08-23 Andreas Schwab <schwab@redhat.com>
21127
21128 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21129 backslash.
21130
21131 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21132
21133 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21134 protection macro.
21135 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21136 and <dl-machine.h>.
21137 (Elf64_FuncDesc): Remove.
21138
21139 2011-08-22 David S. Miller <davem@davemloft.net>
21140
21141 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21142 sigaltstack check, add missing cfi directives.
21143 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21144 missing cfi directives, and sigaltstack handling.
21145
21146 2011-08-16 Andreas Schwab <schwab@redhat.com>
21147
21148 [BZ #11724]
21149 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21150 object is seen twice.
21151 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21152
21153 * elf/Makefile (distribute): Add tst-initorder2.c.
21154 (tests): Add tst-initorder2.
21155 (modules-names): Add tst-initorder2a tst-initorder2b
21156 tst-initorder2c tst-initorder2d. Add rules to build them.
21157 ($(objpfx)tst-initorder2.out): New rule.
21158 * elf/tst-initorder2.c: New file.
21159 * elf/tst-initorder2.exp: New file.
21160
21161 2011-08-22 Andreas Schwab <schwab@redhat.com>
21162
21163 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21164
21165 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21166 dependencies back to end of function.
21167
21168 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21169 $(elfobjdir)/ld.so.
21170
21171 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21172
21173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21174 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21176 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21177 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21178 of __vdso_gettimeofday.
21179 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21180 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21181 attribute_hidden.
21182 (_libc_vdso_platform_setup): Remove initialization of
21183 __vdso_gettimeofday and __vdso_time.
21184
21185 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21186
21187 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21188 and fgetc_unlocked.
21189 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21190 getc_unlocked.
21191
21192 * elf/dl-open.c (add_to_global): Report additions to the global scope
21193 for LD_DEBUG=scopes.
21194 (dl_open_worker): Also print scope of newly loaded dependencies.
21195 (_dl_show_scope): Indicate if there is no scope.
21196
21197 [BZ #13114]
21198 * stdio-common/Makefile (tests): Add bug24.
21199 * stdio-common/bug24.c: New file.
21200
21201 2011-08-19 Andreas Jaeger <aj@suse.de>
21202
21203 [BZ #13114]
21204 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21205 non-existant file when using close-on-exec mode.
21206
21207 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21208
21209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21210 the very first instruction.
21211
21212 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21213 the CFI state in the end.
21214 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21215 inclusion of dl-trampoline.h.
21216 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21217
21218 2011-08-19 Andreas Schwab <schwab@redhat.com>
21219
21220 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21221 expectations for long double.
21222
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21224 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21225
21226 2011-08-14 David S. Miller <davem@davemloft.net>
21227
21228 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21229 artificual limit depends upon the system page size.
21230
21231 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21232
21233 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21234 * resolv/Makefile: Define CFLAGS-libresolv.
21235
21236 2011-08-17 Andreas Schwab <schwab@redhat.com>
21237
21238 * nss/makedb.c (compute_tables): Make variables used in nested
21239 function static.
21240
21241 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21242
21243 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21244 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21245 if buffer was too small.
21246
21247 * elf/pldd.c (main): Attach to all threads in the process.
21248 Rewrite /proc handling to use *at functions.
21249
21250 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21251
21252 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21253 specifies first scope to show.
21254 (dl_open_worker): Update callers. Move printing scope of new
21255 object to before the relocation.
21256 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21257 * sysdeps/generic/ldsodefs.h: Update declaration.
21258
21259 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21260 string for the scope number.
21261
21262 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21263
21264 * nscd/servicescache.c (cache_addserv): Make sure written is always
21265 initialized.
21266
21267 2011-08-14 Roland McGrath <roland@hack.frob.com>
21268
21269 * sysdeps/i386/i486/bits/atomic.h
21270 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21271 statement expression, so as to suppress "set but not used" warning.
21272 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21273
21274 * string/strncat.c (STRNCAT): Use prototype definition.
21275
21276 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21277 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21278 -Iprograms here.
21279 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21280 (localedef-modules): Add localedef.
21281 (locale-modules): Add locale.
21282
21283 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21284 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21285 to avoid a warning.
21286
21287 2011-08-14 David S. Miller <davem@davemloft.net>
21288
21289 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21290 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21291
21292 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21293
21294 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21295 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21296 * elf/rtld.c (dl_main): Set l_name of vDSO.
21297 Call _dl_show_scope when DL_DEBUG_SCOPES.
21298 (process_dl_debug): Recognize scopes flag and also set it for all.
21299 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21300 Declare _dl_show_scope.
21301
21302 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21303 (do_dlopen): Pass caller_dlopen to dl_open.
21304 (__libc_dlopen_mode): Initialize caller_dlopen.
21305
21306 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21307 of libc. Make tolower call locale-independent. Optimize a bit by
21308 using isdigit instead of isalnum.
21309 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21310
21311 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21312
21313 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21314 was a dependency or dynamically loaded.
21315
21316 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21317
21318 * intl/l10nflist.c: Allow architecture-specific pop function.
21319 * sysdeps/x86_64/l10nflist.c: New file.
21320
21321 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21322 classification.
21323
21324 2011-08-10 Andreas Schwab <schwab@redhat.com>
21325
21326 * include/dirent.h: Add libc_hidden_proto for scandirat and
21327 scandirat64. Don't declare __scandirat64.
21328 * dirent/scandirat.c: Add libc_hidden_def.
21329 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21330 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21331
21332 2011-08-10 David S. Miller <davem@davemloft.net>
21333
21334 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21335 enum.
21336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21339
21340 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21341
21342 * Versions.def [libc]: Add GLIBC_2.15.
21343 * dirent/Makefile (routines): Add scandirat and scandirat64.
21344 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21345 GLIBC_2.15.
21346 * dirent/dirent.h: Declare scandirat and scandirat64.
21347 * dirent/scandirat.c: New file.
21348 * dirent/scandirat64.c: New file.
21349 * sysdeps/wordsize-64/scandirat.c: New file.
21350 * sysdeps/wordsize-64/scandirat64.c: New file.
21351 * dirent/opendir.c: Define opendirat.
21352 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21353 using scandirat.
21354 * dirent/scandir64.c: Adjust for scandir.c change.
21355 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21356 __scandirat64, and __scandir_cancel_handler.
21357 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21358 additional parameter and use openat instead of open (outside of ld.so).
21359 Add new __opendir as wrapper around __opendirat.
21360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21361 here without requiring old scandirat implementation.
21362
21363 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21364
21365 * dirent/scandir.c (cancel_handler): Renamed to
21366 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21367 defined. Adjust users.
21368 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21369 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21370
21371 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21372
21373 * string/test-string.h (IMPL): Use __STRING to expand name and then
21374 stringify it.
21375
21376 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21377 of cleanups.
21378
21379 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21380
21381 * string/Makefile: Update.
21382 (strop-tests): Append strncat.
21383 * string/test-wcscmp.c: New file.
21384 New comprehensive test for wcscmp.
21385 * string/test-strcmp.c: Update.
21386 (WIDE): New define.
21387
21388 2011-07-22 Andreas Schwab <schwab@redhat.com>
21389
21390 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21391 line.
21392
21393 2011-07-26 Andreas Schwab <schwab@redhat.com>
21394
21395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21396 encoding to ACE if AI_IDN.
21397
21398 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21399
21400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21401 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21402
21403 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21404
21405 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21406 Fix overflow bug in strncat.
21407 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21408
21409 * string/test-strncat.c: Update.
21410 Add new tests for checking overflow bugs.
21411
21412 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21413
21414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21415 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21416 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21417 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21418 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21419 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21420 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21421 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21422 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21423
21424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21425 (USE_AS_STRCAT): Define.
21426 Add strcat and strncat support.
21427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21428
21429 2011-07-25 Andreas Schwab <schwab@redhat.com>
21430
21431 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21432 __n bigger than INT_MAX+1.
21433 (__strncmp_g): Likewise.
21434
21435 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21436
21437 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21438 * libio/stido.h: Likewise.
21439
21440 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21441 (AF_NFC): Define.
21442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21443 (AF_NFC): Define.
21444
21445 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21447 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21449 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21450
21451 [BZ #13021]
21452 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21453 installed.
21454
21455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21456 typo.
21457 (_dl_x86_64_save_sse): Likewise.
21458
21459 2011-07-22 Ulrich Drepper <drepper@gmail.com>
21460
21461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21462 OSXSAVE.
21463 (_dl_x86_64_save_sse): Likewise.
21464
21465 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21466
21467 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21468
21469 2011-07-21 Andreas Schwab <schwab@redhat.com>
21470
21471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21472 change.
21473 (_dl_x86_64_save_sse): Use correct AVX check.
21474
21475 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21476
21477 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21478 bug in strncpy/strncat.
21479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21480
21481 2011-07-21 Ulrich Drepper <drepper@gmail.com>
21482
21483 * string/tester.c (test_strcat): Add tests for different alignments
21484 of source and destination.
21485 (test_strncat): Likewise.
21486
21487 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21488
21489 [BZ #12852]
21490 * posix/glob.c (glob): Check passed in values before using them in
21491 expressions to avoid some overflows.
21492 (glob_in_dir): Likewise.
21493
21494 [BZ #13007]
21495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21496 check for AVX enablement so that we don't crash with old kernels and
21497 new hardware.
21498 * elf/tst-audit4.c: Add same checks here.
21499 * elf/tst-audit6.c: Likewise.
21500
21501 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21502
21503 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21504
21505 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21506
21507 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21508
21509 * po/cs.po: Update from translation team.
21510 * po/bg.po: Likewise.
21511
21512 2011-07-12 Marek Polacek <mpolacek@redhat.com>
21513
21514 * misc/sys/cdefs.h: Add support for const attribute.
21515 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21516 to gnu_dev_{major,minor,makedev} functions.
21517
21518 2011-07-20 Marek Polacek <mpolacek@redhat.com>
21519
21520 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21521
21522 2011-07-20 Andreas Schwab <schwab@redhat.com>
21523
21524 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21525 strlen results.
21526
21527 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21528
21529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21530 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21531 register in order to avoid conflicts with the soft frame pointer
21532 being held in r11 when necessary.
21533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21534 (INTERNAL_VSYSCALL_NCS): Likewise.
21535
21536 2011-07-14 Marek Polacek <mpolacek@redhat.com>
21537
21538 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21539 * elf/dl-fini.c (_dl_fini): Adjust caller.
21540 * elf/dl-close.c (_dl_close_worker): Likewise.
21541 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21542
21543 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21544
21545 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21546 "aux_cache->nlibs < 0".
21547
21548 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21549 in the reload-count case.
21550
21551 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21552
21553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21554 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21555 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21556 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21557 * sysdeps/x86_64/multiarch/strcat.S: New file.
21558 * sysdeps/x86_64/multiarch/strncat.S: New file.
21559 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21560 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21561 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21562 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21564 (USE_AS_STRCAT): Define.
21565 Add strcat and strncat support.
21566 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21568 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21569 * string/strncat.c: Update.
21570 (USE_AS_STRNCAT): Define.
21571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21572 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21573 and i7.
21574 * sysdeps/x86_64/multiarch/init-arch.h
21575 (bit_Prefer_PMINUB_for_stringop): New.
21576 (index_Prefer_PMINUB_for_stringop): Likewise.
21577 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21578 bit_Prefer_PMINUB_for_stringop.
21579
21580 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21581
21582 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21583 buffer64.
21584 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21585 of casting of buffer.
21586 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21587 buffer32 and buffer64.
21588 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21589 writes instead of casting of buffer.
21590 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21591 buffer32.
21592 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21593 casting of buffer.
21594
21595 2011-07-19 Andreas Schwab <schwab@redhat.com>
21596
21597 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21598
21599 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21600
21601 * nscd/nscd.c (termination_handler): Don't do anything for a database
21602 if it has not yet been initialized.
21603
21604 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21605
21606 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21607
21608 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21609
21610 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21611
21612 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21613
21614 * po/nl.po: Update from translation team.
21615 * po/sv.po: Likewise.
21616
21617 2011-07-16 Roland McGrath <roland@hack.frob.com>
21618
21619 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21620 now disallowed by GCC.
21621
21622 * configure.in (use-default-link): Default to yes if a test -shared
21623 link meets our qualifications.
21624 * configure: Regenerated.
21625
21626 * config.make.in (output-format): New variable.
21627 * configure.in: Check for ld --print-output-format support.
21628 * configure: Regenerated.
21629 * Makerules ($(common-objpfx)format.lds)
21630 [$(output-format) != unknown]: Just use $(output-format),
21631 instead of the linker-script munging.
21632
21633 2011-07-14 Roland McGrath <roland@hack.frob.com>
21634
21635 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21636 of $(common-objpfx)shlib.lds.
21637 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21638
21639 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21640 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21641
21642 * configure.in (-z relro check): Adjust test code to add a large
21643 writable data section after it.
21644 * configure: Regenerated.
21645
21646 2011-07-11 Roland McGrath <roland@hack.frob.com>
21647
21648 * configure.in (-z relro check): Fix test code to make the variable
21649 truly const.
21650 * configure: Regenerated.
21651
21652 2011-07-11 Ulrich Drepper <drepper@gmail.com>
21653
21654 * nscd/nscd.h (struct traced_file): Define.
21655 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21656 elements. Add traced_files.
21657 (inotify_fd): Declare.
21658 (register_traced_file): Declare.
21659 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21660 (inotify_fd): Export.
21661 (resolv_conf_descr): Remove.
21662 (nscd_init): Move inotify descriptor creation to main.
21663 Don't register files for notification here.
21664 (register_traced_file): New function.
21665 (invalidate_cache): Don't use reset_res to determine whether to call
21666 res_init, go through the list of registered files.
21667 (main_loop_poll): The inotify descriptors are now stored in the
21668 structures for the traced files.
21669 (main_loop_epoll): Likewise
21670 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21671 to __nss_disable_nscd.
21672 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21673 for a database anymore. Check the records for all the registered
21674 files instead.
21675 * nss/Makefile (libnss_files-routines): Add files-init.
21676 (libnss_db-routines): Add db-init.
21677 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21678 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21679 * nss/nss_db/db-init.c: New file.
21680 * nss/nss_files/files-init.c: New file.
21681 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21682 __nss_lookup_function.
21683 (__nss_lookup_function): Call nss_load_library.
21684 (nss_load_all_libraries): New function.
21685 (__nss_disable_nscd): Take parameter with callback function for files
21686 to register. Set is_nscd. Load all the DSOs for the NSS modules
21687 used for the cached services.
21688 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21689 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21690 options for features to all the files in nscd.
21691
21692 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21693
21694 2011-07-10 Roland McGrath <roland@hack.frob.com>
21695
21696 * csu/elf-init.c (__libc_csu_init): Comment typo.
21697
21698 2011-07-09 Ulrich Drepper <drepper@gmail.com>
21699
21700 * po/pl.po: Update from translation team.
21701 * po/ja.po: Likewise.
21702 * po/ru.po: Likewise.
21703 * po/ko.po: Likewise.
21704 * po/fr.po: Likewise.
21705
21706 2011-07-09 Roland McGrath <roland@hack.frob.com>
21707
21708 * configure.in (.ctors/.dtors header and trailer check):
21709 Use an empirical test on a built program.
21710 * configure: Regenerated.
21711
21712 * configure.in (-z relro check): Use an empirical test on a built DSO.
21713 Detect, but do not require, on ia64.
21714 * configure: Regenerated.
21715
21716 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21717 Update tests that use readelf to use $READELF instead.
21718 * configure: Regenerated.
21719
21720 2011-07-08 Ulrich Drepper <drepper@gmail.com>
21721
21722 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21723 if the result is not used.
21724
21725 2011-07-05 Andreas Jaeger <aj@suse.de>
21726
21727 [BZ#9696]
21728 * stdlib/tst-strtod.c: Add testcase.
21729
21730 2011-07-07 Ulrich Drepper <drepper@gmail.com>
21731
21732 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21733 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21734 The latter has a higher limit. Take additional parameter to pass to
21735 the new function.
21736 (__pathconf): Pass file to __statfs_link_max.
21737 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21738 __statfs_link_max.
21739 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21740 __statfs_link_max.
21741
21742 [BZ #12868]
21743 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21744 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21745 Handle Lustre.
21746 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21747 (__statfs_filesize_max): Likewise.
21748 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21749
21750 2011-07-05 Andreas Jaeger <aj@suse.de>
21751
21752 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21753
21754 2011-07-06 Marek Polacek <mpolacek@redhat.com>
21755
21756 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21757 `status' variable.
21758 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21759 Likewise.
21760
21761 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21762
21763 * Makefile (strop-tests): Add strncat.
21764 * string/test-strncat.c: New file.
21765
21766 2011-06-30 Marek Polacek <mpolacek@redhat.com>
21767
21768 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21769
21770 2011-06-21 Andreas Jaeger <aj@suse.de>
21771
21772 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21773 Copy rule from iconvdata/Makefile.
21774
21775 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21776
21777 [BZ #12922]
21778 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21779 but no long options are defined, just return 'W'.
21780
21781 2011-06-22 Marek Polacek <mpolacek@redhat.com>
21782
21783 [BZ #9696]
21784 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21785
21786 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21787
21788 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21789 netgroups to read.
21790 (innetgr): Likewise.
21791
21792 2011-07-05 Roland McGrath <roland@hack.frob.com>
21793
21794 * config.make.in (install_root): Default to $(DESTDIR).
21795
21796 2011-07-05 Ulrich Drepper <drepper@gmail.com>
21797
21798 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21799
21800 2011-07-02 Roland McGrath <roland@hack.frob.com>
21801
21802 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21803
21804 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21805 containing directory rather than embedding absolute directory names.
21806
21807 * scripts/check-local-headers.sh: Rewritten using awk.
21808 Match by word, not by line. Print error messages for matches.
21809 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21810
21811 * Makerules [shlib-lds-flags empty]:
21812 ($(common-objpfx)libc_pic.opts): New target.
21813 ($(common-objpfx)libc_pic.os.clean): New target.
21814 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21815
21816 * config.make.in (OBJCOPY): New variable.
21817 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21818 * configure: Regenerated.
21819
21820 * config.make.in (use-default-link): New variable.
21821 * configure.in (use_default_link): Grok --with-default-link to set it.
21822 * configure: Regenerated.
21823 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21824 (shlib-lds, shlib-lds-flags): Define to empty.
21825
21826 * Makerules (shlib-lds): New variable.
21827 (shlib-lds-flags): New variable.
21828 (build-shlib, build-moduile, build-module-asneeded): Use it.
21829 ($(common-objpfx)libc.so): Use $(shlib-lds).
21830 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21831 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21832
21833 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21834 DT_FLAGS/DT_FLAGS_1 with zero flags.
21835
21836 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21837 linker script munging.
21838
21839 2011-07-02 Ulrich Drepper <drepper@gmail.com>
21840
21841 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21842 as 128-bit value.
21843 * crypt/sha512.c (sha512_process_block): Perform total addition using
21844 128-bit if possible.
21845 (__sha512_finish_ctx): Likewise.
21846 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21847 as 64-bit value.
21848 * crypt/sha256.c (SWAP64): Define.
21849 (sha256_process_block): Perform total addition using 64-bit if
21850 possible.
21851 (__sha256_finish_ctx): Likewise.
21852
21853 2011-07-01 Ulrich Drepper <drepper@gmail.com>
21854
21855 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21857 * nscd/hstcache.c (cache_addhst): Likewise.
21858 * nscd/grpcache.c (cache_addgr): Likewise.
21859 * nscd/aicache.c (addhstaiX): Likewise
21860 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21861
21862 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
21863
21864 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21866 * nscd/hstcache.c (cache_addhst): Likewise.
21867 * nscd/grpcache.c (cache_addgr): Likewise.
21868 * nscd/aicache.c (addhstaiX): Likewise
21869
21870 2011-07-01 Andreas Schwab <schwab@redhat.com>
21871
21872 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21873 domain only when needed.
21874
21875 2011-06-30 Andreas Schwab <schwab@redhat.com>
21876
21877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21878 is always restored.
21879
21880 2011-06-29 Ulrich Drepper <drepper@gmail.com>
21881
21882 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21883 are re-adding the entry.
21884 * nscd/servicescache.c (cache_addserv): Likewise.
21885
21886 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21887
21888 * sysdeps/generic/dl-irel.h: fix protection against multiple
21889 inclusions.
21890 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21891
21892 2011-06-28 Ulrich Drepper <drepper@gmail.com>
21893
21894 [BZ #12935]
21895 * malloc/memusage.sh: Fix quoting in message.
21896 * debug/xtrace.sh: Likewise.
21897
21898 * configure.in: Remove support for --experimental-malloc option, make
21899 it the default.
21900 * config.make.in: Likewise.
21901 * malloc/Makefile: Likewise.
21902
21903 2011-06-27 Andreas Schwab <schwab@redhat.com>
21904
21905 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21906 two-byte characters.
21907
21908 2011-06-27 Roland McGrath <roland@hack.frob.com>
21909
21910 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21911 AC_CACHE_CHECK invocation.
21912 * configure: Regenerated.
21913
21914 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21915
21916 2011-06-27 Ulrich Drepper <drepper@gmail.com>
21917
21918 [BZ #12350]
21919 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21920 bit from old_res_options.
21921
21922 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21923
21924 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21925 value type for setfct.
21926
21927 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21928
21929 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21930 __gettimeofday instead of gettimeofday.
21931
21932 2011-06-26 Ulrich Drepper <drepper@gmail.com>
21933
21934 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21935
21936 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21937
21938 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21939
21940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21941 info.
21942
21943 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21944
21945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21946 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21947 strcpy-sse2-unaligned strncpy-sse2-unaligned
21948 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21949 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21950 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21951 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21952 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21954 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21955 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21956 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21957 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21958 (STRCPY): Support SSE2 and SSSE3 versions.
21959
21960 2011-06-24 Ulrich Drepper <drepper@gmail.com>
21961
21962 [BZ #12874]
21963 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21964 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21965 kernels which artificially limit size of requests.
21966
21967 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21968
21969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21970 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21971 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21972 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21973 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21974 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21975 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21976 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21979 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21980 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21981 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21982 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21983 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21985 Enable unaligned load optimization for Intel Core i3, i5 and i7
21986 processors.
21987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21988 Define.
21989 (index_Fast_Unaligned_Load): Define.
21990 (HAS_FAST_UNALIGNED_LOAD): Define.
21991
21992 2011-06-23 Marek Polacek <mpolacek@redhat.com>
21993
21994 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21995
21996 2011-06-22 Ulrich Drepper <drepper@gmail.com>
21997
21998 [BZ #12907]
21999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22000 until it is clear that the information is realy needed.
22001 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22002
22003 2011-06-22 Andreas Schwab <schwab@redhat.com>
22004
22005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22006
22007 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22008
22009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22010 /sys/devices/system/cpu/online if it is usable.
22011
22012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22013 reading the information from the /proc filesystem to once a second.
22014
22015 2011-06-21 Andreas Jaeger <aj@suse.de>
22016
22017 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22018 NULL after inclusion of kernel headers.
22019
22020 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22021
22022 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22023 calls to internal_setent.
22024
22025 [BZ #12885]
22026 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22027 addresses using gethostbyname4_r ignore IPv4 addresses.
22028
22029 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22030 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22031
22032 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22033
22034 2011-06-20 David S. Miller <davem@davemloft.net>
22035
22036 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22037 inclusions.
22038 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22039
22040 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22041 (elf_irel): Use it.
22042 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22043 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22044 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22045 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22046 * sysdeps/x86_64/dl-irel.h: Likewise.
22047
22048 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22049 * elf/dl-sym.c: Likewise.
22050
22051 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22052
22053 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22054 need to dereference resplen2.
22055
22056 2011-06-14 Andreas Schwab <schwab@redhat.com>
22057
22058 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22059
22060 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22061
22062 * Makeconfig: Define vardbdir and inst_vardbdir.
22063 * nss/Makefile: Add rules to install db-Makefile.
22064
22065 * nss/nss_db/db-XXX.c: Cleanup.
22066
22067 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22068 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22069 GLIBC_PRIVATE.
22070 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22071 * nss/makedb.c: Implement -g option to specify that value strings
22072 are generated and should not be added to table iterated over for
22073 get*ent calls.
22074 * nss/nss_db/db-initgroups.c: New file.
22075
22076 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22077 interface.
22078
22079 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22080 (internal_getgrouplist): Adjust to name change.
22081 Update use_initgroups_entry if this is not the first call.
22082 * nss/databases.def: Add initgroups entry.
22083
22084 * nss/makedb.c (compute_tables): Check result of multiple hash table
22085 sizes to minimize maximum chain length.
22086
22087 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22088
22089 * Versions.def: Add entry for libnss_db.
22090 * shlib-versions: Likewise.
22091 * nss/Makefile: Add rules to build libnss_db.
22092 * nss/Versions: Add libnss_db information. Organize libnss_files
22093 entries better.
22094 * nss/db-Makefile: Add gshadow support. Change rules for the new
22095 makedb progra. Some minor improvements to generate smaller files.
22096 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22097 here from...
22098 * nss/makedb.c: ...here.
22099 Improve database format to be smaller and require less memory at
22100 runtime.
22101 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22102 db anymore.
22103 * nss/nss_db/db-netgrp.c: Likewise.
22104 * nss/nss_db/db-open.c: Likewise.
22105 * nss/nss_files/flies-XXX.x: Adjust comments.
22106 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22107 * nss/nss_files/files-grp.c: Likewise.
22108 * nss/nss_files/files-hosts.c: Likewise.
22109 * nss/nss_files/files-network.c: Likewise.
22110 * nss/nss_files/files-proto.c: Likewise.
22111 * nss/nss_files/files-pwd.c: Likewise.
22112 * nss/nss_files/files-rpc.c: Likewise.
22113 * nss/nss_files/files-service.c: Likewise.
22114 * nss/nss_files/files-sgrp.c: Likewise.
22115 * nss/nss_files/files-spwd.c: Likewise.
22116 * nss/nss_db/db-alias.c: Removed.
22117 * nss/nss_db/dummy-db.h: Removed.
22118
22119 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22120
22121 * nss/makedb.c: Rewritten to not use database library.
22122 * nss/Makefile: Update to build new makedb program.
22123
22124 2011-06-14 Andreas Jaeger <aj@suse.de>
22125
22126 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22127 memset declaration.
22128
22129 2011-06-10 Andreas Schwab <schwab@redhat.com>
22130
22131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22132 tmpbuf.
22133
22134 2011-06-10 Roland McGrath <roland@hack.frob.com>
22135
22136 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22137 * elf/Makefile ($(objpfx)ld.so): Likewise.
22138
22139 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22140 Don't list ld.so twice in dependencies.
22141
22142 * posix/bug-regex31.c: Include <stdlib.h>.
22143
22144 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22145
22146 * nis/nss_compat/compat-spwd.c
22147 (getspent_next_nss_netgr): Remove unused variable.
22148 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22149
22150 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22151 nonmembers" output to use the right array.
22152
22153 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22154
22155 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22156
22157 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22158 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22159 * catgets/gencat.c (read_input_file): Likewise.
22160 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22161
22162 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22163 variable definition inside #if's controlling its use.
22164
22165 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22166
22167 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22168
22169 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22170
22171 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22172 unreachable code.
22173
22174 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22175
22176 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22177 * configure: Regenerated.
22178
22179 * Makerules: Revert last change.
22180 * elf/Makefile: Likewise.
22181
22182 2011-06-09 Roland McGrath <roland@hack.frob.com>
22183
22184 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22185 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22186 (reloc-link): Likewise.
22187
22188 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22189
22190 * elf/Makefile: Add rules to build pldd.
22191 * elf/pldd.c: New file.
22192 * elf/pldd-xx.c: New file.
22193
22194 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22195
22196 * version.h: Update for 2.15 development version.
22197
22198 2011-06-07 David S. Miller <davem@davemloft.net>
22199
22200 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22201 ifuncs.
22202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22203 elf_machine_lazy_rel): Likewise.
22204 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22206 elf_machine_lazy_rel): Likewise.
22207 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22208 dl_hwcap via passed in argument.
22209 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22210 Likewise.
22211
22212 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22213
22214 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22215
22216 2011-06-06 Roland McGrath <roland@hack.frob.com>
22217
22218 [BZ #12849]
22219 * manual/fdl-1.1.texi: New file, verbatim from:
22220 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22221 * manual/lgpl-2.1.texi: New file, verbatim from:
22222 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22223 * manual/Makefile (licenses): New variable, list those new file names.
22224 (texis): Use it.
22225 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22226
22227 * manual/fdl.texi: File removed.
22228 * manual/lesser.texi: File removed.
22229 * manual/libc.texinfo (Copying, Documentation License):
22230 Use new @include file names, put @appendix directive before @include.
22231
22232 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22233
22234 [BZ #12841]
22235 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22236 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22237 (mq_open): Add __NTH.
22238
22239 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22240
22241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22242 Assume Intel Core i3/i5/i7 processor if AVX is available.
22243
22244 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22245
22246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22247 typo.
22248
22249 2011-05-31 Andreas Schwab <schwab@redhat.com>
22250
22251 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22252 memory. Use alloca_account. Fix memory leak when retrying.
22253
22254 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22255
22256 * version.h (RELEASE): Bump for 2.14 release.
22257 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22258
22259 * config.make.in (RANLIB): Remove entry.
22260
22261 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22262
22263 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22264 (libc.pot): Work around missing support for .ksh extension in xgettext.
22265
22266 [BZ #12684]
22267 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22268 if both request failed.
22269 (send_dg): In case of server errors clear resplen or *resplen2.
22270
22271 [BZ #12454]
22272 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22273 when there are multiple maps.
22274 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22275 (_dl_fini): Remove test here.
22276
22277 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22278
22279 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22280
22281 [BZ #12350]
22282 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22283 bit from old_res_options.
22284 (gaih_inet): Likewise.
22285
22286 [BZ #11099]
22287 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22288 as signed.
22289
22290 * resolv/res_init.c (res_setoptions): Make the code more compact.
22291
22292 [BZ #11558]
22293 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22294 set RES_USEVC.
22295
22296 [BZ #11634]
22297 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22298
22299 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22300
22301 [BZ #11781]
22302 * malloc/malloc.h: Declare malloc hook variables as volatile.
22303
22304 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22305 in last patch.
22306
22307 [BZ #11799]
22308 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22309 raise in the comment.
22310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22312 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22313
22314 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22315
22316 [BZ #12811]
22317 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22318 grow the buffers more if it already has to be sufficient.
22319 (build_wcs_upper_buffer): Likewise.
22320 * posix/regexec.c (check_matching): Likewise.
22321 (clean_state_log_if_needed): Likewise.
22322 (extend_buffers): Don't enlarge buffers beyond size of the input
22323 buffer.
22324 Patches mostly by Emil Wojak <emil@wojak.eu>.
22325 * posix/bug-regex32.c: New file.
22326 * posix/Makefile (tests): Add bug-regex32.
22327
22328 * locale/findlocale.c (_nl_find_locale): Return right away if
22329 _nl_explode_name failed.
22330 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22331
22332 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22333
22334 * debug/xtrace.sh: Unify messages.
22335 * malloc/memusage.sh: Likewise.
22336
22337 [BZ #12813]
22338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22339 time symbol from vDSO. Substitute with vsyscall if not available.
22340 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22341 __vdso_time.
22342
22343 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22344 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22345 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22346 Add sendmmsg and internal_sendmmsg.
22347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22348 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22349 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22350
22351 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22352 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22353 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22354
22355 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22356
22357 [BZ #12813]
22358 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22359 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22360 available.
22361 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22362 __vdso_getcpu.
22363
22364 [BZ #12814]
22365 * iconvdata/Makefile (tests): Add bug-iconv9.
22366 * iconvdata/bug-iconv9.c: New file.
22367
22368 2011-05-27 Andreas Schwab <schwab@redhat.com>
22369
22370 [BZ #12814]
22371 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22372
22373 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22374
22375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22376 (struct user_regs_struct): Change intcs field back to cs.
22377
22378 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22379
22380 * po/ja.po: Update from translation team.
22381
22382 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22383
22384 [BZ #12795]
22385 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22386 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22387
22388 2011-05-20 Andreas Schwab <schwab@redhat.com>
22389
22390 * stdlib/longlong.h: Update from GCC.
22391
22392 2011-05-23 Andreas Schwab <schwab@redhat.com>
22393
22394 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22395 parameter name.
22396 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22397 Add parameter name.
22398 (__sysconf): Pass it down.
22399
22400 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22401
22402 [BZ #12671]
22403 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22404 some situations.
22405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22406 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22407 add in in __libc_use_alloca calls. Adjust callers.
22408 (glob): Use malloc in some situations.
22409
22410 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22411 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22412 pltexit.
22413
22414 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22415
22416 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22417 and CLOCK_BOOTTIME_ALARM.
22418
22419 [BZ #12782]
22420 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22421 is returned.
22422
22423 * string/_strerror.c (__strerror_r): Print negative errors as signed
22424 numbers.
22425
22426 [BZ #12777]
22427 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22428 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22429 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22430
22431 * configure.in: Fix typo in redirection and correct removal of test
22432 files in two cases.
22433
22434 [BZ #12788]
22435 * locale/setlocale.c (new_composite_name): Fix test to check for
22436 identical name of all categories.
22437
22438 [BZ #12792]
22439 * libio/filedoalloc.c (local_isatty): New function.
22440 (_IO_file_doallocate): Use local_isatty.
22441 * stdio-common/perror.c (perror): In case a new stream is used
22442 forward the stream error.
22443 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22444 error flag.
22445
22446 2011-05-20 Ulrich Drepper <drepper@gmail.com>
22447
22448 [BZ #11869]
22449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22450 alloca.
22451 * include/alloca.h (extend_alloca_account): Define.
22452
22453 [BZ #11857]
22454 * posix/regex.h: Fix comments with documentation of user-accessible
22455 fields after compilation and describe correct free'ing of pattern
22456 after re_compile_pattern.
22457 Patch by Reuben Thomas <rrt@sc3d.org>.
22458
22459 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22460
22461 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22462 and -mno-altivec to prevent the compiler from using Altivec and/or
22463 VSX instructions when the corresponding registers are not available.
22464
22465 2011-05-19 Andreas Schwab <schwab@redhat.com>
22466
22467 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22468
22469 2011-05-19 Ulrich Drepper <drepper@gmail.com>
22470
22471 * libio/freopen.c (freopen): Use __dup2, not dup2.
22472 * libio/freopen64.c (freopen64): Likewise.
22473
22474 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22475
22476 [BZ #12775]
22477 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22478 * math/Makefile (tests): Add test-powl.
22479 (CFLAGS-test-powl.c): Define.
22480 * math/test-powl.c: New file.
22481
22482 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22483
22484 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22485
22486 2011-05-17 Ulrich Drepper <drepper@gmail.com>
22487
22488 [BZ #11837]
22489 * iconvdata/gb18030.c: Update to GB18020-2005.
22490
22491 2011-05-16 Ulrich Drepper <drepper@gmail.com>
22492
22493 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22494 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22495 Patch by Aharon Robbins <arnold@skeeve.com>.
22496
22497 [BZ #11892]
22498 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22499 on the stack.
22500
22501 [BZ #11895]
22502 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22503 through underflows.
22504
22505 [BZ #12766]
22506 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22507 point to strings before performing equality test for error_one_per_line
22508 mode.
22509
22510 [BZ #11697]
22511 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22512
22513 [BZ #11820]
22514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22515 (struct user_fpregs_struct): Avoid __uint*_t types.
22516
22517 [BZ #6420]
22518 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22519 symbol info. Use it instead of calling _dl_addr locally.
22520 (lock_and_info): New function.
22521 (tr_freehook): Call lock_and_info and pass symbol info as additional
22522 parameter to tr_where.
22523 (tr_mallochook): Likewise.
22524 (tr_reallochook): Likewise.
22525 (tr_memalignhook): Likewise.
22526
22527 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22528 used and couldn't be at all thread-safe.
22529
22530 2011-05-15 Ulrich Drepper <drepper@gmail.com>
22531
22532 * libio/freopen.c (freopen): Don't close old file descriptor
22533 before the new one is opened. Instead dup the new file descriptor
22534 to the old one after the new stream is created.
22535 * libio/freopen64.c (freopen64): Likewise.
22536 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22537 * libio/fileops.c (_IO_new_file_close_it): Handle new
22538 _IO_FLAGS2_NOCLOSE flag.
22539 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22540 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22541 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22542 _IO_FLAGS2_NOCLOSE flag.
22543 * include/unistd.h: Add hidden_proto for dup3.
22544 Define __have_dup3.
22545 * io/dup3.c: Define hidden symbol.
22546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22547
22548 [BZ #7101]
22549 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22550 when an incomplete long option is used.
22551 * posix/tst-getopt_long1.c: New file.
22552 * posix/Makefile (tests): Add tst-getopt_long1.
22553
22554 [BZ #10138]
22555 * scripts/config.guess: Update from autoconf-2.68.
22556 * scripts/config.sub: Likewise.
22557
22558 [BZ #10157]
22559 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22560 tests into ...
22561 (has_cpuclock): ...this. New function.
22562 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22563 macro here based on has_cpuclock code.
22564
22565 [BZ #10149]
22566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22567 First byte (not low byte) is now always NUL.
22568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22569
22570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22571 Use non-cancelable interfaces.
22572
22573 [BZ #9809]
22574 * locale/iso-639.def: Add entry for Sorani.
22575
22576 [BZ #11901]
22577 * include/stdlib.h: Move include protection to the right place.
22578 Define abort_msg_s. Declare __abort_msg with it.
22579 * stdlib/abort.c (__abort_msg): Adjust type.
22580 * assert/assert.c (__assert_fail_base): New function. Majority
22581 of code from __assert_fail. Allocate memory for __abort_msg with
22582 mmap.
22583 (__assert_fail): Now call __assert_fail_base.
22584 * assert/assert-perr.c: Remove bulk of implementation. Use
22585 __assert_fail_base.
22586 * include/assert.hL Declare __assert_fail_base.
22587 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22588 mmap.
22589 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22590
22591 2011-05-14 Ulrich Drepper <drepper@gmail.com>
22592
22593 [BZ #11952]
22594 [BZ #12453]
22595 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22596 until all modules are registered in the DTV.
22597 * elf/Makefile: Add rules to build and run tst-tls19.
22598 * elf/tst-tls19.c: New file.
22599 * elf/tst-tls19mod1.c: New file.
22600 * elf/tst-tls19mod2.c: New file.
22601 * elf/tst-tls19mod3.c: New file.
22602 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22603
22604 [BZ #12083]
22605 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22606 correctly.
22607
22608 [BZ #12601]
22609 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22610 two-byte sequence errors.
22611 * iconvdata/Makefile (tests): Add bug-iconv8.
22612 * iconvdata/bug-iconv8.c: New file.
22613
22614 [BZ #12626]
22615 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22616 buf2 definition.
22617
22618 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22619
22620 [BZ #12432]
22621 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22622 (dummy_getcfa): New function.
22623 (init): Get _Unwind_GetCFA address, use dummy if not found.
22624 (backtrace_helper): In recursion check, also check whether CFA changes.
22625 (__backtrace): Completely initialize arg.
22626
22627 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
22628 storing incomplete byte sequence in state object. Avoid testing for
22629 guaranteed too small input if we know there is enough data available.
22630
22631 2011-05-11 Andreas Schwab <schwab@redhat.com>
22632
22633 * Makeconfig (+link-pie): Indent.
22634 * Rules (binaries-pie): Define if $(have-fpie) and
22635 $(build-shared).
22636 (binaries-shared): Also filter out $(binaries-pie).
22637 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22638 * nscd/Makefile (others-pie): Add nscd.
22639 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22640 ($(objpfx)nscd): Remove command override.
22641 * login/Makefile (others-pie): Add pt_chown.
22642 ($(objpfx)pt_chown): Remove command override.
22643 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22644 remove command overrides.
22645
22646 2011-05-13 Ulrich Drepper <drepper@gmail.com>
22647
22648 * libio/tst_putwc.c: Fix error messages.
22649
22650 [BZ #12724]
22651 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22652 currently writing and seek to current position when not.
22653 * libio/Makefile (tests): Add bug-fclose1.
22654 * libio/bug-fclose1.c: New file.
22655
22656 2011-05-12 Ulrich Drepper <drepper@gmail.com>
22657
22658 [BZ #12511]
22659 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22660 don't set DF_1_NODELETE here.
22661 (do_lookup_x): When entering new entry test for copy relocation
22662 and if necessary set DF_1_NODELETE flag.
22663 * elf/tst-unique4.cc: New file.
22664 * elf/tst-unique4.h: New file.
22665 * elf/tst-unique4lib.cc: New file.
22666 * elf/Makefile: Add rules to build and run tst-unique4.
22667 Patch by Piotr Bury <pbury@goahead.com>.
22668
22669 2011-05-11 Ulrich Drepper <drepper@gmail.com>
22670
22671 [BZ #12052]
22672 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22673
22674 [BZ #12625]
22675 * misc/mntent_r.c (addmntent): Flush the stream after the output
22676
22677 [BZ #12393]
22678 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22679 (is_trusted_path_normalize): Skip initial colon. Append slash
22680 to empty buffer. Duplicate is_trusted_path code but allow
22681 constructed patch to be prefix.
22682 (is_dst): Allow $ORIGIN followed by /.
22683 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22684 Correct testing of result of is_trusted_path_normalize
22685 (decompose_rpath): Fix warning.
22686
22687 2011-05-10 Ulrich Drepper <drepper@gmail.com>
22688
22689 [BZ #11257]
22690 * grp/initgroups.c (internal_getgrouplist): When we found the service
22691 list through the initgroups entry in nsswitch.conf do not always
22692 continue on a successful lookup. Don't always use the
22693 __nss_group_database value if it is set.
22694 * nss/nsswitch.conf (initgroups): Change action for successful db
22695 lookup to continue for compatibility.
22696
22697 2011-05-09 Ulrich Drepper <drepper@gmail.com>
22698
22699 [BZ #11532]
22700 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22701 and CP774 modules.
22702 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22703 and CP774 modules.
22704 * iconvdata/tst-tables.sh: Likewise.
22705 * iconvdata/cp770.c: New file.
22706 * iconvdata/cp771.c: New file.
22707 * iconvdata/cp772.c: New file.
22708 * iconvdata/cp773.c: New file.
22709 * iconvdata/cp774.c: New file.
22710 * iconvdata/testdata/CP770: New file.
22711 * iconvdata/testdata/CP770..UTF8: New file.
22712 * iconvdata/testdata/CP771: New file.
22713 * iconvdata/testdata/CP771..UTF8: New file.
22714 * iconvdata/testdata/CP772: New file.
22715 * iconvdata/testdata/CP772..UTF8: New file.
22716 * iconvdata/testdata/CP773: New file.
22717 * iconvdata/testdata/CP773..UTF8: New file.
22718 * iconvdata/testdata/CP774: New file.
22719 * iconvdata/testdata/CP774..UTF8: New file.
22720
22721 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22722 END CHARMAP line.
22723 * iconvdata/gen-8bit-gap.sh: Likewise.
22724 * iconvdata/gen-8bit.sh: Likewise.
22725
22726 * locale/iso-639.def: Add ary entry.
22727
22728 [BZ #11258]
22729 * locale/C-translit.h.in: Add U20A1 transliteration.
22730
22731 [BZ #12178]
22732 * locale/iso-639.def: Add wae entry.
22733 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22734
22735 [BZ #12545]
22736 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22737 for n.
22738
22739 [BZ #12711]
22740 * locale/C-translit.h.in: Add entry for U20B9.
22741 Patch by pravin.d.s@gmail.com.
22742
22743 2011-05-08 Ulrich Drepper <drepper@gmail.com>
22744
22745 [BZ #12713]
22746 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22747 ENAMETOOLONG use generic getcwd.
22748 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22749 in rtld. Use *stat64.
22750 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22751 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22752 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22753 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22754 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22755 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22756 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22757 __fstatat64 macros.
22758 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22759 * dirent/rewinddir.c: Add libc_hidden_def.
22760 * sysdeps/mach/hurd/rewinddir.c: Likewise.
22761 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
22762
22763 * include/dirent.h (__alloc_dir): Add flags parameter.
22764 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22765 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22766 __alloc_dir.
22767 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22768 from fdopendir if O_CLOEXEC is already set.
22769
22770 2011-03-15 Alan Modra <amodra@gmail.com>
22771
22772 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22773 l_tls_firstbyte_offset non-zero. Save padding offset in
22774 l_tls_firstbyte_offset for later use.
22775 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22776 freeing static tls block.
22777
22778 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22779
22780 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22781 where #ifdef was intended. The intent is to prevent ARG_MAX from
22782 being defined by the kernel headers.
22783
22784 2011-05-07 Ulrich Drepper <drepper@gmail.com>
22785
22786 [BZ #12734]
22787 * resolv/resolv.h: Define RES_NOTLDQUERY.
22788 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22789 no-tld-query and set RES_NOTLDQUERY.
22790 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22791 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22792 modern BIND to search name as TLD unless forbidden.
22793
22794 2011-05-07 Petr Baudis <pasky@suse.cz>
22795 Ulrich Drepper <drepper@gmail.com>
22796
22797 [BZ #12393]
22798 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22799 (is_trusted_path): ...to here.
22800 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22801 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22802 using is_trusted_path_normalize() in setuid scripts.
22803
22804 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22805
22806 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22807 __BEGIN/__END_DECLS.
22808
22809 2011-05-06 Ulrich Drepper <drepper@gmail.com>
22810
22811 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22812 NSS_STATUS_NOTFOUND if no record was found.
22813
22814 2011-05-05 Andreas Schwab <schwab@redhat.com>
22815
22816 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22817 (headers-not-in-tirpc): Remove rpc/netdb.h
22818 * resolv/netdb.h: Revert last change.
22819
22820 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22821
22822 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22823 circular dependency between libgcc.a and libc.a.
22824
22825 2011-05-05 Andreas Schwab <schwab@redhat.com>
22826
22827 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22828 * nis/Makefile: Don't install rpcsvc/*.
22829 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22830 instead of <rpc/types.h>.
22831 (MAXHOSTNAMELEN): Define.
22832
22833 2011-05-03 Andreas Schwab <schwab@redhat.com>
22834
22835 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22836
22837 2011-04-28 Maciej Babinski <mbabinski@google.com>
22838
22839 [BZ #12714]
22840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22841 gethostbyname4_r when IPv6 results are possible.
22842
22843 2011-05-02 Ulrich Drepper <drepper@gmail.com>
22844
22845 [BZ #12723]
22846 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22847 _PC_PIPE_BUF handling.
22848
22849 2011-04-30 Bruno Haible <bruno@clisp.org>
22850
22851 [BZ #12717]
22852 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22853 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22854 to 'int'.
22855 * inet/getnameinfo.c (getnameinfo): Likewise.
22856
22857 2011-04-29 Ulrich Drepper <drepper@gmail.com>
22858
22859 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22860 to groups setting in database lookup.
22861 * nss/nsswitch.conf: Add initgroups entry.
22862
22863 2011-04-22 Ulrich Drepper <drepper@gmail.com>
22864
22865 [BZ #12685]
22866 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22867 mode string.
22868 Patch by Eric Blake <eblake@redhat.com>.
22869
22870 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22871
22872 * sunrpc/Makefile (need-export-routines): Add svc_run.
22873 (routines): Remove svc_run.
22874 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22875 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22876 * sunrpc/svc_run.c (svc_run): Likewise.
22877 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22878
22879 2011-04-21 Ulrich Drepper <drepper@gmail.com>
22880
22881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22882 problem in reallocation in last patch.
22883
22884 2011-04-20 Ulrich Drepper <drepper@gmail.com>
22885
22886 * sunrpc/Makefile: Move inclusion of Rules.
22887
22888 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22889
22890 * nss/nss_files/files-initgroups.c: New file.
22891 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22892 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22893 _nss_files_initgroups_dyn.
22894
22895 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22896
22897 * elf/elf.h (R_ARM_IRELATIVE): Define.
22898
22899 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22900
22901 * po/ru.po: Update from translation team.
22902
22903 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22904
22905 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22906 dependencies.
22907
22908 2011-02-06 Mike Frysinger <vapier@gentoo.org>
22909
22910 [BZ #12653]
22911 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22912 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22916
22917 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22918
22919 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22920 differing bytes.
22921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22924
22925 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22926
22927 [BZ #12420]
22928 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22929 storing it.
22930 * stdlib/bug-getcontext.c: New file.
22931 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22932
22933 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22934
22935 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22936 instructions into .machine "z9-109".
22937 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22938 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22939
22940 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22941
22942 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22943 between environment variables and auxiliary vector.
22944
22945 2011-04-16 Ulrich Drepper <drepper@gmail.com>
22946
22947 * Makefile: Add rules to build linkobj/libc.so.
22948 * include/libc-symbols.h: Define libc_hidden_nolink.
22949 * include/rpc/auth.h: Mark functions which are to be hidden.
22950 * include/rpc/auth_des.h: Likewise.
22951 * include/rpc/auth_unix.h: Likewise.
22952 * include/rpc/clnt.h: Likewise.
22953 * include/rpc/des_crypt.h: Likewise.
22954 * include/rpc/key_prot.h: Likewise.
22955 * include/rpc/pmap_clnt.h: Likewise.
22956 * include/rpc/pmap_prot.h: Likewise.
22957 * include/rpc/pmap_rmt.h: Likewise.
22958 * include/rpc/rpc_msg.h: Likewise.
22959 * include/rpc/svc.h: Likewise.
22960 * include/rpc/svc_auth.h: Likewise.
22961 * include/rpc/xdr.h: Likewise.
22962 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22963 * nss/Makefile: Likewise.
22964 * sunrpc/Makefile: Don't install headers. Build library with normal
22965 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22966 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22967 for the compat linking library. Remove use of INTDEF/INTUSE.
22968 * sunrpc/auth_none.c: Likewise.
22969 * sunrpc/auth_unix.c: Likewise.
22970 * sunrpc/authdes_prot.c: Likewise.
22971 * sunrpc/authuxprot.c: Likewise.
22972 * sunrpc/clnt_gen.c: Likewise.
22973 * sunrpc/clnt_perr.c: Likewise.
22974 * sunrpc/clnt_raw.c: Likewise.
22975 * sunrpc/clnt_simp.c: Likewise.
22976 * sunrpc/clnt_tcp.c: Likewise.
22977 * sunrpc/clnt_udp.c: Likewise.
22978 * sunrpc/clnt_unix.c: Likewise.
22979 * sunrpc/des_crypt.c: Likewise.
22980 * sunrpc/des_soft.c: Likewise.
22981 * sunrpc/get_myaddr.c: Likewise.
22982 * sunrpc/key_call.c: Likewise.
22983 * sunrpc/key_prot.c: Likewise.
22984 * sunrpc/netname.c: Likewise.
22985 * sunrpc/pm_getmaps.c: Likewise.
22986 * sunrpc/pm_getport.c: Likewise.
22987 * sunrpc/pmap_clnt.c: Likewise.
22988 * sunrpc/pmap_prot.c: Likewise.
22989 * sunrpc/pmap_prot2.c: Likewise.
22990 * sunrpc/pmap_rmt.c: Likewise.
22991 * sunrpc/publickey.c: Likewise.
22992 * sunrpc/rpc_cmsg.c: Likewise.
22993 * sunrpc/rpc_common.c: Likewise.
22994 * sunrpc/rpc_dtable.c: Likewise.
22995 * sunrpc/rpc_prot.c: Likewise.
22996 * sunrpc/rpc_thread.c: Likewise.
22997 * sunrpc/rtime.c: Likewise.
22998 * sunrpc/svc.c: Likewise.
22999 * sunrpc/svc_auth.c: Likewise.
23000 * sunrpc/svc_authux.c: Likewise.
23001 * sunrpc/svc_raw.c: Likewise.
23002 * sunrpc/svc_run.c: Likewise.
23003 * sunrpc/svc_simple.c: Likewise.
23004 * sunrpc/svc_tcp.c: Likewise.
23005 * sunrpc/svc_udp.c: Likewise.
23006 * sunrpc/svc_unix.c: Likewise.
23007 * sunrpc/svcauth_des.c: Likewise.
23008 * sunrpc/xcrypt.c: Likewise.
23009 * sunrpc/xdr.c: Likewise.
23010 * sunrpc/xdr_array.c: Likewise.
23011 * sunrpc/xdr_float.c: Likewise.
23012 * sunrpc/xdr_intXX_t.c: Likewise.
23013 * sunrpc/xdr_mem.c: Likewise.
23014 * sunrpc/xdr_rec.c: Likewise.
23015 * sunrpc/xdr_ref.c: Likewise.
23016 * sunrpc/xdr_sizeof.c: Likewise.
23017 * sunrpc/xdr_stdio.c: Likewise.
23018
23019 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23020
23021 [BZ #12650]
23022 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23023 * sysdeps/ia64/dl-tls.h: Likewise.
23024 * sysdeps/powerpc/dl-tls.h: Likewise.
23025 * sysdeps/s390/dl-tls.h: Likewise.
23026 * sysdeps/sh/dl-tls.h: Likewise.
23027 * sysdeps/sparc/dl-tls.h: Likewise.
23028 * sysdeps/x86_64/dl-tls.h: Likewise.
23029 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23030
23031 2011-03-14 Andreas Schwab <schwab@redhat.com>
23032
23033 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23034 rpath element also skip the following colon.
23035 (expand_dynamic_string_token): Add is_path parameter and pass
23036 down to DL_DST_REQUIRED and _dl_dst_substitute.
23037 (decompose_rpath): Call expand_dynamic_string_token with
23038 non-zero is_path. Ignore empty rpaths.
23039 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23040 with zero is_path.
23041
23042 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23043
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23045 Make cancelable.
23046
23047 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23048
23049 [BZ #12655]
23050 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23051 Patch by Filipe David Manana <fdmanana@apache.org>.
23052
23053 2011-04-07 Andreas Schwab <schwab@redhat.com>
23054
23055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23056 Maintain aligned stack.
23057 (CHECK_RSP): Remove unused macro.
23058
23059 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23060
23061 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23062 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23063
23064 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23065
23066 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23067
23068 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23069
23070 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23071
23072 [BZ #12518]
23073 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23074 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23075 * sysdeps/x86_64/memmove.c: New file.
23076 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23077 (memcpy): Renamed to ...
23078 (__new_memcpy): This.
23079 (memcpy): Provide GLIBC_2_14 memcpy.
23080 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23081 (memcpy): Provide GLIBC_2_2_5 memcpy.
23082
23083 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23084
23085 [BZ #12631]
23086 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23087
23088 2011-03-30 Andreas Schwab <schwab@redhat.com>
23089
23090 * misc/syncfs.c: New file.
23091 * misc/Makefile (routines): Add syncfs.
23092 * posix/unistd.h: Declare syncfs.
23093 * sysdeps/unix/syscalls.list: Add syncfs.
23094
23095 2011-04-01 Andreas Schwab <schwab@redhat.com>
23096
23097 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23098 open_by_handle_at.
23099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23102 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23104 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23106
23107 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23108
23109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23111 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23116
23117 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23118 sync_file_range.c with -fexceptions.
23119 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23120 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23121 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23122 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23123 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23124 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23126 sync_file_range as cancellation point
23127 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23128 now a wrapper around __call_sync_file_range with cancellation handling.
23129 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23130 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23131 function name to __call_sync_file_range.
23132 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23133 Add call_sync_file_range.
23134
23135 2011-04-01 Andreas Schwab <schwab@redhat.com>
23136
23137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23138 bits/timex.h.
23139
23140 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23141
23142 * iconv/iconv.h: Fix typo in comment.
23143 * io/fcntl.h: Likewise.
23144 * libio/stdio.h: Likewise.
23145 * posix/spawn.h: Likewise.
23146 * posix/unistd.h: Likewise.
23147 * stdlib/stdlib.h: Likewise.
23148 * time/time.h: Likewise.
23149 * wcsmbs/wchar.h: Likewise.
23150
23151 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23152 open_by_handle): Add.
23153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23154 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23155 Augment a few comments.
23156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23161 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23162 open_by_handle.
23163
23164 * io/fcntl.h (AT_EMPTY_PATH): Define.
23165
23166 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23167
23168 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23169 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23170 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23171 to...
23172 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23173 * Versions.def: Add GLIBC_2.14.
23174 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23175 Export.
23176
23177 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23178
23179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23180 round counter.
23181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23182
23183 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23184
23185 [BZ #12597]
23186 * string/test-strncmp.c (do_page_test): New function.
23187 (check2): Likewise.
23188 (test_main): Call check2.
23189 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23190
23191 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23192
23193 [BZ #12587]
23194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23195 Handle cache information in CPU leaf 4.
23196 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23197
23198 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23199
23200 [BZ #12583]
23201 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23202 character representation.
23203 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23204
23205 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23206
23207 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23208 END(__isnan) to END(__isnanf) to match function entry point/label
23209 EALIGN(__isnanf,...).
23210
23211 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23212
23213 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23214
23215 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23216
23217 [BZ #12510]
23218 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23219 copy from the symbol referenced in the relocation to initialize the
23220 used variable.
23221 Patch by Piotr Bury <pbury@goahead.com>.
23222 * elf/Makefile: Add rules to build and tst-unique3.
23223 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23224 * elf/tst-unique3.cc: New file.
23225 * elf/tst-unique3.h: New file.
23226 * elf/tst-unique3lib.cc: New file.
23227 * elf/tst-unique3lib2.cc: New file.
23228
23229 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23230
23231 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23232
23233 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23234 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23235 to _start.
23236
23237 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23238
23239 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23240 to-be-loaded object along a path to loader is ld.so.
23241
23242 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23243 Ulrich Drepper <drepper@gmail.com>
23244
23245 * sysdeps/x86_64/memset.S: After aligning destination, code
23246 branches to different locations depending on the value of
23247 misalignment, when multiarch is enabled. Fix this.
23248
23249 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23250
23251 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23252 Set _x86_64_preferred_memory_instruction for AMD processsors.
23253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23254 Set bit_Prefer_SSE_for_memop for AMD processors.
23255
23256 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23257
23258 * libio/fmemopen.c (fmemopen): Optimize a bit.
23259
23260 2011-03-03 Andreas Schwab <schwab@redhat.com>
23261
23262 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23263
23264 2011-03-03 Roland McGrath <roland@redhat.com>
23265
23266 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23267
23268 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23269
23270 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23271 __bzero_ultra1 instead of __memset_ultra1.
23272
23273 2011-02-23 Andreas Schwab <schwab@redhat.com>
23274 Ulrich Drepper <drepper@gmail.com>
23275
23276 [BZ #12509]
23277 * include/link.h (struct link_map): Add l_orig_initfini.
23278 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23279 returning unsuccessfully.
23280 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23281 close of a file loaded at startup, restore the original l_initfini
23282 list.
23283 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23284 list, store the pointer.
23285 * elf/Makefile ($(objpfx)noload-mem): New rule.
23286 (noload-ENV): Define.
23287 (tests): Add $(objpfx)noload-mem.
23288 * elf/noload.c: Include <memcheck.h>.
23289 (main): Call mtrace. Close all opened handles.
23290
23291 2011-02-17 Andreas Schwab <schwab@redhat.com>
23292
23293 [BZ #12454]
23294 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23295 dependencies are missing.
23296
23297 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23298
23299 Fix __if_freereq crash: Unlike the generic version which uses free,
23300 Hurd needs munmap.
23301 * sysdeps/mach/hurd/ifreq.h: New file.
23302
23303 2011-01-27 Petr Baudis <pasky@suse.cz>
23304 Ulrich Drepper <drepper@gmail.com>
23305
23306 [BZ 12445]#
23307 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23308 to extend_alloca().
23309 * stdio-common/bug23.c: New file.
23310 * stdio-common/Makefile (tests): Add bug23.
23311
23312 2010-09-28 Andreas Schwab <schwab@redhat.com>
23313 Ulrich Drepper <drepper@gmail.com>
23314
23315 [BZ #12489]
23316 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23317 before performing relro protection. At old place add assertion
23318 to make sure nothing changed.
23319
23320 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23321 Glauber de Oliveira Costa <glommer@gmail.com>
23322
23323 * elf/elf.h: Add new ARM TLS relocs.
23324
23325 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23326
23327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23328 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23329 cast from r3.
23330 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23331 'tests' variable.
23332 * sysdeps/wordsize-64/tst-writev.c: New file.
23333
23334 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23335
23336 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23337 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23338 insns in _dl_start to prevent a TOC reference before relocs are
23339 resolved.
23340
23341 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23342
23343 [BZ #12469]
23344 * Makeconfig: Remove RANLIB definition.
23345 * Makerules: Don't use RANLIB.
23346 * aclocal.m4: Remove ranlib test.
23347 * configure.in: No need to check for ranlib.
23348 * elf/rtld-Rules: Don't use RANLIB.
23349
23350 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23351
23352 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23353 protection macro.
23354 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23355 inclusion protection macro.
23356
23357 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23358 SIGRTMIN and SIGRTMAX and print information in that case only when
23359 SIGRTMIN is defined.
23360
23361 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23362
23363 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23364 arginfo fn returning -1.
23365
23366 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23367 and thousands string is zero terminated.
23368
23369 2011-02-03 Andreas Schwab <schwab@redhat.com>
23370
23371 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23372 sysdeps/unix/sysv/linux/bits/socket.h.
23373
23374 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23375
23376 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23377 (__CPU_COUNT): Remove old macros.
23378 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23379 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23380 (__CPU_ALLOC, __CPU_FREE): Add macros.
23381 (__sched_cpualloc, __sched_cpufree): Add declarations.
23382
23383 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23384
23385 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23386 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23387 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23388 (readdhstai): Return value of addhstaiX call.
23389 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23390 (addgrbyX): Return value returned by cache_addgr.
23391 (readdgrbyname): Return value returned by addgrbyX.
23392 (readdgrbygid): Likewise.
23393 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23394 (addpwbyX): Return value returned by cache_addpw.
23395 (readdpwbyname): Return value returned by addhstbyX.
23396 (readdpwbyuid): Likewise.
23397 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23398 (addservbyX): Return value returned by cache_addserv.
23399 (readdservbyname): Return value returned by addservbyX:
23400 (readdservbyport): Likewise.
23401 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23402 (addhstbyX): Return value returned by cache_addhst.
23403 (readdhstbyname): Return value returned by addhstbyX.
23404 (readdhstbyaddr): Likewise.
23405 (readdhstbynamev6): Likewise.
23406 (readdhstbyaddrv6): Likewise.
23407 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23408 (readdinitgroups): Return value returned by addinitgroupsX.
23409 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23410 (prune_cache): Keep track of timeout value of re-added entries.
23411 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23412 * nscd/nscd.h: Adjust prototypes of readd* functions.
23413
23414 2011-02-04 Roland McGrath <roland@redhat.com>
23415
23416 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23417 (nis_stats): Likewise.
23418 * nis/nis_modify.c (nis_modify): Likewise.
23419 * nis/nis_remove.c (nis_remove): Likewise.
23420 * nis/nis_add.c (nis_add): Likewise.
23421
23422 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23423
23424 * posix/fnmatch_loop.c: Add some consts.
23425
23426 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23427
23428 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23429
23430 [BZ #12460]
23431 * config.make.in (config-cflags-novzeroupper): Define.
23432 * configure.in: Substitute libc_cv_cc_novzeroupper.
23433 * elf/Makefile (AVX-CFLAGS): Define.
23434 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23435 (CFLAGS-tst-auditmod4a.c): Likewise.
23436 (CFLAGS-tst-auditmod4b.c): Likewise.
23437 (CFLAGS-tst-auditmod6b.c): Likewise.
23438 (CFLAGS-tst-auditmod6c.c): Likewise.
23439 (CFLAGS-tst-auditmod7b.c): Likewise.
23440 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23441
23442 2011-02-02 Ulrich Drepper <drepper@gmail.com>
23443
23444 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23445 function to the callback.
23446 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23447
23448 2011-02-02 Andreas Schwab <schwab@redhat.com>
23449
23450 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23451 of errno.
23452
23453 2011-01-19 Ulrich Drepper <drepper@gmail.com>
23454
23455 [BZ #11724]
23456 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23457 of constructors.
23458 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23459 of destructors.
23460 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23461
23462 [BZ #11724]
23463 * elf/Makefile: Add rules to build and run new test.
23464 * elf/tst-initorder.c: New file.
23465 * elf/tst-initorder.exp: New file.
23466 * elf/tst-initordera1.c: New file.
23467 * elf/tst-initordera2.c: New file.
23468 * elf/tst-initordera3.c: New file.
23469 * elf/tst-initordera4.c: New file.
23470 * elf/tst-initorderb1.c: New file.
23471 * elf/tst-initorderb2.c: New file.
23472 * elf/tst-order-a1.c: New file.
23473 * elf/tst-order-a2.c: New file.
23474 * elf/tst-order-a3.c: New file.
23475 * elf/tst-order-a4.c: New file.
23476 * elf/tst-order-b1.c: New file.
23477 * elf/tst-order-b2.c: New file.
23478 * elf/tst-order-main.c: New file.
23479 New test case by George Gensure <werkt0@gmail.com>.
23480
23481 2010-10-01 Andreas Schwab <schwab@redhat.com>
23482
23483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23484 decoding ACE if AI_CANONIDN.
23485
23486 2011-01-18 Ulrich Drepper <drepper@gmail.com>
23487
23488 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23489
23490 2011-01-17 Ulrich Drepper <drepper@gmail.com>
23491
23492 * version.h (RELEASE): Bump for 2.13 release.
23493 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23494
23495 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23496
23497 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23498 MADV_NOHUGEPAGE.
23499 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23500 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23501 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23502 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23503 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23504 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23505
23506 * posix/getconf.c: Update copyright year.
23507 * catgets/gencat.c: Likewise.
23508 * csu/version.c: Likewise.
23509 * debug/catchsegv.sh: Likewise.
23510 * debug/xtrace.sh: Likewise.
23511 * elf/ldconfig.c: Likewise.
23512 * elf/ldd.bash.in: Likewise.
23513 * elf/sprof.c (print_version): Likewise.
23514 * iconv/iconv_prog.c: Likewise.
23515 * iconv/iconvconfig.c: Likewise.
23516 * locale/programs/locale.c: Likewise.
23517 * locale/programs/localedef.c: Likewise.
23518 * malloc/memusage.sh: Likewise.
23519 * malloc/mtrace.pl: Likewise.
23520 * nscd/nscd.c (print_version): Likewise.
23521 * nss/getent.c: Likewise.
23522
23523 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23524 PF_CAIF, and PF_ALG.
23525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23526
23527 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23528
23529 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23530 (modules-names): Use them.
23531 (ifunc-test-modules, ifunc-pie-tests): Define.
23532 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23533 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23534 (test-extras): Likewise.
23535 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23536 $(compile-command.c).
23537 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23538 (all-built-dso): Define.
23539 (check-textrel.out, check-execstack.out): Depend on it.
23540
23541 * configure.in: Don't override --enable-multi-arch.
23542
23543 2011-01-15 Ulrich Drepper <drepper@gmail.com>
23544
23545 [BZ #6812]
23546 * nscd/hstcache.c (tryagain): Define.
23547 (cache_addhst): Return tryagain not notfound for temporary errors.
23548 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23549 failed.
23550
23551 2011-01-14 Ulrich Drepper <drepper@gmail.com>
23552
23553 [BZ #10563]
23554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23555 to make the syscall.
23556 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23557
23558 [BZ #12378]
23559 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23560 and fall back to matching as normal character if the string ends before
23561 the matching ']' is found. This is what POSIX requires.
23562 * posix/testfnm.c: Adjust test result.
23563 * posix/globtest.sh: Adjust test result. Add new test.
23564 * posix/tst-fnmatch.input: Likewise.
23565 * posix/tst-fnmatch2.c: Add new test.
23566
23567 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23568
23569 * elf/Makefile (check-execstack): Revert last change. Depend on
23570 check-execstack.h.
23571 (check-execstack.h): New target.
23572 (generated): Add check-execstack.h.
23573 * elf/check-execstack.c: Include "check-execstack.h".
23574 (main): Revert last change.
23575 (handle_file): Return zero if GNU_STACK is absent and
23576 DEFAULT_STACK_PERMS doesn't include PF_X.
23577
23578 2011-01-13 Ulrich Drepper <drepper@gmail.com>
23579
23580 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23581 in child fails because the descriptor is already closed.
23582 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23583 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23584 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
23585
23586 [BZ #12397]
23587 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23588 syscall.
23589
23590 [BZ #10484]
23591 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23592 temporary buffer used to handle multi lookups locally.
23593 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
23594
23595 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23596
23597 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23598 loader is ld.so.
23599
23600 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23601
23602 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23603 alignment for SSE2.
23604
23605 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23606
23607 [BZ #12394]
23608 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23609 characters. When rounding increased number of integer digits recompute
23610 number of groups.
23611 * stdio-common/tst-grouping.c: New file.
23612 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23613
23614 2011-01-09 Ulrich Drepper <drepper@gmail.com>
23615
23616 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23617 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23618
23619 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23620 void.
23621 * bits/select.h: Likewise.
23622
23623 2011-01-08 Ulrich Drepper <drepper@gmail.com>
23624
23625 * po/ja.po: Update from translation team.
23626
23627 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
23628
23629 [BZ #11155]
23630 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23631 implementation just like for lxstat, fxstatat, et al.
23632
23633 2010-12-27 Jim Meyering <meyering@redhat.com>
23634
23635 [BZ #12348]
23636 * posix/regexec.c (build_trtable): Return failure indication upon
23637 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23638
23639 2010-12-25 Ulrich Drepper <drepper@gmail.com>
23640
23641 [BZ #12201]
23642 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23643 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23644 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23645 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23646
23647 [BZ #12207]
23648 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23649
23650 [BZ #12204]
23651 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23652 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23653
23654 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23655
23656 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23657 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23658 script has SORT_BY_INIT_PRIORITY.
23659 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23660 NO_CTORS_DTORS_SECTIONS is defined.
23661 * elf/soinit.c: Likewise.
23662 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23663 NO_CTORS_DTORS_SECTIONS is defined.
23664 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23665 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23666 * sysdeps/sh/init-first.c: Likewise.
23667 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23668
23669 2010-12-24 Ulrich Drepper <drepper@gmail.com>
23670
23671 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23672 always use the slow path.
23673
23674 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23675
23676 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23677 similar rule which adds the sysdep directories to the header search in
23678 order to pick up the correct platform stackinfo.h.
23679 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23680 perform test if it is, otherwise return successfully without testing.
23681 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23682 DEFAULT_STACK_PERMS define in stackinfo.h.
23683 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23684 defined in stackinfo.h.
23685 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23686 DEFAULT_STACK_PERMS defined in stackinfo.h.
23687 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23688 * sysdeps/ia64/stackinfo.h: Likewise.
23689 * sysdeps/s390/stackinfo.h: Likewise.
23690 * sysdeps/sh/stackinfo.h: Likewise.
23691 * sysdeps/sparc/stackinfo.h: Likewise.
23692 * sysdeps/x86_64/stackinfo.h: Likewise.
23693 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23694 PF_X for powerpc64. Retain PF_X for powerpc32.
23695
23696 2010-12-19 Ulrich Drepper <drepper@gmail.com>
23697
23698 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23699 accurately.
23700 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23701 GETDENTS_64BIT_ALIGNED.
23702
23703 2010-12-14 Ulrich Drepper <dreper@gmail.com>
23704
23705 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23706
23707 2010-12-10 Andreas Schwab <schwab@redhat.com>
23708
23709 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23710 _GNU_SOURCE.
23711
23712 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23713 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23714 Remove __restrict.
23715 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23716 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23717
23718 2010-12-09 Ulrich Drepper <drepper@gmail.com>
23719
23720 [BZ #11655]
23721 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23722 are initialized.
23723
23724 2010-12-09 Jakub Jelinek <jakub@redhat.com>
23725
23726 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23727
23728 2010-12-03 Ulrich Drepper <drepper@gmail.com>
23729
23730 * po/it.po: Update from translation team.
23731
23732 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23733
23734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23735 unused codes.
23736
23737 2010-11-30 Ulrich Drepper <drepper@gmail.com>
23738
23739 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23740
23741 2010-11-24 Andreas Schwab <schwab@redhat.com>
23742
23743 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23744 specially.
23745 (gaih_getanswer_slice): Likewise.
23746
23747 2010-10-20 Jakub Jelinek <jakub@redhat.com>
23748
23749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23750
23751 2010-05-31 Petr Baudis <pasky@suse.cz>
23752
23753 [BZ #11149]
23754 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23755 silently even in the chroot mode.
23756
23757 2010-11-22 Ulrich Drepper <drepper@gmail.com>
23758
23759 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23760 last patch a bit. Pretty printing
23761
23762 2010-05-31 Petr Baudis <pasky@suse.cz>
23763
23764 [BZ #10085]
23765 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23766 initialization of skip_initgroups_dyn.
23767
23768 2010-11-19 Ulrich Drepper <drepper@gmail.com>
23769
23770 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23772
23773 2010-11-16 Ulrich Drepper <drepper@gmail.com>
23774
23775 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23776
23777 2010-11-11 Andreas Schwab <schwab@redhat.com>
23778
23779 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23780 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23781 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23782 ($(objpfx)tst-fnmatch-mem): New rule.
23783 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23784 * posix/tst-fnmatch.c (main): Call mtrace.
23785
23786 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23787
23788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23789 Support Intel processor model 6 and model 0x2c.
23790
23791 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
23792
23793 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23794 signed comparison.
23795
23796 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23797
23798 [BZ #12205]
23799 * string/test-strncasecmp.c (check_result): New function.
23800 (do_one_test): Use it.
23801 (check1): New function.
23802 (test_main): Use it.
23803 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23804 Support strcasecmp and strncasecmp.
23805
23806 2010-11-08 Ulrich Drepper <drepper@gmail.com>
23807
23808 [BZ #12194]
23809 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23810 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23811
23812 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23813
23814 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23815 IFUNC support.
23816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23817 memset-x86-64.
23818 * sysdeps/x86_64/multiarch/bzero.S: New file.
23819 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23820 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23821 * sysdeps/x86_64/multiarch/memset.S: New file.
23822 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23824 Set bit_Prefer_SSE_for_memop for Intel processors.
23825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23826 Define.
23827 (index_Prefer_SSE_for_memop): Define.
23828 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23829
23830 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
23831
23832 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23834
23835 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23836
23837 [BZ #12191]
23838 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23839 (__x86_64_raw_data_cache_size_half): Likewise.
23840 (__x86_64_raw_shared_cache_size): Likewise.
23841 (__x86_64_raw_shared_cache_size_half): Likewise.
23842
23843 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23844 (__x86_64_raw_data_cache_size_half): Likewise.
23845 (__x86_64_raw_shared_cache_size): Likewise.
23846 (__x86_64_raw_shared_cache_size_half): Likewise.
23847 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23848 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23849 and __x86_64_raw_shared_cache_size_half. Round
23850 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23851 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23852 to multiple of 256 bytes.
23853
23854 2010-11-03 Ulrich Drepper <drepper@gmail.com>
23855
23856 [BZ #12167]
23857 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23858 of inacessible symlinks. Verify result of symlink before returning it.
23859 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23860 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23861
23862 2010-10-28 Erich Ritz <erichritz@gmail.com>
23863
23864 * math/math.h (isinf): Fix typo in comment.
23865
23866 2010-11-01 Ulrich Drepper <drepper@gmail.com>
23867
23868 * po/da.po: Update from translation team.
23869
23870 2010-10-26 Ulrich Drepper <drepper@gmail.com>
23871
23872 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23873 is added to the list.
23874
23875 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23876 Ulrich Drepper <drepper@gmail.com>
23877
23878 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23879 the global list here. Move code to...
23880 (_dl_add_to_namespace_list): ...here. New function.
23881 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23882 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23883 * elf/dl-load.c (lose): Don't remove the element from the list.
23884 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23885 (_dl_map_object): Likewise.
23886
23887 2010-10-25 Ulrich Drepper <drepper@gmail.com>
23888
23889 [BZ #12159]
23890 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23891 into all bytes of SSE register.
23892 Patch by Richard Li <richardpku@gmail.com>.
23893
23894 2010-10-24 Ulrich Drepper <drepper@gmail.com>
23895
23896 [BZ #12140]
23897 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23898 perturbing.
23899
23900 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23901
23902 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23903 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23904 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23905 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23907 submachine.
23908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23909
23910 2010-10-22 Andreas Schwab <schwab@redhat.com>
23911
23912 * include/dlfcn.h (__RTLD_SECURE): Define.
23913 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23914 mode & __RTLD_SECURE instead.
23915 (open_path): Rename preloaded parameter to secure.
23916 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23917 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23918 * elf/dl-deps.c (openaux): Likewise.
23919 * elf/rtld.c (struct map_args): Remove is_preloaded.
23920 (map_doit): Don't use it.
23921 (dl_main): Likewise.
23922 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23923 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23924
23925 2010-09-09 Andreas Schwab <schwab@redhat.com>
23926
23927 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23928 (sysd-rules-targets): Remove duplicates.
23929 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23930 rtld-%.$o dependency.
23931
23932 2010-10-18 Andreas Schwab <schwab@redhat.com>
23933
23934 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23935 _dl_map_object do it.
23936
23937 2010-10-19 Ulrich Drepper <drepper@gmail.com>
23938
23939 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23940 fast fma builtins, define the macros in the C99 standard.
23941 (FP_FAST_FMAF): Likewise.
23942 (FP_FAST_FMAL): Likewise.
23943 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23944
23945 * bits/mathdef.h: Update copyright year.
23946 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23947
23948 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23949
23950 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23951 builtins, define the macros in the C99 standard.
23952 (FP_FAST_FMAF): Likewise.
23953 (FP_FAST_FMAL): Likewise.
23954 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23955 multiply/add.
23956 (FP_FAST_FMAF): Likewise.
23957
23958 2010-10-15 Jakub Jelinek <jakub@redhat.com>
23959
23960 [BZ #3268]
23961 * math/libm-test.inc (fma_test): Some new testcases.
23962 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23963 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23964 y and infinite z. Do multiplication by C already in long double.
23965 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23967 y and infinite z. Do bitwise or of inexact bit into u.d.
23968 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23969 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23970 * sysdeps/i386/fpu/s_fma.S: Removed.
23971 * sysdeps/i386/fpu/s_fmal.S: Removed.
23972
23973 2010-10-16 Jakub Jelinek <jakub@redhat.com>
23974
23975 [BZ #3268]
23976 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23978 computation is not scheduled after fetestexcept. Fix value
23979 of minimum denormal long double.
23980
23981 2010-10-14 Jakub Jelinek <jakub@redhat.com>
23982
23983 [BZ #3268]
23984 * math/libm-test.inc (fma_test): Add some more tests.
23985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23986 correctly.
23987
23988 2010-10-15 Andreas Schwab <schwab@redhat.com>
23989
23990 * scripts/data/localplt-s390-linux-gnu.data: New file.
23991 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23992
23993 2010-10-13 Jakub Jelinek <jakub@redhat.com>
23994
23995 [BZ #3268]
23996 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23997 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23998 instead of dbl-64.
23999 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24000 inlines.
24001 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24003 if one of x and y is very large and the other is subnormal.
24004 * sysdeps/s390/fpu/s_fmaf.c: New file.
24005 * sysdeps/s390/fpu/s_fma.c: New file.
24006 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24007 * sysdeps/powerpc/fpu/s_fma.S: New file.
24008 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24009 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24010 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24011
24012 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24013
24014 [BZ #3268]
24015 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24016 fma tests.
24017 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24018 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24019 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24020 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24021 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24022 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24024
24025 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24026
24027 [BZ #12078]
24028 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24029 * posix/bug-regex31.input: Add test case.
24030
24031 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24032
24033 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24034 * posix/bug-regex31.input: New file.
24035
24036 [BZ #12078]
24037 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24038 (parse_sub_exp): Fix last change, use postorder.
24039
24040 * posix/bug-regex31.c: New file.
24041 * posix/Makefile: Add rules to build and run bug-regex31.
24042
24043 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24044
24045 [BZ #12078]
24046 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24047
24048 [BZ #12108]
24049 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24050 to have entries in sys_siglist.
24051
24052 [BZ #12093]
24053 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24054 be NULL.
24055
24056 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24057
24058 [BZ #3268]
24059 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24060 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24061 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24062 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24063 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24064 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24065 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24066 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24067 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24068 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24069 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24070 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24071 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24072 * math/ftestexcept.c (fetestexcept): Likewise.
24073 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24074 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24075 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24076 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24077 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24078 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24079 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24080
24081 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24082
24083 [BZ #12107]
24084 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24085 newline.
24086
24087 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24088
24089 * string/bug-strstr1.c: New file.
24090 * string/Makefile: Add rules to build and run bug-strstr1.
24091
24092 2010-10-05 Eric Blake <eblake@redhat.com>
24093
24094 [BZ #12092]
24095 * string/str-two-way.h (two_way_long_needle): Always clear memory
24096 when skipping input due to the shift table.
24097
24098 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24099
24100 [BZ #12005]
24101 * malloc/mcheck.c: Handle large requests.
24102
24103 [BZ #12077]
24104 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24105 for strncmp and strncasecmp.
24106 * string/stratcliff.c: Add tests for strcmp and strncmp.
24107 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24108
24109 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24110
24111 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24112 __set_fpscr.
24113
24114 2010-09-30 Andreas Jaeger <aj@suse.de>
24115
24116 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24117 (CGROUP_SUPER_MAGIC): Define.
24118 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24119 Handle btrfs and cgroup file systems.
24120 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24121 Likewise.
24122
24123 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24124
24125 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24126 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24127
24128 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24129
24130 [BZ #12067]
24131 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24132 trying to locate the ELF header.
24133
24134 2010-09-27 Andreas Schwab <schwab@redhat.com>
24135
24136 [BZ #11611]
24137 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24138 Mask out sign-bit copies when constructing f_fsid.
24139
24140 2010-09-24 Petr Baudis <pasky@suse.cz>
24141
24142 * debug/stack_chk_fail_local.c: Add missing licence exception.
24143 * debug/warning-nop.c: Likewise.
24144
24145 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24146
24147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24148 implementing getdents64 using getdents syscall, set d_type if
24149 __ASSUME_GETDENTS32_D_TYPE.
24150
24151 2010-09-16 Andreas Schwab <schwab@redhat.com>
24152
24153 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24154 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24155
24156 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24157
24158 [BZ #12037]
24159 * posix/unistd.h: Undo change of feature selection for ftruncate from
24160 2010-01-11.
24161
24162 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24163
24164 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24165 detection.
24166
24167 2010-09-20 Andreas Schwab <schwab@redhat.com>
24168
24169 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24170 fanotify_mark.
24171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24172
24173 2010-09-14 Andreas Schwab <schwab@redhat.com>
24174
24175 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24176 variables after CHECK_SP call.
24177 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24178
24179 2010-09-13 Andreas Schwab <schwab@redhat.com>
24180 Ulrich Drepper <drepper@redhat.com>
24181
24182 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24183 re-relocationg ld.so.
24184 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24185 _dl_init_paths call.
24186 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24187 here anymore.
24188
24189 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24190
24191 * resolv/res_init.c (__res_vinit): Count the default server we added.
24192
24193 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24194 Ulrich Drepper <drepper@redhat.com>
24195
24196 [BZ #11968]
24197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24198 (____longjmp_chk): Use %ebx for saving value across system call.
24199 Add unwind info.
24200
24201 2010-09-06 Andreas Schwab <schwab@redhat.com>
24202
24203 * manual/Makefile: Don't mix pattern rules with normal rules.
24204
24205 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24206
24207 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24208 operation.
24209 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24210 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24211 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24212 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24214 Likewise.
24215
24216 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24217
24218 [BZ #11979]
24219 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24220 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24221
24222 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24223
24224 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24225 * sysdeps/x86_64/addmul_1.S: Likewise.
24226 * sysdeps/x86_64/lshift.S: Likewise.
24227 * sysdeps/x86_64/mul_1.S: Likewise.
24228 * sysdeps/x86_64/rshift.S: Likewise.
24229 * sysdeps/x86_64/sub_n.S: Likewise.
24230 * sysdeps/x86_64/submul_1.S: Likewise.
24231
24232 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24233
24234 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24235 Define __sched_param instead of SCHED_* and sched_param when
24236 <bits/sched.h> is included with __need_schedparam defined.
24237 * bits/sched.h [__need_schedparam]
24238 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24239 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24240 (__defined_schedparam): Define to 1.
24241 (__sched_param): New structure, identical to sched_param.
24242 (__need_schedparam): Undefine.
24243
24244 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24245
24246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24247 (epoll_create1): Declare.
24248
24249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24250
24251 2010-08-31 Andreas Schwab <schwab@redhat.com>
24252
24253 [BZ #7066]
24254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24255 shifting retval into place.
24256
24257 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24258
24259 * nis/rpcsvc/nis.h: Update copyright notice.
24260 * nis/rpcsvc/nis.x: Likewise.
24261 * nis/rpcsvc/nis_callback.h: Likewise.
24262 * nis/rpcsvc/nis_callback.x: Likewise.
24263 * nis/rpcsvc/nis_object.x: Likewise.
24264 * nis/rpcsvc/nis_tags.h: Likewise.
24265 * nis/rpcsvc/yp.h: Likewise.
24266 * nis/rpcsvc/yp.x: Likewise.
24267 * nis/rpcsvc/ypupd.h: Likewise.
24268 * nis/yp_xdr.c: Likewise.
24269 * nis/ypupdate_xdr.c: Likewise.
24270
24271 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24272 mainly the body of pmap_getport. Add parameters to specify timeouts.
24273 (pmap_getport): Use __libc_rpc_getport.
24274 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24275 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24276 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24277
24278 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24279
24280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24281 fanotify_mark.
24282
24283 2010-08-27 Roland McGrath <roland@redhat.com>
24284
24285 * sysdeps/i386/i686/multiarch/Makefile
24286 (CFLAGS-varshift.c): New variable.
24287
24288 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24289
24290 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24291 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24292
24293 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24294
24295 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24296
24297 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24298
24299 * sysdeps/x86_64/strlen.S: Unroll the loop.
24300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24301 strlen-sse2 strlen-sse2-bsf.
24302 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24303 __strlen_no_bsf if bit_Slow_BSF is set.
24304 (__strlen_sse42): Removed.
24305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24306 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24307
24308 2010-08-25 Roland McGrath <roland@redhat.com>
24309
24310 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24311 * sysdeps/x86_64/multiarch/varshift.c: New file.
24312 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24313 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24314 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24315 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24316
24317 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24318
24319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24320 strlen-sse2 strlen-sse2-bsf.
24321 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24322 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24323 (__strlen_sse2): Removed.
24324 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24327 bit_Slow_BSF for Atom.
24328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24329 (index_Slow_BSF): Define.
24330 (HAS_SLOW_BSF): Define.
24331
24332 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24333
24334 [BZ #10851]
24335 * resolv/res_init.c (__res_vinit): When no server address at all
24336 is given default to loopback.
24337
24338 2010-08-24 Roland McGrath <roland@redhat.com>
24339
24340 * configure.in: Remove config-name.h generation.
24341 * configure: Regenerated.
24342 * config-name.in: File removed.
24343 * scripts/config-uname.sh: New file.
24344 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24345 ($(objdir)config-name.h): New target.
24346
24347 * sunrpc/rpc_parse.h: Avoid nested comment.
24348
24349 2010-08-24 Richard Henderson <rth@redhat.com>
24350 Ulrich Drepper <drepper@redhat.com>
24351 H.J. Lu <hongjiu.lu@intel.com>
24352
24353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24355 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24356 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24357 _mm_alignr_epi8 with _mm_loadu_si128.
24358 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24359 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24360 (__m128i_shift_right): Removed.
24361 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24362 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24363 * sysdeps/x86_64/multiarch/varshift.h: New file.
24364 * sysdeps/x86_64/multiarch/varshift.S: New file.
24365
24366 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24367
24368 * configure.in: Move assembler checks to before sysdep dir checking.
24369
24370 2010-08-20 Petr Baudis <pasky@suse.cz>
24371
24372 * LICENSES: Sync the sunrpc license.
24373
24374 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24375
24376 * sunrpc/auth_des.c: Update copyright notice once again.
24377 * sunrpc/auth_none.c: Likewise.
24378 * sunrpc/auth_unix.c: Likewise.
24379 * sunrpc/authdes_prot.c: Likewise.
24380 * sunrpc/authuxprot.c: Likewise.
24381 * sunrpc/bindrsvprt.c: Likewise.
24382 * sunrpc/clnt_gen.c: Likewise.
24383 * sunrpc/clnt_perr.c: Likewise.
24384 * sunrpc/clnt_raw.c: Likewise.
24385 * sunrpc/clnt_simp.c: Likewise.
24386 * sunrpc/clnt_tcp.c: Likewise.
24387 * sunrpc/clnt_udp.c: Likewise.
24388 * sunrpc/clnt_unix.c: Likewise.
24389 * sunrpc/des_crypt.c: Likewise.
24390 * sunrpc/des_soft.c: Likewise.
24391 * sunrpc/get_myaddr.c: Likewise.
24392 * sunrpc/getrpcport.c: Likewise.
24393 * sunrpc/key_call.c: Likewise.
24394 * sunrpc/key_prot.c: Likewise.
24395 * sunrpc/openchild.c: Likewise.
24396 * sunrpc/pm_getmaps.c: Likewise.
24397 * sunrpc/pm_getport.c: Likewise.
24398 * sunrpc/pmap_clnt.c: Likewise.
24399 * sunrpc/pmap_prot.c: Likewise.
24400 * sunrpc/pmap_prot2.c: Likewise.
24401 * sunrpc/pmap_rmt.c: Likewise.
24402 * sunrpc/rpc/auth.h: Likewise.
24403 * sunrpc/rpc/auth_unix.h: Likewise.
24404 * sunrpc/rpc/clnt.h: Likewise.
24405 * sunrpc/rpc/des_crypt.h: Likewise.
24406 * sunrpc/rpc/key_prot.h: Likewise.
24407 * sunrpc/rpc/netdb.h: Likewise.
24408 * sunrpc/rpc/pmap_clnt.h: Likewise.
24409 * sunrpc/rpc/pmap_prot.h: Likewise.
24410 * sunrpc/rpc/pmap_rmt.h: Likewise.
24411 * sunrpc/rpc/rpc.h: Likewise.
24412 * sunrpc/rpc/rpc_des.h: Likewise.
24413 * sunrpc/rpc/rpc_msg.h: Likewise.
24414 * sunrpc/rpc/svc.h: Likewise.
24415 * sunrpc/rpc/svc_auth.h: Likewise.
24416 * sunrpc/rpc/types.h: Likewise.
24417 * sunrpc/rpc/xdr.h: Likewise.
24418 * sunrpc/rpc_clntout.c: Likewise.
24419 * sunrpc/rpc_cmsg.c: Likewise.
24420 * sunrpc/rpc_common.c: Likewise.
24421 * sunrpc/rpc_cout.c: Likewise.
24422 * sunrpc/rpc_dtable.c: Likewise.
24423 * sunrpc/rpc_hout.c: Likewise.
24424 * sunrpc/rpc_main.c: Likewise.
24425 * sunrpc/rpc_parse.c: Likewise.
24426 * sunrpc/rpc_parse.h: Likewise.
24427 * sunrpc/rpc_prot.c: Likewise.
24428 * sunrpc/rpc_sample.c: Likewise.
24429 * sunrpc/rpc_scan.c: Likewise.
24430 * sunrpc/rpc_scan.h: Likewise.
24431 * sunrpc/rpc_svcout.c: Likewise.
24432 * sunrpc/rpc_tblout.c: Likewise.
24433 * sunrpc/rpc_util.c: Likewise.
24434 * sunrpc/rpc_util.h: Likewise.
24435 * sunrpc/rpcinfo.c: Likewise.
24436 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24437 * sunrpc/rpcsvc/key_prot.x: Likewise.
24438 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24439 * sunrpc/rpcsvc/mount.x: Likewise.
24440 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24441 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24442 * sunrpc/rpcsvc/rex.x: Likewise.
24443 * sunrpc/rpcsvc/rstat.x: Likewise.
24444 * sunrpc/rpcsvc/rusers.x: Likewise.
24445 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24446 * sunrpc/rpcsvc/spray.x: Likewise.
24447 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24448 * sunrpc/rtime.c: Likewise.
24449 * sunrpc/svc.c: Likewise.
24450 * sunrpc/svc_auth.c: Likewise.
24451 * sunrpc/svc_authux.c: Likewise.
24452 * sunrpc/svc_raw.c: Likewise.
24453 * sunrpc/svc_run.c: Likewise.
24454 * sunrpc/svc_simple.c: Likewise.
24455 * sunrpc/svc_tcp.c: Likewise.
24456 * sunrpc/svc_udp.c: Likewise.
24457 * sunrpc/svc_unix.c: Likewise.
24458 * sunrpc/svcauth_des.c: Likewise.
24459 * sunrpc/xcrypt.c: Likewise.
24460 * sunrpc/xdr.c: Likewise.
24461 * sunrpc/xdr_array.c: Likewise.
24462 * sunrpc/xdr_float.c: Likewise.
24463 * sunrpc/xdr_mem.c: Likewise.
24464 * sunrpc/xdr_rec.c: Likewise.
24465 * sunrpc/xdr_ref.c: Likewise.
24466 * sunrpc/xdr_sizeof.c: Likewise.
24467 * sunrpc/xdr_stdio.c: Likewise.
24468
24469 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24470 handling.
24471
24472 2010-08-19 Andreas Schwab <schwab@redhat.com>
24473
24474 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24475
24476 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
24477
24478 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24479 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24480 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24481 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24482 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24483 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24484 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24485 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24487 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24488 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24489 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24490 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24491 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24492
24493 2010-07-26 Anton Blanchard <anton@samba.org>
24494
24495 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24496 * malloc/arena.c (heap_trim): Likewise.
24497
24498 2010-08-16 Ulrich Drepper <drepper@redhat.com>
24499
24500 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24501 here. Not...
24502 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24503 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24504
24505 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24506
24507 * sysdeps/i386/elf/Makefile: New file.
24508
24509 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24510
24511 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24512 from fanotify_init.
24513 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24515
24516 2010-08-15 Ulrich Drepper <drepper@redhat.com>
24517
24518 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24519 of strncasecmp_l.
24520 * sysdeps/multiarch/strcmp.S: Likewise.
24521
24522 2010-08-14 Ulrich Drepper <drepper@redhat.com>
24523
24524 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24525 strncase_l-nonascii.
24526 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24527 Add strncase_l-ssse3.
24528 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24529 * sysdeps/x86_64/strcmp.S: Likewise.
24530 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24531 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24532 * sysdeps/x86_64/strncase.S: New file.
24533 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24534 * sysdeps/x86_64/strncase_l.S: New file.
24535 * string/Makefile (strop-tests): Add strncasecmp.
24536 * string/test-strncasecmp.c: New file.
24537
24538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24539 warning.
24540
24541 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24542 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24543
24544 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24545
24546 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24547
24548 2010-08-12 Ulrich Drepper <drepper@redhat.com>
24549
24550 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24551 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24552 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24553
24554 2010-05-01 Alan Modra <amodra@gmail.com>
24555
24556 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24557 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24558 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24559 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24560 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24561 tidying. Don't tail-call __sigjmp_save for static lib.
24562 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24563 save location.
24564 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24565 (CALL_MCOUNT): Add eh info, and nop after bl.
24566 (TAIL_CALL_SYSCALL_ERROR): New macro.
24567 (PSEUDO_RET): Use it.
24568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24569 Correct save location of integer regs and cr.
24570 (_dl_profile_resolve): Correct cr save location. Delete nops
24571 after bl when SHARED. Reduce cfi size a little by better
24572 placement of cfi directives.
24573 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24574 make a stack frame. Instead use parm save area as a temp.
24575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24576 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24578 Don't make a stack frame for parent, use parm save area.
24579 Increase child stack frame to 112 bytes. Don't save unused reg,
24580 and adjust reg usage. Set up cfi on error recovery and
24581 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24583 (__makecontext): Add dummy nop after jump to exit.
24584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24585 Use correct parm save area and cr save, reduce stack frame.
24586 Correct cfi for possible PSEUDO_RET frame setup.
24587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24588 Branch to local label emitted by PSEUDO_RET rather than
24589 __syscall_error.
24590
24591 2010-08-12 Andreas Schwab <schwab@redhat.com>
24592
24593 [BZ #11904]
24594 * locale/programs/locale.c (print_assignment): New function.
24595 (show_locale_vars): Use it.
24596
24597 2010-08-11 Ulrich Drepper <drepper@redhat.com>
24598
24599 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24600 field.
24601 (struct statfs64): Likewise.
24602 (_STATFS_F_FLAGS): Define.
24603 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24604 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24605 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24606 (ST_VALID): Define locally.
24607 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24608 __statvfs_getflags, use the provided value.
24609 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24610 __ASSUME_STATFS_F_FLAGS.
24611
24612 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24613
24614 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24615 Add sys/fanotify.h.
24616 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24617 fanotify_mask for GLIBC_2.13.
24618 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24619 fanotify_init and fanotify_mark.
24620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24621 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24622
24623 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24624 Add prlimit.
24625 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24626 prlimit64 for GLIBC_2.13.
24627 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24628 prlimit64.
24629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24630 syscall.
24631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24632 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24633 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24634 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24636 add prlimit alias.
24637 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24638
24639 [BZ #11903]
24640 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24641 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24642
24643 * nss/Makefile: Add rules to build and run tst-nss-test1.
24644 * shlib-versions: Add entry for libnss_test1.
24645 * nss/nss_test1.c: New file.
24646 * nss/tst-nss-test1.c: New file.
24647
24648 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24649 (__nss_configure_lookup): Set appropriate entry in
24650 __nss_configure_lookup to true.
24651 * nss/nsswitch.h: Define enum with indeces of databases in
24652 databases and __nss_database_custom arrays. Declare
24653 __nss_database_custom.
24654 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24655 to avoid using nscd when custom rules are installed.
24656 * nss/getXXbyYY_r.c: Likewise.
24657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24658
24659 * nss/nss_files/files-parse.c: Whitespace fixes.
24660
24661 2010-08-09 Ulrich Drepper <drepper@redhat.com>
24662
24663 [BZ #11883]
24664 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24665 * posix/fnmatch_loop.c: Likewise.
24666
24667 2010-07-17 Andi Kleen <ak@linux.intel.com>
24668
24669 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24670 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24671 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24672 * Versions.def [GLIBC_2.13]: Add.
24673
24674 2010-08-06 Ulrich Drepper <drepper@redhat.com>
24675
24676 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24677 Also fail if tpwd after pwuid call is NULL.
24678
24679 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24680
24681 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24682 when converting to ms.
24683
24684 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24685
24686 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24687 EOPNOTSUPP errors with ENOTTY.
24688 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24689 EOPNOTSUPP errors with ENOTTY.
24690
24691 2010-07-31 Ulrich Drepper <drepper@redhat.com>
24692
24693 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24694 Add strcasecmp_l-ssse3.
24695 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24696 strcasecmp.
24697 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24698 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24699 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24700
24701 2010-07-30 Ulrich Drepper <drepper@redhat.com>
24702
24703 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24704
24705 * string/Makefile (strop-tests): Add strcasecmp.
24706 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24707 strcasecmp_l-nonascii.
24708 (gen-as-const-headers): Add locale-defines.sym.
24709 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24710 * sysdeps/x86_64/strcasecmp.S: New file.
24711 * sysdeps/x86_64/strcasecmp_l.S: New file.
24712 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24713 * sysdeps/x86_64/locale-defines.sym: New file.
24714 * string/test-strcasecmp.c: New file.
24715
24716 * string/test-strcasestr.c: Test both ends of the range of characters.
24717 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24718
24719 2010-07-29 Roland McGrath <roland@redhat.com>
24720
24721 [BZ #11856]
24722 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24723
24724 2010-07-27 Ulrich Drepper <drepper@redhat.com>
24725
24726 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24727 for ld.so.
24728
24729 2010-07-27 Andreas Schwab <schwab@redhat.com>
24730
24731 * manual/memory.texi (Malloc Tunable Parameters): Document
24732 M_PERTURB.
24733
24734 2010-07-26 Roland McGrath <roland@redhat.com>
24735
24736 [BZ #11840]
24737 * configure.in (-fgnu89-inline check): Set and substitute
24738 gnu89_inline, not libc_cv_gnu89_inline.
24739 * configure: Regenerated.
24740 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24741
24742 2010-07-26 Ulrich Drepper <drepper@redhat.com>
24743
24744 * string/test-strnlen.c: New file.
24745 * string/Makefile (strop-tests): Add strnlen.
24746 * string/tester.c (test_strnlen): Add a few more test cases.
24747 * string/tst-strlen.c: Better error reporting.
24748
24749 * sysdeps/x86_64/strnlen.S: New file.
24750
24751 2010-07-24 Ulrich Drepper <drepper@redhat.com>
24752
24753 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24754 lower-latency instructions.
24755
24756 2010-07-23 Ulrich Drepper <drepper@redhat.com>
24757
24758 * string/test-strcasestr.c: New file.
24759 * string/test-strstr.c: New file.
24760 * string/Makefile (strop-tests): Add strstr and strcasestr.
24761 * string/str-two-way.h: Don't undefine MAX.
24762 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24763
24764 2010-07-21 Andreas Schwab <schwab@redhat.com>
24765
24766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24767 strcasestr-nonascii.
24768 (CFLAGS-strcasestr-nonascii.c): Define.
24769 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24770 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24771 Remove unused attribute.
24772
24773 2010-07-20 Roland McGrath <roland@redhat.com>
24774
24775 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24776 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24777 ld.so.cache was broken. With it, there is no way to disable dsocaps
24778 like LD_HWCAP_MASK can disable hwcaps.
24779
24780 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24781
24782 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24783
24784 2010-07-16 Ulrich Drepper <drepper@redhat.com>
24785
24786 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24787 call in strcasestr.
24788 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24789 __strcasestr_sse42_nonascii.
24790 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24791 strcasestr-nonascii.c.
24792 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24793
24794 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
24795
24796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24797 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24798 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24800
24801 2010-07-09 Ulrich Drepper <drepper@redhat.com>
24802
24803 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24804 fcntl.
24805
24806 2010-07-06 Andreas Schwab <schwab@redhat.com>
24807
24808 [BZ #11577]
24809 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24810 dl_signal_cerror.
24811
24812 2010-07-06 Ulrich Drepper <drepper@redhat.com>
24813
24814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24815 _PC_PIPE_BUF using F_GETPIPE_SZ.
24816
24817 2010-07-05 Roland McGrath <roland@redhat.com>
24818
24819 * manual/arith.texi (Rounding Functions): Fix rint description
24820 implicit in round description.
24821
24822 2010-07-02 Ulrich Drepper <drepper@redhat.com>
24823
24824 * elf/Makefile: Fix linking for a few tests to make recent linker
24825 happy.
24826
24827 2010-06-30 Andreas Schwab <schwab@redhat.com>
24828
24829 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24830 $(common-objpfx)libc_nonshared.a.
24831
24832 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
24833
24834 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24835 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24836 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24837 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24838 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24839 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24840 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24841 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24856 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24857 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24858 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24859 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24860 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24861 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24862 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24863 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24864 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24865 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24866 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24867 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24882
24883 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24884
24885 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24886 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24887 * string/memmove.c (memmove): Renamed to ...
24888 (MEMMOVE): ...this. Default to memmove.
24889 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24890 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24891 (END_CHK): Define.
24892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24893 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24894 mempcpy-ssse3-back memmove-ssse3-back.
24895 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24898 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24899 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24900 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24901 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24902 * sysdeps/x86_64/multiarch/memmove.c: New file.
24903 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24904 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24905 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24906 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24909 Define.
24910 (index_Fast_Copy_Backward): Define.
24911 (HAS_ARCH_FEATURE): Define.
24912 (HAS_FAST_REP_STRING): Define.
24913 (HAS_FAST_COPY_BACKWARD): Define.
24914
24915 2010-06-21 Andreas Schwab <schwab@redhat.com>
24916
24917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24918 Restore proper fallback handling.
24919
24920 2010-06-19 Ulrich Drepper <drepper@redhat.com>
24921
24922 [BZ #11701]
24923 * posix/group_member.c (__group_member): Correct checking loop.
24924
24925 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24926 OOM in getpwuid_r correctly. Return error number when the caller
24927 should return, otherwise -1.
24928 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24929 call returning > 0 value.
24930 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24931
24932 2010-06-07 Andreas Schwab <schwab@redhat.com>
24933
24934 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24935 libc_nonshared.a from targets in modules-names.
24936
24937 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24938
24939 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24940 requires it.
24941
24942 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
24943
24944 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24947 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24948
24949 2010-06-02 Andreas Schwab <schwab@redhat.com>
24950
24951 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24952
24953 2010-06-14 Ulrich Drepper <drepper@redhat.com>
24954
24955 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24956 and F_GETPIPE_SZ.
24957 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24962 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24963
24964 2010-06-14 Roland McGrath <roland@redhat.com>
24965
24966 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24967
24968 2010-06-07 Jakub Jelinek <jakub@redhat.com>
24969
24970 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24971 __REDIRECT followed by __THROW.
24972 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24973 * posix/getopt.h (getopt): Likewise.
24974
24975 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24976
24977 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24978 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24979 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24980 in AT_FLAGS.
24981 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24982 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24983
24984 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
24985
24986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24987
24988 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24989
24990 [BZ #11640]
24991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24992 Properly check family and model.
24993
24994 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24995
24996 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24997
24998 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
24999
25000 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25001
25002 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25003
25004 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25005 symbol reference.
25006
25007 2010-05-19 Andreas Schwab <schwab@redhat.com>
25008
25009 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25010 symbol reference.
25011
25012 2010-05-21 Andreas Schwab <schwab@redhat.com>
25013
25014 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25015 and internal_recvmmsg.
25016 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25017 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25018 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25019 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25020
25021 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25022 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25023 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25024
25025 2010-05-20 Andreas Schwab <schwab@redhat.com>
25026
25027 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25028
25029 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25030
25031 POWER7 optimizations.
25032 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25033 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25034
25035 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25036
25037 * version.h: Update for 2.13 development version.
25038
25039 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25040
25041 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25042 exceptions. Return 0.
25043
25044 2010-05-07 Roland McGrath <roland@redhat.com>
25045
25046 * elf/ldconfig.c (main): Add a const.
25047
25048 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25049
25050 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25051 (args_options): Add no-idn option.
25052 (ahosts_keys_int): Add idn_flags to ai_flags.
25053 (parse_option): Handle 'i' option to clear idn_flags.
25054
25055 * malloc/malloc.c (_int_free): Possible race in the most recently
25056 added check. Only act on the data if no current modification
25057 happened.
25058
25059 See ChangeLog.17 for earlier changes.