]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
m68k: update kernel-features.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a2da1673
JM
12013-02-08 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #13550]
4 * debug/segfault.c: Don't include <bp-checks.h>.
5 * sysdeps/generic/bp-checks.h: Remove file.
6 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7 (__GETDENTS): Don't use CHECK_N.
8 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10 (__getgroups): Don't use CHECK_N.
11 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12 (setgroups): Don't use CHECK_N.
13 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15 (__libc_msgrcv): Don't use CHECK_N.
16 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17 (__libc_msgsnd): Don't use CHECK_N.
18 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19 <bp-checks.h>.
20 (__libc_pread): Don't use CHECK_N.
21 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22 include <bp-checks.h>.
23 (__libc_pread64): Don't use CHECK_N.
24 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25 include <bp-checks.h>.
26 (__libc_pwrite): Don't use CHECK_N.
27 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28 include <bp-checks.h>.
29 (__libc_pwrite64): Don't use CHECK_N.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31 <bp-checks.h>.
32 (__libc_pread): Don't use CHECK_N.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34 include <bp-checks.h>.
35 (__libc_pread64): Don't use CHECK_N.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37 include <bp-checks.h>.
38 (__libc_pwrite): Don't use CHECK_N.
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40 include <bp-checks.h>.
41 (__libc_pwrite64): Don't use CHECK_N.
42 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
43 (do_pread): Don't use CHECK_N.
44 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45 (do_pread64): Don't use CHECK_N.
46 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47 (do_pwrite): Don't use CHECK_N.
48 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49 (do_pwrite64): Don't use CHECK_N.
50 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51 (__libc_readv): Don't use CHECK_N.
52 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53 (semop): Don't use CHECK_N.
54 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55 <bp-checks.h>.
56 (semtimedop): Don't use CHECK_N.
57 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58 (__libc_pread): Don't use CHECK_N.
59 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60 <bp-checks.h>.
61 (__libc_pread64): Don't use CHECK_N.
62 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
63 <bp-checks.h>.
64 (__libc_pwrite): Don't use CHECK_N.
65 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
66 <bp-checks.h>.
67 (__libc_pwrite64): Don't use CHECK_N.
68 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69 <bp-checks.h>.
70 (__libc_msgrcv): Don't use CHECK_N.
71 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
72 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
73 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
74 (__libc_writev): Don't use CHECK_N.
75
b84660a8
RM
762013-02-08 Roland McGrath <roland@hack.frob.com>
77
7f3e75f8
RM
78 * string/strcpy.c: Removed unused variable.
79
b84660a8
RM
80 * Makeconfig (+sysdep-includes): Define with := rather than =.
81 Use an existing include/ subdir of each sysdeps dir before it.
82
471514d3
CD
832013-02-08 Carlos O'Donell <carlos@redhat.com>
84
85 * nscd/connection.c (register_traced_file): Comment function.
86 [HAVE_INOTIFY] (union __inev): Define.
87 [HAVE_INOTIFY] (inotify_check_files): New function.
88 [HAVE_INOTIFY] (clear_db_cache): Likewise.
89 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
90 clear_db_cache.
91 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
92
b2d3c3be
CD
932013-02-08 Carlos O'Donell <carlos@redhat.com>
94
95 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
96 loaded if not already and that a failure is permanent.
97
b39949d2
CD
982013-02-08 Carlos O'Donell <carlos@redhat.com>
99
ddacd1db 100 [BZ #15006]
b39949d2
CD
101 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
102 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
103
b2c9eff4
JM
1042013-02-08 Joseph Myers <joseph@codesourcery.com>
105
f3aae3f3
JM
106 [BZ #13550]
107 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
108 (CHECK_1_NULL_OK): Likewise.
109 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
110 (__fxstat): Do not use CHECK_1.
111 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
112 <bp-checks.h>.
113 (___fxstat64): Do not use CHECK_1.
114 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
115 <bp-checks.h>.
116 (__fxstatat): Do not use CHECK_1.
117 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
118 <bp-checks.h>.
119 (__fxstatat64): Do not use CHECK_1.
120 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
121 <bp-checks.h>.
122 (__fxstat): Do not use CHECK_1.
123 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
124 <bp-checks.h>.
125 (__fxstatat): Do not use CHECK_1.
126 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
127 <bp-checks.h>.
128 (__getresgid): Do not use CHECK_1.
129 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
130 <bp-checks.h>.
131 (__getresuid): Do not use CHECK_1.
132 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
133 <bp-checks.h>.
134 (__lxstat): Do not use CHECK_1.
135 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
136 <bp-checks.h>.
137 (__old_msgctl): Do not use CHECK_1.
138 (__new_msgctl): Likewise.
139 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
140 <bp-checks.h>.
141 (__new_setrlimit): Do not use CHECK_1.
142 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
143 <bp-checks.h>.
144 (__old_shmctl): Do not use CHECK_1.
145 (__new_shmctl): Likewise.
146 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
147 <bp-checks.h>.
148 (__xstat): Do not use CHECK_1.
149 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
150 (__lxstat): Do not use CHECK_1.
151 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
152 <bp-checks.h>.
153 (___lxstat64): Do not use CHECK_1.
154 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
155 (__old_msgctl): Do not use CHECK_1.
156 (__new_msgctl): Likewise.
157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
158 <bp-checks.h>.
159 (__gettimeofday): Do not use CHECK_1.
160 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
161 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
162 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
163 <bp-checks.h>.
164 (__gettimeofday): Do not use CHECK_1.
165 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
166 (__old_shmctl): Do not use CHECK_1_NULL_OK.
167 (__new_shmctl): Do not use CHECK_1.
168 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
169 <bp-checks.h>.
170 (do_sigtimedwait): Do not use CHECK_1.
171 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
172 <bp-checks.h>.
173 (do_sigwaitinfo): Do not use CHECK_1.
174 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
175 <bp-checks.h>.
176 (msgctl): Do not use CHECK_1.
177 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
178 <bp-checks.h>.
179 (shmctl): Do not use CHECK_1.
180 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
181 (ustat): Do not use CHECK_1.
182 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
183 <bp-checks.h>.
184 (__fxstat): Do not use CHECK_1.
185 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
186 <bp-checks.h>.
187 (__fxstatat): Do not use CHECK_1.
188 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
189 <bp-checks.h>.
190 (__lxstat): Do not use CHECK_1.
191 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
192 <bp-checks.h>.
193 (__xstat): Do not use CHECK_1.
194 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
195 (__xstat): Do not use CHECK_1.
196 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
197 (___xstat64): Do not use CHECK_1.
198
b2c9eff4
JM
199 [BZ #13550]
200 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
201 definitions.
202 (CHECK_BOUNDS_HIGH): Likewise.
203 * string/strcpy.c: Do not include <bp-checks.h>.
204 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
205
f1d70dad
RM
2062013-02-07 Roland McGrath <roland@hack.frob.com>
207
208 * nscd/nscd-client.h (__nscd_drop_map_ref):
209 Add __attribute__ ((unused)).
210 * nis/nss-nisplus.h (niserr2nss): Likewise.
211
212 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
213 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
214
215 * csu/libc-tls.c (init_static_tls, init_slotinfo):
216 Remove inline keyword.
217 * include/rounding-mode.h (round_away): Likewise.
218 * libio/wfileops.c (adjust_wide_data): Likewise.
219 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
220 (__m128i_strloadu_tolower): Likewise.
221 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
222 (__m128i_strloadu_tolower): Likewise.
223 * time/mktime.c (ydhms_diff): Likewise.
224 * locale/elem-hash.h (elem_hash): Likewise.
225 * locale/setlocale.c (setdata): Likewise.
226 * posix/regex_internal.h (re_string_char_size_at): Likewise.
227 (re_string_wchar_at): Likewise.
228 (bitset_not, bitset_merge, bitset_mask): Likewise.
229 [!(__GNUC__ > 3)] (inline): Remove macro.
230 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
231 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
232 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
233 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
234 * string/memcmp.c (memcmp_bytes): Likewise.
235 * locale/programs/locarchive.c (compute_hashval): Likewise.
236 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
237 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
238 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
239 * nss/getent.c (print_rpc, print_protocols): Likewise.
240 (print_passwd, print_group, print_aliases): Likewise.
241 * nis/nss-nisplus.h (niserr2nss): Likewise.
242 * nscd/connections.c (restart_p): Likewise.
243 Change return type to bool.
244
eab55bfb
RM
2452013-02-05 Roland McGrath <roland@hack.frob.com>
246
7bd642f5
RM
247 * Makeconfig (all-Depend-files): Add existing
248 $(sorted-subdirs:=/Depend) files.
249 (all-subdirs): Remove nss.
250 * sysdeps/unix/inet/Subdirs: Add it here instead.
251 * hesiod/Depend: New file.
252
573c29b2
RM
253 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
254 instead of calling alloca.
255
b2e25af0
RM
256 * io/lseek.c (__lseek): Rename to __libc_lseek.
257 Define __lseek as an alias.
258
eab55bfb
RM
259 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
260
9a0d1941
CD
2612013-02-04 Carlos O'Donell <carlos@redhat.com>
262
263 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
264 else clause and remove check for non-standard endianness.
265
b83bbec4
DM
2662013-02-04 David S. Miller <davem@davemloft.net>
267
268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
269
6277fdab
JM
2702013-02-04 Joseph Myers <joseph@codesourcery.com>
271
272 [BZ #13550]
273 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
274 (__ubp_memchr): Remove prototype.
275 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
276 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
277 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
278 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
279 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
280 Remove alias.
281 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
282 (__ubp_memchr): Likewise.
283 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
284 (__ubp_memchr): Likewise.
285 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
286 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
287 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
288 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
289 CHECK_STRING.
290 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
291 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
292 (__getcwd): Do not use CHECK_STRING.
293 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
294 <bp-checks.h>.
295 (__real_chown): Do not use CHECK_STRING.
296 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
297 <bp-checks.h>.
298 (fchownat): Do not use CHECK_STRING.
299 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
300 CHECK_STRING.
301 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
302 <bp-checks.h>.
303 (__lchown): Do not use CHECK_STRING.
304 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
305 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
306 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
307 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
309 include <bp-checks.h>.
310 (truncate64): Do not use CHECK_STRING.
311 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
312 <bp-checks.h>.
313 (__real_chown): Do not use CHECK_STRING.
314 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
315 <bp-checks.h>.
316 (__lchown): Do not use CHECK_STRING.
317 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
318 <bp-checks.h>.
319 (__chown): Do not use CHECK_STRING.
320 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
321 <bp-checks.h>.
322 (truncate64): Do not use CHECK_STRING.
323 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
324 Likewise.
325 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
326 (__xmknod): Do not use CHECK_STRING.
327 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
328 <bp-checks.h>.
329 (__xmknodat): Do not use CHECK_STRING.
330 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
331 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
332
903ae060
AS
3332013-02-04 Andreas Schwab <schwab@suse.de>
334
335 [BZ #14142]
336 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
337 * include/netdb.h: Likewise for h_errno.
338 * elf/tst-stackguard1.c: Include <tls.h>.
339
542f9466
JK
3402013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
341
342 * elf/link.h (struct link_map): Extend the l_addr comment.
343 * include/link.h (struct link_map): Likewise.
344
e782a927
JM
3452013-02-01 Joseph Myers <joseph@codesourcery.com>
346
347 [BZ #13550]
348 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
349 (BOUNDED_1): Remove macro.
350 * debug/backtrace.c: Don't include <bp-checks.h>.
351 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
352 (__backtrace): Likewise.
353 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
354 <bp-checks.h>.
355 (__backtrace): Don't use BOUNDED_1.
356 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
357 <bp-checks.h>.
358 (__backtrace): Don't use BOUNDED_1.
359 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
360 (__backtrace): Don't use BOUNDED_1.
361 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
362 (shmat): Don't use BOUNDED_N.
363
8cf28c5e
JM
3642013-01-31 Joseph Myers <joseph@codesourcery.com>
365
3a7ac8a0
JM
366 [BZ #13550]
367 * sysdeps/generic/bp-start.h: Remove file.
368 * csu/libc-start.c: Don't include <bp-start.h>.
369 (LIBC_START_MAIN): Set up __environ directly instead of using
370 INIT_ARGV_and_ENVIRON.
371 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
372 <bp-start.h>.
373
f3499f95
JM
374 [BZ #13550]
375 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
376 definitions.
377 (CHECK_FCNTL): Likewise.
378 (CHECK_N_PAGES): Likewise.
379
32a45bea
JM
380 [BZ #13550]
381 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
382 definitions.
383 (CHECK_SIGSET_NULL_OK): Likewise.
384 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
385 <bp-checks.h>.
386 (sigpending): Don't use CHECK_SIGSET.
387 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
388 <bp-checks.h>.
389 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
390 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
391 <bp-checks.h>.
392 (do_sigsuspend): Don't use CHECK_SIGSET.
393 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
394 use CHECK_SIGSET.
395 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
396 (do_sigwait): Don't use CHECK_SIGSET.
397 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
398 use CHECK_SIGSET.
399 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
400 include <bp-checks.h>.
401 (sigpending): Don't use CHECK_SIGSET.
402 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
403 include <bp-checks.h>.
404 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
405 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
406 <bp-checks.h>.
407 (sigpending): Don't use CHECK_SIGSET.
408 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
409 <bp-checks.h>.
410 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
411
2e8a5c8c
JM
412 [BZ #13550]
413 * sysdeps/generic/bp-semctl.h: Remove file.
414 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
415 <bp-checks.h> and <bp-semctl.h>.
416 (__old_semctl): Don't use CHECK_SEMCTL.
417 (__new_semctl): Likewise.
418 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
419 and <bp-semctl.h>.
420 (__old_semctl): Don't use CHECK_SEMCTL.
421 (__new_semctl): Likewise.
422 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
423 <bp-checks.h> and <bp-semctl.h>.
424 (__old_semctl): Don't use CHECK_SEMCTL.
425 (__new_semctl): Likewise.
426 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
427 <bp-checks.h> and <bp-semctl.h>.
428 (semctl): Don't use CHECK_SEMCTL.
429
c2d54929
JM
430 [BZ #13550]
431 * Makerules (elide-bp-thunks): Remove variable.
432 (elide-routines.oS): Don't use $(elide-bp-thunks).
433 (elide-routines.os): Likewise.
434 (elide-routines.o): Likewise.
435 (elide-routines.op): Likewise.
436 (elide-routines.og): Likewise.
437 (objects): Don't use $(bp-thunks).
438 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
439 include.
440 (common-generated): Do not add s-proto-bp.d.
441 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
442 (int): Likewise.
443 (typ): Likewise.
444 Do not generate makefile rules for bounded-pointer thunks.
445 * sysdeps/generic/bp-thunks.h: Remove file.
446 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
447 * sysdeps/unix/s-proto-bp.S: Likewise.
448
8cf28c5e
JM
449 [BZ #15062]
450 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
451 parts of result separately when argument is not close to line from
452 -i to i and one part of argument is small.
453 * math/k_casinhf.c (__kernel_casinhf): Likewise.
454 * math/k_casinhl.c (__kernel_casinhl): Likewise.
455 * math/libm-test.inc (cacos_test): Add more tests.
456 (casin_test): Likewise.
457 (casinh_test): Likewise.
458 * sysdeps/i386/fpu/libm-test-ulps: Update.
459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
460
c4e33b8d
DM
4612013-01-31 David S. Miller <davem@davemloft.net>
462
463 * po/de.po: Update from translation team.
464
3b60b421
MK
4652013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
466
467 * time/tzfile.c: Include stdint.h for SIZE_MAX.
468
bb931195
TS
4692013-01-25 Thomas Schwinge <thomas@codesourcery.com>
470
b5a5da23
TS
471 * configure.in (_AC_PROG_CC_C89): New definition.
472 * configure: Regenerate.
473
bb931195
TS
474 * configure.in (AC_PROG_CPP): New definition.
475 * configure: Regenerate.
476
8c53a12c
JM
4772013-01-23 Joseph Myers <joseph@codesourcery.com>
478
479 * debug/tst-backtrace.h: New file.
480 * debug/tst-backtrace2.c: Include tst-backtrace.h.
481 (ret): Remove variable.
482 (x): Likewise.
483 (FAIL): Remove macro.
484 (NO_INLINE): Likewise.
485 (fn1): Use match function instead of strstr.
486 * debug/tst-backtrace3.c: Include tst-backtrace.h.
487 (ret): Remove variable.
488 (x): Likewise.
489 (FAIL): Remove macro.
490 (NO_INLINE): Likewise.
491 (fn): Use match function instead of strstr.
492 * debug/tst-backtrace4.c: Include tst-backtrace.h.
493 (ret): Remove variable.
494 (x): Likewise.
495 (FAIL): Remove macro.
496 (NO_INLINE): Likewise.
497 (handle_signal): Use match function instead of strstr.
498 * debug/tst-backtrace5.c: Include tst-backtrace.h.
499 (ret): Remove variable.
500 (x): Likewise.
501 (FAIL): Remove macro.
502 (NO_INLINE): Likewise.
503 (handle_signal): Use match function instead of strstr.
504
4858fa2a
RM
5052013-01-23 Roland McGrath <roland@hack.frob.com>
506
507 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
508
bae8e7f5
DM
5092013-01-23 David S. Miller <davem@davemloft.net>
510
511 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
512 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
513 argument of CAS if possible.
514 * sysdeps/sparc/sparc64/bits/atomic.h
515 (__arch_compare_and_exchange_val_32_acq): Likewise.
516 (__arch_compare_and_exchange_val_64_acq): Likewise.
517
9cbbc4ae
PT
5182013-01-23 Pino Toscano <toscano.pino@tiscali.it>
519
520 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
521 * sysdeps/posix/ulimit.c: ... this.
92a601b8 522 Include <limits.h>.
67b3f58c 523 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 524
5655a0b5
AC
5252013-01-23 Adam Conrad <adconrad@0c3.net>
526
527 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
528 (LDFLAGS-tst-array5): Likewise.
529
052aff95
JM
5302013-01-23 Joseph Myers <joseph@codesourcery.com>
531
532 [BZ #15036]
533 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
534 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
535 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
536 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
537
7c1e01aa
DM
5382013-01-21 David S. Miller <davem@davemloft.net>
539
540 * sysdeps/sparc/backtrace.c: New file.
541 * sysdeps/sparc/sparc32/backtrace.h: New file.
542 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
543 * sysdeps/sparc/sparc64/backtrace.h: New file.
544 * sysdeps/sparc/sparc64/backtrace.c: Delete.
545 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
546 -funwind-tables.
547
ab087e0a
AS
5482013-01-21 Andreas Schwab <schwab@suse.de>
549
550 [BZ #15020]
551 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
552 closed its stdout.
553
ed689c2f
AS
5542013-01-20 Andreas Schwab <schwab@linux-m68k.org>
555
556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
557 "mpa2.h".
558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
559
31d470ac
JM
5602013-01-18 Joseph Myers <joseph@codesourcery.com>
561 Mark Mitchell <mark@codesourcery.com>
562 Tom de Vries <tom@codesourcery.com>
563 Paul Pluzhnikov <ppluzhnikov@google.com>
564
565 * debug/tst-backtrace2.c: New file.
566 * debug/tst-backtrace3.c: Likewise.
567 * debug/tst-backtrace4.c: Likewise.
568 * debug/tst-backtrace5.c: Likewise.
569 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
570 (CFLAGS-tst-backtrace3.c): Likewise.
571 (CFLAGS-tst-backtrace4.c): Likewise.
572 (CFLAGS-tst-backtrace5.c): Likewise.
573 (LDFLAGS-tst-backtrace2): Likewise.
574 (LDFLAGS-tst-backtrace3): Likewise.
575 (LDFLAGS-tst-backtrace4): Likewise.
576 (LDFLAGS-tst-backtrace5): Likewise.
577 (tests): Add new tests tst-backtrace2, tst-backtrace3,
578 tst-backtrace4 and tst-backtrace5.
579
90567f30 5802013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
581 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
582
583 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
584 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
585 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
586 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
588 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
589 "+r" and remove output regs list as redundant. Add explicit inline
590 asm to specify register of return val to work around compiler codegen
591 bug. Remove (int) cast on return value. Add return type parameter to
592 use in macro so that this macro does not truncate return value for
593 64-bit values.
594 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
595 pass to INTERNAL_VSYSCALL_NCS.
596 (INLINE_VSYSCALL): Add 'long int' as return type to
597 INTERNAL_VSYSCALL_NCS macro invocation.
598 (INTERNAL_VSYSCALL): Add 'long int' as return type to
599 INTERNAL_VSYSCALL_NCS macro invocation.
600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
601
d3b9ea61
SP
6022013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
603
0b57daeb
SP
604 [BZ #14496]
605 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
606 Fix application of SIMD FP exception mask.
607
caa99d06
SP
608 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
609 mp_no from a power of two.
610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
611 __mpexp_twomm1. Use __pow_mp.
612
d3b9ea61
SP
613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
614 multiplication.
615
1dbaee3c
DM
6162013-01-17 David S. Miller <davem@davemloft.net>
617
618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
619
728d7b43
JM
6202013-01-17 Joseph Myers <joseph@codesourcery.com>
621
622 [BZ #15023]
623 * include/complex.h: Condition contents on [!_COMPLEX_H].
624 (__kernel_casinhf): New prototype.
625 (__kernel_casinh): Likewise.
626 (__kernel_casinhl): Likewise.
627 * math/Makefile (libm_calls): Add k_casinh.
628 * math/k_casinh.c: New file.
629 * math/k_casinhf.c: Likewise.
630 * math/k_casinhl.c: Likewise.
631 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
632 finite nonzero arguments.
633 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
634 finite nonzero arguments.
635 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
636 finite nonzero arguments.
637 * math/s_casinh.c: Do not include <float.h>.
638 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
639 * math/s_casinhf.c: Do not include <float.h>.
640 (__casinhf): Move code for finite nonzero arguments to
641 k_casinhf.c.
642 * math/s_casinhl.c: Do not include <float.h>.
643 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
644 redefine.
645 (__casinhl): Move code for finite nonzero arguments to
646 k_casinhl.c.
647 * math/libm-test.inc (cacos_test): Add more tests.
648 * sysdeps/i386/fpu/libm-test-ulps: Update.
649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650
2a26ef3a
PT
6512013-01-17 Pino Toscano <toscano.pino@tiscali.it>
652
653 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
654 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
655 [!HAVE_MREMAP]: Remove [defined linux] case.
656 * malloc/arena.c: Do not include <malloc-sysdep.h>.
657
a897655d
SP
6582013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
659
660 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
661
881ebe89 6622013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
663
664 * elf/elf.h (R_386_SIZE32): New relocation.
665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
666 R_386_SIZE32.
667 (elf_machine_rela): Likewise.
668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
669 R_X86_64_SIZE64 and R_X86_64_SIZE32.
670
59981e9b
JM
6712013-01-17 Joseph Myers <joseph@codesourcery.com>
672
673 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
674 (FP_FAST_FMA): Do not define.
675 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
676 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
677 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
678 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
679 !_SOFT_FLOAT]: Likewise.
680 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
681 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
682 value.
683 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
684 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
685 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
686 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
687 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
688 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
689 file.
690
cfa8054f
AS
6912013-01-16 Andreas Schwab <schwab@suse.de>
692
693 [BZ #14327]
694 * include/stdlib.h (__mktemp): Add declaration.
695 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
696 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
697
dd930cc5
SP
6982013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
699
881ebe89
SP
700 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
701 definitions.
702 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
703 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
704 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
705 definitions here.
706 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
707 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
708 definitions.
709 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
710 and ONE.
711 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
712 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
713 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
714 definitions.
715 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
716 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
717 definitions.
718 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 719
dd930cc5
SP
720 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
721
c19a9f89
DM
7222013-01-15 David S. Miller <davem@davemloft.net>
723
1aa61767
DM
724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
725 trunc{,f} to libm-sysdep_routes.
726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
728 file.
729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
731 file.
732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
733 file.
734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
736 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
737 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
738 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
739 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
740 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
741 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
742
c42d5e98
DM
743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
744 nearbyint{,f} to libm-sysdep_routes.
745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
747 New file.
748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
749 file.
750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
751 New file.
752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
753 file.
754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
757 file.
758 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
759 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
760 file.
761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
762 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
763 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
764
c19a9f89
DM
765 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
766 libc_feholdexcept and libc_fesetenv.
767
357679d2
MF
7682013-01-15 Mike Frysinger <vapier@gentoo.org>
769
770 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
771
65a82e3d
DM
7722013-01-14 David S. Miller <davem@davemloft.net>
773
8b954ab9
DM
774 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
775 (SPARC_ASM_VIS2_IFUNC): Likewise.
776 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
778 use of 'siam' instruction.
779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
780 Likewise.
781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
782 Likewise.
783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
784 Likewise.
785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
790 file.
791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
792 file.
793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
794 file.
795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
796 file.
797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
802 new VIS2 routines.
803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
806 Likewise.
807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
812 routines to libm-sysdep_routines.
813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
814
65a82e3d
DM
815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
816 fdim/fdimf to libm-sysdep_routines.
817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
818 file.
819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
821 file.
822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
825 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
826 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
827 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
828 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
829
e34ab705
SP
8302013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
831
2a91b573
SP
832 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
833 to optimize copies.
834
1066a534
SP
835 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
838
e34ab705
SP
839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
840 local variable MPTWO.
841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
842 Likewise.
843
aba5e596
MF
8442013-01-13 Mike Frysinger <vapier@gentoo.org>
845
846 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
847 GLOB_NOESCAPE.
848
e557e9e5
MF
8492013-01-13 Mike Frysinger <vapier@gentoo.org>
850
851 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
852
0428cec9
MF
8532013-01-13 Mike Frysinger <vapier@gentoo.org>
854
855 * manual/pattern.texi (glob_t): Document gl_flags.
856 (glob64_t): Likewise.
857
8794a964
DM
8582013-01-11 David S. Miller <davem@davemloft.net>
859
66438c3f
RM
860 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
861 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
862 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
863 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
864 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
865 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
866 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
867 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
868 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
869 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
870 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
871 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
872 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
873
4ae4244d
DM
874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
875 sparc V9 rather than using V8 code.
876 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
877 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
878
8794a964
DM
879 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
880 Move to...
881 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
882 Here.
883
6270516e
RM
8842013-01-11 Roland McGrath <roland@hack.frob.com>
885
886 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
887 not in the main loop.
888 * configure: Regenerated.
889
6a57d931
JM
8902013-01-11 Joseph Myers <joseph@codesourcery.com>
891
892 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
893 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
894 to just #else.
895 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
896 [!__GLIBC_HAVE_LONG_LONG] case.
897 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
898 condition to just #else.
899 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
900 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
901 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
902 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
903 unconditional.
904 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
905 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
906 #elif condition to just #else.
907 * sysdeps/unix/sysv/linux/sys/sysmacros.h
908 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
909 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
910 #elif condition to just #else.
911
0e8529e9
SE
9122013-01-11 Steve Ellcey <sellcey@mips.com>
913
914 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
915 (EF_MIPS_ARCH_64): Fix value.
916 (EF_MIPS_ARCH_32R2): New.
917 (EF_MIPS_ARCH_64R2): New.
918
740b3dbe
L
9192013-01-11 H.J. Lu <hongjiu.lu@intel.com>
920
921 * Makeconfig (+link-pie-before-libc): New.
922 (+link-pie-after-libc): Likewise.
923 (+link-pie-tests): Likewise.
924 (+link-pie): Rewritten.
925 (link-before-libc): Remove $(config-LDFLAGS).
926 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
927 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
928 (config-LDFLAGS): Renamed to ...
929 (rtld-LDFLAGS): This.
930 (rtld-tests-LDFLAGS): New macro.
931 (link-libc-rpath-link): Likewise.
932 (link-libc-tests-rpath-link): Likewise.
933 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
934 (link-libc): Prepand $(link-libc-rpath-link).
935 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
936 (test-program-prefix): New macro.
937 (test-via-rtld-prefix): Likewise.
938 (test-program-cmd): Likewise.
939 (host-test-program-cmd): Likewise.
940 * Makefile ($(common-objpfx)testrun.sh): Replace
941 $(run-program-prefix) with $(test-program-prefix).
942 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
943 $(rtld-LDFLAGS).
944 ($(common-objpfx)shlib.lds): Likewise.
945 (build-module-helper): Likewise.
946 ($(common-objpfx)format.lds): Likewise.
947 * Rules (binaries-pie-tests): New.
948 (binaries-pie-notests): Likewise.
949 (binaries-pie): Rewritten.
950 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
951 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
952 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
953 (make-test-out): Replace $(host-built-program-cmd) with
954 $(host-test-program-cmd).
955 * config.make.in (build-hardcoded-path-in-tests): New variable.
956 * configure.in (--enable-hardcoded-path-in-tests): New configure
957 option.
958 (hardcoded_path_in_tests): New AC_SUBST.
959 * configure: Regenerated.
960 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
961 $(built-program-cmd) with $(test-program-cmd).
962 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
963 (test_program_cmd): This.
964 * elf/Makefile ($(objpfx)order.out): Run test with
965 $(test-program-prefix).
966 ($(objpfx)order2.out): Likewise.
967 ($(objpfx)tst-initorder.out): Likewise.
968 ($(objpfx)tst-initorder2.out): Likewise.
969 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
970 $(test-program-cmd).
971 ($(objpfx)tst-array1-static.out): Likewise.
972 ($(objpfx)tst-array2.out): Likewise.
973 ($(objpfx)tst-array3.out): Likewise.
974 ($(objpfx)tst-array4.out): Likewise.
975 ($(objpfx)tst-array5.out): Likewise.
976 ($(objpfx)tst-array5-static.out): Likewise.
977 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
978 $(test-program-cmd).
979 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
980 $(run-program-prefix) with $(test-program-prefix).
981 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
982 (test_program_prefix): This.
983 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
984 $(run-program-prefix) with $(test-program-prefix).
985 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
986 (test_program_prefix): This.
987 * iconvdata/tst-tables.sh: Likewise.
988 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
989 $(run-program-prefix) with $(test-program-prefix).
990 ($(objpfx)tst-translit.out): Likewise.
991 ($(objpfx)tst-gettext2.out): Likewise.
992 ($(objpfx)tst-gettext4.out): Likewise.
993 ($(objpfx)tst-gettext6.out): Likewise.
994 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
995 (test_program_prefix): This.
996 * intl/tst-gettext2.sh: Likewise.
997 * intl/tst-gettext4.sh Likewise.
998 * intl/tst-gettext6.sh: Likewise.
999 * intl/tst-translit.sh: Likewise.
1000 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1001 with $(test-program-cmd).
1002 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1003 $(run-program-prefix) with $(test-program-prefix).
1004 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1005 (test_program_prefix): This.
1006 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1007 $(run-program-prefix) with $(test-program-prefix).
1008 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1009 (test_program_prefix): This.
1010 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1011 * posix/Makefile ($(objpfx)globtest.out): Replace
1012 $(run-via-rtld-prefix) and $(test-wrapper) with
1013 $(test-program-prefix) and $(test-via-rtld-prefix).
1014 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1015 $(test-program-prefix).
1016 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1017 $(host-test-program-cmd).
1018 (tst-spawn-ARGS): Likewise.
1019 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1020 $(test-program-prefix).
1021 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1022 (test_via_rtld_prefix): This.
1023 (test_wrapper): Renamed to ...
1024 (test_program_prefix): This.
1025 (run_program_prefix): Replaced by test_program_prefix.
1026 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1027 (test_program_prefix): This.
1028 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1029 with $(host-test-program-cmd).
1030 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1031 $(run-program-prefix) with $(test-program-prefix).
1032 ($(objpfx)tst-printf.out): Likewise.
1033 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1034 $(test-program-cmd).
1035 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1036 (test_program_prefix): This.
1037 * stdio-common/tst-unbputc.sh: Likewise.
1038 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1039 $(run-program-prefix) with $(test-program-prefix).
1040 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1041 (test_program_prefix): This.
1042 * string/Makefile ($(objpfx)tst-svc.out): Replace
1043 $(built-program-cmd) with $(test-program-cmd).
1044
c6fe55cf
AJ
10452013-01-11 Andreas Jaeger <aj@suse.de>
1046
1047 [BZ #15003]
1048 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1049 value. Sync with Linux 3.7.
1050
9e6919c8
DM
10512013-01-10 David S. Miller <davem@davemloft.net>
1052
1053 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1054 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1055 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1056
1c9f1a02
RM
10572013-01-10 Roland McGrath <roland@hack.frob.com>
1058
1059 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1060 never set.
1061 * configure: Regenerated.
1062
b9de2dde
DM
10632013-01-10 David S. Miller <davem@davemloft.net>
1064
1065 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1066 sparc V9 rather than using V8 code.
1067 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1068 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1069
e7f68ef4
RM
10702013-01-10 Roland McGrath <roland@hack.frob.com>
1071
1072 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1073 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1074 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1075 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1076 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1077 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1078 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1079 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1080 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1081 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1082 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1083 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1084 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1085 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1086 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1087 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1088 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1089 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1090 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1091 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1092 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1093 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1094 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1095 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1096 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1097 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1098 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1099
5a47cc9c
DM
11002013-01-10 David S. Miller <davem@davemloft.net>
1101
1102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1103
4cf8f209
L
11042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1105
1106 * posix/Makefile (tests-static): New variable.
1107 (tests): Add $(tests-static).
1108 (tst-exec-static-ARGS): New variable.
1109 (tst-spawn-static-ARGS): Likewise.
1110 * posix/tst-exec-static.c: New file.
1111 * posix/tst-spawn-static.c: Likewise.
1112 * posix/tst-exec.c: Support run directly.
1113 * posix/tst-spawn.c: Likewise.
1114
fed0faa1
JM
11152013-01-10 Joseph Myers <joseph@codesourcery.com>
1116
828beb13
JM
1117 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1118 long.
1119 * math/bits/mathcalls.h (llrint): Likewise.
1120 (llround): Likewise.
1121 * stdlib/stdlib.h (struct drand48_data): Likewise.
1122 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1123 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1124 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1125 Likewise.
1126 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1127 Likewise.
1128 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1129 (elf_greg_t): Likewise.
1130 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1131 (__jmp_buf): Likewise.
1132 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1133 definitions.
1134 (llrint): Likewise, for all definitions.
1135 (llrintl): Likewise.
1136
fed0faa1
JM
1137 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1138 Remove [__GNUC__] condition.
1139 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1140 condition to just [__USE_ISOC99].
1141 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1142
1a20cb20
L
11432013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 [BZ #14200]
1146 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1147 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1148 defined.
1149 (_POSIX_V6_ILP32_OFF32): Likewise.
1150 (_XBS5_ILP32_OFF32): Likewise.
1151 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1152 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1153
751b85f7
SP
11542013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1155
7490eb81
SP
1156 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1157
751b85f7
SP
1158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1159 doubles __mpexp_twomm1. Adjust usage.
1160 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1161 Remove.
1162
988197f0
AS
11632013-01-10 Andreas Schwab <schwab@suse.de>
1164
1165 [BZ #14964]
1166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1167 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1168
e83d7298
DM
11692013-01-09 David S. Miller <davem@davemloft.net>
1170
034ed64b 1171 [BZ #15003]
e83d7298
DM
1172 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1173 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1174 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1175 TCP_FASTOPEN): Define.
1176 (tcp_repair_opt): New structure.
1177 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1178 enum values.
1179 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1180 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1181 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1182 (tcp_cookie_transactions): New structure.
1183
d5e0b9bd
AB
11842013-01-09 Anton Blanchard <anton@samba.org>
1185
1186 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1187 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1190
0c07e3ea
JM
11912013-01-09 Joseph Myers <joseph@codesourcery.com>
1192
1193 * include/features.h (__USE_ANSI): Remove.
1194
232f7002
RM
11952013-01-09 Roland McGrath <roland@hack.frob.com>
1196
ad98e30c
RM
1197 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1198
232f7002
RM
1199 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1200
950c99ca
SP
12012013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1202
b5792741
SP
1203 * sysdeps/s390/fpu/libm-test-ulps: Update.
1204
47cf2278
SP
1205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1206
950c99ca
SP
1207 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1208 (__acr): Likewise.
1209 (__cpy): Likewise.
1210 (norm): Likewise.
1211 (denorm): Likewise.
1212 (__mp_dbl): Likewise.
1213 (__dbl_mp): Likewise.
1214 (add_magnitudes): Likewise.
1215 (sub_magnitudes): Likewise.
1216 (__add): Likewise.
1217 (__sub): Likewise.
1218 (__mul): Likewise.
1219 (__inv): Likewise.
1220 (__dvd): Likewise.
1221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1222 (__acr): Likewise.
1223 (__cpy): Likewise.
1224 (norm): Likewise.
1225 (denorm): Likewise.
1226 (__mp_dbl): Likewise.
1227 (__dbl_mp): Likewise.
1228 (add_magnitudes): Likewise.
1229 (sub_magnitudes): Likewise.
1230 (__add): Likewise.
1231 (__sub): Likewise.
1232 (__mul): Likewise.
1233 (__inv): Likewise.
1234 (__dvd): Likewise.
1235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1236 (__acr): Likewise.
1237 (__cpy): Likewise.
1238 (norm): Likewise.
1239 (denorm): Likewise.
1240 (__mp_dbl): Likewise.
1241 (__dbl_mp): Likewise.
1242 (add_magnitudes): Likewise.
1243 (sub_magnitudes): Likewise.
1244 (__add): Likewise.
1245 (__sub): Likewise.
1246 (__mul): Likewise.
1247 (__inv): Likewise.
1248 (__dvd): Likewise.
1249
eede9df9
JM
12502013-01-08 Joseph Myers <joseph@codesourcery.com>
1251
1252 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1253 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1254 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1255 2 && __USE_EXTERN_INLINES]: Likewise.
1256
c40ea3d9
AJ
12572013-01-08 Andreas Jaeger <aj@suse.de>
1258
1259 [BZ# 14985]
1260 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1261 Remove.
1262 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1263 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1264
2ccdea26
AB
12652013-01-07 Anton Blanchard <anton@samba.org>
1266
1267 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1268 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1269 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1270 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1271 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1272 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1273 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1274 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1276 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1277 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1278 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1279 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1280 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1281 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1282 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1283 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1284 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1285 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1286 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1287 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1288 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1289 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1290 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1291 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1292 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1294 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1296 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1297 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1299 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1300 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1301 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1302 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1303 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1304 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1305 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1306 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1307 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1309 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1310
a9708fed
JM
13112013-01-07 Joseph Myers <joseph@codesourcery.com>
1312
375607b9
JM
1313 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1314 (__MALLOC_PMT): Likewise.
1315 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1316 [__GNUC__], only on [_LIBC].
1317 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1318 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1319 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1320 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1321 forward declaration.
1322 (realloc_hook_ini): Likewise.
1323 (memalign_hook_ini): Likewise.
1324 (__libc_memalign): Do not use __MALLOC_PMT in variable
1325 declaration.
1326 (__libc_valloc): Likewise.
1327 (__libc_pvalloc): Likewise.
1328 (__libc_calloc): Likewise.
1329 (__posix_memalign): Likewise.
1330
a9708fed
JM
1331 [BZ #14996]
1332 * math/s_casinh.c: Include <float.h>.
1333 (__casinh): Do not do computation with squaring and square root
1334 for large arguments.
1335 * math/s_casinhf.c: Include <float.h>.
1336 (__casinhf): Do not do computation with squaring and square root
1337 for large arguments.
1338 * math/s_casinhl.c: Include <float.h>.
1339 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1340 (__casinhl): Do not do computation with squaring and square root
1341 for large arguments.
1342 * math/libm-test.inc (casin_test): Add more tests.
1343 (casinh_test): Likewise.
1344 * sysdeps/i386/fpu/libm-test-ulps: Update.
1345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1346
afec409a
L
13472013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1348
1349 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1350 (__x86_64_raw_data_cache_size): Likewise.
1351 (__x86_64_data_cache_size_half): Likewise.
1352 (__x86_64_raw_data_cache_size_half): Likewise.
1353 (__x86_64_shared_cache_size): Likewise.
1354 (__x86_64_raw_shared_cache_size): Likewise.
1355 (__x86_64_shared_cache_size_half): Likewise.
1356 (__x86_64_raw_shared_cache_size_half): Likewise.
1357 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1358 to ...
1359 (__x86_data_cache_size): This.
1360 (__x86_64_raw_data_cache_size): Renamed to ...
1361 (__x86_raw_data_cache_size): This.
1362 (__x86_64_data_cache_size_half): Renamed to ...
1363 (__x86_data_cache_size_half): This.
1364 (__x86_64_raw_data_cache_size_half): Renamed to ...
1365 (__x86_raw_data_cache_size_half): This.
1366 (__x86_64_shared_cache_size): Renamed to ...
1367 (__x86_shared_cache_size): This.
1368 (__x86_64_raw_shared_cache_size): Renamed to ...
1369 (__x86_raw_shared_cache_size): This.
1370 (__x86_64_shared_cache_size_half): Renamed to ...
1371 (__x86_shared_cache_size_half): This.
1372 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1373 (__x86_raw_shared_cache_size_half): This.
1374 * sysdeps/x86_64/memcpy.S: Updated.
1375 * sysdeps/x86_64/memset.S: Likewise.
1376 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1377 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1378 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1379
0b3986d0
DM
13802013-01-04 David S. Miller <davem@davemloft.net>
1381
1382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1383
e47686e9
AS
13842013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1385
d643bac1
AS
1386 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1387 1 to avoid redefinition warning.
1388 (__USE_GNU): Don't define.
1389 (init_signaling_nan): Protoize.
1390
e47686e9
AS
1391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1392
b18decba
SP
13932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1394
fffb407f
SP
1395 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1397 (__cpymn): Likewise.
1398 (norm): Remove commented code.
1399 (denorm): Likewise.
1400 (__mp_dbl): Likewise.
1401 (__inv): Likewise.
1402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1403 (__cpymn): Likewise.
1404 (norm): Remove commented code.
1405 (denorm): Likewise.
1406 (__mp_dbl): Likewise.
1407 (__inv): Likewise.
1408
b18decba
SP
1409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1410 mp_no value for 1.0 and 2.0.
1411 (norm): Use RADIXI instead of radixi.d.
1412 (denorm): Likewise.
1413 (__mul): Use 0.0 instead of zero.d.
1414 * sysdeps/powerpc/powerpc64/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
cdc1c96f
JM
14202013-01-04 Joseph Myers <joseph@codesourcery.com>
1421
1422 [BZ #14994]
1423 * math/s_casinh.c (__casinh): Reduce finite argument to first
1424 quadrant then set signs of results at the end.
1425 * math/s_casinhf.c (__casinhf): Likewise.
1426 * math/s_casinhl.c (__casinhl): Likewise.
1427 * math/libm-test.inc (casin_test): Add more tests.
1428 (casinh_test): Likewise.
1429 * sysdeps/i386/fpu/libm-test-ulps: Update.
1430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1431
302913e1
SP
14322013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1433
6420d207
SP
1434 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1435
a9e48ab4
SP
1436 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1437
b7837264
SP
1438 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1439 declarations.
1440 (denorm): Likewise.
1441 (__mp_dbl): Likewise.
1442 (__inv): Likewise.
1443
f8af25d2
SP
1444 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1445 and adjust the header comment.
1446
302913e1
SP
1447 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1448 variable name from declaration.
1449
5d7dd1ca
L
14502013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1451
1452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1453 Initialize COMMON_CPUID_INDEX_7 element.
1454 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1455 (CPUID_RTM): Likewise.
1456 (HAS_RTM): Likewise.
1457 (COMMON_CPUID_INDEX_7): New enum.
1458
2f5f40f4
AS
14592013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1460
1461 [BZ #14981]
1462 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1463 size is zero, record memory as freed.
1464
4056f4a0
AJ
14652013-01-03 Andreas Jaeger <aj@suse.de>
1466
1467 * po/ia.po: Add new Interlingua translation.
1468
ab15736f 14692012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1470
1471 * locale/programs/localedef.c: Fix description of '--posix' flag.
1472
568035b7
JM
14732013-01-02 Joseph Myers <joseph@codesourcery.com>
1474
e6898b8d
JM
1475 * NEWS: Update dates in second copyright notice.
1476 * README: Update copyright dates in example.
1477 * manual/libc.texinfo: Update copyright dates.
1478 * scripts/test-installation.pl: Update copyright date in --version
1479 output.
1480
0e2f9562
JM
1481 * hurd/ctty-input.c: Fix copyright notice formatting.
1482 * hurd/ctty-output.c: Likewise.
1483 * hurd/dtable.c: Likewise.
1484 * hurd/hurd-raise.c: Likewise.
1485 * hurd/hurdprio.c: Likewise.
1486 * hurd/msgportdemux.c: Likewise.
1487 * misc/sys/file.h: Likewise.
1488 * misc/sys/ioctl.h: Likewise.
1489 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1490 * sysdeps/mach/hurd/chdir.c: Likewise.
1491 * sysdeps/mach/hurd/fchdir.c: Likewise.
1492 * sysdeps/mach/hurd/rename.c: Likewise.
1493 * sysdeps/mach/hurd/rmdir.c: Likewise.
1494 * sysdeps/mach/hurd/seekdir.c: Likewise.
1495 * sysdeps/mach/hurd/setsid.c: Likewise.
1496 * sysdeps/posix/wait3.c: Likewise.
1497
568035b7
JM
1498 * All files with FSF copyright notices: Update copyright dates
1499 using scripts/update-copyrights.
1500 * intl/plural.c: Regenerated.
1501 * locale/programs/charmap-kw.h: Likewise.
1502 * locale/programs/locfile-kw.h: Likewise.
1503
da08f647
SP
15042013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1505
0f5477af
SP
1506 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1507 four values.
1508
44e0d4c2
SP
1509 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1510 calculation loop and add branch prediction.
1511
4d55b4e5
SP
1512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1513 check access beyond bounds of m1np.
1514
da08f647
SP
1515 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1516 MPTWO.
1517 (__inv): Remove local variable MPTWO to use the global
1518 constant.
1519 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1520 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1521 variable MPTWO.
1522 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1523 MP3HALFS static const.
1524
8e051029
DM
15252013-01-01 David S. Miller <davem@davemloft.net>
1526
1527 * po/ca.po: Update from translation team.
1528
f4cf5f2d
JM
15292013-01-01 Joseph Myers <joseph@codesourcery.com>
1530
1531 * scripts/update-copyrights: New file.
1532 * Makeconfig: Reformat copyright notice.
1533 * ctype/ctype.h: Likewise.
1534 * debug/swprintf_chk.c: Likewise.
1535 * elf/dl-cache.c: Likewise.
1536 * elf/dl-debug.c: Likewise.
1537 * elf/dl-object.c: Likewise.
1538 * grp/initgroups.c: Likewise.
1539 * hurd/Makefile: Likewise.
1540 * hurd/hurd/signal.h: Likewise.
1541 * hurd/hurdfault.c: Likewise.
1542 * hurd/hurdioctl.c: Likewise.
1543 * hurd/hurdlookup.c: Likewise.
1544 * hurd/intr-msg.c: Likewise.
1545 * iconv/gconv_open.c: Likewise.
1546 * libio/swprintf.c: Likewise.
1547 * locale/lc-ctype.c: Likewise.
1548 * locale/nl_langinfo.c: Likewise.
1549 * mach/Machrules: Likewise.
1550 * mach/Makefile: Likewise.
1551 * malloc/obstack.h: Likewise.
1552 * manual/Makefile: Likewise.
1553 * manual/tsort.awk: Likewise.
1554 * misc/bits/stab.def: Likewise.
1555 * nis/nis_print_group_entry.c: Likewise.
1556 * nis/nis_table.c: Likewise.
1557 * nis/nss_compat/compat-pwd.c: Likewise.
1558 * nis/nss_compat/compat-spwd.c: Likewise.
1559 * po/Makefile: Likewise.
1560 * posix/fnmatch.c: Likewise.
1561 * posix/regex.h: Likewise.
1562 * resolv/Makefile: Likewise.
1563 * resolv/nss_dns/dns-network.c: Likewise.
1564 * resolv/res_hconf.c: Likewise.
1565 * scripts/gen-sorted.awk: Likewise.
1566 * soft-fp/soft-fp.h: Likewise.
1567 * stdio-common/printf.h: Likewise.
1568 * stdlib/monetary.h: Likewise.
1569 * stdlib/random.c: Likewise.
1570 * stdlib/random_r.c: Likewise.
1571 * sysdeps/generic/Makefile: Likewise.
1572 * sysdeps/gnu/Makefile: Likewise.
1573 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1575 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1577 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1601 * sysdeps/mach/hurd/errnos.awk: Likewise.
1602 * sysdeps/mach/hurd/fork.c: Likewise.
1603 * sysdeps/mach/hurd/getcwd.c: Likewise.
1604 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1605 * sysdeps/mach/hurd/mmap.c: Likewise.
1606 * sysdeps/mach/hurd/utimes.c: Likewise.
1607 * sysdeps/mach/hurd/xmknod.c: Likewise.
1608 * sysdeps/posix/profil.c: Likewise.
1609 * sysdeps/posix/readdir_r.c: Likewise.
1610 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1611 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1612 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1613 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1615 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1616 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1617 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1619 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1620 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1621 * sysdeps/pthread/lio_listio.c: Likewise.
1622 * sysdeps/sparc/dl-procinfo.h: Likewise.
1623 * sysdeps/unix/i386/sysdep.S: Likewise.
1624 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1625 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1626 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1627 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1629 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1630 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1631 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1632 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1633 * sysdeps/wordsize-32/divdi3.c: Likewise.
1634 * time/sys/time.h: Likewise.
1635 * wcsmbs/Makefile: Likewise.
1636
0549fbba
DM
16372013-01-01 David S. Miller <davem@davemloft.net>
1638
a141f1a7
DM
1639 * po/fr.po: Update from translation team.
1640
0549fbba
DM
1641 * catgets/gencat.c: Update copyright year.
1642 * csu/version.c: Likewise.
1643 * debug/catchsegv.sh: Likewise.
1644 * debug/pcprofiledump.c: Likewise.
1645 * debug/xtrace.sh: Likewise.
1646 * elf/ldconfig.c: Likewise.
1647 * elf/ldd.bash.in: Likewise.
1648 * elf/pldd.c: Likewise.
1649 * elf/sotruss.ksh: Likewise.
1650 * elf/sprof.c: Likewise.
1651 * iconv/iconv_prog.c: Likewise.
1652 * iconv/iconvconfig.c: Likewise.
1653 * locale/programs/locale.c: Likewise.
1654 * locale/programs/localedef.c: Likewise.
1655 * login/programs/pt_chown.c: Likewise.
1656 * malloc/memusage.sh: Likewise.
1657 * malloc/memusagestat.c: Likewise.
1658 * malloc/mtrace.pl: Likewise.
1659 * nscd/nscd.c: Likewise.
1660 * nss/getent.c: Likewise.
1661 * nss/makedb.c: Likewise.
1662 * posix/getconf.c: Likewise.
1663
18ea052c
SP
16642012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1665
1666 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1667 numbers.
1668
9c89fca6
MF
16692012-12-30 Mike Frysinger <vapier@gentoo.org>
1670
1671 * math/bits/mathcalls.h (modf): Use __nonnull.
1672
085ec079
SP
16732012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1674
1675 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1676 (split): Use macro CN instead of the bare value.
1677 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1678 could be used.
1679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1680 instead of the bare value.
1681 (power1): Likewise.
1682
6d9f97e1
SP
16832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1684
d63f73be
SP
1685 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1686 __ATAN_TWOM.
1687 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1688
6d9f97e1
SP
1689 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1690 their values.
1691 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1692 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1693 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1694 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1695
4c4febf5
AJ
16962012-12-28 Andreas Jaeger <aj@suse.de>
1697
af5843ef
AJ
1698 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1699 values are from Linux 3.7.
1700
4c4febf5
AJ
1701 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1702 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1703
99136f82
SP
17042012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1705
2f216c3c 1706 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1707 TRUE case.
1708
99136f82
SP
1709 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1710 (norm): Likewise.
1711 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1712 variables with preprocessor constants.
1713 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1714 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1715 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1716
7fffbdff
BH
17172012-12-27 Bruno Haible <bruno@clisp.org>
1718
1719 [BZ #14317]
1720 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1721 only if needed.
1722
b76eb5f0
SP
17232012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1724
31a7fe5c
SP
1725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1726 and use variable directly.
1727 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1728
b76eb5f0
SP
1729 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1730 MPONE.
1731 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1732 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1733 variable MPONE.
1734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1736 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1737 include directive. Remove local variable MPONE.
1738 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1739 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1740 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1741
2c8bfe7d
DM
17422012-12-25 David S. Miller <davem@davemloft.net>
1743
1744 * version.h (RELEASE): Set to "development".
1745 (VERSION): Set to "2.17.90".
1746 * NEWS: Add 2.18 section.
1747
147d03b0
DM
17482012-12-21 David S. Miller <davem@davemloft.net>
1749
1750 * po/hr.po: Update from translation team.
1751
a8ebb2b9
AK
17522012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1753
1754 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1755
95b4f1b6
SE
17562012-12-19 Steve Ellcey <sellcey@mips.com>
1757
b2d94007 1758 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1759
cedb2a90
MS
17602012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1761
1762 * manual/contrib.texi (Contributors): Spelling correction.
1763
bbf527d6
DM
17642012-12-15 David S. Miller <davem@davemloft.net>
1765
1766 * po/ru.po: Update from translation team.
1767
bc38c906
DM
17682012-12-13 David S. Miller <davem@davemloft.net>
1769
85429b1a
DM
1770 * NEWS: Mention IFUNC testsuite enhancements.
1771
d283e353
DM
1772 * po/pl.po: Update from translation team.
1773 * po/bg.po: Likewise.
1774
bc38c906
DM
1775 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1776 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1777
a181b0d7
DM
17782012-12-11 David S. Miller <davem@davemloft.net>
1779
4641d57e
DM
1780 * po/sv.po: Update from translation team.
1781
f7bc6495
DM
1782 * po/vi.po: Update from translation team.
1783
6fc9048f
DM
1784 * po/cs.po: Update from translation team.
1785
a181b0d7
DM
1786 * po/de.po: Update from translation team.
1787 * po/eo.po: Likewise.
1788 * po/nl.po: Likewise.
1789
f70bfe80
SP
17902012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1791
3c8b4190
SP
1792 [BZ #14246]
1793 * manual/argp.texi (Argp Helper Functions): Move node to follow
1794 Argp Parsing State.
1795
f70bfe80
SP
1796 [BZ #14872]
1797 * manual/conf.texi (Limits on File System Capacity): Mention if
1798 terminating null is included in the max size.
1799
188f0adf
AJ
18002012-12-10 Andreas Jaeger <aj@suse.de>
1801
1802 * po/cs.po: Update from translation team.
1803
56e7d3ad
SP
18042012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1805
1806 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1807 void pointer and cast to uintptr_t.
1808 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1809 path.
1810 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1811 * sysdeps/s390/s390-64/memset.S: Likewise.
1812
76f2d2ea 18132012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1814
1815 [BZ #14833]
1816 * menual/message.texi (Message Translation): Fix typos.
1817 (Helper programs for gettext): Likewise.
1818
67cbf9a2
AS
18192012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1820
1821 [BZ #14898]
1822 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1823 Change to -1.
1824
682d0e9a
DM
18252012-12-07 David S. Miller <davem@davemloft.net>
1826
1827 * po/libc.pot: Update.
1828
573cd484
RH
18292012-12-07 Richard Henderson <rth@redhat.com>
1830
7e9da188 1831 [BZ #10114]
573cd484
RH
1832 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1833 normal/normal case to before the switch.
1834 (_FP_DIV): Likewise.
1835
e933a943
MF
18362012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1837 Mike Frysinger <vapier@gentoo.org>
1838
1839 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1840 check for __NR_fadvise64_64.
1841
82123268
CM
18422012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1843
1844 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1845 0, not just to plain "0" as a statement.
1846 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1847 with cw.
1848
d9814526
JM
18492012-12-06 Joseph Myers <joseph@codesourcery.com>
1850
1851 * NEWS: Use sourceware.org in Bugzilla URL.
1852
7728c574
SP
18532012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1854
f16946dd
SP
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1856 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1857
5704bbcb
SP
1858 * stdio-common/tst-put-error.c (do_test): Add newline to the
1859 padded test to ensure flush.
1860
17aa0516
JL
18612012-12-05 Jeff Law <law@redhat.com>
1862
1863 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1864
363313b5
JM
18652012-12-05 Joseph Myers <joseph@codesourcery.com>
1866
effbd42a
JM
1867 * README: Don't refer to ports add-on as distributed separately.
1868 Mention AArch64 in list of systems supported in the ports add-on.
1869
87600365
JM
1870 * LICENSES: Add more non-FSF copyright and license notices.
1871
a0d7066a
JM
1872 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1873 ((unused)).
1874
66ca5a5b
JM
1875 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1876
363313b5
JM
1877 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1878 10000 as width of padded output.
1879
b37984ad
JM
18802012-12-04 Joseph Myers <joseph@codesourcery.com>
1881
9003570a
JM
1882 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1883
b37984ad
JM
1884 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1885 variable LX with __attribute__ ((unused)).
1886 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1887 Likewise.
1888 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1889 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1890 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1891 with __attribute__ ((unused)).
1892
c8df52ec
DM
18932012-12-04 David S. Miller <davem@abraco.davemloft.net>
1894
1895 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1896
b3b099af
JM
18972012-12-04 Joseph Myers <joseph@codesourcery.com>
1898
c33aa6e3
JM
1899 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1900 (CFLAGS-nldbl-acos.c): New variable.
1901 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1902 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1903 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1904 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1905 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1906 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1907 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1908 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1909 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1910 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1911 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1912 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1913 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1914 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1915 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1916 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1917 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1918 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1919 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1920 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1921 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1922 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1923 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1924 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1925 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1926 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1927 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1928 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1929 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1930 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1931 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1932 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1933 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1934 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1935 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1936 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1937 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1938 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1939 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1940 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1941 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1942 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1943 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1944 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1945 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1946 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1947 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1948 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1949 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1950 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1951 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1952 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1953 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1954 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1955 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1956 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1957 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1958 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1959 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1960 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1961 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1962 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1963 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1964 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1965 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1966 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1967 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1968 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1969 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1970 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1971 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1972 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1973 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1974 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1975 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1976 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1977 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1978 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1979 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1980 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1981 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1982 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1983 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1984 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1985 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1986 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1987 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1988 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1989 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1990 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1991 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1992 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1993 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1994 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1995 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1996 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1997 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1998
20f0018d
JM
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2000 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2001
b3b099af
JM
2002 [BZ #14914]
2003 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2004 whole low double instead of just low 47 bits when splitting values
2005 into two parts.
2006
029264d1
AM
20072012-12-03 Allan McRae <allan@archlinux.org>
2008
2009 * manual/stdio.texi (Predefined Printf Handlers): Remove
2010 @hsep and @vsep usage.
2011
c9d6789e
MF
20122012-12-03 Mike Frysinger <vapier@gentoo.org>
2013
2014 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2015 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2016
4b7634a5
JL
20172012-12-03 Jeff Law <law@redhat.com>
2018
2019 * time/sys/time.h (settimeofday): Do not mark TV argument
2020 as __nonnull.
2021
eb6cbd24
MF
20222012-12-01 Mike Frysinger <vapier@gentoo.org>
2023
2024 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2025 when currently writing and seek to current position when not.
2026 * libio/Makefile (tests): Remove bug-fclose1.
2027 * libio/bug-fclose1.c: Delete.
2028
f638872a
JM
20292012-12-01 Joseph Myers <joseph@codesourcery.com>
2030
2031 * manual/arith.texi (feenableexcept): Fix typo.
2032 (fedisableexcept): Likewise.
2033
48085d14
RM
20342012-11-30 Roland McGrath <roland@hack.frob.com>
2035
2036 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2037 second, differently-typed declaration, rather than a cast.
2038
1a538b9f
SP
20392012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2040
2041 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2042 * include/rpc/svc.h: ... here.
2043
d07f2ff1 20442012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2045
2046 [BZ #13013]
2047 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2048 depending n and resplen2 to catch cases where answer
2049 equals answerp2.
2050
c93ec1f0
CD
20512012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2052
2053 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2054 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2055
37db69de
MF
20562012-11-29 Mike Frysinger <vapier@gentoo.org>
2057
2058 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2059
e10c4e4f
RM
20602012-11-29 Roland McGrath <roland@hack.frob.com>
2061
2062 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2063
2af1b328
JL
20642012-11-28 Jeff Law <law@redhat.com>
2065
2066 [BZ #13761]
2067 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2068 dataset_temporary. Track alloca usage into alloca_used.
2069 If dataset is large allocate and release it via malloc/free.
2070
111db5b1
FW
20712012-06-04 Florian Weimer <fweimer@redhat.com>
2072
f06cc227 2073 [BZ #14197]
111db5b1
FW
2074 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2075
dd694abd
DM
20762012-11-28 David S. Miller <davem@davemloft.net>
2077
2078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2079
9984dd01
JM
20802012-11-28 Joseph Myers <joseph@codesourcery.com>
2081
2082 [BZ #14803]
2083 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2084 of pi/2 rounded to nearest to 64 bits.
2085 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2086 nearest to 64 bits.
2087 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2088 bits.
2089
14bc93a9
JL
20902012-11-28 Jeff Law <law@redhat.com>
2091 Martin Osvald <mosvald@redhat.com>
2092
2093 [BZ #14889]
2094 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2095 * sunrpc/svc.c: Include time.h.
2096 (__svc_accept_failed): New function.
2097 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2098 any reason other than EINTR, call __svc_accept_failed.
2099 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2100 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2101
e3c6aa3a
AS
21022012-11-28 Andreas Schwab <schwab@suse.de>
2103
2104 * scripts/abilist.awk: Also handle indirect functions in .opd
2105 section.
2106
1bead169
JM
21072012-11-28 Joseph Myers <joseph@codesourcery.com>
2108
2109 [BZ #13881]
2110 * sysdeps/x86/fpu/powl_helper.c: New file.
2111 * sysdeps/x86/fpu/Makefile: Likewise.
2112 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2113 (p3): New object.
2114 (__ieee754_powl): Use __powl_helper for finite arguments except
2115 integer exponents below 8.
2116 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2117 (p3): New object.
2118 (__ieee754_powl): Use __powl_helper for finite arguments except
2119 integer exponents below 8.
2120 * math/libm-test.inc (pow_test): Add more tests and enable some
2121 previously disabled tests.
2122 * sysdeps/i386/fpu/libm-test-ulps: Update.
2123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2124
0817d63d
SP
21252012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2126 Carlos O'Donell <carlos_odonell@mentor.com>
2127
2128 * nss/makedb.c (is_prime): Assert that input is odd and greater
2129 than 4. Note that fact in a comment too.
2130 (next_prime): Add 4 to input.
2131
de2fd463
SP
21322012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2133
2134 [BZ #11741]
2135 * libio/Makefile (tests): Add test case tst-fwrite-error.
2136 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2137 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2138 * libio/tst-fwrite-error.c: New test case.
2139
c515fb51
L
21402012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2143 before casting to void *.
2144 * include/libc-internal.h (__pointer_type): New macro.
2145 (__integer_if_pointer_type_sub): Likewise.
2146 (__integer_if_pointer_type): Likewise.
2147 (cast_to_integer): Likewise.
2148 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2149 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2150 before casting to atomic64_t.
2151 (atomic_exchange_acq): Likewise.
2152 (__arch_exchange_and_add_body): Likewise.
2153 (__arch_add_body): Likewise.
2154 (atomic_add_negative): Likewise.
2155 (atomic_add_zero): Likewise.
2156
4cf77aa9
JM
21572012-11-26 Joseph Myers <joseph@codesourcery.com>
2158
2159 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2160 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2161 (add_fdes): Likewise.
2162 (linear_search_fdes): Likewise.
2163 (binary_search_unencoded_fdes): Likewise.
2164
d260b3b4
AS
21652012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2166
2167 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2168
67060746
AC
21692012-11-24 Adam Conrad <adconrad@0c3.net>
2170
2171 * configure.in: Autodetect C++ header directories.
2172 * configure: Regenerated.
2173
800938a1
MF
21742012-11-23 Mike Frysinger <vapier@gentoo.org>
2175
2176 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2177
4e6e34e6
AS
21782012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2179
2180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2181
7c7feb47
JM
21822012-11-22 Joseph Myers <joseph@codesourcery.com>
2183
7184dcdf
JM
2184 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2185 LDBL_MANT_DIG == 106]: Disable some tests.
2186 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2187 Likewise.
2188 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2189 Likewise.
2190
0a42601f
JM
2191 [BZ #14871]
2192 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2193 input for small inputs. Return +/- pi/2 for large inputs.
2194 * math/libm-test.inc (atan_test): Add more tests.
2195
79c9b9fe
JM
2196 * sysdeps/generic/unwind-dw2-fde-glibc.c
2197 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2198 __attribute__ ((unused)).
2199
c60d3bf2
JM
2200 [BZ #14645]
2201 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2202 x * y if x and y are nonzero and z is zero.
2203
ef1e0867
JM
2204 [BZ #14811]
2205 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2206 nonzero exponents with absolute value below 0x1p-117 to +/-
2207 0x1p-117.
2208
1468ded3
JM
2209 [BZ #14869]
2210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2211 up arguments below 2**-450, not just those below 2**-500.
2212 * math/libm-test.inc (hypot_test): Add another test.
2213
8e27e3cc
JM
2214 [BZ #14868]
2215 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2216 Return a+b for ratio over 2**120, not 2**60.
2217 * math/libm-test.inc (hypot_test): Add another test.
2218
c9c0279b
JM
2219 * math/libm-test.inc (clog_test): Use
2220 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2221 (clog10_test): Likewise.
2222
7c7feb47
JM
2223 [BZ #6778]
2224 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2225
fff1530e
AS
22262012-11-22 Andreas Schwab <schwab@suse.de>
2227
2228 * sysdeps/i386/fpu/libm-test-ulps: Update.
2229
94558d30
PT
22302012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2231
2232 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2233 printf output with newline.
2234
7e1be741
L
22352012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2236
6bfea974
L
2237 [BZ #14865]
2238 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2239 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2240 -z nodlopen, -z initfirst and -z execstack support.
2241 * configure: Regenerated.
2242
7e1be741
L
2243 * elf/elf.h (DF_1_NODIRECT): New macro.
2244 (DF_1_IGNMULDEF): Likewise.
2245 (DF_1_NOKSYMS): Likewise.
2246 (DF_1_NOHDR): Likewise.
2247 (DF_1_EDITED): Likewise.
2248 (DF_1_NORELOC): Likewise.
2249 (DF_1_SYMINTPOSE): Likewise.
2250 (DF_1_GLOBAUDIT): Likewise.
2251 (DF_1_SINGLETON): Likewise.
2252 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2253 DT_1_SUPPORTED_MASK bits.
2254 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2255
105ce2ce
CD
22562012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2257
2258 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2259
123be9de
TS
22602012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2261
d072f3f7
TS
2262 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2263 macro.
2264
123be9de
TS
2265 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2266 (sendmmsg): Move declarations...
2267 * socket/sys/socket.h: ... here.
2268 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2269 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2270 include it from...
2271 * socket/recvmmsg.c: ... this new file.
2272 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2273 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2274 definition of __sendmmsg hidden.
2275 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2276 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2277 Move ENOSYS stub into and include it from...
2278 * socket/sendmmsg.c: ... this new file.
2279 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2280 (sysdep_routines): Move recvmmsg and sendmmsg...
2281 * socket/Makefile (routines): ... here.
2282 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2283 (GLIBC_PRIVATE): Add __sendmmsg.
2284 * include/sys/socket.h (__sendmmsg): Add declarations.
2285 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2286 sendmmsg.
2287
cf9a5d18
JM
22882012-11-20 Joseph Myers <joseph@codesourcery.com>
2289
2290 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2291 variable I1 with __attribute__ ((unused)).
2292 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2293
ecd4caf9
JM
22942012-11-19 Joseph Myers <joseph@codesourcery.com>
2295
be14d48f
JM
2296 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2297 DUMMY variables with __attribute__ ((unused)).
2298
ecd4caf9
JM
2299 * bits/byteswap.h: Include <bits/types.h>.
2300 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2301
986cab95
PT
23022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2303
2304 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2305 string_t. Do not manually set errno.
2306 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2307 length with __strnlen. Make sure to both set errno and return it on
2308 failure.
2309
6d33cc9d
DM
23102012-11-19 David S. Miller <davem@davemloft.net>
2311
2312 With help from Joseph Myers.
2313 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2314 very large arguments properly.
2315 * math/libm-test.inc (atan_test): New tests.
2316 (atan2_test): New tests.
2317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2319
ee663277
JM
23202012-11-19 Joseph Myers <joseph@codesourcery.com>
2321
877f2d8e
JM
2322 [BZ #14856]
2323 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2324 Define to 3.
2325
116fc08a
JM
2326 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2327 [POSIX] (EADDRNOTAVAIL): Likewise.
2328 [POSIX] (EAFNOSUPPORT): Likewise.
2329 [POSIX] (EALREADY): Likewise.
2330 [POSIX] (ECONNABORTED): Likewise.
2331 [POSIX] (ECONNREFUSED): Likewise.
2332 [POSIX] (ECONNRESET): Likewise.
2333 [POSIX] (EDESTADDRREQ): Likewise.
2334 [POSIX] (EDQUOT): Likewise.
2335 [POSIX] (EHOSTUNREACH): Likewise.
2336 [POSIX] (EIDRM): Likewise.
2337 [POSIX] (EISCONN): Likewise.
2338 [POSIX] (ELOOP): Likewise.
2339 [POSIX] (EMULTIHOP): Likewise.
2340 [POSIX] (ENETDOWN): Likewise.
2341 [POSIX] (ENETUNREACH): Likewise.
2342 [POSIX] (ENOBUFS): Likewise.
2343 [POSIX] (ENODATA): Likewise.
2344 [POSIX] (ENOLINK): Likewise.
2345 [POSIX] (ENOMSG): Likewise.
2346 [POSIX] (ENOPROTOOPT): Likewise.
2347 [POSIX] (ENOSR): Likewise.
2348 [POSIX] (ENOSTR): Likewise.
2349 [POSIX] (ENOTCONN): Likewise.
2350 [POSIX] (ENOTSOCK): Likewise.
2351 [POSIX] (EOPNOTSUPP): Likewise.
2352 [POSIX] (EOVERFLOW): Likewise.
2353 [POSIX] (EPROTO): Likewise.
2354 [POSIX] (EPROTONOSUPPORT): Likewise.
2355 [POSIX] (EPROTOTYPE): Likewise.
2356 [POSIX] (ESTALE): Likewise.
2357 [POSIX] (ETIME): Likewise.
2358 [POSIX] (ETXTBSY): Likewise.
2359 [POSIX] (EWOULDBLOCK): Likewise.
2360 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2361 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2362 [POSIX] (SEEK_CUR): Likewise.
2363 [POSIX] (SEEK_END): Likewise.
2364 [POSIX || UNIX98] (mode_t): Do not require.
2365 [POSIX] (off_t): Likewise.
2366 [POSIX] (pid_t): Likewise.
2367 [POSIX] (sys/stat.h): Do not allow header.
2368 [POSIX] (unistd.h): Likewise.
2369 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2370 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2371 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2372 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2373 require.
2374 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2375 sigevent): Specify elements.
2376 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2377 entry.
2378 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2379 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2380
a483863f
JM
2381 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2382 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2383 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2384 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2385 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2386 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2387 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2388 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2389 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2390 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2391 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2392 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2393 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2394 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2395 Likewise.
2396 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2397 Likewise.
2398 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2399 Likewise.
2400 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2401 Likewise.
2402 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2403 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2404 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2405 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2406 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2407 Specify lower bound on value.
2408 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2409 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2410 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2411 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2412 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2413 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2414 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2415 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2416 value.
2417 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2418 as optional.
2419 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2420 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2421 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2422 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2423 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2424 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2425 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2426 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2427 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2428 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2429 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2430 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2431 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2432 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2433 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2434 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2435 entry.
2436 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2437 optional.
2438 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2439 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2440 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2441 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2442 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2443 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2444 Likewise.
2445 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2446 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2447 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2448 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2449 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2450 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2451 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2452 as optional.
2453 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2454 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2455 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2456 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2457 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2458 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2459 specify as optional.
2460 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2461 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2462 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2463 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2464 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2465 [XPG3] (NL_LANGMAX): Likewise.
2466 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2467 [POSIX || XPG3] (NL_NMAX): Likewise.
2468 [POSIX || XPG3] (NL_SETMAX): Likewise.
2469 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2470 [XPG3] (NZERO): Likewise.
2471 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2472 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2473 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2474 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2475 (REG_ERANGE): Expect.
2476 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2477 optional-constant.
2478 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2479 Use (void) in prototype.
2480 [POSIX] (*_t): Allow.
2481 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2482 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2483 (WRDE_BADVAL): Expect.
2484
5ba924e3
JM
2485 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2486 expect.
2487 [XPG3 || XPG4] (O_RSYNC): Likewise.
2488 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2489 Likewise.
2490 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2491 [XPG3 || XPG4] (sigqueue): Likewise.
2492 [XPG3 || XPG4] (sigtimedwait): Likewise.
2493 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2494 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2495 [XPG3 || XPG4] (vsnprintf): Likewise.
2496 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2497 Likewise.
2498 [XPG3 || XPG4] (blksize_t): Likewise.
2499 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2500 Likewise.
2501 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2502 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2503 [XPG3 || XPG4] (struct itimerspec): Likewise.
2504 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2505 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2506 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2507 [XPG3 || XPG4] (clockid_t): Likewise.
2508 [XPG3 || XPG4] (timer_t): Likewise.
2509 [XPG3 || XPG4] (clock_getres): Likewise.
2510 [XPG3 || XPG4] (clock_gettime): Likewise.
2511 [XPG3 || XPG4] (clock_settime): Likewise.
2512 [XPG3 || XPG4] (nanosleep): Likewise.
2513 [XPG3 || XPG4] (timer_create): Likewise.
2514 [XPG3 || XPG4] (timer_delete): Likewise.
2515 [XPG3 || XPG4] (timer_gettime): Likewise.
2516 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2517 [XPG3 || XPG4] (timer_settime): Likewise.
2518 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2519 [XPG3 || XPG4] (getlogin_r): Likewise.
2520 [XPG3 || XPG4] (pread): Likewise.
2521 [XPG3 || XPG4] (pthread_atfork): Likewise.
2522 [XPG3 || XPG4] (pwrite): Likewise.
2523
ee663277
JM
2524 [BZ #14835]
2525 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2526 <bits/siginfo.h>.
2527
942caa16
PT
25282012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2529
e19af380
PT
2530 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2531 finalizing MALLSTREAM.
2532
942caa16
PT
2533 * sysdeps/mach/hurd/syncfs.c: New file.
2534
cfde9b46
SP
25352012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2536
2537 [BZ #14719]
2538 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2539 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2540 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2541 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2542 (_nss_dns_gethostbyname4_r): Likewise.
2543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2544 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2545
f6da27e5
PH
25462012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2547
2548 [BZ #13763]
2549 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2550
6665d4a2
SM
25512012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2552
1f51ee92
SM
2553 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2554 * elf/cache.c (print_entry): Print ",AArch64" for
2555 FLAG_AARCH64_LIB64
2556
6665d4a2
SM
2557 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2558 * elf/cache.c (print_entry): Print ",hard-float" for
2559 FLAG_ARM_LIBHF.
2560
05b227bd
DM
25612012-11-18 David S. Miller <davem@davemloft.net>
2562
2563 With help from Joseph Myers.
2564 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2565 cutoff to 2**-13.
2566 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2567 cutoff to 2**-25.
2568 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2569 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2570 small.
2571 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2572 * math/libm-test.inc (y0_test): New tests.
2573 (y1_test): New tests.
2574 * sysdeps/i386/fpu/libm-test-ulps: Update.
2575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2577
786b0b67
AS
25782012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2579
2580 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2581 64-bit targets.
2582 * configure: Regenerated.
2583
8e18b86d
DM
25842012-11-17 David S. Miller <davem@davemloft.net>
2585
2586 [BZ #14811]
2587 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2588 nonzero exponents with absolute value below 0x1p-128 to +/-
2589 0x1p-128.
2590
531f1ae0
JM
25912012-11-17 Joseph Myers <joseph@codesourcery.com>
2592
12df29e2
JM
2593 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2594
150dc1a0
JM
2595 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2596
531f1ae0
JM
2597 * posix/getconf-speclist.c: New file.
2598 * posix/posix-envs.def: Likewise.
2599 * posix/confstr.c (START_ENV_GROUP): New macro.
2600 (END_ENV_GROUP): Likewise.
2601 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2602 (KNOWN_PRESENT_ENV_STRING): Likewise.
2603 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2604 (UNKNOWN_ENVIRONMENT): Likewise.
2605 (confstr): Include posix-envs.def instead of handling
2606 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2607 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2608 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2609 (END_ENV_GROUP): Likewise.
2610 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2611 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2612 (UNKNOWN_ENVIRONMENT): Likewise.
2613 (__sysconf): Include posix-envs.def instead of handling associated
2614 cases directly here.
2615 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2616 preprocessing getconf-speclist.c rather than running getconf or
2617 generating empty file.
2618
a93f9cbc
PT
26192012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2620
2621 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2622
d64d9f87
AL
26232012-11-16 Andrej Lajovic <natrij@gmail.com>
2624
2625 [BZ #14672]
2626 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2627
447885eb
DM
26282012-11-16 David S. Miller <davem@davemloft.net>
2629
2630 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2631 smaller than LDBL_EPSILON/2.0L, just return xm1.
2632
bcbf9830
L
26332012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2634
2635 * elf/tst-array1.c (init): Set constructor priority to 1000.
2636 (fini): Set destructor priority to 1000.
2637 * elf/tst-array2dep.c: Likewise.
2638
2b766585
SP
26392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2640
2641 [BZ #11741]
2642 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2643 (_IO_new_file_xsputn): Also return EOF if none of the input
2644 data was written when overflow failed.
2645 * libio/iopadn.c (_IO_padn): Likewise.
2646 * libio/iowpadn.c (_IO_wpadn): Likewise.
2647 * stdio-common/tst-put-error.c: Add copyright notice.
2648 (do_test): Add case for printing padded string.
2649 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2650 _IO_padn returned error.
2651 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2652 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2653 return EOF.
2654
b1848fde
SP
26552012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2656
2657 * libio/libioP.h: Add comment note that the references to C++
2658 bits are now obsolete.
2659
2fd89785
MS
26602012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2661
2662 * math/libm-test.inc (check_complex): Use asprintf.
2663
e3ea5409
JM
26642012-11-14 Joseph Myers <joseph@codesourcery.com>
2665
2666 * debug/pcprofiledump.c (print_version): Update copyright year.
2667 * malloc/memusagestat.c (print_version): Likewise.
2668
2e64d265
L
26692012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2670
2671 [BZ #14831]
2672 * elf/Makefile (tests): Add tst-audit8.
2673 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2674 ($(objpfx)tst-audit8.out): New target.
2675 (tst-audit8-ENV): New variable.
2676 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2677 audit if l_reloc_result is NULL.
2678 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2679 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2680 * elf/tst-audit8.c: New file.
2681
c485e4d2
MS
26822012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2683
2684 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2685 * misc/Makefile (CFLAGS-select.c): Define.
2686 * posix/Makefile (CFLAGS-pause.c): Define.
2687
3a0d900a
DM
26882012-11-13 David S. Miller <davem@davemloft.net>
2689
2690 * crypt/Makefile: Move test targets after toplevel Rules
2691 inclusion. Grab any necessary sysdep routines when linking.
2692 * crypt/md5.c (md5_process_block): Remove define, we will always
2693 name it __md5_process_block.
2694 (md5_finish_ctx): Update md5_process_block call.
2695 (md5_stream): Likewise.
2696 (md5_process_bytes): Likewise.
2697 (md5_process_block): Rename to __md5_process_block and move to ...
2698 * crypt/md5-block.c: ... here.
2699 * crypt/sha256.c (sha256_process_block): Move to ...
2700 * crypt/sha256-block.c: ... here.
2701 * crypt/sha512.c (sha512_process_block): Move to ...
2702 * crypt/sha512-block.c: ... here.
2703 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2704 path.
2705 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2706 * sysdeps/sparc/sparc64/multiarch/Makefile
2707 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2708 crypt subdir.
2709 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2710 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2711 multiarch changes.
2712 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2713 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2714 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2715 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2716 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2717 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2718 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2719 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2720 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2721 file.
2722 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2723 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2724 file.
2725 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2726
8ca89318
JM
27272012-11-13 Joseph Myers <joseph@codesourcery.com>
2728
e27d476a
JM
2729 * timezone/tzselect.ksh: Update from tzcode git revision
2730 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2731 * timezone/zdump.c: Likewise.
2732 * timezone/zic.c: Likewise.
2733 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2734 in TZVERSION setting, not $(PKGVERSION).
2735 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2736 REPORT_BUGS_TO settings.
2737
8ca89318
JM
2738 [BZ #14838]
2739 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2740 macro.
2741
47594329
MS
27422012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2743
2744 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2745 detection to immediately after _FP_ROUND().
2746 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2747 bits are 0.
2748
640ac3f1
DM
27492012-11-11 David S. Miller <davem@davemloft.net>
2750
2751 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2752 inttypes.h
2753 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2754 __close rather than their public counterparts.
2755
3d2577bb
JM
27562012-11-10 Joseph Myers <joseph@codesourcery.com>
2757
2758 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2759 file.
2760 [UNIX98] (sem_timedwait): Do not expect.
2761 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2762 [XPG4 || UNIX98] (sockatmark): Do not expect.
2763 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2764 (clock_getcpuclockid): Do not expect.
2765 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2766 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2767 Do not expect.
2768 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2769 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2770 [UNIX98] (vwscanf): Likewise.
2771 [UNIX98] (vswscanf): Likewise.
2772
fb1ae1ee
JM
27732012-11-09 Joseph Myers <joseph@codesourcery.com>
2774
9ec6f8bd
JM
2775 * timezone/version.h: Remove file.
2776 * timezone/README: Do not refer to version.h.
2777 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2778 $(objpfx)version.h.
2779 ($(objpfx)zdump.o): Likewise.
c3f81911 2780 ($(objpfx)version.h): New target.
9ec6f8bd 2781
0aa8f8a1
JM
2782 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2783 2012i.
2784 * timezone/README: Don't mention modification to tzselect.ksh.
2785 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2786 work on unmodified tzselect.ksh. Substitute version numbers in
2787 tzselect.ksh.
2788
4e87147f
JM
2789 * Makefile (format-me): Remove.
2790 (INSTALL): Adjust indentation. Use commands directly instead of
2791 using $(format-me).
2792
8b748aed
JM
2793 * aclocal.m4 (ACX_PKGVERSION): New macro.
2794 (ACX_BUGURL): Likewise.
2795 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2796 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2797 (REPORT_BUGS_TO): Likewise.
2798 * configure: Regenerated.
2799 * config.h.in (PKGVERSION): New macro.
2800 (REPORT_BUGS_TO): Likewise.
2801 * config.make.in (PKGVERSION): New variable.
2802 (PKGVERSION_TEXI): Likewise.
2803 (REPORT_BUGS_TO): Likewise.
2804 (REPORT_BUGS_TEXI): Likewise.
2805 * Makefile (format-me): Use -I$(common-objpfx)manual.
2806 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2807 ($(common-objpfx)manual/%): New target.
2808 (manual/%): Remove target.
2809 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2810 (print_version): Use PKGVERSION.
2811 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2812 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2813 and REPORT_BUGS_TO.
2814 ($(objpfx)xtrace): Likewise.
2815 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2816 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2817 (print_version): Use PKGVERSION.
2818 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2819 (do_version): Use PKGVERSION.
2820 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2821 REPORT_BUGS_TO.
2822 (common-ldd-rewrite): Likewise.
2823 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2824 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2825 (print_version): Use PKGVERSION.
2826 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2827 * elf/pldd.c (argp_program_bug_address): Remove variable.
2828 (more_help): New function.
2829 (argp): Use more_help.
2830 (print_version): Use PKGVERSION.
2831 * elf/sln.c (main): Use PKGVERSION.
2832 (usage): Use REPORT_BUGS_TO.
2833 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2834 (top level): Use PKGVERSION.
2835 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2836 (print_version): Use PKGVERSION.
2837 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2838 (print_version): Use PKGVERSION.
2839 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2840 (print_version): Use PKGVERSION.
2841 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2842 (print_version): Use PKGVERSION.
2843 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2844 (print_version): Use PKGVERSION.
2845 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2846 (print_version): Use PKGVERSION.
2847 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2848 and BUGURL.
2849 ($(objpfx)memusage): Likewise.
2850 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2851 (do_version): Use PKGVERSION.
2852 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2853 (print_version): Use PKGVERSION.
2854 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2855 ($PKGVERSION): New variable.
2856 ($REPORT_BUGS_TO): Likewise.
2857 (usage): Use $REPORT_BUGS_TO.
2858 (top level): Use $PKGVERSION.
2859 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2860 ($(objpfx)pkgvers.texi): New rule.
2861 ($(objpfx)stamp-pkgvers): Likewise.
2862 * manual/install.texi: Include pkgvers.texi.
2863 (--with-pkgversion): Document new configure option.
2864 (--with-bugurl): Likewise.
2865 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2866 than necessarily for this particular distribution. Use
2867 REPORT_BUGS_TO for where to report bugs.
2868 * INSTALL: Regenerated.
2869 * manual/libc.texinfo: Include pkgvers.texi.
2870 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2871 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2872 (print_version): Use PKGVERSION.
2873 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2874 (print_version): Use PKGVERSION.
2875 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2876 (print_version): Use PKGVERSION.
2877 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2878 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2879 macro.
2880 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2881 (print_version): Use PKGVERSION.
2882 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2883 (print_version): Use PKGVERSION.
2884 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2885 and PKGVERSION.
2886
92e4b6a9
JM
2887 * timezone/checktab.awk: Update from tzcode 2012i.
2888 * timezone/ialloc.c: Likewise.
2889 * timezone/private.h: Likewise.
2890 * timezone/scheck.c: Likewise.
2891 * timezone/tzfile.h: Likewise.
2892 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2893 (TZVERSION): Hardcode tzcode version number.
2894 * timezone/zdump.c: Update from tzcode 2012i.
2895 * timezone/zic.c: Likewise.
2896 * timezone/version.h: New file.
2897 * timezone/README: Describe version.h. Update upstream location.
2898
9bde902c
JM
2899 [BZ #14824]
2900 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2901 (mktemp): Enable declaration.
2902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2903 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2905 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2906 Likewise.
2907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2908 Likewise.
2909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2910 Likewise.
2911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2912 Likewise.
2913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2914 Likewise.
2915 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2916 Likewise.
2917
fb1ae1ee
JM
2918 [BZ #14821]
2919 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2920 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2921 for copies of such integer values.
2922 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2923 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2924
2c1adbcb
AJ
29252012-11-09 Andreas Jaeger <aj@suse.de>
2926
2927 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2928 definitions and declarations that are provided by
2929 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2930
d0f8457e
AK
29312012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2932
3a235abb 2933 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2934 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2935 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2936 definition.
2937
57241e26
MS
29382012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2939
2940 * elf/elf.h: Update comment before AArch64 relocations.
2941
60e8270d
DM
29422012-11-07 David S. Miller <davem@davemloft.net>
2943
2944 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2945 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2946 (__start_context): Declare.
2947 (__makecontext_ret): Delete.
2948 (__makecontext): Hook up __start_context instead of
2949 __makecontext_ret.
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2951 (sysdep_routines): Add __start_context when in stdlib.
2952
0fbb0fbc
JM
29532012-11-07 Joseph Myers <joseph@codesourcery.com>
2954
2955 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2956 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2957 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2958 hardcoded "nm".
2959 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2960 (READELF): New variable. Use it instead of hardcoded "readelf".
2961
eb48db7e
L
29622012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2965 * sysdeps/x86/Makefile: Here.
2966 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2967 * sysdeps/x86/tst-xmmymm.sh: This.
2968
05bcf62a
JM
29692012-11-07 Joseph Myers <joseph@codesourcery.com>
2970
c4b6cf53
JM
2971 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2972 expectations.
2973 [UNIX98] (pthread_barrier_t): Do not expect.
2974 [UNIX98] (pthread_barrierattr_t): Likewise.
2975 [UNIX98] (pthread_spinlock_t): Likewise.
2976 [UNIX98] (pthread_barrier_destroy): Likewise.
2977 [UNIX98] (pthread_barrier_init): Likewise.
2978 [UNIX98] (pthread_barrier_wait): Likewise.
2979 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2980 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2981 [UNIX98] (pthread_barrierattr_init): Likewise.
2982 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2983 [UNIX98] (pthread_getcpuclockid): Likewise.
2984 [UNIX98] (pthread_mutex_timedlock): Likewise.
2985 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2986 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2987 [UNIX98] (pthread_sigmask): Likewise.
2988 [UNIX98] (pthread_spin_destroy): Likewise.
2989 [UNIX98] (pthread_spin_init): Likewise.
2990 [UNIX98] (pthread_spin_lock): Likewise.
2991 [UNIX98] (pthread_spin_trylock): Likewise.
2992 [UNIX98] (pthread_spin_unlock): Likewise.
2993 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2994 Do not expect.
2995 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2996 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2997 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2998 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2999 [XPG3 || XPG4] (pthread_key_t): Likewise.
3000 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3001 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3002 [XPG3 || XPG4] (pthread_once_t): Likewise.
3003 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3004 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3005 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3006 [XPG3 || XPG4] (pthread_t): Likewise.
3007
cbe6e120
JM
3008 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3009 not expect.
3010 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3011
1b126443
JM
3012 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3013 Change function return type to int.
3014
b961a573
JM
3015 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3016 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3017 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3018 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3019 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3020 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3021 [!POSIX] (posix_madvise): Likewise.
3022 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3023 && !UNIX98].
3024 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3025 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3026 (mode_t): Likewise.
3027 (posix_mem_offset): Likewise.
3028 (posix_typed_mem_get_info): Likewise.
3029 (posix_typed_mem_open): Likewise.
3030
9e188909
JM
3031 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3032 Change condition to [XOPEN2K8].
3033
05bcf62a
JM
3034 * conform/conformtest.pl: Preprocess allow-header data with -x c
3035 instead of from stdin.
3036 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3037 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3038 [C99-based standards] (cerfc): Likewise.
3039 [C99-based standards] (cexp2): Likewise.
3040 [C99-based standards] (cexpm1): Likewise.
3041 [C99-based standards] (clog10): Likewise.
3042 [C99-based standards] (clog1p): Likewise.
3043 [C99-based standards] (clog2): Likewise.
3044 [C99-based standards] (clgamma): Likewise.
3045 [C99-based standards] (ctgamma): Likewise.
3046 [C99-based standards] (cerff): Likewise.
3047 [C99-based standards] (cerfcf): Likewise.
3048 [C99-based standards] (cexp2f): Likewise.
3049 [C99-based standards] (cexpm1f): Likewise.
3050 [C99-based standards] (clog10f): Likewise.
3051 [C99-based standards] (clog1pf): Likewise.
3052 [C99-based standards] (clog2f): Likewise.
3053 [C99-based standards] (clgammaf): Likewise.
3054 [C99-based standards] (ctgammaf): Likewise.
3055 [C99-based standards] (cerfl): Likewise.
3056 [C99-based standards] (cerfcl): Likewise.
3057 [C99-based standards] (cexp2l): Likewise.
3058 [C99-based standards] (cexpm1l): Likewise.
3059 [C99-based standards] (clog10l): Likewise.
3060 [C99-based standards] (clog1pl): Likewise.
3061 [C99-based standards] (clog2l): Likewise.
3062 [C99-based standards] (clgammal): Likewise.
3063 [C99-based standards] (ctgammal): Likewise.
3064 * conform/data/inttypes.h-data [C99-based standards]: Include
3065 stdint.h-data. Remove all expectations for stdint.h contents.
3066 [C99-based standards] (PRI*): Do not allow.
3067 [C99-based standards] (SCN*): Likewise.
3068 [C99-based standards] (*_t): Likewise.
3069 [C99-based-standards] (PRId8): Expect macro.
3070 [C99-based-standards] (PRIi8): Likewise.
3071 [C99-based-standards] (PRIo8): Likewise.
3072 [C99-based-standards] (PRIu8): Likewise.
3073 [C99-based-standards] (PRIx8): Likewise.
3074 [C99-based-standards] (PRIX8): Likewise.
3075 [C99-based-standards] (SCNd8): Likewise.
3076 [C99-based-standards] (SCNi8): Likewise.
3077 [C99-based-standards] (SCNo8): Likewise.
3078 [C99-based-standards] (SCNu8): Likewise.
3079 [C99-based-standards] (SCNx8): Likewise.
3080 [C99-based-standards] (PRIdLEAST8): Likewise.
3081 [C99-based-standards] (PRIiLEAST8): Likewise.
3082 [C99-based-standards] (PRIoLEAST8): Likewise.
3083 [C99-based-standards] (PRIuLEAST8): Likewise.
3084 [C99-based-standards] (PRIxLEAST8): Likewise.
3085 [C99-based-standards] (PRIXLEAST8): Likewise.
3086 [C99-based-standards] (SCNdLEAST8): Likewise.
3087 [C99-based-standards] (SCNiLEAST8): Likewise.
3088 [C99-based-standards] (SCNoLEAST8): Likewise.
3089 [C99-based-standards] (SCNuLEAST8): Likewise.
3090 [C99-based-standards] (SCNxLEAST8): Likewise.
3091 [C99-based-standards] (PRIdFAST8): Likewise.
3092 [C99-based-standards] (PRIiFAST8): Likewise.
3093 [C99-based-standards] (PRIoFAST8): Likewise.
3094 [C99-based-standards] (PRIuFAST8): Likewise.
3095 [C99-based-standards] (PRIxFAST8): Likewise.
3096 [C99-based-standards] (PRIXFAST8): Likewise.
3097 [C99-based-standards] (SCNdFAST8): Likewise.
3098 [C99-based-standards] (SCNiFAST8): Likewise.
3099 [C99-based-standards] (SCNoFAST8): Likewise.
3100 [C99-based-standards] (SCNuFAST8): Likewise.
3101 [C99-based-standards] (SCNxFAST8): Likewise.
3102 [C99-based-standards] (PRId16): Likewise.
3103 [C99-based-standards] (PRIi16): Likewise.
3104 [C99-based-standards] (PRIo16): Likewise.
3105 [C99-based-standards] (PRIu16): Likewise.
3106 [C99-based-standards] (PRIx16): Likewise.
3107 [C99-based-standards] (PRIX16): Likewise.
3108 [C99-based-standards] (SCNd16): Likewise.
3109 [C99-based-standards] (SCNi16): Likewise.
3110 [C99-based-standards] (SCNo16): Likewise.
3111 [C99-based-standards] (SCNu16): Likewise.
3112 [C99-based-standards] (SCNx16): Likewise.
3113 [C99-based-standards] (PRIdLEAST16): Likewise.
3114 [C99-based-standards] (PRIiLEAST16): Likewise.
3115 [C99-based-standards] (PRIoLEAST16): Likewise.
3116 [C99-based-standards] (PRIuLEAST16): Likewise.
3117 [C99-based-standards] (PRIxLEAST16): Likewise.
3118 [C99-based-standards] (PRIXLEAST16): Likewise.
3119 [C99-based-standards] (SCNdLEAST16): Likewise.
3120 [C99-based-standards] (SCNiLEAST16): Likewise.
3121 [C99-based-standards] (SCNoLEAST16): Likewise.
3122 [C99-based-standards] (SCNuLEAST16): Likewise.
3123 [C99-based-standards] (SCNxLEAST16): Likewise.
3124 [C99-based-standards] (PRIdFAST16): Likewise.
3125 [C99-based-standards] (PRIiFAST16): Likewise.
3126 [C99-based-standards] (PRIoFAST16): Likewise.
3127 [C99-based-standards] (PRIuFAST16): Likewise.
3128 [C99-based-standards] (PRIxFAST16): Likewise.
3129 [C99-based-standards] (PRIXFAST16): Likewise.
3130 [C99-based-standards] (SCNdFAST16): Likewise.
3131 [C99-based-standards] (SCNiFAST16): Likewise.
3132 [C99-based-standards] (SCNoFAST16): Likewise.
3133 [C99-based-standards] (SCNuFAST16): Likewise.
3134 [C99-based-standards] (SCNxFAST16): Likewise.
3135 [C99-based-standards] (PRId32): Likewise.
3136 [C99-based-standards] (PRIi32): Likewise.
3137 [C99-based-standards] (PRIo32): Likewise.
3138 [C99-based-standards] (PRIu32): Likewise.
3139 [C99-based-standards] (PRIx32): Likewise.
3140 [C99-based-standards] (PRIX32): Likewise.
3141 [C99-based-standards] (SCNd32): Likewise.
3142 [C99-based-standards] (SCNi32): Likewise.
3143 [C99-based-standards] (SCNo32): Likewise.
3144 [C99-based-standards] (SCNu32): Likewise.
3145 [C99-based-standards] (SCNx32): Likewise.
3146 [C99-based-standards] (PRIdLEAST32): Likewise.
3147 [C99-based-standards] (PRIiLEAST32): Likewise.
3148 [C99-based-standards] (PRIoLEAST32): Likewise.
3149 [C99-based-standards] (PRIuLEAST32): Likewise.
3150 [C99-based-standards] (PRIxLEAST32): Likewise.
3151 [C99-based-standards] (PRIXLEAST32): Likewise.
3152 [C99-based-standards] (SCNdLEAST32): Likewise.
3153 [C99-based-standards] (SCNiLEAST32): Likewise.
3154 [C99-based-standards] (SCNoLEAST32): Likewise.
3155 [C99-based-standards] (SCNuLEAST32): Likewise.
3156 [C99-based-standards] (SCNxLEAST32): Likewise.
3157 [C99-based-standards] (PRIdFAST32): Likewise.
3158 [C99-based-standards] (PRIiFAST32): Likewise.
3159 [C99-based-standards] (PRIoFAST32): Likewise.
3160 [C99-based-standards] (PRIuFAST32): Likewise.
3161 [C99-based-standards] (PRIxFAST32): Likewise.
3162 [C99-based-standards] (PRIXFAST32): Likewise.
3163 [C99-based-standards] (SCNdFAST32): Likewise.
3164 [C99-based-standards] (SCNiFAST32): Likewise.
3165 [C99-based-standards] (SCNoFAST32): Likewise.
3166 [C99-based-standards] (SCNuFAST32): Likewise.
3167 [C99-based-standards] (SCNxFAST32): Likewise.
3168 [C99-based-standards] (PRId64): Likewise.
3169 [C99-based-standards] (PRIi64): Likewise.
3170 [C99-based-standards] (PRIo64): Likewise.
3171 [C99-based-standards] (PRIu64): Likewise.
3172 [C99-based-standards] (PRIx64): Likewise.
3173 [C99-based-standards] (PRIX64): Likewise.
3174 [C99-based-standards] (SCNd64): Likewise.
3175 [C99-based-standards] (SCNi64): Likewise.
3176 [C99-based-standards] (SCNo64): Likewise.
3177 [C99-based-standards] (SCNu64): Likewise.
3178 [C99-based-standards] (SCNx64): Likewise.
3179 [C99-based-standards] (PRIdLEAST64): Likewise.
3180 [C99-based-standards] (PRIiLEAST64): Likewise.
3181 [C99-based-standards] (PRIoLEAST64): Likewise.
3182 [C99-based-standards] (PRIuLEAST64): Likewise.
3183 [C99-based-standards] (PRIxLEAST64): Likewise.
3184 [C99-based-standards] (PRIXLEAST64): Likewise.
3185 [C99-based-standards] (SCNdLEAST64): Likewise.
3186 [C99-based-standards] (SCNiLEAST64): Likewise.
3187 [C99-based-standards] (SCNoLEAST64): Likewise.
3188 [C99-based-standards] (SCNuLEAST64): Likewise.
3189 [C99-based-standards] (SCNxLEAST64): Likewise.
3190 [C99-based-standards] (PRIdFAST64): Likewise.
3191 [C99-based-standards] (PRIiFAST64): Likewise.
3192 [C99-based-standards] (PRIoFAST64): Likewise.
3193 [C99-based-standards] (PRIuFAST64): Likewise.
3194 [C99-based-standards] (PRIxFAST64): Likewise.
3195 [C99-based-standards] (PRIXFAST64): Likewise.
3196 [C99-based-standards] (SCNdFAST64): Likewise.
3197 [C99-based-standards] (SCNiFAST64): Likewise.
3198 [C99-based-standards] (SCNoFAST64): Likewise.
3199 [C99-based-standards] (SCNuFAST64): Likewise.
3200 [C99-based-standards] (SCNxFAST64): Likewise.
3201 [C99-based-standards] (PRIdMAX): Likewise.
3202 [C99-based-standards] (PRIiMAX): Likewise.
3203 [C99-based-standards] (PRIoMAX): Likewise.
3204 [C99-based-standards] (PRIuMAX): Likewise.
3205 [C99-based-standards] (PRIxMAX): Likewise.
3206 [C99-based-standards] (PRIXMAX): Likewise.
3207 [C99-based-standards] (SCNdMAX): Likewise.
3208 [C99-based-standards] (SCNiMAX): Likewise.
3209 [C99-based-standards] (SCNoMAX): Likewise.
3210 [C99-based-standards] (SCNuMAX): Likewise.
3211 [C99-based-standards] (SCNxMAX): Likewise.
3212 [C99-based-standards] (PRIdPTR): Likewise.
3213 [C99-based-standards] (PRIiPTR): Likewise.
3214 [C99-based-standards] (PRIoPTR): Likewise.
3215 [C99-based-standards] (PRIuPTR): Likewise.
3216 [C99-based-standards] (PRIxPTR): Likewise.
3217 [C99-based-standards] (PRIXPTR): Likewise.
3218 [C99-based-standards] (SCNdPTR): Likewise.
3219 [C99-based-standards] (SCNiPTR): Likewise.
3220 [C99-based-standards] (SCNoPTR): Likewise.
3221 [C99-based-standards] (SCNuPTR): Likewise.
3222 [C99-based-standards] (SCNxPTR): Likewise.
3223 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3224 allow.
3225 * conform/data/stdint.h-data: Update comments to clarify
3226 requirements.
3227 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3228 type.
3229 [C99-based standards] (INT8_MAX): Likewise.
3230 [C99-based standards] (INT16_MIN): Likewise.
3231 [C99-based standards] (INT16_MAX): Likewise.
3232 [C99-based standards] (INT32_MIN): Likewise.
3233 [C99-based standards] (INT32_MAX): Likewise.
3234 [C99-based standards] (INT64_MIN): Likewise.
3235 [C99-based standards] (INT64_MAX): Likewise.
3236 [C99-based standards] (UINT8_MAX): Likewise.
3237 [C99-based standards] (UINT16_MAX): Likewise.
3238 [C99-based standards] (UINT32_MAX): Likewise.
3239 [C99-based standards] (UINT64_MAX): Likewise.
3240 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3241 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3242 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3243 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3244 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3245 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3246 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3247 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3248 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3249 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3250 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3251 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3252 [C99-based standards] (INT_FAST8_MIN): Likewise.
3253 [C99-based standards] (INT_FAST8_MAX): Likewise.
3254 [C99-based standards] (INT_FAST16_MIN): Likewise.
3255 [C99-based standards] (INT_FAST16_MAX): Likewise.
3256 [C99-based standards] (INT_FAST32_MIN): Likewise.
3257 [C99-based standards] (INT_FAST32_MAX): Likewise.
3258 [C99-based standards] (INT_FAST64_MIN): Likewise.
3259 [C99-based standards] (INT_FAST64_MAX): Likewise.
3260 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3261 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3262 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3263 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3264 [C99-based standards] (INTPTR_MIN): Likewise.
3265 [C99-based standards] (INTPTR_MAX): Likewise.
3266 [C99-based standards] (UINTPTR_MAX): Likewise.
3267 [C99-based standards] (INTMAX_MIN): Likewise.
3268 [C99-based standards] (INTMAX_MAX): Likewise.
3269 [C99-based standards] (UINTMAX_MAX): Likewise.
3270 [C99-based standards] (PTRDIFF_MIN): Likewise.
3271 [C99-based standards] (PTRDIFF_MAX): Likewise.
3272 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3273 [C99-based standards] (SIZE_MAX): Likewise.
3274 [C99-based standards] (WCHAR_MAX): Likewise.
3275 [C99-based standards] (WINT_MAX): Likewise.
3276 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3277 constraint on value.
3278 [C99-based standards] (WCHAR_MIN): Likewise.
3279 [C99-based standards] (WINT_MIN): Likewise.
3280 [C99-based standards] (*_t): Allow.
3281 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3282 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3283 Include math.h-data and complex.h-data. Remove all expectations
3284 of math.h and complex.h contents.
3285 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3286 at end of line.
3287 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3288 (struct tm): Expect tag.
3289 [C99-based-standards] (wcstof): Expect function.
3290 [C99-based-standards] (wcstold): Likewise.
3291 [C99-based-standards] (wcstoll): Likewise.
3292 [C99-based-standards] (wcstoull): Likewise.
3293 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3294 macro-int-constant. Specify type.
3295 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3296 constraint on value.
3297 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3298 Specify type.
3299 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3300 Specify value.
3301 [ISO C standards]: Do not allow headers.
3302 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3303 wcs[abcdefghijklmnopqrstuvwxyz]*.
3304 [ISO C standards] (*_t): Do not allow.
3305 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3306 Expect function.
3307 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3308 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3309 Specify type.
3310 [ISO C standards]: Do not allow headers.
3311 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3312 is[abcdefghijklmnopqrstuvwxyz]*.
3313 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3314 to[abcdefghijklmnopqrstuvwxyz]*.
3315 [ISO C standards] (*_t): Do not allow.
3316 * conform/data/stdalign.h-data: New file.
3317 * conform/data/stdbool.h-data: Likewise.
3318 * conform/data/stdnoreturn.h-data: Likewise.
3319
7514feb8
RM
33202012-11-07 Roland McGrath <roland@hack.frob.com>
3321
3322 [BZ #14815]
3323 * manual/filesys.texi (Directory Entries): Typo fix.
3324 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3325
19b2ecfc
MS
33262012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3327
3328 * elf/elf.h (EM_AARCH64): New macro.
3329 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3330 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3331 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3332 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3333 (R_AARCH64_TLSDESC): Likewise.
3334 (NT_ARM_TLS): Likewise.
3335 (NT_ARM_HW_BREAK): Likewise.
3336 (NT_ARM_HW_WATCH): Likewise.
3337
60e235ee
JM
33382012-11-07 Joseph Myers <joseph@codesourcery.com>
3339
3340 [BZ #14811]
3341 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3342 (__ieee754_powl): Saturate nonzero exponents with absolute value
3343 below 0x1p-79 to +/- 0x1p-79.
3344 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3345 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3346 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3347 nonzero exponents with absolute value below 0x1p-32 to +/-
3348 0x1p-32.
3349 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3350 (__ieee754_powl): Saturate nonzero exponents with absolute value
3351 below 0x1p-79 to +/- 0x1p-79.
3352 * math/libm-test.inc (pow_test): Add more tests.
3353
0ab234b7
AK
33542012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3355
3356 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3357 _dl_s390_cap_flags with kernel. Increase string length.
3358 (_dl_s390_platforms): Add z196 and zEC12.
3359
45832f74
JM
33602012-11-07 Joseph Myers <joseph@codesourcery.com>
3361
3362 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3363 Change XOPEN21K to XOPEN2K.
3364
19218757
MK
33652012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3366
3367 * string/memmove.c: Use memcpy when possible.
3368
c5f45721
AJ
33692012-11-06 Andreas Jaeger <aj@suse.de>
3370
3371 * po/eo.po: Update from translation team.
3372
82477c28
JM
33732012-11-06 Joseph Myers <joseph@codesourcery.com>
3374
3375 [BZ #14793]
3376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3377 exponent and small x and y exponents, scale x or y up. Increase
3378 by 2 the exponent used in scaling up.
3379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3381 * math/libm-test.inc (fma_test): Add more tests.
3382 (fma_test_towardzero): Likewise.
3383 (fma_test_downward): Likewise.
3384 (fma_test_upward): Likewise.
3385
99252c8c
JM
33862012-11-05 Joseph Myers <joseph@codesourcery.com>
3387
acfa885f
JM
3388 [BZ #14805]
3389 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3390 fenv_t *.
3391
99252c8c
JM
3392 [BZ #14801]
3393 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3394 namespace for names of struct fields.
3395 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3396 fenv_t fields.
3397 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3398 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3399
d6d98dea
ST
34002012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3401
3402 [BZ #3665]
3403 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3404
e10bb107
TS
34052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3406
3407 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3408 PTR_DEMANGLE.
3409
3410 [BZ #5246]
3411 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3412 PTR_DEMANGLE.
3413
a0c2940d
JM
34142012-11-04 Joseph Myers <joseph@codesourcery.com>
3415
3416 [BZ #14797]
3417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3418 definitely overflow as x * y not x * y + z.
3419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3421 * math/libm-test.inc (fma_test): Add more tests.
3422 (fma_test_towardzero): Likewise.
3423 (fma_test_downward): Likewise.
3424 (fma_test_upward): Likewise.
3425
b830319d
TS
34262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3427
3428 [BZ #157]
3429
3430 * include/stub-tag.h: Remove file.
3431 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3432 '#include' of it.
3433 * manual/maint.texi (Porting): Don't reference it.
3434 * Makerules ($(objpfx)stubs): Likewise.
3435 * dirent/closedir.c: Don't include <stub-tag.h>.
3436 * dirent/dirfd.c: Likewise.
3437 * dirent/fdopendir.c: Likewise.
3438 * dirent/getdents.c: Likewise.
3439 * dirent/getdents64.c: Likewise.
3440 * dirent/opendir.c: Likewise.
3441 * dirent/readdir.c: Likewise.
3442 * dirent/readdir64.c: Likewise.
3443 * dirent/readdir64_r.c: Likewise.
3444 * dirent/readdir_r.c: Likewise.
3445 * dirent/rewinddir.c: Likewise.
3446 * dirent/seekdir.c: Likewise.
3447 * dirent/telldir.c: Likewise.
3448 * gmon/profil.c: Likewise.
3449 * grp/setgroups.c: Likewise.
3450 * inet/if_index.c: Likewise.
3451 * io/access.c: Likewise.
3452 * io/chdir.c: Likewise.
3453 * io/chmod.c: Likewise.
3454 * io/chown.c: Likewise.
3455 * io/close.c: Likewise.
3456 * io/dup.c: Likewise.
3457 * io/dup2.c: Likewise.
3458 * io/dup3.c: Likewise.
3459 * io/euidaccess.c: Likewise.
3460 * io/faccessat.c: Likewise.
3461 * io/fchdir.c: Likewise.
3462 * io/fchmod.c: Likewise.
3463 * io/fchmodat.c: Likewise.
3464 * io/fchown.c: Likewise.
3465 * io/fchownat.c: Likewise.
3466 * io/fcntl.c: Likewise.
3467 * io/flock.c: Likewise.
3468 * io/fstatfs.c: Likewise.
3469 * io/fstatfs64.c: Likewise.
3470 * io/fstatvfs.c: Likewise.
3471 * io/fstatvfs64.c: Likewise.
3472 * io/futimens.c: Likewise.
3473 * io/fxstat.c: Likewise.
3474 * io/fxstat64.c: Likewise.
3475 * io/fxstatat.c: Likewise.
3476 * io/fxstatat64.c: Likewise.
3477 * io/getcwd.c: Likewise.
3478 * io/isatty.c: Likewise.
3479 * io/lchmod.c: Likewise.
3480 * io/lchown.c: Likewise.
3481 * io/link.c: Likewise.
3482 * io/linkat.c: Likewise.
3483 * io/lseek.c: Likewise.
3484 * io/lseek64.c: Likewise.
3485 * io/lxstat64.c: Likewise.
3486 * io/mkdir.c: Likewise.
3487 * io/mkdirat.c: Likewise.
3488 * io/mkfifo.c: Likewise.
3489 * io/mkfifoat.c: Likewise.
3490 * io/open.c: Likewise.
3491 * io/open64.c: Likewise.
3492 * io/openat.c: Likewise.
3493 * io/openat64.c: Likewise.
3494 * io/pipe.c: Likewise.
3495 * io/pipe2.c: Likewise.
3496 * io/poll.c: Likewise.
3497 * io/posix_fadvise.c: Likewise.
3498 * io/posix_fadvise64.c: Likewise.
3499 * io/posix_fallocate.c: Likewise.
3500 * io/posix_fallocate64.c: Likewise.
3501 * io/read.c: Likewise.
3502 * io/readlink.c: Likewise.
3503 * io/readlinkat.c: Likewise.
3504 * io/rmdir.c: Likewise.
3505 * io/sendfile.c: Likewise.
3506 * io/sendfile64.c: Likewise.
3507 * io/statfs.c: Likewise.
3508 * io/statfs64.c: Likewise.
3509 * io/statvfs.c: Likewise.
3510 * io/statvfs64.c: Likewise.
3511 * io/symlink.c: Likewise.
3512 * io/symlinkat.c: Likewise.
3513 * io/ttyname.c: Likewise.
3514 * io/ttyname_r.c: Likewise.
3515 * io/umask.c: Likewise.
3516 * io/unlink.c: Likewise.
3517 * io/unlinkat.c: Likewise.
3518 * io/utime.c: Likewise.
3519 * io/utimensat.c: Likewise.
3520 * io/write.c: Likewise.
3521 * io/xmknod.c: Likewise.
3522 * io/xmknodat.c: Likewise.
3523 * io/xstat.c: Likewise.
3524 * io/xstat64.c: Likewise.
3525 * login/getpt.c: Likewise.
3526 * login/grantpt.c: Likewise.
3527 * login/unlockpt.c: Likewise.
3528 * math/e_acoshl.c: Likewise.
3529 * math/e_acosl.c: Likewise.
3530 * math/e_asinl.c: Likewise.
3531 * math/e_atan2l.c: Likewise.
3532 * math/e_atanhl.c: Likewise.
3533 * math/e_coshl.c: Likewise.
3534 * math/e_expl.c: Likewise.
3535 * math/e_fmodl.c: Likewise.
3536 * math/e_gammal_r.c: Likewise.
3537 * math/e_hypotl.c: Likewise.
3538 * math/e_j0l.c: Likewise.
3539 * math/e_j1l.c: Likewise.
3540 * math/e_jnl.c: Likewise.
3541 * math/e_lgammal_r.c: Likewise.
3542 * math/e_log10l.c: Likewise.
3543 * math/e_log2l.c: Likewise.
3544 * math/e_logl.c: Likewise.
3545 * math/e_powl.c: Likewise.
3546 * math/e_rem_pio2l.c: Likewise.
3547 * math/e_sinhl.c: Likewise.
3548 * math/e_sqrtl.c: Likewise.
3549 * math/fclrexcpt.c: Likewise.
3550 * math/fedisblxcpt.c: Likewise.
3551 * math/feenablxcpt.c: Likewise.
3552 * math/fegetenv.c: Likewise.
3553 * math/fegetexcept.c: Likewise.
3554 * math/fegetround.c: Likewise.
3555 * math/feholdexcpt.c: Likewise.
3556 * math/fesetenv.c: Likewise.
3557 * math/fesetround.c: Likewise.
3558 * math/feupdateenv.c: Likewise.
3559 * math/fgetexcptflg.c: Likewise.
3560 * math/fraiseexcpt.c: Likewise.
3561 * math/fsetexcptflg.c: Likewise.
3562 * math/ftestexcept.c: Likewise.
3563 * math/k_cosl.c: Likewise.
3564 * math/k_rem_pio2l.c: Likewise.
3565 * math/k_sinl.c: Likewise.
3566 * math/k_tanl.c: Likewise.
3567 * math/s_asinhl.c: Likewise.
3568 * math/s_atanl.c: Likewise.
3569 * math/s_cbrtl.c: Likewise.
3570 * math/s_erfl.c: Likewise.
3571 * math/s_expm1l.c: Likewise.
3572 * math/s_log1pl.c: Likewise.
3573 * math/s_tanhl.c: Likewise.
3574 * misc/acct.c: Likewise.
3575 * misc/brk.c: Likewise.
3576 * misc/chflags.c: Likewise.
3577 * misc/chroot.c: Likewise.
3578 * misc/fchflags.c: Likewise.
3579 * misc/fgetxattr.c: Likewise.
3580 * misc/flistxattr.c: Likewise.
3581 * misc/fremovexattr.c: Likewise.
3582 * misc/fsetxattr.c: Likewise.
3583 * misc/fsync.c: Likewise.
3584 * misc/ftruncate.c: Likewise.
3585 * misc/futimes.c: Likewise.
3586 * misc/futimesat.c: Likewise.
3587 * misc/getdomain.c: Likewise.
3588 * misc/getdtsz.c: Likewise.
3589 * misc/gethostid.c: Likewise.
3590 * misc/gethostname.c: Likewise.
3591 * misc/getloadavg.c: Likewise.
3592 * misc/getpagesize.c: Likewise.
3593 * misc/getsysstats.c: Likewise.
3594 * misc/getxattr.c: Likewise.
3595 * misc/gtty.c: Likewise.
3596 * misc/ioctl.c: Likewise.
3597 * misc/lgetxattr.c: Likewise.
3598 * misc/listxattr.c: Likewise.
3599 * misc/llistxattr.c: Likewise.
3600 * misc/lremovexattr.c: Likewise.
3601 * misc/lsetxattr.c: Likewise.
3602 * misc/lutimes.c: Likewise.
3603 * misc/madvise.c: Likewise.
3604 * misc/mincore.c: Likewise.
3605 * misc/mlock.c: Likewise.
3606 * misc/mlockall.c: Likewise.
3607 * misc/mmap.c: Likewise.
3608 * misc/mprotect.c: Likewise.
3609 * misc/msync.c: Likewise.
3610 * misc/munlock.c: Likewise.
3611 * misc/munlockall.c: Likewise.
3612 * misc/munmap.c: Likewise.
3613 * misc/preadv.c: Likewise.
3614 * misc/preadv64.c: Likewise.
3615 * misc/ptrace.c: Likewise.
3616 * misc/pwritev.c: Likewise.
3617 * misc/pwritev64.c: Likewise.
3618 * misc/readv.c: Likewise.
3619 * misc/reboot.c: Likewise.
3620 * misc/remap_file_pages.c: Likewise.
3621 * misc/removexattr.c: Likewise.
3622 * misc/revoke.c: Likewise.
3623 * misc/select.c: Likewise.
3624 * misc/setdomain.c: Likewise.
3625 * misc/setegid.c: Likewise.
3626 * misc/seteuid.c: Likewise.
3627 * misc/sethostid.c: Likewise.
3628 * misc/sethostname.c: Likewise.
3629 * misc/setregid.c: Likewise.
3630 * misc/setreuid.c: Likewise.
3631 * misc/setxattr.c: Likewise.
3632 * misc/sstk.c: Likewise.
3633 * misc/stty.c: Likewise.
3634 * misc/swapoff.c: Likewise.
3635 * misc/swapon.c: Likewise.
3636 * misc/sync.c: Likewise.
3637 * misc/syncfs.c: Likewise.
3638 * misc/syscall.c: Likewise.
3639 * misc/truncate.c: Likewise.
3640 * misc/ualarm.c: Likewise.
3641 * misc/usleep.c: Likewise.
3642 * misc/ustat.c: Likewise.
3643 * misc/utimes.c: Likewise.
3644 * misc/vhangup.c: Likewise.
3645 * misc/writev.c: Likewise.
3646 * posix/_exit.c: Likewise.
3647 * posix/alarm.c: Likewise.
3648 * posix/execve.c: Likewise.
3649 * posix/fexecve.c: Likewise.
3650 * posix/fork.c: Likewise.
3651 * posix/fpathconf.c: Likewise.
3652 * posix/getaddrinfo.c: Likewise.
3653 * posix/getegid.c: Likewise.
3654 * posix/geteuid.c: Likewise.
3655 * posix/getgid.c: Likewise.
3656 * posix/getgroups.c: Likewise.
3657 * posix/getlogin.c: Likewise.
3658 * posix/getlogin_r.c: Likewise.
3659 * posix/getpgid.c: Likewise.
3660 * posix/getpid.c: Likewise.
3661 * posix/getppid.c: Likewise.
3662 * posix/getresgid.c: Likewise.
3663 * posix/getresuid.c: Likewise.
3664 * posix/getsid.c: Likewise.
3665 * posix/getuid.c: Likewise.
3666 * posix/glob64.c: Likewise.
3667 * posix/nanosleep.c: Likewise.
3668 * posix/pathconf.c: Likewise.
3669 * posix/pause.c: Likewise.
3670 * posix/posix_madvise.c: Likewise.
3671 * posix/pread.c: Likewise.
3672 * posix/pread64.c: Likewise.
3673 * posix/pwrite.c: Likewise.
3674 * posix/pwrite64.c: Likewise.
3675 * posix/sched_getaffinity.c: Likewise.
3676 * posix/sched_getp.c: Likewise.
3677 * posix/sched_gets.c: Likewise.
3678 * posix/sched_primax.c: Likewise.
3679 * posix/sched_primin.c: Likewise.
3680 * posix/sched_rr_gi.c: Likewise.
3681 * posix/sched_setaffinity.c: Likewise.
3682 * posix/sched_setp.c: Likewise.
3683 * posix/sched_sets.c: Likewise.
3684 * posix/sched_yield.c: Likewise.
3685 * posix/setgid.c: Likewise.
3686 * posix/setlogin.c: Likewise.
3687 * posix/setpgid.c: Likewise.
3688 * posix/setresgid.c: Likewise.
3689 * posix/setresuid.c: Likewise.
3690 * posix/setsid.c: Likewise.
3691 * posix/setuid.c: Likewise.
3692 * posix/sleep.c: Likewise.
3693 * posix/spawni.c: Likewise.
3694 * posix/sysconf.c: Likewise.
3695 * posix/times.c: Likewise.
3696 * posix/wait.c: Likewise.
3697 * posix/wait3.c: Likewise.
3698 * posix/wait4.c: Likewise.
3699 * posix/waitpid.c: Likewise.
3700 * resolv/gai_sigqueue.c: Likewise.
3701 * resource/getpriority.c: Likewise.
3702 * resource/getrlimit.c: Likewise.
3703 * resource/getrusage.c: Likewise.
3704 * resource/nice.c: Likewise.
3705 * resource/setpriority.c: Likewise.
3706 * resource/setrlimit.c: Likewise.
3707 * resource/ulimit.c: Likewise.
3708 * rt/aio_cancel.c: Likewise.
3709 * rt/aio_fsync.c: Likewise.
3710 * rt/aio_read.c: Likewise.
3711 * rt/aio_sigqueue.c: Likewise.
3712 * rt/aio_suspend.c: Likewise.
3713 * rt/aio_write.c: Likewise.
3714 * rt/clock_getres.c: Likewise.
3715 * rt/clock_gettime.c: Likewise.
3716 * rt/clock_nanosleep.c: Likewise.
3717 * rt/clock_settime.c: Likewise.
3718 * rt/lio_listio.c: Likewise.
3719 * rt/mq_close.c: Likewise.
3720 * rt/mq_getattr.c: Likewise.
3721 * rt/mq_notify.c: Likewise.
3722 * rt/mq_open.c: Likewise.
3723 * rt/mq_receive.c: Likewise.
3724 * rt/mq_send.c: Likewise.
3725 * rt/mq_setattr.c: Likewise.
3726 * rt/mq_timedreceive.c: Likewise.
3727 * rt/mq_timedsend.c: Likewise.
3728 * rt/mq_unlink.c: Likewise.
3729 * rt/shm_open.c: Likewise.
3730 * rt/shm_unlink.c: Likewise.
3731 * rt/timer_create.c: Likewise.
3732 * rt/timer_delete.c: Likewise.
3733 * rt/timer_getoverr.c: Likewise.
3734 * rt/timer_gettime.c: Likewise.
3735 * rt/timer_settime.c: Likewise.
3736 * setjmp/__longjmp.c: Likewise.
3737 * setjmp/setjmp.c: Likewise.
3738 * signal/kill.c: Likewise.
3739 * signal/killpg.c: Likewise.
3740 * signal/raise.c: Likewise.
3741 * signal/sigaction.c: Likewise.
3742 * signal/sigaltstack.c: Likewise.
3743 * signal/sigblock.c: Likewise.
3744 * signal/sigignore.c: Likewise.
3745 * signal/sigintr.c: Likewise.
3746 * signal/signal.c: Likewise.
3747 * signal/sigpause.c: Likewise.
3748 * signal/sigpending.c: Likewise.
3749 * signal/sigqueue.c: Likewise.
3750 * signal/sigreturn.c: Likewise.
3751 * signal/sigset.c: Likewise.
3752 * signal/sigsetmask.c: Likewise.
3753 * signal/sigstack.c: Likewise.
3754 * signal/sigsuspend.c: Likewise.
3755 * signal/sigtimedwait.c: Likewise.
3756 * signal/sigvec.c: Likewise.
3757 * signal/sigwait.c: Likewise.
3758 * signal/sigwaitinfo.c: Likewise.
3759 * signal/sysv_signal.c: Likewise.
3760 * socket/accept.c: Likewise.
3761 * socket/accept4.c: Likewise.
3762 * socket/bind.c: Likewise.
3763 * socket/connect.c: Likewise.
3764 * socket/getpeername.c: Likewise.
3765 * socket/getsockname.c: Likewise.
3766 * socket/getsockopt.c: Likewise.
3767 * socket/isfdtype.c: Likewise.
3768 * socket/listen.c: Likewise.
3769 * socket/recv.c: Likewise.
3770 * socket/recvfrom.c: Likewise.
3771 * socket/recvmsg.c: Likewise.
3772 * socket/send.c: Likewise.
3773 * socket/sendmsg.c: Likewise.
3774 * socket/sendto.c: Likewise.
3775 * socket/setsockopt.c: Likewise.
3776 * socket/shutdown.c: Likewise.
3777 * socket/sockatmark.c: Likewise.
3778 * socket/socket.c: Likewise.
3779 * socket/socketpair.c: Likewise.
3780 * stdio-common/ctermid.c: Likewise.
3781 * stdio-common/cuserid.c: Likewise.
3782 * stdio-common/remove.c: Likewise.
3783 * stdio-common/rename.c: Likewise.
3784 * stdio-common/renameat.c: Likewise.
3785 * stdio-common/tempname.c: Likewise.
3786 * stdlib/getcontext.c: Likewise.
3787 * stdlib/makecontext.c: Likewise.
3788 * stdlib/setcontext.c: Likewise.
3789 * stdlib/swapcontext.c: Likewise.
3790 * stdlib/system.c: Likewise.
3791 * streams/fattach.c: Likewise.
3792 * streams/fdetach.c: Likewise.
3793 * streams/getmsg.c: Likewise.
3794 * streams/getpmsg.c: Likewise.
3795 * streams/putmsg.c: Likewise.
3796 * streams/putpmsg.c: Likewise.
3797 * sysdeps/unix/bsd/getpt.c: Likewise.
3798 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3799 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3800 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3802 Likewise.
3803 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3804 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3805 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3806 * sysvipc/msgctl.c: Likewise.
3807 * sysvipc/msgget.c: Likewise.
3808 * sysvipc/msgrcv.c: Likewise.
3809 * sysvipc/msgsnd.c: Likewise.
3810 * sysvipc/semctl.c: Likewise.
3811 * sysvipc/semget.c: Likewise.
3812 * sysvipc/semop.c: Likewise.
3813 * sysvipc/semtimedop.c: Likewise.
3814 * sysvipc/shmat.c: Likewise.
3815 * sysvipc/shmctl.c: Likewise.
3816 * sysvipc/shmdt.c: Likewise.
3817 * sysvipc/shmget.c: Likewise.
3818 * termios/tcdrain.c: Likewise.
3819 * termios/tcflow.c: Likewise.
3820 * termios/tcflush.c: Likewise.
3821 * termios/tcgetattr.c: Likewise.
3822 * termios/tcgetpgrp.c: Likewise.
3823 * termios/tcsendbrk.c: Likewise.
3824 * termios/tcsetattr.c: Likewise.
3825 * termios/tcsetpgrp.c: Likewise.
3826 * time/adjtime.c: Likewise.
3827 * time/clock.c: Likewise.
3828 * time/getitimer.c: Likewise.
3829 * time/gettimeofday.c: Likewise.
3830 * time/setitimer.c: Likewise.
3831 * time/settimeofday.c: Likewise.
3832 * time/stime.c: Likewise.
3833 * time/time.c: Likewise.
3834
38352012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3836
a20492cf
PT
3837 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3838 /usr/old/bin.
3839
72e182e3
PT
3840 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3841 instead of spaces.
3842 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3843
fbeafede
JM
38442012-11-03 Joseph Myers <joseph@codesourcery.com>
3845
5b5b04d6
JM
3846 [BZ #14796]
3847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3848 FE_TONEAREST before applying Dekker multiplication and Knuth
3849 addition. Clear inexact exceptions and check for exact zero
3850 results afterwards.
3851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3852 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3853 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3854 * math/libm-test.inc (fma_test): Add more tests.
3855 (fma_test_towardzero): Likewise.
3856 (fma_test_downward): Likewise.
3857 (fma_test_upward): Likewise.
3858 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3859 function.
3860 (libc_fesetround): New macro.
3861 (libc_fesetroundf): Likewise.
3862 (libc_fesetroundl): Likewise.
3863 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3864 function.
3865 (libc_fesetround_387): Likewise.
3866 (libc_fesetroundf): New macro.
3867 (libc_fesetround): Likewise.
3868 (libc_fesetroundl): Likewise.
3869 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3870 function.
3871 (libc_fesetroundf): New macro.
3872 (libc_fesetround): Likewise.
3873 (libc_fesetroundl): Likewise.
3874 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3875 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3876 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3877 libm_hidden_ver.
3878 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3879 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3880 libm_hidden_def.
3881 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3882 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3883 libm_hidden_ver.
3884 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3885 libm_hidden_def.
3886
fbeafede
JM
3887 [BZ #3439]
3888 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3889 integer constant usable in #if and use that to give value to enum
3890 constant.
3891 (FE_DIVBYZERO): Likewise.
3892 (FE_UNDERFLOW): Likewise.
3893 (FE_OVERFLOW): Likewise.
3894 (FE_INVALID): Likewise.
3895 (FE_INVALID_SNAN): Likewise.
3896 (FE_INVALID_ISI): Likewise.
3897 (FE_INVALID_IDI): Likewise.
3898 (FE_INVALID_ZDZ): Likewise.
3899 (FE_INVALID_IMZ): Likewise.
3900 (FE_INVALID_COMPARE): Likewise.
3901 (FE_INVALID_SOFTWARE): Likewise.
3902 (FE_INVALID_SQRT): Likewise.
3903 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3904 (FE_TONEAREST): Likewise.
3905 (FE_TOWARDZERO): Likewise.
3906 (FE_UPWARD): Likewise.
3907 (FE_DOWNWARD): Likewise.
3908 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3909 (FE_DIVBYZERO): Likewise.
3910 (FE_OVERFLOW): Likewise.
3911 (FE_UNDERFLOW): Likewise.
3912 (FE_INEXACT): Likewise.
3913 (FE_TONEAREST): Likewise.
3914 (FE_DOWNWARD): Likewise.
3915 (FE_UPWARD): Likewise.
3916 (FE_TOWARDZERO): Likewise.
3917 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3918 (FE_UNDERFLOW): Likewise.
3919 (FE_OVERFLOW): Likewise.
3920 (FE_DIVBYZERO): Likewise.
3921 (FE_INVALID): Likewise.
3922 (FE_TONEAREST): Likewise.
3923 (FE_TOWARDZERO): Likewise.
3924 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3925 (FE_OVERFLOW): Likewise.
3926 (FE_UNDERFLOW): Likewise.
3927 (FE_DIVBYZERO): Likewise.
3928 (FE_INEXACT): Likewise.
3929 (FE_TONEAREST): Likewise.
3930 (FE_TOWARDZERO): Likewise.
3931 (FE_UPWARD): Likewise.
3932 (FE_DOWNWARD): Likewise.
3933 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3934 (FE_DIVBYZERO): Likewise.
3935 (FE_OVERFLOW): Likewise.
3936 (FE_UNDERFLOW): Likewise.
3937 (FE_INEXACT): Likewise.
3938 (FE_TONEAREST): Likewise.
3939 (FE_DOWNWARD): Likewise.
3940 (FE_UPWARD): Likewise.
3941 (FE_TOWARDZERO): Likewise.
3942
105ca950
CM
39432012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3944
3945 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3946
a542b389
AS
39472012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3948
3949 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3950 commands. Quote $PWD.
3951 (blacklist_exports): Don't use remove_newlines. Replace "declare
3952 -x" by "export".
3953 (remove_newlines): Remove.
3954
f62c8abc
L
39552012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3956
3957 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3958 * stdlib/stdlib.h (atof): Moved to ...
3959 * include/bits/stdlib-float.h: Here. New file.
3960 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3961 * stdlib/bits/stdlib-float.h: New file.
3962 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3963 -mno-sse -mno-mmx.
3964 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3965 <xmmintrin.h>.
3966
0155d5b2
JM
39672012-11-02 Joseph Myers <joseph@codesourcery.com>
3968
a68d0680
JM
3969 * conform/conformtest.pl (@headers): Add fenv.h.
3970 * conform/data/fenv.h-data: New file.
3971 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3972 include of <math/fenv.h>.
3973
caf7f573
JM
3974 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3975 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3976 && !UNIX98]. Enables tests for XOPEN2K8.
3977 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3978 POSIX2008]: Likewise.
3979
6c073ad6
JM
3980 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3981 (struct rusage): Do not expect type or its members.
3982
0155d5b2
JM
3983 [BZ #3439]
3984 * math/math.h (FP_NAN): Define macro to integer constant usable in
3985 #if and use that to give value to enum constant.
3986 (FP_INFINITE): Likewise.
3987 (FP_ZERO): Likewise.
3988 (FP_SUBNORMAL): Likewise.
3989 (FP_NORMAL): Likewise.
3990
b5dcacb4
AS
39912012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3992
3993 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3994 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3995 arguments.
3996
f7934be8
RM
39972012-11-02 Roland McGrath <roland@hack.frob.com>
3998
3999 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4000 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4001 autoconf-time if not.
4002 * configure.in: Remove AC_PREREQ.
4003
d7d08bde
TMQMF
40042012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4005
4006 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4007 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4008 of the internal implementation.
4009
dcdae19a
JM
40102012-11-02 Joseph Myers <joseph@codesourcery.com>
4011
4012 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4013 except include of <misc/sys/syslog.h>.
4014
d6cffd3e
AS
40152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4016
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4018 function returns with a NULL context exit with zero.
4019
b3563932
TMQMF
40202012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4021
4022 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4023
b288a93d
L
40242012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4025
4026 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4027 (run_program_cmd): This.
4028 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4029 (tst_langinfo): New variable. Use it.
4030
a2421a68
SAS
40312012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4032
4033 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4034 floating point opcodes.
4035
6f796e1b
TS
40362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4037
7402596b
TS
4038 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4039 variable.
4040
d0d4f868
TS
4041 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4042
6f796e1b
TS
4043 * sysdeps/mach/hurd/powerpc: Remove directory.
4044 * sysdeps/mach/powerpc: Likewise.
4045
4da224a2
AS
40462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4047
4048 * scripts/check-local-headers.sh: Ignore c++ headers.
4049
341dd673
TS
40502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4051
4052 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4053 __libc_cleanup_region_start argument.
4054
473611b2
JM
40552012-11-01 Joseph Myers <joseph@codesourcery.com>
4056
4057 [BZ #14784]
4058 [BZ #14785]
4059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4060 x * y using scaling, not as x * y + z.
4061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4062 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4063 * math/libm-test.inc (fma_test): Add more tests.
4064 (fma_test_towardzero): Likewise.
4065 (fma_test_downward): Likewise.
4066 (fma_test_upward): Likewise.
4067
4078da3d
TS
40682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4069
4070 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4071
903252aa
JM
40722012-10-31 Joseph Myers <joseph@codesourcery.com>
4073
4074 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4075 New variable.
4076
cbc818d0
TS
40772012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4078
4079 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4080
5a03cb1e
AS
40812012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4082
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4084 Fix sort order.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4086 Likewise.
4087
90aff2ff
TMQMF
40882012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4089
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4091 Fix the order of the list for glibc 2.17.
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4093 Likewise.
4094
1818fcb7
AS
40952012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4096
4097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4098
ef82f4da
JM
40992012-10-31 Joseph Myers <joseph@codesourcery.com>
4100
16a0e2ec
JM
4101 [BZ #14610]
4102 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4103 for low part of x being zero before using __atanl (y).
4104 * math/libm-test.inc (atan2_test): Add another test.
4105
0eb69512
JM
4106 * manual/install.texi (Configuring and compiling): Document
4107 general use of test-wrapper and test-wrapper-env.
4108 * INSTALL: Regenerated.
4109
ef82f4da
JM
4110 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4111 (__fma): Do not extract and scale down low bits on after-rounding
4112 systems when result rounded to normal precision would have normal
4113 exponent.
4114 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4115 (__fmal): Do not extract and scale down low bits on after-rounding
4116 systems when result rounded to normal precision would have normal
4117 exponent.
4118 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4119 (__fmal): Do not extract and scale down low bits on after-rounding
4120 systems when result rounded to normal precision would have normal
4121 exponent.
4122 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4123 macro.
4124 (fma_test): Add more tests.
4125 (fma_test_towardzero): Likewise.
4126 (fma_test_downward): Likewise.
4127 (fma_test_upward): Likewise.
4128
954ef0d9
L
41292012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4130
4131 * sysdeps/i386/tininess.h: Renamed to ...
4132 * sysdeps/x86/tininess.h: This.
4133 * sysdeps/x86_64/tininess.h: Removed.
4134
df61ffb2
JM
41352012-10-30 Joseph Myers <joseph@codesourcery.com>
4136
4137 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4138 input. Use $(build-program-cmd).
4139 ($(objpfx)tst-array1-static.out): Likewise.
4140 ($(objpfx)tst-array2.out): Likewise.
4141 ($(objpfx)tst-array3.out): Likewise.
4142 ($(objpfx)tst-array4.out): Likewise.
4143 ($(objpfx)tst-array5.out): Likewise.
4144 ($(objpfx)tst-array5-static.out): Likewise.
4145
01767843
CM
41462012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4147
47cc1490
CM
4148 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4149 if defined.
4150
01767843
CM
4151 * nss/nsswitch.h (nss_interface_function): Provide new
4152 macro for use with NSS functions.
4153 * grp/initgroups.c: Use new macro.
4154 * nss/getXXbyYY.c: Likewise.
4155 * nss/getXXbyYY_r.c: Likewise.
4156 * nss/getXXent.c: Likewise.
4157 * nss/getXXent_r.c: Likewise.
4158 * sysdeps/posix/getaddrinfo.c: Likewise.
4159
8321aa97
AJ
41602012-10-30 Andreas Jaeger <aj@suse.de>
4161
4162 * po/ru.po: Update Russion translation from translation project.
4163
2a27fd6d
JM
41642012-10-30 Joseph Myers <joseph@codesourcery.com>
4165
8627a232
JM
4166 [BZ #14152]
4167 [BZ #14783]
4168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4169 result and shift together with sticky bit instead of replicating
4170 round-to-nearest rounding.
4171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4173 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4174 missing underflow exceptions.
4175 (fma_test_towardzero): Add more tests.
4176 (fma_test_downward): Likewise.
4177 (fma_test_upward): Likewise.
4178
2a27fd6d
JM
4179 [BZ #14047]
4180 * sysdeps/generic/tininess.h: New file.
4181 * sysdeps/i386/tininess.h: Likewise.
4182 * sysdeps/sh/tininess.h: Likewise.
4183 * sysdeps/x86_64/tininess.h: Likewise.
4184 * stdlib/tst-strtod-underflow.c: Likewise.
4185 * stdlib/tst-tininess.c: Likewise.
4186 * stdlib/strtod_l.c: Include <tininess.h>.
4187 (round_and_return): Do not set errno for exact underflow cases.
4188 Force an underflow exception when setting errno for underflow.
4189 Determine underflow based on rounding to normal precision if
4190 TININESS_AFTER_ROUNDING.
4191 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4192 ERANGE for exact underflow cases.
4193 * stdlib/Makefile (tests): Add tst-tininess and
4194 tst-strtod-underflow.
4195 ($(objpfx)tst-tininess): Use $(link-libm).
4196 ($(objpfx)tst-strtod-underflow): Likewise.
4197
e7170363
AJ
41982012-10-30 Andreas Jaeger <aj@suse.de>
4199
e5088dc6
AJ
4200 [BZ#14767]
4201 * elf/Makefile (tests): Remove conditional for have-initfini-array
4202 since this is now always required and the variable does not exist
4203 anymore.
4204 (tests-static): Likewise.
4205 (modules-names): Likewise.
4206
e7170363 4207 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4208
4209 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4210 merged with constructor/destructor.
4211 (init_array): Likewise.
4212 * elf/tst-array2dep.c (fini_array): Likewise.
4213 (init_array): Likewise.
4214
60457d8a
MF
42152012-10-29 Mike Frysinger <vapier@gentoo.org>
4216
4217 * manual/message.texi: Delete @cartouche tags.
4218
8bece752
PT
42192012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4220
94ce799f
PT
4221 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4222 EOPNOTSUPP.
4223 * sysdeps/mach/hurd/fsync.c: Likewise.
4224
8bece752
PT
4225 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4226 [_POSIX_REALTIME_SIGNALS]: Change condition to
4227 [_POSIX_REALTIME_SIGNALS > 0].
4228
86ebe6b1
AJ
42292012-10-27 Andreas Jaeger <aj@suse.de>
4230
4231 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4232 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4234 [__WORDSIZE != 64]: Likewise.
4235
54399c08
L
42362012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4237
4238 * iconvdata/tst-table.sh: Remove ${SHELL}.
4239 * iconvdata/tst-tables.sh: Likewise.
4240
e2211bed
DM
42412012-10-25 David S. Miller <davem@davemloft.net>
4242
4243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4244 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4245 of strtoull.
4246
f303f97c
DM
4247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4248 ifunc-impl-list.c
4249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4250 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4251 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4252 file.
4253
1e9d84cd
RM
42542012-10-25 Roland McGrath <roland@hack.frob.com>
4255
4256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4257 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4258 __getdirentries.
4259
df381762
JM
42602012-10-25 Joseph Myers <joseph@codesourcery.com>
4261 Jim Blandy <jimb@codesourcery.com>
4262
4263 * scripts/cross-test-ssh.sh: New file.
4264 * manual/install.texi (Configuring and compiling): Document use of
4265 cross-test-ssh.sh.
4266 * INSTALL: Regenerated.
4267
bff64913
PT
42682012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4269
4270 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4271 EOPNOTSUPP.
4272
25fe8932
JM
42732012-10-25 Joseph Myers <joseph@codesourcery.com>
4274
4275 * Makeconfig (run-program-prefix): Fix comment.
4276
cc1290d0
JM
42772012-10-24 Joseph Myers <joseph@codesourcery.com>
4278 Jim Blandy <jimb@codesourcery.com>
4279
4280 * Makeconfig (test-wrapper): New variable,
4281 (test-wrapper-env): Likewise.
4282 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4283 (run-built-tests): Define to yes.
4284 (run-program-prefix): Use $(test-wrapper).
4285 (built-program-cmd): Likewise.
4286 * Rules (make-test-out): Use $(test-wrapper-env) and
4287 $(host-built-program-cmd).
4288 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4289 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4290 tst-pathopt.sh.
4291 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4292 $(test-wrapper-env) to tst-rtld-load-self.sh.
4293 ($(objpfx)order2.out): Use $(test-wrapper).
4294 ($(objpfx)tst-initorder.out): Likewise.
4295 ($(objpfx)tst-initorder2.out): Likewise.
4296 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4297 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4298 (test_wrapper_env): New variable. Use it to run ld.so.
4299 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4300 Use it to run ld.so.
4301 (test_wrapper_env): Likewise.
4302 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4303 $(test-wrapper) to run-iconv-test.sh.
4304 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4305 (ICONV): Use $test_wrapper.
4306 * posix/Makefile ($(objpfx)globtest.out): Pass
4307 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4308 globtest.sh, not $(run-program-prefix).
4309 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4310 (test_wrapper): Likewise.
4311 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4312 set together with run_via_rtld_prefix.
4313 (run_program_prefix): Define in terms of test_wrapper and
4314 run_via_rtld_prefix.
4315
6e6249d0
RM
43162012-10-24 Roland McGrath <roland@hack.frob.com>
4317
4318 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4319 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4320 Targets removed.
4321
4322 [BZ #14743]
4323 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4324 Declare __clock_getres, __clock_gettime, __clock_settime,
4325 __clock_nanosleep, and __clock_getcpuclockid.
4326 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4327 Remove librt_hidden_def (clock_gettime).
4328 * sysdeps/unix/clock_gettime.c: Likewise.
4329 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4330 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4331 * rt/clock_getres.c: Define __clock_getres as an alias.
4332 * sysdeps/posix/clock_getres.c: Likewise.
4333 * rt/clock_settime.c: Define __clock_settime as an alias.
4334 * sysdeps/unix/clock_settime.c: Likewise.
4335 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4336 * sysdeps/unix/clock_nanosleep.c: Likewise.
4337 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4338 * rt/clock-compat.c: New file.
4339 * rt/Makefile (librt-routines): Add clock-compat and move
4340 $(clock-routines) to ...
4341 (routines): ... here, new variable.
4342 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4343 Don't add get_clockfreq here.
4344 * rt/Versions (libc: GLIBC_2.17): New version set.
4345 Add clock_* symbols here.
4346 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4348 (GLIBC_2.17): Add clock_* symbols.
4349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4353 Likewise.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4355 Likewise.
4356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4360 * NEWS: Mention the move.
4361
4362 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4363 Use __open, __read, __close rather than their public counterparts.
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4365 (__get_clockfreq_via_cpuinfo): Likewise.
4366 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4367 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4368
4369 * config.h.in (HAVE_IFUNC): New #undef.
4370 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4371 was successful.
4372 * configure: Regenerated.
4373
0cae3f4b
MF
43742012-10-24 Mike Frysinger <vapier@gentoo.org>
4375
4376 * configure.in: Move READELF check to start of file.
4377 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4378 libc_cv_asm_gnu_indirect_function in the process.
4379 * configure: Regenerated.
4380
8175a253
MF
43812012-10-24 Mike Frysinger <vapier@gentoo.org>
4382
4383 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4384 send the output to /dev/null.
4385 (libc_cv_cc_with_libunwind): Likewise.
4386 (libc_cv_as_noexecstack): Likewise.
4387 * configure: Regenerate.
4388
0708a7d1
JM
43892012-10-24 Joseph Myers <joseph@codesourcery.com>
4390
10b40d85
JM
4391 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4392
0708a7d1
JM
4393 * posix/globtest.sh (TMPDIR): Do not set.
4394 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4395 (testout): Likewise.
4396
9fddec1a
AJ
43972012-10-24 Andreas Jaeger <aj@suse.de>
4398
3a8db22f
AJ
4399 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4400 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4401 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4402 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4403 posix_fadvise64, posix_fallocate64.
4404
9fddec1a
AJ
4405 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4406 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4407 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4408 Likewise.
4409 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4410 Likewise.
4411 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4412
4413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4414 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4415 <bits/fcntl-linux.h>.
4416 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4417
4418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4419 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4420 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4421 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4422 [__WORDSIZE != 64]: Likewise.
4423
ebfd1bbd
JM
44242012-10-23 Joseph Myers <joseph@codesourcery.com>
4425
03ac099f
JM
4426 * Makeconfig (run-built-tests): New variable.
4427 * Rules [$(cross-compiling) = yes]: Change condition to
4428 [$(run-built-tests) = no].
4429 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4430 to [$(run-built-tests) = yes].
4431 * elf/Makefile [$(cross-compiling) = no]: Likewise
4432 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4433 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4434 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4435 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4436 * io/Makefile [$(cross-compiling) = no]: Likewise.
4437 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4438 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4439 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4440 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4441 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4442 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4443 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4444 * string/Makefile [$(cross-compiling) = no]: Likewise.
4445
ebfd1bbd
JM
4446 * posix/Makefile ($(objpfx)globtest.out): Pass
4447 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4448 $(rtld-installed-name).
4449 * posix/globtest.sh (elf_objpfx): Remove variable.
4450 (rtld_installed_name): Likewise.
4451 (library_path): Likewise.
4452 (run_program_prefix): New variable. Use for running globtest
4453 binary.
4454
166bca24
JB
44552012-10-23 Jim Blandy <jimb@codesourcery.com>
4456 Joseph Myers <joseph@codesourcery.com>
4457
4458 * Makeconfig (host-built-program-cmd): New variable.
4459 * elf/Makefile (tst-stackguard1-ARGS): Use
4460 $(host-built-program-cmd).
4461 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4462 (tst-spawn-ARGS): Likewise.
4463 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4464
88866099
JM
44652012-10-23 Joseph Myers <joseph@codesourcery.com>
4466 Jim Blandy <jimb@codesourcery.com>
4467
4468 * Makeconfig (run-via-rtld-prefix): New variable.
4469 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4470 (built-program-cmd): Likewise.
4471
b4b4c296
AJ
44722012-10-22 Andreas Jaeger <aj@suse.de>
4473
4474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4475 __O_RSYNC if it exists, otherwise to O_SYNC.
4476
6fb54a22
JB
44772012-10-22 Jim Blandy <jimb@codesourcery.com>
4478 Joseph Myers <joseph@codesourcery.com>
4479
4480 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4481 /dev/null.
4482 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4483 from /dev/null
4484 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4485 /dev/null.
4486
481b90b9
AJ
44872012-10-22 Andreas Jaeger <aj@suse.de>
4488
2a0e2669
AJ
4489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4490 Define always.
4491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4492
76e38f9a
AJ
4493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4494 bits/fcntl-linux.h.
4495
7cd37b43
AJ
4496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4497 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4498
481b90b9
AJ
4499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4500 to __O_LARGEFILE.
4501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4502 to __O_LARGEFILE.
4503
aba75984
JB
45042012-10-21 Jim Blandy <jimb@codesourcery.com>
4505 Joseph Myers <joseph@codesourcery.com>
4506
4507 * config.make.in (NM): New variable.
4508
88d4247f
AJ
45092012-10-21 Andreas Jaeger <aj@suse.de>
4510
4511 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4512 definitions and declarations that are provided by
4513 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4514
f2eed205
L
45152012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 [BZ #14683]
4518 * elf/Makefile (tests-static): Add tst-leaks1-static.
4519 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4520 ($(objpfx)tst-leaks1-static): New rule.
4521 ($(objpfx)tst-leaks1-static-mem): Likewise.
4522 (tst-leaks1-static-ENV): New macro.
4523 * elf/dl-open.c (dl_open_worker): Check the main application
4524 only if SHARED is defined.
4525 * elf/tst-leaks1-static.c: New file.
4526
335e6931
AJ
45272012-10-20 Andreas Jaeger <aj@suse.de>
4528
4529 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4530 generic values for Linux.
4531 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4532 and declarations that are provided by <bits/fcntl-linux.h> and
4533 include <bits/fcntl-linux.h>.
4534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4536
ac5c94d3
RM
45372012-10-20 Roland McGrath <roland@hack.frob.com>
4538
4539 * io/fcntl.h: Move include of <bits/types.h> to the top and
4540 include it unconditionally.
4541
de54b33a
L
45422012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4543
228cfb01
L
4544 * wcsmbs/Makefile (tests-ifunc): New variable.
4545 (tests): Add $(tests-ifunc).
4546 * wcsmbs/test-wcschr-ifunc.c: New file.
4547 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4548 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4549 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4550 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4551 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4552
69f07e5f
L
4553 * string/Makefile (tests-ifunc): New variable.
4554 (tests): Add $(tests-ifunc).
4555 * string/test-memccpy.c (TEST_NAME): New macro.
4556 * string/test-memchr.c (TEST_NAME): Likewise.
4557 * string/test-memcmp.c (TEST_NAME): Likewise.
4558 * string/test-memcpy.c (TEST_NAME): Likewise.
4559 * string/test-memmem.c (TEST_NAME): Likewise.
4560 * string/test-memmove.c (TEST_NAME): Likewise.
4561 * string/test-memset.c (TEST_NAME): Likewise.
4562 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4563 * string/test-stpcpy.c (TEST_NAME): Likewise.
4564 * string/test-stpncpy.c (TEST_NAME): Likewise.
4565 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4566 * string/test-strcasestr.c (TEST_NAME): Likewise.
4567 * string/test-strcat.c (TEST_NAME): Likewise.
4568 * string/test-strchr.c (TEST_NAME): Likewise.
4569 * string/test-strcmp.c(TEST_NAME): Likewise.
4570 * string/test-strcpy.c (TEST_NAME): Likewise.
4571 * string/test-strcspn.c (TEST_NAME): Likewise.
4572 * string/test-strlen.c (TEST_NAME): Likewise.
4573 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4574 * string/test-strncmp.c (TEST_NAME): Likewise.
4575 * string/test-strncpy.c (TEST_NAME): Likewise.
4576 * string/test-strnlen.c (TEST_NAME): Likewise.
4577 * string/test-strpbrk.c (TEST_NAME): Likewise.
4578 * string/test-strrchr.c (TEST_NAME): Likewise.
4579 * string/test-strspn.c (TEST_NAME): Likewise.
4580 * string/test-strstr.c (TEST_NAME): Likewise.
4581 * string/test-bcopy-ifunc.c: New file.
4582 * string/test-bzero-ifunc.c: Likewise.
4583 * string/test-memccpy-ifunc.c: Likewise.
4584 * string/test-memchr-ifunc.c: Likewise.
4585 * string/test-memcmp-ifunc.c: Likewise.
4586 * string/test-memcpy-ifunc.c: Likewise.
4587 * string/test-memmem-ifunc.c: Likewise.
4588 * string/test-memmove-ifunc.c: Likewise.
4589 * string/test-mempcpy-ifunc.c: Likewise.
4590 * string/test-memset-ifunc.c: Likewise.
4591 * string/test-rawmemchr-ifunc.c: Likewise.
4592 * string/test-stpcpy-ifunc.c: Likewise.
4593 * string/test-stpncpy-ifunc.c: Likewise.
4594 * string/test-strcasecmp-ifunc.c: Likewise.
4595 * string/test-strcasestr-ifunc.c: Likewise.
4596 * string/test-strcat-ifunc.c: Likewise.
4597 * string/test-strchr-ifunc.c: Likewise.
4598 * string/test-strchrnul-ifunc.c: Likewise.
4599 * string/test-strcmp-ifunc.c: Likewise.
4600 * string/test-strcpy-ifunc.c: Likewise.
4601 * string/test-strcspn-ifunc.c: Likewise.
4602 * string/test-strlen-ifunc.c: Likewise.
4603 * string/test-strncasecmp-ifunc.c: Likewise.
4604 * string/test-strncat-ifunc.c: Likewise.
4605 * string/test-strncmp-ifunc.c: Likewise.
4606 * string/test-strncpy-ifunc.c: Likewise.
4607 * string/test-strnlen-ifunc.c: Likewise.
4608 * string/test-strpbrk-ifunc.c: Likewise.
4609 * string/test-strrchr-ifunc.c: Likewise.
4610 * string/test-strspn-ifunc.c: Likewise.
4611 * string/test-strstr-ifunc.c: Likewise.
4612
de54b33a
L
4613 * debug/Makefile (tests-ifunc): New variable.
4614 (tests): Add $(tests-ifunc).
4615 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4616 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4617 * debug/test-stpcpy_chk-ifunc.c: New file.
4618 * debug/test-strcpy_chk-ifunc.c: Likewise.
4619
88481c16
SP
46202012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4621
4622 [BZ #13601]
4623 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4624 header is not read in.
4625
135948bd
JM
46262012-10-19 Joseph Myers <joseph@codesourcery.com>
4627
89f1c388
JM
4628 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4629 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4630 directly. Pass built executable to script as
4631 $(built-program-cmd).
4632 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4633 $testprogram without using LD_LIBRARY_PATH and $ldso.
4634
e40a0d21
JM
4635 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4636 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4637 $(rtld-installed-name).
4638 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4639 (rtld_installed_name): Likewise.
4640 (library_path): Likewise.
4641 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4642 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4643 $(run-program-prefix) to tst-tables.sh.
4644 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4645 it to run tst-table-from and tst-table-to.
4646 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4647 Pass it to tst-table.sh.
4648 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4649 $(run-program-prefix) to tst-gettext.sh.
4650 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4651 tst-translit.sh.
4652 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4653 tst-gettext2.sh.
4654 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4655 to run tst-gettext.
4656 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4657 to run tst-gettext2.
4658 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4659 to run tst-translit.
4660 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4661 $(run-program-prefix) to tst-mtrace.sh.
4662 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4663 to run tst-mtrace.
4664 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4665 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4666 $(rtld-installed-name).
4667 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4668 (rtld_installed_name): Likewise.
4669 (run_program_prefix): New variable. Use it to run wordexp-test.
4670
728e272a
JM
4671 * Makeconfig (ARCH): Remove all definitions.
4672 (machine): Likewise.
4673 [ARCH]: Remove conditional code.
4674 [!objdir]: Give error.
4675 [!objdir] (objpfx): Remove.
4676 [!objdir] (common-objpfx): Likewise.
4677 [!objdir] (common-objdir): Likewise.
4678 * configure.in (config_makefile): Remove. Hardcode Makefile in
4679 AC_CONFIG_FILES call.
4680 * configure: Regenerated.
4681
d528cdcf
JM
4682 [BZ #13888]
4683 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4684 or TMPDIR.
4685 (testout): Likewise.
4686
135948bd
JM
4687 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4688 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4689 $(rtld-installed-name).
4690 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4691 (rtld_installed_name): Likwise.
4692 (runit): Remove function.
4693 (run_getconf): New variable, Use it for running getconf binary.
4694
38c78296
L
46952012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4696
4697 [BZ #14716]
4698 * string/test-memmem.c (check_result): New function.
4699 (do_one_test): Use it.
4700 (check1): New function.
4701 (test_main): Use it.
4702
d077f65f
MT
47032012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4704
4705 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4706
ced52c71
JM
47072012-10-18 Joseph Myers <joseph@codesourcery.com>
4708
4709 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4710 (_G_LSEEK64): Likewise.
4711 (_G_MMAP64): Likewise.
4712 (_G_FSTAT64): Likewise.
4713 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4714 (_G_LSEEK64): Likewise.
4715 (_G_MMAP64): Likewise.
4716 (_G_FSTAT64): Likewise.
4717 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4718 unconditional. Call __mmap64 directly.
4719 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4720 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4721 __lseek64 directly.
4722 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4723 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4724 __mmap64 directly.
4725 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4726 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4727 __lseek64 directly.
4728 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4729 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4730 __lseek64 directly.
4731 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4732 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4733 __lseek64 directly.
4734 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4735 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4736 __fxstat64 directly.
4737 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4738 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4739 unconditional.
4740 (freopen64) [!_G_OPEN64]: Remove conditional code.
4741 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4742 unconditional.
4743 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4744 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4745 unconditional.
4746 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4747 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4748 unconditional.
4749 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4750 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4751 unconditional.
4752 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4753 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4754 unconditional.
4755 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4756 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4757 unconditional.
4758 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4759 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4760 unconditional.
4761 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4762
b741de23
SP
47632012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4764
4765 [BZ #12140]
4766 * manual/memory.texi (Malloc Tunable Parameters): Add note
4767 about free list pointers overwriting some perturb bytes.
4768 Wording suggested by Roland McGrath.
4769
f9b9d9c9
JM
47702012-10-17 Joseph Myers <joseph@codesourcery.com>
4771
4772 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4773 (lgamma_test): Likewise.
4774 (tgamma_test): Likewise.
4775
172a631a
FW
47762012-10-16 Florian Weimer <fweimer@redhat.com>
4777
4778 [BZ #14700]
4779 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4780 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4781
e9f37252
MK
47822012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4783
4784 * NEWS: Mention BZ #14716.
4785 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4786 when removing AVAILABLE1_USES_J macro.
4787
d394eb74
L
47882012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4791 (__bswap_64): __uint64_t for unsigned 64-bit int.
4792
ca38dc17
AS
47932012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4794
4795 * include/string.h (memmem): Declare libc hidden alias.
4796 * string/memmem.c (memmem): Define libc hidden alias.
4797 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4798 __read, __close instead of open, read, close.
4799
9a387d1f
L
48002012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4801
ac49ecaf
L
4802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4803 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4804 global and hidden.
4805 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4806 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4807 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4808 Likewise.
4809 (__rawmemchr_sse2): Likewise.
4810 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4811 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4812 (__strchr_sse2): Likewise.
4813 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4814 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4815 (__strcasecmp_sse2): Likewise.
4816 (__strncasecmp_sse2): Likewise.
4817 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4818 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4819 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4820 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4821 (__strrchr_sse2): Likewise.
4822 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4823 ifunc-impl-list.c.
4824 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4825 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4826 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4827 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4828 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4829 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4830 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4831 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4832 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4833 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4834 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4835 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4836 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4837 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4838 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4839 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4840 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4841 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4842 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4843 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4844 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4845 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4846 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4847 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4848 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4849 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4850 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4851 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4852 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4853 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4854
b090e8ea
L
4855 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4856 global and hidden.
4857 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4858 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4859 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4860 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4861 Likewise.
4862 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4863 Likewise.
4864 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4865 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4866 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4867 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4868 ifunc-impl-list.c.
4869 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4870 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4871 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4873 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4875 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4876 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4877 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4878 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4879 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4881 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4882 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4885 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4886 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4887 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4889 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4892 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4896 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4898 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4903 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4906 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4908 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4910
11dd4af6
L
4911 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4912 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4913 * include/ifunc-impl-list.h: New file.
4914 * misc/ifunc-impl-list.c: Likewise.
4915 * misc/Makefile (routines): Add ifunc-impl-list.
4916 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4917 * string/test-string.h: Include <ifunc-impl-list.h>.
4918 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4919 impl_array): New variables.
4920 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4921 are defined.
4922 (test_init): Call __libc_ifunc_impl_list to initialize
4923 func_list if TEST_IFUNC and TEST_NAME are defined.
4924
9a387d1f
L
4925 * string/Makefile (strop-tests): Add bcopy and bzero.
4926 * string/test-bcopy.c: New file.
4927 * string/test-bzero.c: Likewise.
4928 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4929 defined.
4930 * string/test-memset.c: Support bzero test if TEST_BZERO is
4931 defined.
4932 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4933 __libc_memmove.
4934 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4935 __libc_memset.
4936 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4937 of memset.
4938
472371b9
JM
49392012-10-10 Joseph Myers <joseph@codesourcery.com>
4940
1e4a9536
JM
4941 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4942 * configure: Regenerated.
4943
d173d12e
JM
4944 * Makeconfig (+link-static-before-libc): Don't include
4945 $(link-static-libc).
4946
472371b9
JM
4947 * libio/libio.h (_IO_pos_t): Remove.
4948
89a3ad0b
AO
49492012-10-10 Alexandre Oliva <aoliva@redhat.com>
4950
4951 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4952 McGrath.
4953
e7451425
AO
49542012-10-10 Alexandre Oliva <aoliva@redhat.com>
4955
4956 * crypt/crypt-entry.c: Include fips-private.h.
4957 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4958 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4959 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4960 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4961
4ba74a35
AO
49622012-10-10 Alexandre Oliva <aoliva@redhat.com>
4963
4964 * crypt/crypt-private.h: Include stdbool.h.
4965 (_ufc_setup_salt_r): Return bool.
4966 * crypt/crypt-entry.c: Include errno.h.
4967 (__crypt_r): Return NULL with EINVAL for bad salt.
4968 * crypt/crypt_util.c (bad_for_salt): New.
4969 (_ufc_setup_salt_r): Check that salt is long enough and within
4970 the specified alphabet.
4971 * crypt/badsalttest.c: New file.
4972 * crypt/Makefile (tests): Add it.
4973 ($(objpfx)badsalttest): New.
4974
f96f1242
MK
49752012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4976
4977 * NEWS: Add entry for BZ #14602.
4978
0e8e0c1c
JM
49792012-10-09 Joseph Myers <joseph@codesourcery.com>
4980
4981 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4982 type-generic.
4983 * math/libm-test.inc: Update comment listing what functions and
4984 macros are tested.
4985 (isgreater_test): New function.
4986 (isgreaterequal_test): Likewise.
4987 (isless_test): Likewise.
4988 (islessequal_test): Likewise.
4989 (islessgreater_test): Likewise.
4990 (isunordered_test): Likewise.
4991 (main): Call the new functions.
4992
273edc5e
RM
49932012-10-09 Roland McGrath <roland@hack.frob.com>
4994
b8493de0
RM
4995 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4996 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4997 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4998 * sysdeps/i386/configure: Regenerated.
4999 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5000 * sysdeps/mach/configure: Regenerated.
5001 * sysdeps/mach/hurd/configure: Regenerated.
5002 * sysdeps/powerpc/configure: Regenerated.
5003 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5004 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5005 * sysdeps/s390/s390-32/configure: Regenerated.
5006 * sysdeps/s390/s390-64/configure: Regenerated.
5007 * sysdeps/sh/configure: Regenerated.
5008 * sysdeps/sparc/configure: Regenerated.
5009 * sysdeps/unix/sysv/linux/configure: Regenerated.
5010 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5011 * sysdeps/x86_64/configure: Regenerated.
5012
273edc5e
RM
5013 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5014 defined. Don't check if MAP is NULL.
5015
c8450f70
JM
50162012-10-09 Joseph Myers <joseph@codesourcery.com>
5017
5018 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5019 (_G_stat64): Likewise.
5020 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5021 (_G_stat64): Likewise.
5022 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5023 instead of struct _G_stat64.
5024 * libio/fileops.c (mmap_remap_check): Likewise.
5025 (decide_maybe_mmap): Likewise.
5026 (_IO_new_file_seekoff): Likewise.
5027 (_IO_file_stat): Likewise.
5028 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5029 _G_off64_t.
5030 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5031 instead of struct _G_stat64.
5032 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5033
57e605ba
MK
50342012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5035
5036 [BZ #14602]
5037 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5038 Replace with ...
5039 (CHECK_EOL): New macro.
5040 (two_way_short_needle): Check beginning of haystack for EOL. Use
5041 CHECK_EOL.
5042 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5043 Replace with CHECK_EOL.
5044 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5045 Replace with CHECK_EOL.
5046
ef1bb361
JM
50472012-10-08 Joseph Myers <joseph@codesourcery.com>
5048
5049 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5050 type-generic.
5051 * math/libm-test.inc: Update comment listing what functions and
5052 macros are tested.
5053 (finite_test): New function.
5054 (isinf_test): Likewise.
5055 (isnan_test): Likewise.
5056 (fpclassify_test): Test subnormal input.
5057 (isfinite_test): Likewise.
5058 (isnormal_test): Likewise.
5059 (main): Call the new functions.
5060
55f11534
JN
50612012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5062
5063 [BZ #14660]
5064 * Makerules (%.dynsym): Force C locale when running
5065 $(OBJDUMP) --dynamic-syms.
5066
1ab29350
AS
50672012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5068
5069 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5070 <stdint.h>.
5071
f1ecb7ef
DM
50722012-10-06 David S. Miller <davem@davemloft.net>
5073
5074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5075 upper 32-bits of the length value in %o2 since we use branch-on-register
5076 tests which consider the entire 64-bit register.
5077
5d41d91a
L
50782012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5079
5080 * string/test-strstr.c (check2): Add a test for page boundary.
5081
3baddb72
DM
50822012-10-05 David S. Miller <davem@davemloft.net>
5083
5084 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5085 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5086 file.
5087 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5088 sysdep_routines.
5089 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5090 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5091 and bzero when HWCAP_SPARC_CRYPTO is present.
5092
9cee5585
L
50932012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5094
d7e0dab9
L
5095 [BZ #14602]
5096 * string/test-strstr.c (check2): New function.
5097 (test_main): Call check2.
5098
03759f47
L
5099 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5100 and bug-strchr1.
5101 * string/bug-strcasestr1.c (do_test): Moved to ...
5102 * string/test-strcasestr.c (check1): Here. New function.
5103 (do_one_test): Break out result checking code into ...
5104 (check_result): This. New function.
5105 (do_one_test): Call check_result.
5106 (test_main): Call check1.
5107 * string/bug-strchr1.c (do_test): Moved to ...
5108 * string/test-strchr.c (check1): Here. New function.
5109 (do_one_test): Break out result checking code into ...
5110 (check_result): This. New function.
5111 (do_one_test): Call check_result.
5112 (test_main): Call check1.
5113 * string/bug-strstr1.c (main): Moved to ...
5114 * string/test-strchr.c (check1): Here. New function.
5115 (do_one_test): Break out result checking code into ...
5116 (check_result): This. New function.
5117 (do_one_test): Call check_result.
5118 (test_main): Call check1.
5119 * string/bug-strcasestr1.c: Removed.
5120 * string/bug-strchr1.c: Likewise.
5121 * string/bug-strstr1.c: Likewise.
5122
53cea63e
L
5123 * elf/Makefile (dl-routines): Add hwcaps.
5124 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5125 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5126 (_dl_important_hwcaps): Moved to ...
5127 * elf/dl-hwcaps.c: Here. New file.
5128 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5129
9cee5585 5130 [BZ #14557]
bb859b06
L
5131 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5132 if IS_IN_rtld isn't defined.
5133
9cee5585
L
5134 * elf/dl-support.c (_dl_sysinfo_map): New.
5135 Include "get-dynamic-info.h" and "setup-vdso.h".
5136 (_dl_non_dynamic_init): Call setup_vdso.
5137 * elf/dynamic-link.h: Don't include <assert.h>.
5138 (elf_get_dynamic_info): Moved to ...
5139 * elf/get-dynamic-info.h: Here. New file.
5140 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5141 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5142 * elf/setup-vdso.h: Here. New file.
5143 * elf/rtld.c: Include "setup-vdso.h".
5144 (dl_main): Call setup_vdso.
5145
23c31b76
JM
51462012-10-05 Joseph Myers <joseph@codesourcery.com>
5147
28234b07
JM
5148 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5149 creal in comment listing functions tested. List finite, isinf,
5150 isnan, isless, islessequal, isgreater, isgreaterequal,
5151 islessgreater, isunordered, lgamma_r and pow10 as functions and
5152 macros not tested. Mention which functions not tested are aliases
5153 for other functions. Fix typo. Note that signs of NaNs are not
5154 tested.
5155
23c31b76
JM
5156 * scripts/config.guess: Update from config.git.
5157 * scripts/config.sub: Likewise.
5158
9043e228
RM
51592012-10-04 Roland McGrath <roland@hack.frob.com>
5160
5161 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5162 * misc/madvise.c (madvise): Renamed to __madvise.
5163 Make madvise a weak alias.
5164 * include/sys/mman.h: Declare __madvise.
5165 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5166 * sysdeps/unix/syscalls.list
5167 (madvise): Make __madvise the strong name, and madvise a weak alias.
5168 * sysdeps/unix/sysv/linux/syscalls.list
5169 (madvise, mmap): Remove redundant entries.
5170 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5171 * malloc/malloc.c (mtrim): Likewise.
5172 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5173
f57f8055
RM
51742012-10-03 Roland McGrath <roland@hack.frob.com>
5175
5176 * sysdeps/mach/hurd/dl-cache.c: File removed.
5177 * config.h.in (USE_LDCONFIG): New #undef.
5178 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5179 * configure: Regenerated.
5180 * elf/Makefile (dl-routines): Add dl-cache only under
5181 [$(use-ldconfig) = yes].
5182 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5183 cache on [USE_LDCONFIG].
5184 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5185 [USE_LDCONFIG].
5186 * elf/rtld.c (dl_main): Likewise.
5187
5bb0c10a
PT
51882012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5189
5190 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5191 _SC_LEVEL4_CACHE_LINESIZE.
5192
010188c6
RM
51932012-10-03 Roland McGrath <roland@hack.frob.com>
5194
5195 * sysdeps/unix/bsd/confstr.h: File removed.
5196
b6c5ec07
AO
51972012-10-02 Alexandre Oliva <aoliva@redhat.com>
5198
5199 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5200 sys/sdt-config.h.
5201
408223d4
RM
52022012-10-02 Roland McGrath <roland@hack.frob.com>
5203
5204 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5205 Make 'mapoff' field ElfW(Off) rather than off_t.
5206
bb9510dc
DL
52072012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5208
fc997c6e
DL
5209 * nscd/Makefile: Remove nscd-cflags and all its users.
5210 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5211 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5212
bb9510dc
DL
5213 [BZ #10631]
5214 * malloc.c (malloc_printerr): Clarify error message.
5215
05699367
L
52162012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5217
5218 [BZ #14648]
5219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5220 Set bit_FMA_Usable if FMA is supported.
5221 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5222 macro.
5223 (bit_FMA4_Usable): Updated.
5224 (index_FMA_Usable): New macro.
5225 (CPUID_FMA): Likewise
5226 (HAS_FMA): Defined with bit_FMA_Usable.
5227
51367701
RM
52282012-10-01 Roland McGrath <roland@hack.frob.com>
5229
5230 * bits/types.h (__swblk_t): Type removed.
5231 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5232 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5234 (__SWBLK_T_TYPE): Likewise.
5235 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5236 (__SWBLK_T_TYPE): Likewise.
5237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5238 (__SWBLK_T_TYPE): Likewise.
5239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5240 (__SWBLK_T_TYPE): Likewise.
5241
4d57bf63 52422012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5243 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5244
5245 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5246 (xdr_mapname): Use YPMAXMAP as maxsize.
5247 (xdr_peername): Use YPMAXPEER as maxsize.
5248 (xdr_keydat): Use YPAXRECORD as maxsize.
5249 (xdr_valdat): Use YPMAXRECORD as maxsize.
5250
93c65d43
RM
52512012-10-01 Roland McGrath <roland@hack.frob.com>
5252
497a03d6
RM
5253 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5254
93c65d43
RM
5255 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5256 * csu/init-first.c: ... here.
5257 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5258 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5259 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5260 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5261 * sysdeps/i386/init-first.c: File removed.
5262 * sysdeps/sh/init-first.c: File removed.
5263
bec749fd
JM
52642012-10-01 Joseph Myers <joseph@codesourcery.com>
5265
5266 [BZ #14645]
5267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5268 if x * y might underflow to zero and z is zero.
5269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5271 * math/libm-test.inc (min_subnorm_value): New variable.
5272 (fma_test): Add more tests.
5273 (fma_test_towardzero): Likewise.
5274 (fma_test_downward): Likewise
5275 (fma_test_upward): Likewise.
5276 (initialize): Set min_subnorm_value.
5277
8ec5b013
JM
52782012-09-29 Joseph Myers <joseph@codesourcery.com>
5279
5280 [BZ #14638]
5281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5282 0 + 0.
5283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5284 mode for addition resulting in exact zero.
5285 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5287 exact 0 + 0.
5288 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5289 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5290 * math/libm-test.inc (fma_test): Add more tests.
5291 (fma_test_towardzero): New function.
5292 (fma_test_downward): Likewise.
5293 (fma_test_upward): Likewise.
5294 (main): Call the new functions.
5295
b1fa802e
DM
52962012-09-28 David S. Miller <davem@davemloft.net>
5297
5298 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5299
d3b9fd9e
RM
53002012-09-28 Roland McGrath <roland@hack.frob.com>
5301
ea4d37b3
RM
5302 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5303 instead of SIGALRM.
5304
ac51c949
RM
5305 * sysdeps/gnu/_G_config.h: Moved to ...
5306 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5307 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5308 * sysdeps/generic/_G_config.h: ... here.
5309
28c195f7
RM
5310 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5311
848917f9
RM
5312 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5313
6bacf05b
RM
5314 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5315 Conditionalize target on [libnss_test1.so-version].
5316
91363dbb
RM
5317 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5318
cc87f7d8
RM
5319 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5320 (elfobjdir): Move out of conditionals.
5321
b1c608fe
RM
5322 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5323 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5324 (__nss_lookup_function): Conditionalize label remove_from_tree on
5325 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5326
1d9a6d96
DM
53272012-09-28 David S. Miller <davem@davemloft.net>
5328
5329 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5330 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5331 file.
5332 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5333 sysdep_routines.
5334 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5336 when HWCAP_SPARC_CRYPTO is present.
5337
72581615
PT
53382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5339
5340 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5341
715a900c
JL
53422012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5343
5344 [BZ #6530]
5345 * stdio-common/vfprintf.c (process_string_arg): Revert
5346 2000-07-22 change.
5347
53482011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5349
5350 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5351 for testcase.
5352 * stdio-common/tst-sprintf.c: Include <locale.h>
5353 (main): Test sprintf's handling of incomplete multibyte
5354 characters.
5355
9bac1d86
L
53562012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5357
5358 * elf/dl-runtime.c (VERSYMIDX): Removed.
5359 * elf/dl-version.c (VERSYMIDX): Likewise.
5360 * elf/do-rel.h (VERSYMIDX): Likewise.
5361 (VALIDX): Likewise.
5362 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5363 * elf/rtld.c (VALIDX): Likewise.
5364 (ADDRIDX): Likewise.
9bac1d86
L
5365 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5366 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5367 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5368 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5369 (VALIDX): Likewise.
5370 (ADDRIDX): Likewise.
9bac1d86 5371
b31606c0
PT
53722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5373
5374 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5375
11541177
JL
53762012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5377
5378 [BZ #11438]
5379 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5380 to global scope.
5381 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5382 addresses are in the same scope as 192.0.2/24.
5383 * posix/gai.conf: Document new scope table defaults.
5384
adb26fae
SP
53852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5386
5387 [BZ #5298]
5388 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5389 for ftell. Compute offsets from write pointers instead.
5390 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5391
4573c6b0
SP
53922012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5393
5394 [BZ #14543]
5395 * libio/Makefile (tests): New test case tst-fseek.
5396 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5397 combination works in wide mode.
5398 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5399 state when the external buffer state changes.
5400
aa9bbfe6
DM
54012012-09-27 David S. Miller <davem@davemloft.net>
5402
5403 [BZ #14376]
5404 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5405 pass reloc->r_addend in as the 'high' argument to
5406 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5407
784421e7
DM
5408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5409
c39bc8b8
PT
54102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5411
5412 * rt/tst-aio2.c: Include <pthread.h>.
5413 * rt/tst-aio3.c: Likewise.
5414
1ccc2399
SE
54152012-09-27 Steve Ellcey <sellcey@mips.com>
5416
5417 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5418
31ed4153
L
54192012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5420
25f5f885
L
5421 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5422 contents on [SHARED].
31ed4153 5423
b7bfe116
MP
54242012-09-26 Marek Polacek <polacek@redhat.com>
5425
5426 [BZ #14530]
5427 [BZ #13741]
5428 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5429 for C++ and GCC <4.3 as well as for non GCC compilers.
5430
43c4edba
MT
54312012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5432
5433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5434
6a1bf82f
RM
54352012-09-25 Roland McGrath <roland@hack.frob.com>
5436
5437 * Makefile.in (all, install): Declare with .PHONY.
5438 Reported by Michael Hope <michael.hope@linaro.org>.
5439
8ad11b9a
TMQMF
54402012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5441
5442 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5443 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5444 system header.
5445 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5446 Likewise.
5447 (sydep_routines): Add the new and the internal functions.
5448 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5449 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5451 (GLIBC_2.17): Add the new function.
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5453 (GLIBC_2.17): Likewise.
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5455 (GLIBC_2.17): Likewise.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5457 (GLIBC_2.17): Likewise.
5458 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5459
7e2fca8d
AM
54602012-09-25 Alan Modra <amodra@gmail.com>
5461
5462 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5463 Add release barrier before setting once_control to say
5464 initialisation is done. Add hints on lwarx. Use macro in
5465 place of isync.
5466 (clear_once_control): Add release barrier.
5467
b87c4b24
JM
54682012-09-25 Joseph Myers <joseph@codesourcery.com>
5469
d032e0d2
JM
5470 [BZ #13629]
5471 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5472 specially.
5473 * math/s_clog10.c (__clog10): Likewise.
5474 * math/s_clog10f.c (__clog10f): Likewise.
5475 * math/s_clog10l.c (__clog10l): Likewise.
5476 * math/s_clogf.c (__clogf): Likewise.
5477 * math/s_clogl.c (__clogl): Likewise.
5478 * math/Makefile (libm-calls): Add x2y2m1.
5479 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5480 (__x2y2m1): Likewise.
5481 (__x2y2m1l): Likewise.
5482 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5483 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5486 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5487 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5488 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5489 * sysdeps/i386/fpu/libm-test-ulps: Update.
5490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5491
b87c4b24
JM
5492 [BZ #14621]
5493 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5494 int as type of variable DEPTH.
5495 (glob): Use size_t instead of int as type of variables NEWCOUNT
5496 and OLD_PATHC.
5497
6d3bf199
LD
54982012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5499
22bf5c17
LD
5500 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5501 Add s_sincosf-sse2.
5502 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5503 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5504 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5505 macros for using routine as __sincosf_ia32.
5506 Use macro for function declaration and weak_alias.
5507 * sysdeps/i386/fpu/libm-test-ulps: Update.
5508
5509 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5511
5512 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5513 subnormal argument.
5514 * math/s_cexpf.c (__cexpf): Likewise.
5515 * math/s_csinf.c (__csinf): Likewise.
5516 * math/s_csinhf.c (__csinhf): Likewise.
5517 * math/s_ctanf.c (__ctanf): Likewise.
5518 * math/s_ctanhf.c (__ctanhf): Likewise.
5519 * math/s_ccosh.c (__ccoshf): Likewise.
5520 * math/s_cexp.c (__cexpl): Likewise.
5521 * math/s_csin.c (__csin): Likewise.
5522 * math/s_csinh.c (__csinh): Likewise.
5523 * math/s_ctan.c (__ctan): Likewise.
5524 * math/s_ctanh.c (ctanh): Likewise.
5525 * math/s_ccoshl.c (__ccoshl): Likewise.
5526 * math/s_cexpl.c (__cexpl): Likewise.
5527 * math/s_csinl.c (__csinl): Likewise.
5528 * math/s_csinhl.c (__csinhl): Likewise.
5529 * math/s_ctanl.c (__ctanl): Likewise.
5530 * math/s_ctanhl.c (__ctanhl): Likewise.
5531
203e5603
JM
55322012-09-25 Joseph Myers <joseph@codesourcery.com>
5533
5534 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5535 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5536 (_IO_off_t): Define to __off_t, not _G_off_t.
5537 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5538 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5539 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5540 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5541 type of __dummy and __dummy2 fields.
5542 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5543 (_G_ssize_t): Likewise.
5544 (_G_off_t): Likewise.
5545 (_G_pid_t): Likewise.
5546 (_G_uid_t): Likewise.
5547 (_G_wchar_t): Likewise.
5548 (_G_wint_t): Likewise.
5549 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5550 (_G_ssize_t): Likewise.
5551 (_G_off_t): Likewise.
5552 (_G_pid_t): Likewise.
5553 (_G_uid_t): Likewise.
5554 (_G_wchar_t): Likewise.
5555 (_G_wint_t): Likewise.
5556 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5557 (_G_ssize_t): Likewise.
5558 (_G_off_t): Likewise.
5559 (_G_pid_t): Likewise.
5560 (_G_uid_t): Likewise.
5561 (_G_wchar_t): Likewise.
5562 (_G_wint_t): Likewise.
5563
9fab36eb
SP
55642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5565
5566 * malloc/arena.c: Include malloc-sysdep.h.
5567 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5568 is sufficient to shrink the heap or an unmap is needed.
5569 * sysdeps/generic/malloc-sysdep.h: New file. Define
5570 new function check_may_shrink_heap.
5571 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5572 new function check_may_shrink_heap.
5573
2b4f00d1
SP
55742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5575
5576 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5577 comments.
5578
9a9028b1
DL
55792012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5580
57c69bef
DL
5581 * catgets/test-gencat.sh: Add "set -e".
5582 * elf/tst-pathopt.sh: Likewise.
5583 * grp/tst_fgetgrent.sh: Likewise.
5584 * iconvdata/run-iconv-test.sh: Likewise.
5585 * intl/tst-gettext.sh: Likewise.
5586 * intl/tst-gettext2.sh: Likewise.
5587 * intl/tst-gettext4.sh: Likewise.
5588 * intl/tst-gettext6.sh: Likewise.
5589 * intl/tst-translit.sh: Likewise.
5590 * io/ftwtest-sh: Likewise.
5591 * libio/test-freopen.sh: Likewise.
5592 * malloc/tst-mtrace.sh: Likewise.
5593 * posix/globtest.sh: Likewise.
5594 * posix/tst-getconf.sh: Likewise.
5595 * posix/wordexp-tst.sh: Likewise.
5596 * stdio-common/tst-printf.sh: Likewise.
5597 * stdio-common/tst-unbputc.sh: Likewise.
5598 * stdlib/tst-fmtmsg.sh: Likewise.
5599 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5600 * catgets/Makefile: Do not specify -e option when running
5601 testsuite shell scripts.
5602 * elf/Makefile: Likewise.
5603 * grp/Makefile: Likewise.
5604 * iconvdata/Makefile: Likewise.
5605 * intl/Makefile: Likewise.
5606 * io/Makefile: Likewise.
5607 * libio/Makefile: Likewise.
5608 * malloc/Makefile: Likewise.
5609 * posix/Makefile: Likewise.
5610 * stdio-common/Makefile: Likewise.
5611 * stdlib/Makefile: Likewise.
5612 * sysdeps/x86_64/Makefile: Likewise.
5613
9a9028b1
DL
5614 * io/ftwtest-sh: Add copyright header.
5615 * posix/globtest.sh: Likewise.
5616 * posix/tst-getconf.sh: Likewise.
5617 * posix/wordexp-tst.sh: Likewise.
5618 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5619
ced6f16e
L
56202012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5621
94b32c39
L
5622 [BZ #13679]
5623 * Makeconfig (+link): Defined as $(+link-static) if
5624 $(build-shared) isn't yes.
5625 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5626 isn't yes.
5627 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5628
189e935b
L
5629 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5630
ced6f16e
L
5631 [BZ #14562]
5632 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5633 new chunk size with MALLOC_ALIGN_MASK.
5634
a9f8e53a
JM
56352012-09-24 Joseph Myers <joseph@codesourcery.com>
5636
5637 [BZ #5044]
5638 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5639 <rounding-mode.h>.
5640 (__printf_fphex): Determine rounding using get_rounding_mode and
5641 round_away.
5642 * stdio-common/tst-printf-round.c (struct hex_test): New
5643 structure.
5644 (hex_tests): New variable.
5645 (test_hex_in_one_mode): New function.
5646 (do_test): Also run tests for hex float output.
5647
43153109
JM
56482012-09-21 Joseph Myers <joseph@codesourcery.com>
5649
5650 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5651 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5652 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5653 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5654 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5655 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5656 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5657 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5658
8a26625d
JM
56592012-09-20 Joseph Myers <joseph@codesourcery.com>
5660
5661 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5662 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5663 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5664 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5665
f3fd569c
DL
56662012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5667
5668 [BZ #14579]
5669 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5670 mode only.
5671 * elf/tst-rtld-load-self.sh: New test.
5672 * elf/Makefile: Run it.
5673
63bbedd4
JM
56742012-09-18 Joseph Myers <joseph@codesourcery.com>
5675
5676 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5677 (tst-writev-ENV): Remove.
5678 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5679
626f8b6a
CM
56802012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5681
5682 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5683
b7aaa4d6
JM
56842012-09-17 Joseph Myers <joseph@codesourcery.com>
5685
5686 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5687 unconditional.
5688 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5689 Likewise.
5690 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5691 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5692 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5693 Likewise.
5694
65513990
L
56952012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5696
5697 [BZ #14587]
5698 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5699 * config.make.in (have-cpp-asm-debuginfo): Removed.
5700 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5701 * configure: Regenerated.
5702
784761be
JM
57032012-09-14 Joseph Myers <joseph@codesourcery.com>
5704
5705 [BZ #5044]
5706 * stdio-common/printf_fp.c: Include <stdbool.h> and
5707 <rounding-mode.h>.
5708 (___printf_fp): Determine rounding using get_rounding_mode and
5709 round_away.
5710 * stdio-common/tst-printf-round.c: New file.
5711 * stdio-common/Makefile (tests): Add tst-printf-round.
5712 (link-libm): New variable.
5713 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5714
9503345f
L
57152012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5716
5717 [BZ #14576]
5718 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5719 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5720 Likewise.
5721 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5722 Likewise.
5723
ad35fc00
JM
57242012-09-13 Joseph Myers <joseph@codesourcery.com>
5725
5726 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5727 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5728 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5729 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5730
6c9b0f68
JM
57312012-09-12 Joseph Myers <joseph@codesourcery.com>
5732
5733 [BZ #14518]
5734 * include/rounding-mode.h: New file.
5735 * sysdeps/generic/get-rounding-mode.h: Likewise.
5736 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5737 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5738 (MAX_VALUE): New macro.
5739 (MIN_VALUE): Likewise.
5740 (overflow_value): New function.
5741 (underflow_value): Likewise.
5742 (round_and_return): Use overflow_value and underflow_value to
5743 determine return values in overflow and underflow cases. Use
5744 round_away to determine rounding depending on rounding mode.
5745 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5746 determine return values in overflow and underflow cases.
5747 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5748 (struct test_results): New structure.
5749 (struct test): Use struct test_results to store expected results
5750 for all rounding modes.
5751 (TEST): Include expected results for all rounding modes.
5752 (test_in_one_mode): New function.
5753 (do_test): Use test_in_one_mode to compute and check results.
5754 Check results for all rounding modes.
5755 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5756 $(link-libm).
5757
19fcedd5
AM
57582012-12-09 Allan McRae <allan@archlinux.org>
5759
1e9d84cd 5760 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5761
8bbfd2f1
JM
57622012-09-11 Joseph Myers <joseph@codesourcery.com>
5763
5764 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5765 (_G_int32_t): Likewise.
5766 (_G_uint16_t): Likewise.
5767 (_G_uint32_t): Likewise.
5768 (_G_HAVE_BOOL): Likewise.
5769 (_G_HAVE_ATEXIT): Likewise.
5770 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5771 (_G_HAVE_IO_FILE_OPEN): Likewise.
5772 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5773 (_G_int32_t): Likewise.
5774 (_G_uint16_t): Likewise.
5775 (_G_uint32_t): Likewise.
5776 (_G_HAVE_BOOL): Likewise.
5777 (_G_HAVE_ATEXIT): Likewise.
5778 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5779 (_G_HAVE_IO_FILE_OPEN): Likewise.
5780 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5781 (_G_int32_t): Likewise.
5782 (_G_uint16_t): Likewise.
5783 (_G_uint32_t): Likewise.
5784 (_G_HAVE_BOOL): Likewise.
5785 (_G_HAVE_ATEXIT): Likewise.
5786 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5787 (_G_HAVE_IO_FILE_OPEN): Likewise.
5788
b1dc5912
L
57892012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5790
5791 * csu/libc-tls.c: Update copyright years.
5792
0e886ef9
JM
57932012-09-10 Joseph Myers <joseph@codesourcery.com>
5794
28361c5e
JM
5795 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5796 [!_G_USING_THUNKS]: Remove conditional code.
5797 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5798 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5799
0e886ef9
JM
5800 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5801 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5802 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5803 (_G_VTABLE_LABEL_PREFIX): Likewise.
5804 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5805 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5806 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5807 (_G_VTABLE_LABEL_PREFIX): Likewise.
5808 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5809 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5810 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5811 (_G_VTABLE_LABEL_PREFIX): Likewise.
5812 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5813
bcba7aa2
L
58142012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5815
5816 * libio/Makefile: Include ../Makeconfig before tests.
5817 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5818 only if $(build-shared) is yes.
5819
06585ee8
L
5820 * iconv/gconv_db.c: Update copyright years.
5821
80ccd52c
LD
58222012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5823
5824 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5825 unwind info if defined PIC. Fix special cases description.
5826 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5827
5828 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5829 DP_HI_MASK entry.
5830 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5831
691bc9c1
L
58322012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5833
3d9b46b3
L
5834 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5835
de2139a9
L
5836 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5837 is NULL.
5838
5ca78dd0
L
5839 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5840 (LDLIBS-tst-chk4): This.
5841 (LDFLAGS-tst-chk5): Renamed to ...
5842 (LDLIBS-tst-chk5): This.
5843 (LDFLAGS-tst-chk6): Renamed to ...
5844 (LDLIBS-tst-chk6): This.
5845 (LDFLAGS-tst-lfschk4): Renamed to ...
5846 (LDLIBS-tst-lfschk4): This.
5847 (LDFLAGS-tst-lfschk5): Renamed to ...
5848 (LDLIBS-tst-lfschk5): This.
5849 (LDFLAGS-tst-lfschk6): Renamed to ...
5850 (LDLIBS-tst-lfschk6): This.
5851
691bc9c1
L
5852 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5853 on $(common-objpfx)soversions.mk.
5854
65cafb1c
JM
58552012-09-07 Joseph Myers <joseph@codesourcery.com>
5856
5857 [BZ #10014]
5858 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5859 example host name.
5860
c78ab094
SP
58612012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5862
5863 * malloc/arena.c (arena_get_retry): New function that gets
5864 another arena for the caller to try its request on.
5865 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5866 current arena cannot fulfill the request.
5867 (__libc_memalign): Likewise.
5868 (__libc_memalign): Likewise.
5869 (__libc_pvalloc): Likewise.
5870 (__libc_calloc): Likewise.
5871
01f49f59
JT
58722012-09-05 John Tobey <john.tobey@gmail.com>
5873
5874 [BZ #13542]
5875 * manual/arith.texi (Operations on Complex): Fix description
5876 of carg branch cut.
5877
4c23fed5
JM
58782012-09-06 Joseph Myers <joseph@codesourcery.com>
5879
1d3c8572
JM
5880 [BZ #10014]
5881 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5882 host name.
5883
4c23fed5
JM
5884 [BZ #10038]
5885 * manual/memory.texi (Memory): Make order of menu items match
5886 order of sections.
5887
04570aaa
L
58882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5889
5890 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5891 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5892 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5893
b80af2f4
L
58942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5895
5896 * csu/libc-tls.c (static_dtv): Renamed to ...
5897 (_dl_static_dtv): This. Make it global.
5898 (_dl_initial_dtv): Removed.
5899 (__libc_setup_tls): Updated.
5900 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5901 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5902 DL_INITIAL_DTV.
5903
2abe9f15
PM
59042012-09-06 Petr Machata <pmachata@redhat.com>
5905
5906 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5907 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5908 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5909 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5910
0948c3af
L
59112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5912
5913 [BZ #14545]
5914 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5915 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5916 freeing dtv[-1].
5917
a5055ad1
L
59182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5919
5920 [BZ #14544]
5921 * Makeconfig (link-static-before-libc): Replace $(+prector)
5922 with $(+prectorT).
5923 (link-static-after-libc): Replace $(+postctor) with
5924 $(+postctorT).
5925 (link-bounded): Replace $(+prector)/$(+postctor) with
5926 $(+prectorT)/$(+postctorT).
5927 (+prectorT): New macro.
5928 (+postctorT): Likewise.
5929
ed8c2ecd
JM
59302012-09-06 Joseph Myers <joseph@codesourcery.com>
5931
5932 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5933 (round_str): Handle values above the maximum for IBM long double
5934 as inexact.
5935 * stdlib/tst-strtod-round.c (tests): Regenerated.
5936
14c996c8
AK
59372012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5938
5939 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5940 assembler flag.
5941 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5942 zarch_nohighgprs around the zarch optimized routines.
5943 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5944 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5945 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5946 for zarch.
5947
430d6ce6
DM
59482012-09-05 David S. Miller <davem@davemloft.net>
5949
5950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5951
ff04dda4
DM
5952 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5953 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5954 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5955 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5956 entries.
5957
24d4e01b
AO
59582012-09-05 Alexandre Oliva <aoliva@redhat.com>
5959
5960 * malloc/arena.c: Fold copyright years.
5961 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5962
61d58174
AO
59632012-09-05 Alexandre Oliva <aoliva@redhat.com>
5964
5965 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5966
20196a5e
AO
59672012-09-05 Alexandre Oliva <aoliva@redhat.com>
5968
5969 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5970
5c447383
AO
59712012-09-05 Alexandre Oliva <aoliva@redhat.com>
5972
5973 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5974 change internal state upon failure.
5975
fad64255
AO
59762012-09-05 Alexandre Oliva <aoliva@redhat.com>
5977
5978 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5979 * malloc/memusage.c (mmap): Likewise.
5980 (mmap64, mremap): Likewise. Adjust name in comment.
5981
1ffb8c90
SP
59822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5983
5984 * libio/fileops.c: Fix typos in comments.
5985 * libio/oldfileops.c: Likewise.
5986 * libio/wfileops.c: Likewise.
5987
6ef9cc37
SP
59882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5989
5990 [BZ #1349]
5991 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5992 (tst-malloc-usable-ENV): Set environment for test case.
5993 * malloc/hooks.c (malloc_check_get_size): New function to get
5994 requested size.
5995 * malloc/malloc.c (musable): Use malloc_check_get_size.
5996 * malloc/tst-malloc-usable.c: New test case.
5997
4d038ae3
AS
59982012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5999
6000 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6001
c4e85184
AM
60022012-09-05 Allan McRae <allan@archlinux.org>
6003
b9dafc56 6004 [BZ #13966]
c4e85184
AM
6005 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6006 determine header location.
6007 * configure: Regenerated.
6008
e1343020
AS
60092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6010
6011 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6012 float format.
6013 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6014 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6015 format.
e1343020
AS
6016 (test): Regenerate.
6017
0a9f1987
DM
60182012-09-04 David S. Miller <davem@davemloft.net>
6019
6020 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6021 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6022 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6023
29237804
FW
60242012-09-04 Florian Weimer <fweimer@redhat.com>
6025
6026 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6027 failures.
6028
edb3cb88
FW
6029 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6030
60160d83
JM
60312012-09-04 Joseph Myers <joseph@codesourcery.com>
6032
6033 [BZ #9914]
6034 * libio/iogetdelim.c: Include <limits.h>.
6035 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6036 + len + 1 would overflow.
6037
bcd6c8dc
AJ
60382012-09-03 Andreas Jaeger <aj@suse.de>
6039
6040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042
4ffffbd2
LD
60432012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6044
6045 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6046 Add s_sinf-sse2, s_conf-sse2.
6047
6048 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6049 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6050 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6051 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6052
6053 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6054 for using routine as __sinf_ia32.
6055 Use macro for function declaration and weak_alias.
6056 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6057 for using routine as __cosf_ia32.
6058 Use macro for function declaration and weak_alias.
6059
6060 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6061 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6062
6063 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6064 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6066
6067 * math/libm-test.inc (cos_test): Add more test cases.
6068 (sin_test): Likewise.
6069 (sincos_test): Likewise.
6070
511fa286
AK
60712012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6072
6073 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6074 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6075 hidden.
6076 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6077
5f30cfec
L
60782012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6079
6080 [BZ #14538]
6081 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6082 first element of the GOT.
6083 (elf_machine_load_address): Return the difference between
6084 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6085
0786794f
AM
60862012-09-01 Allan McRae <allan@archlinux.org>
6087
5f30cfec
L
6088 [BZ #13412]
6089 * configure.in (AWK): Require gawk version 3.0 or later.
6090 * configure: Regenerated.
0786794f 6091
26889eac
JM
60922012-09-01 Joseph Myers <joseph@codesourcery.com>
6093
6094 * sysdeps/unix/sysv/linux/kernel-features.h
6095 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6096 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6097 [__NR_clock_getres]: Make code unconditional.
6098 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6099 (clock_getcpuclockid): Remove code left unreachable by removal of
6100 conditionals.
6101 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6102 code unconditional.
6103 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6104 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6105 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6106 Make code unconditional.
6107 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6108 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6109 * sysdeps/unix/sysv/linux/clock_settime.c
6110 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6111 conditional code.
6112 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6113 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6114
d22e28b0
L
61152012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6116
6117 [BZ #14476]
6118 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6119 scripts/test-installation.pl.
6120
6121 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6122 and $ld_so_version if it is set.
6123
050af9c4
SP
61242012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6125
6126 [BZ #14516]
6127 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6128 failure if reading from procfs failed.
6129 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6130
ad845c0b
JM
61312012-08-27 Joseph Myers <joseph@codesourcery.com>
6132
6133 * sysdeps/unix/sysv/linux/kernel-features.h
6134 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6135 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6136 Remove conditional code.
6137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6138 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6139 Remove conditional code.
6140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6141 * sysdeps/unix/sysv/linux/i386/fxstat.c
6142 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6143 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6144 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6145 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6147 * sysdeps/unix/sysv/linux/i386/lxstat.c
6148 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6150 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6151 Remove conditional code.
6152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6153 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6154 Remove conditional code.
6155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6156 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6157 <kernel-features.h>.
6158 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6159 Remove.
6160 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6161 Remove conditional code.
6162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6163 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6164 Remove conditional.
6165
5dbf56af
MF
61662012-08-27 Mike Frysinger <vapier@gentoo.org>
6167
6168 [BZ #5400]
6169 * NEWS: Add fixed bug number.
6170
d6e70f43
JM
61712012-08-27 Joseph Myers <joseph@codesourcery.com>
6172
7efb4737
JM
6173 [BZ #14519]
6174 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6175 underflowing exponent in case of negative sign.
6176 * stdlib/tst-strtod-round-data: Add more tests.
6177 * stdlib/tst-strtod-round.c (tests): Regenerated.
6178
af92131a
JM
6179 [BZ #3479]
6180 * stdlib/strtod_l.c (NDIG): Remove.
6181 (HEXNDIG): Likewise.
6182 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6183 smallest representable value.
6184 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6185 lie within an exact representation of 1/2 ulp of the result.
6186 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6187 unconditionally.
6188 (TENS_P9_IDX): Define unconditionally.
6189 (TENS_P9_SIZE): Likewise.
6190 (TENS_P10_IDX): Likewise.
6191 (TENS_P10_SIZE): Likewise.
6192 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6193 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6194 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6195 entries for 10^2^13 and 10^2^14.
6196 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6197 (TENS_P13_IDX): Define.
6198 (TENS_P13_SIZE): Likewise.
6199 (TENS_P14_IDX): Likewise.
6200 (TENS_P14_SIZE): Likewise.
6201 (_fpioconst_pow10): Change array size to
6202 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6203 unconditional.
6204 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6205 1024]: Add entries for 10^2^13 and 10^2^14.
6206 [LAST_POW10 > _LAST_POW10]: Remove #error.
6207 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6208 (_fpioconst_pow10): Change array size to
6209 FPIOCONST_POW10_ARRAY_SIZE.
6210 * stdlib/gen-fpioconst.c: New file.
6211 * stdlib/gen-tst-strtod-round.c: Likewise.
6212 * stdlib/tst-strtod-round-data: Likewise.
6213 * stdlib/tst-strtod-round.c: Likewise.
6214 * stdlib/Makefile (tests): Add tst-strtod-round.
6215
d6e70f43
JM
6216 [BZ #14459]
6217 * stdlib/strtod_l.c: Include <stdint.h>.
6218 (NDEBUG): Do not define.
6219 (round_and_return): Change EXPONENT parameter to type intmax_t.
6220 Rearrange calculations to avoid internal overflow possibilities.
6221 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6222 Rearrange calculations to avoid internal overflow possibilities.
6223 Assert that number fits inside MPNSIZE limbs.
6224 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6225 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6226 calculations and add assertions to avoid internal overflow
6227 possibilities. Add casts to avoid signed/unsigned operations.
6228 * stdlib/tst-strtod-overflow.c: New file.
6229 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6230
1f529f7d
MP
62312012-08-25 Marek Polacek <polacek@redhat.com>
6232
6233 * time/time.h: Fix some typos in comments.
6234
59a629f1
RM
62352012-08-23 Roland McGrath <roland@hack.frob.com>
6236
6237 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6238 * posix/tst-rfc3484-2.c: Likewise.
6239 * posix/tst-rfc3484-3.c: Likewise.
6240
d3bafbc9
SM
62412012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6242
6243 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6244 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6245
4efcc022
JM
62462012-08-23 Joseph Myers <joseph@codesourcery.com>
6247
6248 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6249 #include of fxstatat64.c.
6250
3cc3ef96
RM
62512012-08-22 Roland McGrath <roland@hack.frob.com>
6252
f04e2132
RM
6253 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6254 * shadow/getspent_r.c: Likewise.
6255 * shadow/getspnam.c: Likewise.
6256 * shadow/getspnam_r.c: Likewise.
6257 * gshadow/getsgent.c: Likewise.
6258 * gshadow/getsgent_r.c: Likewise.
6259 * gshadow/getsgnam.c: Likewise.
6260 * gshadow/getsgnam_r.c: Likewise.
6261 * inet/getnetbyad.c: Likewise.
6262 * inet/getnetbyad_r.c: Likewise.
6263 * inet/getnetbynm.c: Likewise.
6264 * inet/getnetbynm_r.c: Likewise.
6265 * inet/getnetent.c: Likewise.
6266 * inet/getnetent_r.c: Likewise.
6267 * inet/getproto.c: Likewise.
6268 * inet/getproto_r.c: Likewise.
6269 * inet/getprtent.c: Likewise.
6270 * inet/getprtent_r.c: Likewise.
6271 * inet/getprtname.c: Likewise.
6272 * inet/getprtname_r.c: Likewise.
6273 * inet/getrpcbyname.c: Likewise.
6274 * inet/getrpcbyname_r.c: Likewise.
6275 * inet/getrpcbynumber.c: Likewise.
6276 * inet/getrpcbynumber_r.c: Likewise.
6277 * inet/getrpcent.c: Likewise.
6278 * inet/getrpcent_r.c: Likewise.
6279 * inet/getaliasent.c: Likewise.
6280 * inet/getaliasent_r.c: Likewise.
6281 * inet/getaliasname.c: Likewise.
6282 * inet/getaliasname_r.c: Likewise.
6283 * nscd/getgrgid_r.c: Likewise.
6284 * nscd/getgrnam_r.c: Likewise.
6285 * nscd/gethstbyad_r.c: Likewise.
6286 * nscd/gethstbynm3_r.c: Likewise.
6287 * nscd/getpwnam_r.c: Likewise.
6288 * nscd/getpwuid_r.c: Likewise.
6289 * nscd/getsrvbynm_r.c: Likewise.
6290 * nscd/getsrvbypt_r.c: Likewise.
6291 * nscd/gai.c: Likewise.
6292
c53d909c
RM
6293 * configure.in (build_nscd): New substituted variable, set
6294 by --disable-build-nscd and defaults to $use_nscd.
6295 * configure: Regenerated.
6296 * config.make.in (build-nscd): New substituted variable.
6297 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6298 Change conditional to require [$(build-nscd) = yes] as well.
6299 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6300
3cc3ef96
RM
6301 [BZ# 13696]
6302 * configure.in (use_nscd): New substituted variable, set by
6303 --disable-nscd. If enabled, define USE_NSCD.
6304 * configure: Regenerated.
6305 * config.h.in: Add USE_NSCD.
6306 * config.make.in (use-nscd): New substituted variable.
6307 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6308 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6309 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6310 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6311 (CFLAGS-getgrnam_r.c): Likewise.
6312 (CFLAGS-initgroups.c): Likewise.
6313 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6314 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6315 Variables removed.
6316 * inet/getnetgrent_r.c
6317 (nscd_setnetgrent): New function, broken out of ...
6318 (setnetgrent): ... here. Call it.
6319 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6320 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6321 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6322 * nscd/Makefile (routines, aux): Move definitions after include of
6323 Makeconfig. Conditionalize on [$(use-nscd) != no].
6324 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6325 Conditionalize on [USE_NSCD].
6326 (is_nscd, nscd_init_cb): Likewise.
6327 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6328 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6329 * nss/nss_db/db-init.c: Likewise.
6330 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6331 [USE_NSCD].
6332 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6333 (make_request): Use it.
6334 (cache_valid_p): New function.
6335 (__check_pf): Use it.
6336 * NEWS: Add item for --disable-nscd.
6337
07e51550
DL
63382012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6339
6340 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6341 to support sed >= 4.2.1-20-ga9bf076.
6342 * configure: Regenerated.
6343
35a5b08b
RM
63442012-08-22 Roland McGrath <roland@hack.frob.com>
6345
6346 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6347 Conditionalize whole body on [IREL].
6348
8479f23a
JL
63492012-08-22 Jeff Law <law@redhat.com>
6350
6351 [BZ #14505]
6352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6353 if the family is PF_UNSPEC.
6354
48da0b21
MF
63552012-08-22 Mike Frysinger <vapier@gentoo.org>
6356
6357 * Makerules (lib-version): Rename from V.
6358 (install-lib-nosubdir): Change V to lib-version.
6359
15d0da8c
WS
63602012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6361
6362 [BZ #14252]
6363 * powerpc32/power6/wcschr.c: New file.
6364 * powerpc32/power6/wcscpy.c: New file.
6365 * powerpc32/power6/wcsrchr.c: New file.
6366 * powerpc64/power6/wcschr.c: New file.
6367 * powerpc64/power6/wcscpy.c: New file.
6368 * powerpc64/power6/wcsrchr.c: New file.
6369
bcca0895
MK
63702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6371
6372 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6373 (two_way_short_needle): Use it.
5a4aaa33
RM
6374 * string/strstr.c (AVAILABLE1_USES_J): Define.
6375 * string/strcasestr.c: Likewise.
99677e57
MK
6376
6377 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6378 array references.
6379 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6380
400726de
MK
6381 [BZ #11607]
6382 * NEWS: Add an entry.
6383 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6384 define their defaults.
6385 (two_way_short_needle): Detect end-of-string on-the-fly.
6386 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6387 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6388 * string/bug-strcasestr1.c: New test.
6389 * string/Makefile: Run it.
6390
20a71f2c
MK
63912012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6392
6393 [BZ #11607]
6394 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6395 the first character.
6396
21ad0558
RM
63972012-08-21 Roland McGrath <roland@hack.frob.com>
6398
6399 * csu/elf-init.c (__libc_csu_irel): Function removed.
6400 * csu/libc-start.c (apply_irel): New function.
6401 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6402
0e1d9911
JM
64032012-08-21 Joseph Myers <joseph@codesourcery.com>
6404
6405 * sysdeps/unix/sysv/linux/kernel-features.h
6406 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6407 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6408 <kernel-features.h>.
6409 [__NR_fadvise64_64]: Make code unconditional.
6410 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6411 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6412 !__NR_fadvise64_64)]: Likewise.
6413 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6414 !__NR_fadvise64_64))]: Likewise.
6415 [__NR_fadvise64]: Make code unconditional.
6416 [!__NR_fadvise64]: Remove conditional code.
6417 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6418 <kernel-features.h>.
6419 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6420 unconditional.
6421 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6422 conditional code.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6424 not include <kernel-features.h>.
6425 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6426 unconditional.
6427 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6428 conditional code.
6429 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6430 include <kernel-features.h>.
6431 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6432 unconditional.
6433 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6434 conditional code.
6435
14a50c9d
WS
64362012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6437
6438 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6439 slight instruction rearrangements per scrollpipe analysis.
6440 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6441
c0f4faf0
RM
64422012-08-20 Roland McGrath <roland@hack.frob.com>
6443
696da859
RM
6444 * manual/syslog.texi (syslog; vsyslog, closelog):
6445 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6446 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6447
c0f4faf0
RM
6448 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6449 DSOCAPS to match condition on defining it.
6450
348363b2
JM
64512012-08-20 Joseph Myers <joseph@codesourcery.com>
6452
a35cbf28
JM
6453 * sysdeps/unix/sysv/linux/kernel-features.h
6454 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6456 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6457 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6459 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6460 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6462 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6463 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6464
445f7ecd
JM
6465 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6466 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6467
348363b2
JM
6468 * sysdeps/unix/sysv/linux/kernel-features.h
6469 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6470 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6471 unconditional.
6472 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6473 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6474 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6475 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6476 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6477 Make code unconditional.
6478 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6479 (__mmap64) [!__NR_mmap2]: Likewise.
6480 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6481 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6482 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6483 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6484 [__NR_mmap2]: Make code unconditional.
6485 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6486 (__mmap64) [!__NR_mmap2]: Likewise.
6487
bc5bc0e5
AK
64882012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6489
6490 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6491
88d506de
AJ
64922012-08-18 Andreas Jaeger <aj@suse.de>
6493
6494 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6495
493387d2
MF
64962012-08-18 Mike Frysinger <vapier@gentoo.org>
6497
6498 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6499 * include/unistd.h (__have_sock_cloexec): Likewise.
6500 (__have_pipe2): Likewise.
6501 (__have_dup3): Likewise.
6502
a277af22
MF
65032012-08-18 Mike Frysinger <vapier@gentoo.org>
6504
6505 [BZ #9685]
6506 * include/unistd.h (__have_pipe2): Change define into an extern int.
6507 (__have_dup3): Likewise.
6508 * socket/have_sock_cloexec.c: Include fcntl.h.
6509 (__have_pipe2): New variable.
6510 (__have_dup3): Likewise.
6511
fdab8fd3
MF
65122012-08-17 Mike Frysinger <vapier@gentoo.org>
6513
6514 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6515
31035e80
MP
65162012-08-17 Marek Polacek <polacek@redhat.com>
6517
6518 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6519 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6520
3bd9e993
RM
65212012-08-17 Roland McGrath <roland@hack.frob.com>
6522
c91c505f
RM
6523 * configure.in: Add AC_SUBST for sysheaders.
6524 * configure: Regenerated.
6525 * config.make.in (sysheaders): New substituted variable.
6526
7c6f9d53
RM
6527 * sysdeps/unix/mkfifo.c: Moved ...
6528 * sysdeps/posix/mkfifo.c: ... here.
6529 * sysdeps/unix/mkfifoat.c: Moved ...
6530 * sysdeps/posix/mkfifoat.c: ... here.
6531
6532 * sysdeps/unix/utime.c: Moved ...
6533 * sysdeps/posix/utime.c: ... here.
6534
6535 * sysdeps/unix/time.c: Moved ...
6536 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6537 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6538 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6539
6540 * sysdeps/unix/nice.c: Moved ...
6541 * sysdeps/posix/nice.c: ... here.
6542
6543 * sysdeps/unix/alarm.c: Moved ...
6544 * sysdeps/posix/alarm.c: ... here.
6545
3bd9e993
RM
6546 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6547
d1f09384
JL
65482012-08-17 Jeff Law <law@redhat.com>
6549
6550 * intl/Makefile (codeset_mo): New variable.
6551 ($(codeset_mo)): New target.
6552 (tst-codeset.out): Depend on that. Remove explicit rule.
6553 (tst-gettext3.out, tst-gettext5.out): Likewise.
6554 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6555 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6556 * intl/tst-codeset.sh: Remove.
6557 * intl/tst-gettext3.sh: Likewise.
6558 * intl/tst-gettext5.sh: Likewise.
6559
2ae1ae5c
RM
65602012-08-17 Roland McGrath <roland@hack.frob.com>
6561
c31fdb83
RM
6562 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6563 * sysdeps/unix/syscalls.list: ... here.
6564
a0844057
RM
6565 * sysdeps/posix/getaddrinfo.c
6566 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6567 (gaiconf_init, gaiconf_reload): Use them.
6568 [!_STATBUF_ST_NSEC]
6569 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6570 Define using time_t rather than struct timespec.
6571
750c1f2a
RM
6572 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6573 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6574 Macros removed.
6575 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6576 [!NO_THREADS].
6577 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6578 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6579 Likewise.
6580
2ae1ae5c
RM
6581 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6582 __libc_cleanup_push argument.
6583
e66a42f5
RM
6584 * bits/param.h: New file.
6585 * misc/sys/param.h: New file.
6586 * include/sys/param.h: New file.
6587 * misc/Makefile (headers): Add bits/param.h.
6588 * sysdeps/generic/sys/param.h: File removed.
6589 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6590 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6591 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6592 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6593
b7c08a66
RM
6594 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6595 last change.
6596
b2e1c562
RM
6597 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6598 [_IO_MTSAFE_IO].
6599 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6600 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6601 New macros.
6602
c75ccd4c
RM
6603 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6604 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6605 rather than -D_IO_MTSAFE_IO conditionally.
6606 * stdio-common/Makefile (CPPFLAGS): Likewise.
6607 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6608 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6609 Use $(libio-mtsafe).
6610 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6611 of -D_IO_MTSAFE_IO.
6612 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6613 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6614 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6615 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6616 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6617 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6618 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6619 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6620 (CFLAGS-fread_u_chk.c): Likewise.
6621 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6622 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6623 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6624 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6625 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6626 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6627 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6628 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6629 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6630
6631 * libio/Makefile: Test [$(libc-reentrant) = yes]
6632 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6633
6634 * Makeconfig
6635 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6636 * sysdeps/pthread/configure: File removed.
6637 * sysdeps/pthread/Makeconfig: New file.
6638 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6639 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6640
d9195db8
GB
66412012-08-16 Gary Benson <gbenson@redhat.com>
6642
6643 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6644 unmapping the first object in a namespace.
6645
86466cd9
RM
66462012-08-16 Roland McGrath <roland@hack.frob.com>
6647
6648 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6649 (__internal_setnetgrent): ... this. Add internal_function to
6650 definition. Add libc_hidden_def.
6651 (setnetgrent): Update caller.
6652 (internal_endnetgrent): Renamed to ...
6653 (__internal_endnetgrent): ... this. Add internal_function to
6654 definition. Add libc_hidden_def.
6655 (endnetgrent): Update caller.
6656 (internal_getnetgrent_r): Renamed to ...
6657 (__internal_getnetgrent_r): ... this. Add internal_function to
6658 definition. Add libc_hidden_def.
6659 (__getnetgrent_r): Update caller.
6660 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6661
c3c8283c
JM
66622012-08-16 Joseph Myers <joseph@codesourcery.com>
6663
6664 * stdlib/longlong.h: Update from GCC.
6665
db1ee0a8
RM
66662012-08-16 Roland McGrath <roland@hack.frob.com>
6667
6668 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6669 on _QL, which is set by umul_ppmm but never used.
6670 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6671 variables, which are set by GMP macros but never used.
6672 * stdio-common/_itowa.c (_itowa): Likewise.
6673 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6674 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6675
30f69637
CD
66762012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6677
6678 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6679 struct La_sh_regs is not constant.
6680 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6681 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6682 and struct La_sparc64_regs are not constant.
6683
93a78ac4
JM
66842012-08-16 Joseph Myers <joseph@codesourcery.com>
6685
6686 * sysdeps/unix/sysv/linux/kernel-features.h
6687 (__ASSUME_POSIX_TIMERS): Remove.
6688 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6689 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6690 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6691 Make code unconditional.
6692 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6693 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6694 Make code unconditional.
6695 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6696 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6697 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6699 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6700 Make code unconditional.
6701 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6702 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6703 (__libc_missing_posix_timers): Remove.
6704
dd924cd7
RM
67052012-08-15 Roland McGrath <roland@hack.frob.com>
6706
4b4f2771
RM
6707 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6708 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6709
601c888b
RM
6710 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6711
176790a7
RM
6712 * elf/dl-sym.c: Include <stdlib.h>.
6713
329bc018
RM
6714 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6715 constants, which avoids warnings in 32-bit builds.
6716
e04e272d
RM
6717 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6718 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6719
952bf94a
RM
6720 * misc/lseek.c: File moved to ...
6721 * io/lseek.c: ... here.
6722
7c99b50a
RM
6723 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6724
dd924cd7
RM
6725 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6726 shifting LEN more than 31 bits at once.
6727
b3f479a8
LD
67282012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6729
6730 [BZ #14195]
8c4ae0d4
RM
6731 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6732 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6733 * string/test-strncasecmp.c (check1): Renamed to...
6734 (bz12205): ...this.
6735 (bz14195): Add new testcase for two empty input strings and N > 0.
6736 (test_main): Call new testcase, adapt for renamed function.
6737
9c55864e
AJ
67382012-08-15 Andreas Jaeger <aj@suse.de>
6739
6740 [BZ #14090]
6741 * crypt/md5test2.c: New test, based on test supplied by Serge
6742 Belyshev <belyshev@depni.sinp.msu.ru>.
6743 * crypt/Makefile (xtests): Add md5test-giant..
6744 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6745
02dcb6c5
PE
67462012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6747
6748 [BZ #14090]
6749 * crypt/md5.c (md5_process_block): Don't assume the buffer
6750 length is less than 2**32.
6751 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6752 length is less than 2**64.
6753
a3f95dcc
RM
67542012-08-15 Roland McGrath <roland@hack.frob.com>
6755
be75d758
RM
6756 * string/str-two-way.h: Include <sys/param.h>.
6757 (MAX): Macro removed.
6758
7312ca90
RM
6759 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6760 Move #define and #undef of memmove to just before and after
6761 including <string.h>.
6762
9a0a5486
RM
6763 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6764 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6765 and after including <string.h>. Move declarations of
6766 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6767 to before #include "string/memmove.c".
6768
67cc348d
RM
6769 * include/dirent.h: Declare __getdirentries.
6770
a3f95dcc
RM
6771 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6772 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6773
ca98e171
MF
67742012-08-14 Mike Frysinger <vapier@gentoo.org>
6775
6776 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6777 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6778 * sysdeps/i386/configure: Regenerated.
6779 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6780 STABS_CURRENT_FILE, and STABS_FUN.
6781 (END): Remove call to STABS_FUN_END.
6782 (STABS_CURRENT_FILE1): Delete.
6783 (STABS_CURRENT_FILE): Likewise.
6784 (STABS_FUN): Likewise.
6785 (STABS_FUN_END): Likewise.
6786 (STABS_FUN2): Likewise.
6787 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6788 * sysdeps/x86_64/configure: Regenerated.
6789
5908bf46
RM
67902012-08-14 Roland McGrath <roland@hack.frob.com>
6791
6792 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6793 * elf/dl-lookup.c: Likewise.
5908bf46 6794
f2c05b9e
JM
67952012-08-14 Joseph Myers <joseph@codesourcery.com>
6796
6797 * sysdeps/unix/sysv/linux/kernel-features.h
6798 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6799 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6800 unconditionally.
6801 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6802 unconditionally.
6803 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6804 condition on __ASSUME_CLONE_THREAD_FLAGS.
6805
e11f5155
AJ
68062012-08-14 Andreas Jaeger <aj@suse.de>
6807
6808 * sysdeps/i386/fpu/libm-test-ulps: Update.
6809
51a9ba86
MK
68102012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6811
2fdd4f78
AJ
6812 * include/atomic.h (atomic_exchange_and_add): Split into ...
6813 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6814 New atomic macros.
51a9ba86 6815
ba6cba9e
MT
68162012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6817
6818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6819
42443a47
JL
68202012-08-13 Jeff Law <law@redhat.com>
6821
6822 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6823 null byte in the output string.
6824
121dce05
JM
68252012-08-10 Joseph Myers <joseph@codesourcery.com>
6826
6827 * sysdeps/unix/sysv/linux/kernel-features.h
6828 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6829 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6830 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6831 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6832 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6833 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6834 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6835
bf51f568
JL
68362012-08-09 Jeff Law <law@redhat.com>
6837
6838 [BZ #13939]
6839 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6840 When avoid_arena is set, don't retry in the that arena. Pick the
6841 next one, whatever it might be.
6842 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6843 (arena_lock): Pass in new parameter to arena_get2.
6844 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6845 arena_get2.
6846 (__libc_malloc): Unify retrying after main arena failure with
6847 __libc_memalign version.
6848 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6849
f85fa270
L
68502012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6851
6852 [BZ #14166]
6853 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6854 to __redirect_strstr.
6855 (__strstr_sse42): Use typeof __redirect_strstr.
6856 (__strstr_ia32): Likewise.
6857 (__libc_strstr): New prototype.
6858 (strstr): Renamed to ...
6859 (__libc_strstr): This.
6860 (strstr): New strong alias of __libc_strstr.
6861 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6862 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6863 __redirect_time.
6864 Include <time.h>.
6865 (__libc_time): New prototype.
6866 (time_ifunc): Replace time with __libc_time.
6867 (time): New strong alias and hidden definition of __libc_time.
6868 (__GI_time): Remove strong alias.
6869 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6870 Include <stddef.h>.
6871 (memmove): Redefined to __redirect_memmove.
6872 (__memmove_sse2): Use typeof __redirect_memmove.
6873 (__memmove_ssse3): Likewise.
6874 (__memmove_ssse3_back): Likewise.
6875 (__libc_memmove): New prototype.
6876 (memmove): Renamed to ...
6877 (__libc_memmove): This.
6878 (memmove): New strong alias of __libc_memmove.
6879
33b4a91e
MS
68802012-08-08 Mark Salter <msalter@redhat.com>
6881
6882 * elf/elf.h
6883 (R_MN10300_TLS_GD): Define.
6884 (R_MN10300_TLS_LD): Likewise.
6885 (R_MN10300_TLS_LDO): Likewise.
6886 (R_MN10300_TLS_GOTIE): Likewise.
6887 (R_MN10300_TLS_IE): Likewise.
6888 (R_MN10300_TLS_LE): Likewise.
6889 (R_MN10300_TLS_DTPMOD): Likewise.
6890 (R_MN10300_TLS_DTPOFF): Likewise.
6891 (R_MN10300_TLS_TPOFF): Likewise.
6892 (R_MN10300_SYM_DIFF): Likewise.
6893 (R_MN10300_ALIGN): Likewise.
6894 (R_MN10300_NUM): Update.
6895
b36137f1
JM
68962012-08-08 Joseph Myers <joseph@codesourcery.com>
6897
6898 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6899 Remove.
6900
cdd915fd
RM
69012012-08-08 Roland McGrath <roland@hack.frob.com>
6902
a2433aac
RM
6903 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6904
cdd915fd
RM
6905 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6906 sysdeps/unix -> sysdeps/posix move.
6907 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6908
bf9b740a
AM
69092012-08-07 Allan McRae <allan@archlinux.org>
6910
6911 [BZ #14303]
6912 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6913 (SUNOS_CPP): Likewise.
6914 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6915 not found.
6916 (open_input): Call CPP using execvp.
6917
93df14ee
JM
69182012-08-07 Joseph Myers <joseph@codesourcery.com>
6919
6920 * sysdeps/unix/sysv/linux/kernel-features.h
6921 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6922 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6923 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6924 (__ASSUME_WAITID_SYSCALL): Likewise.
6925 * sysdeps/unix/sysv/linux/dl-execstack.c
6926 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6927 code unconditional.
6928 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6929 conditional code.
6930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6931 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6932 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6933 code.
6934 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6935 unconditional.
6936 [__ASSUME_WAITID_SYSCALL]: Likewise.
6937 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6938
d34689de
RM
69392012-08-07 Roland McGrath <roland@hack.frob.com>
6940
a281decc
RM
6941 * sysdeps/unix/closedir.c: Renamed to ...
6942 * sysdeps/posix/closedir.c: ... here.
6943 * sysdeps/unix/dirfd.c: Renamed to ...
6944 * sysdeps/posix/dirfd.c: ... here.
6945 * sysdeps/unix/dirstream.h: Renamed to ...
6946 * sysdeps/posix/dirstream.h: ... here.
6947 * sysdeps/unix/fdopendir.c: Renamed to ...
6948 * sysdeps/posix/fdopendir.c: ... here.
6949 * sysdeps/unix/opendir.c: Renamed to ...
6950 * sysdeps/posix/opendir.c: ... here.
6951 * sysdeps/unix/readdir.c: Renamed to ...
6952 * sysdeps/posix/readdir.c: ... here.
6953 * sysdeps/unix/readdir_r.c: Renamed to ...
6954 * sysdeps/posix/readdir_r.c: ... here.
6955 * sysdeps/unix/rewinddir.c: Renamed to ...
6956 * sysdeps/posix/rewinddir.c: ... here.
6957 * sysdeps/unix/seekdir.c: Renamed to ...
6958 * sysdeps/posix/seekdir.c: ... here.
6959 * sysdeps/unix/telldir.c: Renamed to ...
6960 * sysdeps/posix/telldir.c: ... here.
6961 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6962 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6963 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6964 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6965
22895b47
RM
6966 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6967 * bits/fcntl.h: ... here.
6968
707a53b6
RM
6969 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6970 not 0.
6971 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6972 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6973 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6974 (struct flock): Move l_start, l_len to the beginning.
6975 Use __pid_t for l_pid.
6976 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6977 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6978 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6979 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6980 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6981 [__USE_LARGEFILE64] (struct flock64): New type.
6982 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6983
f0bd3e25
RM
6984 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6985 * bits/dirent.h: ... here.
6986
d34689de
RM
6987 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6988 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6989
6dad2c06
JM
69902012-08-07 Joseph Myers <joseph@codesourcery.com>
6991
6992 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6993 Change from 2.6.0 to 2.6.16.
6994 * sysdeps/unix/sysv/linux/configure: Regenerated.
6995 * sysdeps/unix/sysv/linux/kernel-features.h
6996 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6997 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6998 version.
6999 (__ASSUME_UTIMES): Likewise.
7000 (__ASSUME_CLONE_STOPPED): Remove.
7001 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7002 architectures, not kernel version.
7003 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7004 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7005 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7006 (__ASSUME_WAITID_SYSCALL): Likewise.
7007 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7008 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7009 * README: State 2.6.16 as minimum Linux kernel version. Do not
7010 refer to older versions.
7011
03af9520
RM
70122012-08-06 Roland McGrath <roland@hack.frob.com>
7013
8e49df1d
RM
7014 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7015 Define alphasort64 as an alias.
7016 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7017 Define versionsort64 as an alias.
7018 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7019 Define scandir64 as an alias.
7020 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7021 Define scandirat64 as an alias.
7022 * dirent/alphasort64.c (alphasort64):
7023 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7024 * dirent/versionsort64.c: Likewise.
7025 * dirent/scandir64.c: Likewise.
7026 * dirent/scandirat64.c: Likewise.
7027 * sysdeps/wordsize-64/alphasort.c: File removed.
7028 * sysdeps/wordsize-64/alphasort64.c: File removed.
7029 * sysdeps/wordsize-64/scandir.c: File removed.
7030 * sysdeps/wordsize-64/scandir64.c: File removed.
7031 * sysdeps/wordsize-64/scandirat.c: File removed.
7032 * sysdeps/wordsize-64/scandirat64.c: File removed.
7033 * sysdeps/wordsize-64/versionsort.c: File removed.
7034 * sysdeps/wordsize-64/versionsort64.c: File removed.
7035 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7036 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7037 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7038 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7039 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7040 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7041 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7042 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7043
7044 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7046 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7048 [defined __arch64__ || defined __sparcv9]
7049 (__INO_T_MATCHES_INO64_T): New macro.
7050 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7051 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7052 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7053 * sysdeps/unix/sysv/linux/bits/dirent.h
7054 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7055 (_DIRENT_MATCHES_DIRENT64): New macro.
7056
03af9520
RM
7057 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7058 Define lockf64 as an alias.
7059 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7060 Define fseeko64 as an alias.
7061 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7062 Define ftello64 as an alias.
7063 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7064 Define _IO_fgetpos64 and fgetpos64 as aliases.
7065 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7066 Define _IO_fsetpos64 and fsetpos64 as aliases.
7067 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7068 Conditionalize body on this.
7069 * libio/fseeko64.c: Likewise.
7070 * libio/ftello64.c: Likewise.
7071 * libio/iofgetpos64.c: Likewise.
7072 * libio/iofsetpos64.c: Likewise.
7073 * sysdeps/wordsize-64/lockf.c: File removed.
7074 * sysdeps/wordsize-64/lockf64.c: File removed.
7075 * sysdeps/wordsize-64/fseeko.c: File removed.
7076 * sysdeps/wordsize-64/fseeko64.c: File removed.
7077 * sysdeps/wordsize-64/ftello.c: File removed.
7078 * sysdeps/wordsize-64/ftello64.c: File removed.
7079 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7080 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7081 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7082 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7083 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7084 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7085 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7086 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7087 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7088 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7089 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7090 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7091 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7093
7094 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7096 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7097 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7098 [defined __arch64__ || defined __sparcv9]
7099 (__OFF_T_MATCHES_OFF64_T): New macro.
7100 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7101 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7103 (__OFF_T_MATCHES_OFF64_T): New macro.
7104
c5757acd
L
71052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7106
7107 * stdlib/secure-getenv.c (__secure_getenv): Replace
7108 GLIBC_2_16 with GLIBC_2_17.
7109
3a31811e
L
71102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7111
7112 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7113 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7114
faa2bccb
DM
71152012-08-03 David S. Miller <davem@davemloft.net>
7116
7117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7118
85fe1997
JM
71192012-08-03 Joseph Myers <joseph@codesourcery.com>
7120
7121 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7122 Remove.
7123 (__ASSUME_CORRECT_SI_PID): Likewise.
7124 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7125 (__ASSUME_TMPFS_NAME): Likewise.
7126 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7127 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7128 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7129 (HAVE_AUX_SECURE): Make definition unconditional.
7130 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7131 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7132
4f75b7a0
RM
71332012-08-03 Roland McGrath <roland@hack.frob.com>
7134
7135 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7136 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7137 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7138 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7139 __eloop_threshold instead of SYMLOOP_MAX.
7140
7141 * sysdeps/generic/eloop-threshold.h: New file.
7142 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7143 of MAXSYMLINKS.
7144 * elf/chroot_canon.c (chroot_canon): Likewise.
7145
7aab07e4
JM
71462012-08-03 Joseph Myers <joseph@codesourcery.com>
7147
7148 [BZ #13717]
7149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7150 Change to 2.6.0 everywhere.
7151 * sysdeps/unix/sysv/linux/configure: Regenerated.
7152 * sysdeps/unix/sysv/linux/kernel-features.h
7153 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7154 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7155 kernel versions.
7156 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7157 (__ASSUME_FUTEX_REQUEUE): Remove.
7158 (__ASSUME_STATFS64): Define unconditionally.
7159 (__ASSUME_AT_SECURE): Likewise.
7160 (__ASSUME_CORRECT_SI_PID): Likewise.
7161 (__ASSUME_TGKILL): Define without depending on kernel version for
7162 i386.
7163 (__ASSUME_UTIMES): Likewise.
7164 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7165 kernel version.
7166 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7167 (__ASSUME_TMPFS_NAME): Likewise.
7168 * README: Update reference to Linux kernel versions.
7169
b67e9372
MP
71702012-08-02 Marek Polacek <polacek@redhat.com>
7171
1f529f7d 7172 [BZ# 14150]
b67e9372
MP
7173 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7174 libc_cv_asm_type_prefix with %.
7175 * configure: Regenerated.
d2441631
RM
7176 * include/libc-symbols.h: Remove comment about
7177 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7178 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7179 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7180 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7181 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7182 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7183 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7184 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7185 * elf/tst-unique2mod1.c: Likewise.
7186 * elf/tst-unique1mod2.c: Likewise.
7187 * elf/tst-unique1mod1.c: Likewise.
7188 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7189 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7190 Replace ASM_TYPE_DIRECTIVE with .type.
7191 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7192 * sysdeps/i386/sysdep.h: Likewise.
7193 * sysdeps/x86_64/sysdep.h: Likewise.
7194 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7196 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7197 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7198 * sysdeps/powerpc/powerpc32/sysdep.h:
7199 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7200 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7201 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7202 * sysdeps/i386/fpu/e_powf.S: Likewise.
7203 * sysdeps/i386/fpu/e_expl.S: Likewise.
7204 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7205 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7206 * sysdeps/i386/fpu/e_pow.S: Likewise.
7207 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7208 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7209 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7210 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7211 * sysdeps/i386/fpu/e_log2.S: Likewise.
7212 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7213 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7214 * sysdeps/i386/fpu/e_powl.S: Likewise.
7215 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7216 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7217 * sysdeps/i386/fpu/e_logl.S: Likewise.
7218 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7219 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7220 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7221 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7222 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7223 * sysdeps/i386/fpu/e_log.S: Likewise.
7224 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7225 * sysdeps/i386/fpu/e_logf.S: Likewise.
7226 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7227 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7228 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7229 * sysdeps/i386/fpu/e_log10.S: Likewise.
7230 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7231 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7232 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7233 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7234 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7235 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7236 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7237 * sysdeps/i386/i686/strtok.S: Likewise.
7238 * sysdeps/i386/i386-mcount.S: Likewise.
7239 * sysdeps/i386/strtok.S: Likewise.
7240 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7241 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7243 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7244 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7245 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7246 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7247 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7248 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7249 * sysdeps/x86_64/_mcount.S: Likewise.
7250 * sysdeps/x86_64/strtok.S: Likewise.
7251 * sysdeps/sh/_mcount.S: Likewise.
7252
2747bf9a
RM
72532012-08-01 Roland McGrath <roland@hack.frob.com>
7254
7255 * libio/iofopen.c: Include <fcntl.h>.
7256 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7257 (_IO_fopen64, fopen64): Define as aliases.
7258 * libio/iofopen64.c: Include <fcntl.h>.
7259 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7260 Conditionalize body on this.
7261 * sysdeps/wordsize-64/iofopen.c: File removed.
7262 * sysdeps/wordsize-64/iofopen64.c: File removed.
7263
3fb791b8
MP
72642012-08-01 Marek Polacek <polacek@redhat.com>
7265
7266 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7267 Use dlfcn directly instead of a variable.
7268 (binfmt-subdir): Do not define.
7269 (dlfcn): Likewise.
7270
a9f1039f
JM
72712012-08-01 Joseph Myers <joseph@codesourcery.com>
7272
23bddc06
JM
7273 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7274 Remove all definitions.
7275 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7276 <kernel-features.h>.
7277 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7278 (miss_F_GETOWN_EX): Remove all definitions.
7279 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7280 macro definition.
7281 [!__ASSUME_FCNTL64]: Remove conditional code.
7282 [__ASSUME_FCNTL64]: Make code unconditional.
7283 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7284 <kernel-features.h>.
7285 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7286 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7287 (lockf64) [__NR_fcntl64]: Make code unconditional.
7288 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7289
a9f1039f
JM
7290 * sysdeps/unix/sysv/linux/kernel-features.h
7291 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7292 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7293 Make code unconditional.
7294 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7295 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7297 [__NR_vfork]: Make code unconditional.
7298 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7299 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7301 [__NR_vfork]: Make code unconditional.
7302 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7303 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7304
09c0ee5f
RM
73052012-08-01 Roland McGrath <roland@hack.frob.com>
7306
48aec5b9
RM
7307 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7308 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7309
cd97c966
RM
7310 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7311 Define mkstemp64 as an alias.
3f55550c
RM
7312 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7313 Define mkstemps64 as an alias.
cd97c966
RM
7314 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7315 Define mkostemp64 as an alias.
b8625cfc
RM
7316 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7317 Define mkostemps64 as an alias.
cd97c966
RM
7318 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7319 Conditionalize body on this.
7320 * misc/mkostemp64.c: Likewise.
b8625cfc 7321 * misc/mkostemps64.c: Likewise.
3f55550c 7322 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7323 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7324 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7325 * sysdeps/wordsize-64/mkostemp.c: File removed.
7326 * sysdeps/wordsize-64/mkstemp.c: File removed.
7327 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7328 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7329 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7330 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7331
09c0ee5f
RM
7332 [BZ #14138]
7333 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7334 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7335 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7336 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7337
7338 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7339 compat_symbol macros from <shlib-compat.h> rather than the underlying
7340 default_symbol_version and symbol_version macros, so that DEFAULT
7341 lines in shlib-versions are respected.
7342 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7343
7e66ee51
FW
73442012-08-01 Florian Weimer <fweimer@redhat.com>
7345
7346 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7347 Declare with warn_unused_result.
7348 (setgid, setregid, setegid, setresgid): Likewise.
7349 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7350 Likewise.
7351 * WUR-REPORT: Remove set*id functions.
7352
d2a54255
PT
73532012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7354
7355 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7356
7ecdb005
RM
73572012-07-31 Roland McGrath <roland@hack.frob.com>
7358
789bd351
RM
7359 * include/sys/socket.h (__libc_accept, __libc_accept4):
7360 Add attribute_hidden.
7361 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7362
40ce302d
RM
7363 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7364 use of PTR_MANGLE.
7365 * inet/getnetgrent_r.c (setup): Likewise.
7366
7ecdb005
RM
7367 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7368
e2eabb2c
DM
73692012-07-31 David S. Miller <davem@davemloft.net>
7370
7371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7372
d0419dbf
JM
73732012-07-31 Joseph Myers <joseph@codesourcery.com>
7374
7375 [BZ #13629]
7376 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7377 value between 1.0 and 2.0 and smaller part has absolute value less
7378 than 1.0.
7379 * math/s_clog10.c (__clog10): Likewise.
7380 * math/s_clog10f.c (__clog10f): Likewise.
7381 * math/s_clog10l.c (__clog10l): Likewise.
7382 * math/s_clogf.c (__clogf): Likewise.
7383 * math/s_clogl.c (__clogl): Likewise.
7384 * math/libm-test.inc (clog_test): Add more tests.
7385 (clog10_test): Likewise.
7386 * sysdeps/i386/fpu/libm-test-ulps: Update.
7387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7388
2bc13872
FW
73892012-07-31 Florian Weimer <fweimer@redhat.com>
7390
7391 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7392 Exit with zero in case no suitable GID is found, and write a
7393 message to standard error.
7394
bea9b193
RM
73952012-07-30 Roland McGrath <roland@hack.frob.com>
7396
7397 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7398 rather than to 1.
7399 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7400 (MAXPATHLEN): Removed.
7401 (NOGROUP, NODEV): New macros.
7402 (setbit, clrbit, isset, isclr): New macros.
7403 (howmany, roundup, powerof2): New macros.
7404 (DEV_BSIZE): New macro.
7405
7406 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7407 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7408
7409 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7410 definition on [!__NO_LONG_DOUBLE_MATH].
7411
7412 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7413 PTR_MANGLE and PTR_DEMANGLE.
7414
7415 * socket/accept4.c (accept4): Rename to __libc_accept4.
7416 Define accept4 as a weak alias.
7417
7418 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7419 on [_DIRENT_HAVE_D_TYPE].
7420 * io/ftw.c (ftw_dir): Likewise.
7421
7422 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7423
7424 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7425
7426 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7427 Use the BSD numbers rather than the arbitrary ones we had.
7428 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7429 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7430 (SIGXCPU, SIGXFSZ): New macros.
7431 (_NSIG): Now 32.
7432
7433 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7434 initializer on [_LIBC_REENTRANT].
7435
7436 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7437 definitions inside [_POSIX_MAPPED_FILES].
7438
7439 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7440
7441 * dirent/opendir.c: Include <fcntl.h>.
7442
7443 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7444 (__libc_getspecific): Likewise.
7445 (__libc_key_create): Likewise.
7446
7447 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7448 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7449 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7450 (tmpfile64): Define as alias.
7451 * sysdeps/wordsize-64/tmpfile.c: File removed.
7452 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7453 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7454 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7455
7456 * stdio-common/vfscanf.c: Include <stdbool.h>.
7457 * nss/makedb.c: Likewise.
7458 * stdio-common/_i18n_number.h: Likewise.
7459 * argp/argp-help.c: Likewise.
7460 * posix/wordexp.c: Likewise.
7461 * sysdeps/posix/spawni.c: Likewise.
7462 * nss/nss_files/files-initgroups.c: Likewise.
7463 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7464 * nss/nss_files/files-initgroups.c: Likewise.
7465 * nss/nss_db/db-netgrp.c: Likewise.
7466 * nss/nss_db/db-initgroups.c: Likewise.
7467 * io/fchmodat.c: Include <sys/stat.h>.
7468
7469 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7470 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7471
7472 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7473 [HAVE_MMAP].
7474
7475 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7476 Add multiple inclusion protection.
7477
e5abc686
DM
74782012-07-27 David S. Miller <davem@davemloft.net>
7479
7480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7481
815e6fa3
GB
74822012-07-27 Gary Benson <gbenson@redhat.com>
7483
7484 [BZ #14298]
7485 * elf/rtld.c: Include <stap-probe.h>.
7486 (dl_main): Added static probes "init_start" and "init_complete".
7487 * elf/dl-load.c: Include <stap-probe.h>.
7488 (lose): Take new parameter "nsid".
7489 Added static probe "map_failed".
7490 (_dl_map_object_from_fd): Pass namespace id to lose.
7491 Added static probe "map_start".
7492 (open_verify): Pass namespace id to lose.
7493 * elf/dl-open.c: Include <stap-probe.h>.
7494 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7495 and "reloc_complete".
7496 * elf/dl-close.c: Include <stap-probe.h>.
7497 (_dl_close_worker): Added static probes "unmap_start" and
7498 "unmap_complete".
7499 * elf/rtld-debugger-interface.txt: New file documenting the above.
7500
9f98c16c
RM
75012012-07-26 Roland McGrath <roland@hack.frob.com>
7502
7503 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7504 rather than a string variable.
7505 * sunrpc/rpc_main.c (h_output): Likewise.
7506 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7507
f3c22df3
PT
75082012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7509
7510 * inet/check_native.c: New file.
7511
3129cfc6
JM
75122012-07-26 Joseph Myers <joseph@codesourcery.com>
7513
da865e95
JM
7514 [BZ #13629]
7515 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7516 if larger part has absolute value 1.0.
7517 * math/s_clog10.c (__clog10): Likewise.
7518 * math/s_clog10f.c (__clog10f): Likewise.
7519 * math/s_clog10l.c (__clog10l): Likewise.
7520 * math/s_clogf.c (__clogf): Likewise.
7521 * math/s_clogl.c (__clogl): Likewise.
7522 * math/libm-test.inc (clog_test): Add more tests.
7523 (clog10_test): Likewise.
7524 * sysdeps/i386/fpu/libm-test-ulps: Update.
7525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7526
3129cfc6
JM
7527 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7528 (pltexit): Likewise.
7529 (La_regs): Likewise.
7530 (La_retval): Likewise.
7531 (int_retval): Likewise.
7532 Update #error for removed macros to refer only to definitions in
7533 tst-audit.h.
7534 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7535 macro.
7536 (pltexit): Likewise.
7537 (La_regs): Likewise.
7538 (La_retval): Likewise.
7539 (int_retval): Likewise.
7540 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7541 macro.
7542 (pltexit): Likewise.
7543 (La_regs): Likewise.
7544 (La_retval): Likewise.
7545 (int_retval): Likewise.
7546 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7547 macro.
7548 (pltexit): Likewise.
7549 (La_regs): Likewise.
7550 (La_retval): Likewise.
7551 (int_retval): Likewise.
7552 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7553 macro.
7554 (pltexit): Likewise.
7555 (La_regs): Likewise.
7556 (La_retval): Likewise.
7557 (int_retval): Likewise.
7558 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7559 macro.
7560 (pltexit): Likewise.
7561 (La_regs): Likewise.
7562 (La_retval): Likewise.
7563 (int_retval): Likewise.
7564 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7565 macro.
7566 (pltexit): Likewise.
7567 (La_regs): Likewise.
7568 (La_retval): Likewise.
7569 (int_retval): Likewise.
7570 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7571 macro definitions in tst-audit.h.
7572 * sysdeps/i386/tst-audit.h: New file.
7573 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7574 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7575 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7576 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7577 * sysdeps/sh/tst-audit.h: Likewise.
7578 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7579 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7580 * sysdeps/x86_64/tst-audit.h: Likewise.
7581
bfc07087
AJ
75822012-07-26 Andreas Jaeger <aj@suse.de>
7583
b1b2aaf8
AJ
7584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7585 ptrace.
7586
7587 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7588 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7589 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7590 PTRACE_O_MASK.
7591 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7592 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7593 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7594
bfc07087
AJ
7595 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7596 value.
7597
7598 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7599 _sigsys.
7600 (si_call_addr, si_syscall, si_arch): Define new macro.
7601 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7602 _sigsys.
7603 (si_call_addr, si_syscall, si_arch): Define new marcro.
7604 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7605 _sigsys.
7606 (si_call_addr, si_syscall, si_arch): Define new macro.
7607 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7608 _sigsys.
7609 (si_call_addr, si_syscall, si_arch): Define new macro.
7610
89b4b02f
JM
76112012-07-25 Joseph Myers <joseph@codesourcery.com>
7612
7613 [BZ #13717]
7614 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7615 Change to 2.4.21 where previously 2.4.1.
7616 * sysdeps/unix/sysv/linux/configure: Regenerated.
7617 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7618 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7619 Linux kernel version.
7620 (__ASSUME_STD_AUXV): Remove.
7621 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7622 kernel version.
7623 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7624 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7625 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7626 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7627 (__ASSUME_NETLINK_SUPPORT): Likewise.
7628 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7629 (__no_netlink_support): Remove conditional definition.
7630 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7631 Remove.
7632 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7633 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7634 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7635 (if_nameindex_ioctl): Remove.
7636 (if_nameindex_netlink): Do not handle __no_netlink_support.
7637 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7638 code.
7639 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7640 Remove conditional code.
7641 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7642 code.
7643 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7644 unconditional.
7645 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7646 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7647 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7648 Remove.
7649 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7650 [!__ASSUME_STD_AUXV]: Remove conditional code.
7651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7652 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7653 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7655 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7656 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7657 code.
7658 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7660 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7661 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7662 conditional code.
7663 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7665 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7666 code.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7668 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7669 conditional code.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7671 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7672 code unconditional.
7673 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7674 conditional code.
7675 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7676 unconditional.
7677 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7678 conditional code.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7680 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7681 unconditional.
7682 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7683 conditional code.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7685 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7686 code unconditional.
7687 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7688 conditional code.
7689 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7690 unconditional.
7691 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7692 conditional code.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7694 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7695 code unconditional.
7696 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7697 conditional code.
7698 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7699 unconditional.
7700 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7701 conditional code.
7702
842a39cd
AS
77032012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7704
7705 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7706 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7707 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7708 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7709 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7710 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7711 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7712 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7713 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7714 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7715 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7716 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7717 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7718 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7719 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7720 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7721 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7722 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7723 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7725 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7726 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7727 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7728
84b3fd84
FW
77292012-07-25 Florian Weimer <fweimer@redhat.com>
7730
7731 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7732 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7733 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7734 Introduce __libc_secure_getenv.
0c7936d5
FW
7735 * stdlib/Versions (2.17): Add secure_getenv
7736 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7737 * stdlib/secure-getenv.c: Rename __secure_getenv to
7738 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7739 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7740 * stdlib/tst-secure-getenv.c: New.
7741 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7742 * manual/startup.texi (Environment Access): Document
7743 secure_getenv.
84b3fd84
FW
7744 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7745 __libc_secure_getenv.
7746 * inet/ruserpass.c (ruserpass): Likewise.
7747 * malloc/mtrace.c (mtrace): Likewise.
7748 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7749 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7750 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7751 * sysdeps/posix/tempname.c: Likewise. Evaluate
7752 HAVE_SECURE_GETENV.
7753 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7754 __secure_getenv to __libc_secure_getenv.
84b3fd84 7755 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7757 Likewise.
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7759 Likewise.
7760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7762 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7767
56e49b71
JM
77682012-07-25 Joseph Myers <joseph@codesourcery.com>
7769
7770 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7771 (struct La_i86_retval): Likewise.
7772 (struct La_x86_64_regs): Likewise.
7773 (struct La_x86_64_retval): Likewise.
7774 (struct La_x32_regs): Likewise.
7775 (struct La_x32_retval): Likewise.
7776 (struct La_ppc32_regs): Likewise.
7777 (struct La_ppc32_retval): Likewise.
7778 (struct La_ppc64_regs): Likewise.
7779 (struct La_ppc64_retval): Likewise.
7780 (struct La_sh_regs): Likewise.
7781 (struct La_sh_retval): Likewise.
7782 (struct La_s390_32_regs): Likewise.
7783 (struct La_s390_32_retval): Likewise.
7784 (struct La_s390_64_regs): Likewise.
7785 (struct La_s390_64_retval): Likewise.
7786 (struct La_sparc32_regs): Likewise.
7787 (struct La_sparc32_retval): Likewise.
7788 (struct La_sparc64_regs): Likewise.
7789 (struct La_sparc64_retval): Likewise.
7790 (struct audit_ifaces): Remove architecture-specific pltenter and
7791 pltexit members.
7792 * sysdeps/i386/ldsodefs.h: New file.
7793 * sysdeps/powerpc/ldsodefs.h: Likewise.
7794 * sysdeps/s390/ldsodefs.h: Likewise.
7795 * sysdeps/sh/ldsodefs.h: Likewise.
7796 * sysdeps/sparc/ldsodefs.h: Likewise.
7797 * sysdeps/x86_64/ldsodefs.h: Likewise.
7798
354691b7
MP
77992012-07-25 Marek Polacek <polacek@redhat.com>
7800
7801 [BZ #6808]
7802 * math/libm-test.inc (yn_test): Add another test.
7803 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7804 to ERANGE when the result is +-Inf.
7805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7806 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7807 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7808 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7809
bf9e2071
JM
78102012-07-24 Joseph Myers <joseph@codesourcery.com>
7811
7812 * conform/data/time.h-data (NULL): Use macro-constant. Require
7813 equal to 0.
7814 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7815 clock_t.
7816 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7817
57633811
TS
78182012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7819
7820 * configure.in <sysdeps resolving>: Correct printing
7821 Implies_before.
7822 * configure: Regenerate.
7823
c23c33b0
TS
78242012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7825
7826 * math/w_ilogb.c: Include <limits.h>.
7827 * math/w_ilogbl.c: Likewise.
7828
b5982523
JM
78292012-07-20 Joseph Myers <joseph@codesourcery.com>
7830
7831 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7832 va_copy. Document allowing for unavailable va_copy only as
7833 pre-C99 compatibility.
7834 * manual/string.texi (Copying and Concatenation): Use va_copy
7835 instead of __va_copy in concat example.
7836
ac4ea442
PT
78372012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7838
7839 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7840 (__sendto): Use create_address_port. Initialize APORT and deallocate
7841 it if not null.
7842
f98eafbd
PT
7843 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7844 with O_NOLINK passed to __file_name_lookup.
7845
898c7aab
PT
7846 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7847 with O_NOLINK passed to __file_name_lookup.
7848
0ced335a
PT
7849 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7850 negative N or less than NGIDS.
7851
b3404dbd
PT
7852 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7853 type to string_t. Set ERANGE as errno and return it if NAME is not big
7854 enough. Use memcpy instead of strncpy.
7855
0f48659e
JM
78562012-07-20 Joseph Myers <joseph@codesourcery.com>
7857
7858 * elf/Makefile (check-data): Remove.
7859 (localplt.data): New vpath directive.
7860 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7861 instead of $(check-data).
7862 * scripts/data/localplt-generic.data: Move to ...
7863 * sysdeps/generic/localplt.data: ... here.
7864 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7865 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7866 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7868 ... here.
7869 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7871 ... here.
7872 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7874 ... here.
7875 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7877 ... here.
7878 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7880 ... here.
7881 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7883 ... here.
7884
d37cbdaa
AZ
78852012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7886
7887 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7888 PPC32 and PPC64 files.
7889 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7890 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7891
46f85fc2
AK
78922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7893
7894 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7895 __makecontext_ret to ...
7896 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7897 ... here and call exit if uc_link is NULL. New file.
7898 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7899 __makecontext_ret.S.
7900 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7901 __makecontext_ret to ...
7902 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7903 ... here and call exit if uc_link is NULL. New file.
7904 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7905 __makecontext_ret.S.
7906
08f43f9b
AK
79072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7908
7909 * elf/elf.h (R_390_IRELATIVE): New definition.
7910 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7911 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7912 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7913 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7914 (elf_machine_lazy_rel): Likewise.
7915 * sysdeps/s390/dl-irel.h: New file.
7916 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7917 * sysdeps/s390/s390-64/memset.S: New asm code.
7918 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7919 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7920 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7921 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7922 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7923 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7924 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7925 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7926 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7927 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7928 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7929 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7930 * sysdeps/s390/s390-32/memset.S: New asm code.
7931 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7932
3b05db33
MP
79332012-07-17 Marek Polacek <polacek@redhat.com>
7934
7935 [BZ #14349]
7936 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7937 * sysdeps/s390/s390-64/configure.in: Likewise.
7938 * sysdeps/sparc/configure.in: Likewise.
7939 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7940 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7941 * sysdeps/i386/configure.in: Likewise.
7942 * sysdeps/x86_64/configure.in: Likewise.
7943 * sysdeps/sh/configure.in: Likewise.
7944 * sysdeps/s390/s390-32/configure: Regenerated.
7945 * sysdeps/s390/s390-64/configure: Likewise.
7946 * sysdeps/x86_64/configure: Likewise.
7947 * sysdeps/sh/configure: Likewise.
7948 * sysdeps/powerpc/powerpc64/configure: Likewise.
7949 * sysdeps/powerpc/powerpc32/configure: Likewise.
7950 * sysdeps/sparc/configure: Likwise.
7951 * sysdeps/i386/configure: Likewise.
7952
a66877c6
MP
7953 * elf/dl-open.c: Comment fixes.
7954
cfc82fd8
JM
79552012-07-17 Joseph Myers <joseph@codesourcery.com>
7956
bd29910a
JM
7957 * Makefile [CXX] (check-data): Remove.
7958 [CXX] (c++-types.data): New vpath directive.
7959 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7960 vpath. Do not allow for C++ type data being missing.
7961 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7962 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7963 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7964 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7965 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7966 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7967 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7969 ... here.
7970 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7972 ... here.
7973 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7975 ... here.
7976 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7978 ... here.
7979 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7981 ... here.
7982 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7984 ... here.
7985 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7987 ... here.
7988 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7990
cfc82fd8
JM
7991 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7992 definitions to architecture-specific files.
7993 (TLS_IE): Likewise.
7994 (TLS_LD): Likewise.
7995 (TLS_GD): Likewise.
7996 * sysdeps/i386/tls-macros.h: New file.
7997 * sysdeps/powerpc/tls-macros.h: Likewise.
7998 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7999 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8000 * sysdeps/sh/tls-macros.h: Likewise.
8001 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8002 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8003 * sysdeps/x86_64/tls-macros.h: Likewise.
8004
f7db3170
TS
80052012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8006
07cbfc23
TS
8007 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8008 zero value for regular exit case.
8009
f7db3170
TS
8010 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8011 (__start_context): Preserve zero value for regular exit case.
8012
dc97c227
TS
80132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8014 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8015
8016 * manual/setjmp.texi (setcontext): Clarify normal process
8017 termination when uc_link is the null pointer.
8018 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8019 exit call.
8020
d0cd7d02
AS
80212012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8022
8023 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8024 preprocessor. Test for each exception mask separately.
8025
dd318934
AJ
80262012-07-16 Andreas Jaeger <aj@suse.de>
8027
8028 * po/ru.po: Update from translation team.
8029
8048311a
JM
80302012-07-15 Joseph Myers <joseph@codesourcery.com>
8031
8032 * conform/data/string.h-data (NULL): Use macro-constant. Require
8033 equal to 0.
8034 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8035 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8036 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8037 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8039
b637d46e
AJ
80402012-07-13 Andreas Jaeger <aj@suse.de>
8041
8042 * po/fr.po: Update from translation team.
8043
541428fe
MP
80442012-07-12 Marek Polacek <polacek@redhat.com>
8045
8046 [BZ #14173]
8047 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8048 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8049 loop condition.
8050
ec332e94
JM
80512012-07-12 Joseph Myers <joseph@codesourcery.com>
8052
8053 [BZ #13717]
8054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8055 Change to 2.4.1 where previously 2.4.0.
8056 * sysdeps/unix/sysv/linux/configure: Regenerated.
8057 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8058 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8059 version.
8060 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8061 (__ASSUME_AT_CLKTCK): Remove.
8062 (__ASSUME_AT_PAGESIZE): Likewise.
8063 (__ASSUME_AT_XID): Likewise.
8064 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8065 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8066 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8067 unconditionally.
8068 (HAVE_AUX_PAGESIZE): Likewise.
8069 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8070 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8071 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8072
7b6e99be
JB
80732012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8074
8075 [BZ #14307]
8076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8077 the temporary buffer used to invoke __gethostbyname2_r,
8078 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8079 host_data / struct gaih_addrtuple.
8080 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8081 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8082 header file nss/nsswitch.h.
8083 * nss/nsswitch.h (global scope): Add definition of implementation
8084 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8085 resolv/nss_dns/dns-host.c).
8086
608404eb
AJ
80872012-07-11 Andreas Jaeger <aj@suse.de>
8088
8089 * po/fr.po: Update from translation team.
8090
71220aca
AJ
8091 * po/sv.po: Update from translation team
8092 * po/fr.po: Another update from translation team.
8093
28cfe843
AZ
80942012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8095
8096 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8097 for subnormals or multiply small sinh result by itself.
8098 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8100
6b90f981
DM
81012012-07-11 David S. Miller <davem@davemloft.net>
8102
8103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8104
c6825772
AS
81052012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8106
8107 [BZ #14347]
8108 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8109 (INTERNAL_MARK): Shift it here.
8110
7b8e0d49
MP
81112012-07-10 Marek Polacek <polacek@redhat.com>
8112
8113 [BZ #14151]
8114 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8115 libc_cv_asm_global_directive with .globl.
8116 * configure: Regenerated.
8117 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8118 with .globl.
8119 * sysdeps/i386/configure: Regenerated.
8120 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8121 with .globl.
8122 * sysdeps/x86_64/configure: Regenerated.
8123 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8124 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8125 * elf/tst-unique2mod2.c: Likewise.
8126 * elf/tst-unique2mod1.c: Likewise.
8127 * elf/tst-unique1mod2.c: Likewise.
8128 * elf/tst-unique1mod1.c: Likewise.
8129 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8130 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8131 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8132 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8133 * sysdeps/mach/sysdep.h: Likewise.
8134 * sysdeps/i386/sysdep.h: Likewise.
8135 * sysdeps/i386/i386-mcount.S: Likewise.
8136 * sysdeps/x86_64/_mcount.S: Likewise.
8137 * sysdeps/x86_64/sysdep.h: Likewise.
8138 * sysdeps/sh/_mcount.S: Likewise.
8139 * sysdeps/sh/sysdep.h: Likewise.
8140 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8141 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8142 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8143 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8144 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8145 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8146 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8147 * locale/localeinfo.h: Likewise.
8148 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8149 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8150
6c55cda3
RM
81512012-07-09 Roland McGrath <roland@hack.frob.com>
8152
8153 [BZ #14336]
8154 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8155 system".
8156 * manual/message.texi (The Uniforum approach): Likewise.
8157 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8158 (glibc iconv Implementation): Likewise.
8159
638a572e
JM
81602012-07-09 Joseph Myers <joseph@codesourcery.com>
8161
8162 [BZ #14337]
8163 * math/s_clog.c (__clog): Avoid scaling a value down where that
8164 could result in underflow.
8165 * math/s_clog10.c (__clog10): Likewise.
8166 * math/s_clog10f.c (__clog10f): Likewise.
8167 * math/s_clog10l.c (__clog10l): Likewise.
8168 * math/s_clogf.c (__clogf): Likewise.
8169 * math/s_clogl.c (__clogl): Likewise.
8170 * math/libm-test.inc (clog_test): Add more tests.
8171 (clog10_test): Likewise.
8172 * sysdeps/i386/fpu/libm-test-ulps: Update.
8173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8174
261f4859
AS
81752012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8176
0abaf3e4
AS
8177 [BZ #14283]
8178 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8179 by 7 not 8 to examine high bit of fractional part.
8180
261f4859
AS
8181 [BZ #14042]
8182 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8183 for call to __mcount_internal.
8184 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8185 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8186 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8187
f17ac40d
JM
81882012-07-06 Joseph Myers <joseph@codesourcery.com>
8189
9ad63c23
JM
8190 [BZ #14154]
8191 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8192 approximation for values within 0x1p-13f of an odd multiple of
8193 pi/4.
8194 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8195 exception. Add more tests.
8196 * sysdeps/i386/fpu/libm-test-ulps: Update.
8197
f17ac40d
JM
8198 [BZ #6778]
8199 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8200 inputs and return -1 for them. Do not check for +Inf in case not
8201 reachable for +Inf.
8202 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8203 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8204 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8205 and return -1 for them. Do not check for +Inf in case not
8206 reachable for +Inf.
8207 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8208 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8213 spurious underflow.
8214 * sysdeps/i386/fpu/libm-test-ulps: Update.
8215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8216
fb21f89b
MF
82172012-07-06 Mike Frysinger <vapier@gentoo.org>
8218
8219 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8220
cdfe2c5e
JM
82212012-07-05 Joseph Myers <joseph@codesourcery.com>
8222
8223 [BZ #14157]
8224 [BZ #14331]
8225 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8226 could result in spurious underflow. Scale down values above
8227 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8228 * math/s_csqrtf.c (__csqrtf): Likewise.
8229 * math/s_csqrtl.c (__csqrtl): Likewise.
8230 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8231 spurious underflow.
8232 * sysdeps/i386/fpu/libm-test-ulps: Update.
8233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8234
70d35b67
AS
82352012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8236
704bc459
AS
8237 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8238 xopen-msg.sed.
8239 * catgets/xopen-msg.awk: New file.
8240 * catgets/xopen-msg.sed: Removed.
8241
70d35b67
AS
8242 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8243 po2text.sed.
8244 * intl/po2test.awk: New file.
8245 * intl/po2test.sed: Removed.
8246
ca61cf32
JM
82472012-07-04 Joseph Myers <joseph@codesourcery.com>
8248
8249 [BZ #14328]
8250 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8251 or multiply small sinh result by itself.
8252 * math/s_ctanf.c (__ctanf): Likewise.
8253 * math/s_ctanh.c (__ctanh): Likewise.
8254 * math/s_ctanhf.c (__ctanhf): Likewise.
8255 * math/s_ctanhl.c (__ctanhl): Likewise.
8256 * math/s_ctanl.c (__ctanl): Likewise.
8257 * math/libm-test.inc (ctan_test_tonearest): New function.
8258 (ctan_test_towardzero): Likewise.
8259 (ctan_test_downward): Likewise.
8260 (ctan_test_upward): Likewise.
8261 (ctanh_test_tonearest): Likewise.
8262 (ctanh_test_towardzero): Likewise.
8263 (ctanh_test_downward): Likewise.
8264 (ctanh_test_upward): Likewise.
8265 (main): Call these new functions.
8266 * sysdeps/i386/fpu/libm-test-ulps: Update.
8267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8268
ca48a46a
MF
82692012-07-03 Mike Frysinger <vapier@gentoo.org>
8270
8271 * .gitignore: Delete /ports entry.
8272
9d63d37d
AJ
82732012-07-03 Andreas Jaeger <aj@suse.de>
8274
8275 * po/bg.po: Update from translation team.
8276 * po/cs.po: Likewise.
8277 * po/de.po: Likewise.
8278 * po/hr.po: Likewise.
8279 * po/nl.pl: Likewise.
8280 * po/pl.po: Likewise.
8281 * po/vi.po: Likewise.
8282
370ca3d2
JM
82832012-07-03 Joseph Myers <joseph@codesourcery.com>
8284
95f5a9a8
JM
8285 * Makeconfig [!+link] (+link-before-libc): New variable.
8286 [!+link] (+link-after-libc): Likewise.
8287 [!+link] (+link-tests): Likewise.
8288 [!+link] (+link): Define in terms of $(+link-before-libc) and
8289 $(+link-after-libc).
8290 [!+link-static] (+link-static-before-libc): New variable.
8291 [!+link-static] (+link-static-after-libc): Likewise.
8292 [!+link-static] (+link-static-tests): Likewise.
8293 [!+link-static] (+link-static): Define in terms of
8294 $(+link-static-before-libc) and $(+link-static-after-libc).
8295 [build-shared] (link-libc-before-gnulib): New variable.
8296 [build-shared] (link-libc-tests): Likewise.
8297 [build-shared] (link-libc): Define in terms of
8298 $(link-libc-before-gnulib).
8299 [!build-shared] (link-libc-tests): New variable.
8300 (link-libc-static-tests): New variable.
8301 [!gnulib] (gnulib-arch): New variable.
8302 [!gnulib] (gnulib-tests): Likewise.
8303 [!gnulib] (static-gnulib-arch): Likewise.
8304 [!gnulib] (static-gnulib-tests): Likewise.
8305 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8306 Define with "=" instead of ":=".
8307 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8308 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8309 * Rules (binaries-all-notests): New variable.
8310 (binaries-all-tests): Likewise.
8311 (binaries-static-notests): Likewise.
8312 (binaries-static-tests): Likewise.
8313 (binaries-all): Define using $(binaries-all-notests) and
8314 $(binaries-all-tests).
8315 (binaries-static): Define using $(binaries-static-notests) and
8316 $(binaries-static-tests).
8317 (binaries-shared-tests): New variable.
8318 (binaries-shared-notests): Likewise.
8319 (binaries-shared): Remove variable.
8320 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8321 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8322 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8323 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8324 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8325 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8326 * elf/Makefile (sln-modules): New variable.
8327 (extra-objs): Add $(sln-modules:=.o).
8328 (ldconfig-modules): Add static-stubs.
8329 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8330 * elf/static-stubs.c: New file.
8331
7a845b2c
JM
8332 [BZ #14283]
8333 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8334 by 7 not 8 to examine high bit of fractional part. Use volatile
8335 variables when splitting into final array of floats if
8336 __FLT_EVAL_METHOD__ != 0.
8337 * math/libm-test.inc (cos_test): Add another test.
8338 (sin_test): Likewise.
8339 * sysdeps/i386/fpu/libm-test-ulps: Update.
8340
e2283f38
JM
8341 [BZ #14273]
8342 * math/libm-test.inc (cosh_test): Add more tests.
8343
370ca3d2
JM
8344 * version.h (RELEASE): Set to "development".
8345 (VERSION): Set to "2.16.90".
8346
ee9247c3
CD
83472012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8348
8349 * NEWS: Update copyright. Remove last-updated date.
8350 Mention math library bug fixes and timezone data changes.
8351 * README: Mention GNU/Hurd, x32, and HPPA support status.
8352
4648c381
TS
83532012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8354
8355 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8356
aac78a43
AJ
83572012-06-27 Andreas Jaeger <aj@suse.de>
8358
8359 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8360
ed3dbfad
AJ
83612012-06-25 Andreas Jaeger <aj@suse.de>
8362
8363 * sysdeps/s390/fpu/libm-test-ulps: Update.
8364
4d0ee855
AS
83652012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8366 Thomas Schwinge <thomas@codesourcery.com>
8367
8368 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8369 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8371 fanotify_mark.
8372
af1bce34
TS
83732012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8374
a9fa33ba
TS
8375 * sysdeps/mach/start.c: Remove file.
8376 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8377 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8378 * sysdeps/sh/init-first.c: Likewise.
8379
58f902b8
TS
8380 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8381 registers for frame unwinding purposes, add CFI directives.
8382 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8383 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8384 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8385 Likewise.
8386
1518f58b
TS
8387 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8388 __fortify_fail returning.
8389 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8390
db9b5059
TS
8391 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8392 sysdeps/sh/____longjmp_chk.S.
8393 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8394 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8395 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8396 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8397
967705fe
TS
8398 * sysdeps/sh/abort-instr.h: New file.
8399 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8400 process in case exit returns.
8401
a9def8c4
TS
8402 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8403 initialize the GOT register before use.
8404
2a649725
TS
8405 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8406 calculation of ARGC > 4.
8407
af1bce34
TS
8408 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8409 meaningful names to some local labels.
8410
d230f50a
KK
84112012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8412 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8413
8414 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8415 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8416 (__arch_compare_and_exchange_val_16_acq): Likewise.
8417 (__arch_compare_and_exchange_val_32_acq): Likewise.
8418 (atomic_exchange_and_add): Fix gUSA sequence.
8419 (atomic_add): Likewise.
8420 (atomic_add_negative): Likewise.
8421 (atomic_add_zero): Likewise.
8422 (atomic_bit_test_set): Likewise.
8423
0479b305
AS
84242012-06-22 Andreas Schwab <schwab@redhat.com>
8425
8426 [BZ #13579]
8427 * include/link.h (struct link_map): Add l_free_initfini.
8428 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8429 l_initfini.
8430 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8431 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8432 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8433 set.
8434
0e3933b9
CD
84352012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8436
8437 * configure.in: Use AC_LANG_SOURCE.
8438 * configure: Regenerate.
8439
4248b1b1
RM
84402012-06-22 Roland McGrath <roland@hack.frob.com>
8441
8442 * configure.in (libc_cv_localstatedir): New substituted variable.
8443 * configure: Regenerated.
8444 * config.make.in (localstatedir): New variable, substituted from
8445 libc_cv_localstatedir.
8446 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8447 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8448 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8449 * sysdeps/gnu/configure: Regenerated.
8450
006dd861
JL
84512012-06-21 Jeff Law <law@redhat.com>
8452
8453 [BZ #14277]
8454 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8455 free. Simplify list management for _LIBC case.
8456
79662d42
JM
84572012-06-21 Joseph Myers <joseph@codesourcery.com>
8458
b7abb4bf
JM
8459 [BZ #14273]
8460 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8461 Clear sign bit of 64-bit integer value before comparing against
8462 overflow value.
8463
79662d42
JM
8464 * sysdeps/mach/configure: Regenerated.
8465
1f150908
L
84662012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8467
8468 [BZ #14278]
8469 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8470
28363bbf
JL
84712012-06-21 Jeff Law <law@redhat.com>
8472
8473 [BZ #13882]
8474 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8475 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8476 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8477 * elf/dl-open.c (dl_open_worker): Likewise.
8478
09615db4
CD
84792012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8480
8481 * scripts/list-sources.sh: Scan PORTS for translations.
8482 * po/libc.pot: Regenerated.
8483
2174c6dd
AJ
84842012-06-21 Andreas Jaeger <aj@suse.de>
8485
8486 [BZ #12194]
8487 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8488 warning.
8489 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8490 * bits/byteswap-16.h (__bswap_16): Likewise.
8491 * bits/byteswap.h (__bswap_constant_16): Likewise.
8492
3ee947b1
L
84932012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8494
8495 [BZ #14117]
a2f34833
L
8496 * sysdeps/i386/fpu_control.h: Removed.
8497 * sysdeps/x86_64/fpu_control.h: Moved to ...
8498 * sysdeps/x86/fpu_control.h: Here.
8499
3ee947b1
L
8500 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8501 (_FPU_SETCW): Likewise.
8502
ed1825f8
L
85032012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8504
25f1282a
L
8505 [BZ #14117]
8506 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8507 * sysdeps/x86/fpu/bits/mathinline.h: This.
8508 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8509
ed1825f8
L
8510 [BZ #14050]
8511 [BZ #14117]
8512 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8513 functions if __x86_64__ is defined.
8514
36d54b74
CLT
85152012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8516
8517 * string/endian.h: Add !__ASSEMBLER__ condition for including
8518 conversion interfaces.
8519
10285c21
JM
85202012-06-15 Joseph Myers <joseph@codesourcery.com>
8521
8522 [BZ #14241]
8523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8524 of ABS(x) in calculating zero to negative powers other than odd
8525 integers.
8526 * math/libm-test.inc (pow_test): Add more tests.
8527
06c5abbd
AJ
85282012-06-15 Andreas Jaeger <aj@suse.de>
8529
8530 * manual/contrib.texi (Contributors): Update entry of Liubov
8531 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8532 Machado Filho.
8533
a3aeac40
CH
85342012-06-15 Cyril Hrubis <metan@ucw.cz>
8535
8536 * string/string.h: Add __wur to GNU version of strerror_r.
8537
49bdf4c1
L
85382012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 [BZ #14229]
8541 * string/Makefile (tests): Add tst-strtok_r.
8542 * string/tst-strtok_r.c: New file.
8543 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8544 RAX_LP/RDX_LP on SAVE_PTR.
8545
834f9b8d
RM
85462012-06-14 Roland McGrath <roland@hack.frob.com>
8547
8548 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8549
75fa1921
JM
85502012-06-14 Joseph Myers <joseph@codesourcery.com>
8551
8552 * libm_test.inc (csqrt_test): Allow more spurious underflow
8553 exceptions.
8554 (j0_test): Likewise.
8555 (j1_test): Likewise.
8556 (y0_test): Likewise.
8557 (y1_test): Likewise.
8558
771766df
CD
85592012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8560
8561 * po/Makefile (libc.pot): Use UTF-8 charset.
8562
ceb9e56b
PP
85632012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8564
8565 [BZ #14210]
8566 Suppress sign-conversion warning from FD_SET.
8567 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8568 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8569 not unsigned long int.
8570 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8571
ddb28975
L
85722012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8573
8574 [BZ #14050]
8575 [BZ #14117]
8576 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8577 __extern_always_inline instead of __extern_inline.
8578 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8579 (__signbit): Likewise.
8580 (__signbitl): Support C++ namespace.
8581 (lrintf): New inline function.
8582 (lrint): Likewise.
8583 (llrintf): Likewise.
8584 (llrint): Likewise.
8585 (fmaxf): Likewise.
8586 (fmax): Likewise.
8587 (fminf): Likewise.
8588 (fmin): Likewise.
8589 (rint): Likewise.
8590 (rintf): Likewise.
8591 (ceil): Likewise.
8592 (ceilf): Likewise.
8593 (floor): Likewise.
8594 (floorf): Likewise.
8595 (nearbyint): Likewise.
8596 (nearbyintf): Likewise.
8597
d7b4fb26
TS
85982012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8599
8600 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8601 non-default versions.
8602
eb55f5c2
RM
86032012-06-11 Roland McGrath <roland@hack.frob.com>
8604
8605 [BZ #14218]
8606 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8607
366af02c
TS
86082012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8609
99ff6e5c
TS
8610 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8611 (FE_UPWARD, FE_DOWNWARD): Don't define.
8612 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8613 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8614
366af02c
TS
8615 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8616 reading it.
8617 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8618 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8619
793ea851
KK
86202012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8621
8622 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8624 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8625 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8626
a728a38f
L
86272012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8628
8629 [BZ #14117]
c08010c7
L
8630 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8631 * sysdeps/i386/fpu/Implies: New file.
8632 * sysdeps/x86_64/fpu/Implies: Likewise.
8633 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8634 * sysdeps/x86/fpu/bits/fenv.h: This.
8635
a728a38f
L
8636 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8637 __SSE_MATH__.
8638
6e230d11
SP
86392012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8640
8641 [BZ #14134]
8642 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8643 character 0xffff that matches the last element of the
8644 conversion table.
8645
1b671feb
AZ
86462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8647
8648 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8649 fmodl commit.
8650
6043738b
AZ
86512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8652
8653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8654 values higher than 25.6283.
8655
34ae0b32
AZ
86562012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8657
8658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8659 subnormal exponent extraction and add some __builtin_expect.
8660 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8661 Fix for subnormal mantissa calculation.
8662
1214ec8f
MF
86632012-06-04 Mike Frysinger <vapier@gentoo.org>
8664
8665 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8666 cpu2 is -1 and errno is not ENOSYS.
8667
f3d1f93c
L
86682012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8669
8670 [BZ #14117]
0e4a3cd7
L
8671 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8672 * sysdeps/x86/bits/string.h: This.
8673 * sysdeps/x86_64/bits/string.h: Removed.
8674
6704c645
L
8675 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8676 if not compiling for x86-64, but compiling for >= i486.
8677
48495318
L
8678 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8679 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8680
14adcbfc
L
8681 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8682 New macro from Linux kernel 3.4.0.
8683 (FP_XSTATE_MAGIC2): Likewise.
8684 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8685 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8686 (struct _fpx_sw_bytes): New struct.
8687 (struct _xsave_hdr): Likewise.
8688 (struct _ymmh_state): Likewise.
8689 (struct _xstate): Likewise.
8690
68e408ab
L
8691 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8692 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8693 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8694 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8695 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8696 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8697
f3d1f93c
L
8698 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8699 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8700 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8701 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8702 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8703 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8704
d9dc34cd
TMQMF
87052012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8706
8707 [BZ #13743]
8708 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8709 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8710 (sysdep_headers): Include sys/platform/ppc.h.
8711 * sysdeps/powerpc/test-gettimebase.c: Test for
8712 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8713 * manual/Makefile (appendices): Include platform.texi.
8714 * manual/contrib.texi (Contributors): Update @node pointers.
8715 * manual/maint.texi (Maintenance): Likewise.
8716 (Platform): New node.
8717 * manual/platform.texi: New file. Document the new features.
8718
4af3879c
SP
87192012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8720 Jakub Jelinek <jakub@redhat.com>
8721
8722 [BZ #14188]
8723 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8724 where __builtin_expect is unavailable.
8725
2fd6ff13
DM
87262012-06-03 David S. Miller <davem@davemloft.net>
8727
8728 * stdlib/longlong.h: Updated from GCC.
8729
173f7220
AS
87302012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8731
8732 [BZ #14042]
8733 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8734 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8735 __mcount_internal.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8737 (GLIBC_2.16): Likewise.
8738
f34a1c6f
L
87392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8740
8741 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8742
88a4576f
JM
87432012-06-01 Joseph Myers <joseph@codesourcery.com>
8744
ea32bcdd
JM
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8746 (default-abi): New variable.
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8748 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8749 variable.
8750 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8751 Likewise.
8752 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8753 Likewise.
8754 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8755 Likewise.
8756
88a4576f
JM
8757 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8758 definition. Document in comment.
8759
402fe938
DM
87602012-06-01 David S. Miller <davem@davemloft.net>
8761
8762 * stdlib/longlong.h: Updated from GCC.
8763
3553723f
L
87642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8765
8766 [BZ #14117]
3bd872c4
L
8767 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8768 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8769 sys/debugreg.h sys/io.h here.
8770 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8771 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8772 sys/io.h.
8773 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8774 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8775 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8776 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8777 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8778 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8779
3553723f
L
8780 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8781 Define only if __x86_64__ is defined.
8782
4842e4fe
JM
87832012-06-01 Joseph Myers <joseph@codesourcery.com>
8784
c5bfe3d5
JM
8785 [BZ #14048]
8786 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8787 Use int64_t for variable i.
8788 * math/libm-test.inc (fmod_test): Add more tests.
8789
4842e4fe
JM
8790 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8791 z computation is not scheduled after fetestexcept.
8792 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8793 Use math_force_eval instead of asm to ensure calculation scheduled
8794 before exception test.
8795 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8796 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8797
efb73488
AJ
87982012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8799
8800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8801 computation is not scheduled after fetestexcept.
8802
29bcce7c
L
88032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8804
8805 [BZ #14117]
8806 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8807 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8808
73a68f94
AZ
88092012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8810
8811 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8812 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8813
67b6df78
L
88142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8815
edf2933a 8816 [BZ #14117]
ebc64a18
L
8817 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8818 <bits/wordsize.h>.
8819 (__WCHAR_MIN): Support __WORDSIZE == 64.
8820 (__WCHAR_MAX): Likewise.
8821
edf2933a
L
8822 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8823 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8824
57c6cf40
L
8825 [BZ #14183]
8826 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8827 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8828
67b6df78 8829 [BZ #14117]
8eb6281e
L
8830 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8831 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8832
aac639f4
L
8833 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8834 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8835
67b6df78
L
8836 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8837 Defined to 1 if __x86_64__ isn't defined.
8838 (_STAT_VER_LINUX_OLD): New.
8839 (st_atime): Remove duplicate.
8840 (st_mtime): Likewise.
8841 (st_ctime): Likewise.
8842
1c2cfe81
DM
88432012-05-31 David S. Miller <davem@davemloft.net>
8844
8845 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8846 entries.
8847
5be8418c
AS
88482012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8849
e7725326
AS
8850 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8851 gen-libm-test.pl.
8852
5be8418c
AS
8853 [BZ #14132]
8854 * elf/dl-reloc.c: Include <_itoa.h>.
8855 (_dl_reloc_bad_type): Remove use of INTUSE.
8856 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8857 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8858 * stdio-common/psiginfo.c (psiginfo): Likewise.
8859 * stdio-common/psignal.c (psignal): Likewise.
8860 * string/strsignal.c (strsignal): Likewise.
8861 * include/signal.h (_sys_siglist): Declare hidden proto.
8862 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8863 INTVARDEF with libc_hidden_data_def.
8864 * stdio-common/itoa-udigits.c: Likewise.
8865 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8866 (_itoa_lower_digits_internal): Remove declaration.
8867 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8868 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8869 (_sys_sigabbrev_internal): Remove aliases.
8870 (_sys_siglist): Define hidden alias.
8871
507352f1
MT
88722012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8873
8874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8875 bits/sysctl.h.
8876
42bbb1c3
L
88772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8878
8879 [BZ #14117]
6bd784b6
L
8880 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8881 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8882
8bca20f0
L
8883 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8884 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8885 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8886 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8887 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8888 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8889
f9e890a9
L
8890 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8891 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8892 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8893
471101a1
L
8894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8895 with __addr.
8896 (insw): Likewise.
8897 (insl): Likewise.
8898 (outsb): Likewise.
8899 (outsw): Likewise.
8900 (outsl): Likewise.
8901
6451c862
L
8902 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8904 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8905
a254b8c9
L
8906 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8907 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8908 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8909 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8910 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8911 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8912
b8dfdd92
L
8913 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8914 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8915
578cd270
L
8916 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8917 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8918
de662f5f
L
8919 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8921 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8922
25653439
L
8923 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8924 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8925 to ...
8926 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8927
6bad24a0
L
8928 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8929 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8930 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8931
42bbb1c3
L
8932 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8933 for x86-64.
8934 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8935
2d10d547
JM
89362012-05-31 Joseph Myers <joseph@codesourcery.com>
8937
8938 * math/math.h (M_El): Use two more decimal places.
8939 (M_LOG2El): Likewise.
8940 (M_LOG10El): Likewise.
8941 (M_LN2l): Likewise.
8942 (M_LN10l): Likewise.
8943 (M_PIl): Likewise.
8944 (M_PI_2l): Likewise.
8945 (M_PI_4l): Likewise.
8946 (M_1_PIl): Likewise.
8947 (M_2_PIl): Likewise.
8948 (M_2_SQRTPIl): Likewise.
8949 (M_SQRT2l): Likewise.
8950 (M_SQRT1_2l): Likewise.
8951
f230c29b
DM
89522012-05-31 David S. Miller <davem@davemloft.net>
8953
8954 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8955 values between float registers.
8956 * sysdeps/sparc/sparc64/memset.S: Likewise.
8957 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8958
fed806c3
MF
89592012-05-31 Mike Frysinger <vapier@gentoo.org>
8960
8961 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8962 -D_FORTIFY_SOURCE=1.
8963 (CPPFLAGS-tst-longjmp_chk.c): Define.
8964 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8965 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8966 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8967 CFLAGS-tst-wchar-h.c.
8968
30917259
MP
89692012-05-31 Marek Polacek <polacek@redhat.com>
8970
8971 [BZ #14132]
8972 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8973 __endmntent_internal): Remove declaration.
8974 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8975 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8976 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8977
1c58d5dc
DM
89782012-05-30 David S. Miller <davem@davemloft.net>
8979
8980 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8981 (___Q_simulate_exceptions): Use real FP ops rather than writing
8982 into the %fsr.
8983 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8984 Likewise.
8985
7dc00e0d
L
89862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8987
8988 [BZ #14117]
0bd53985
L
8989 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8990 * sysdeps/x86/bits/xtitypes.h: This.
8991
3a257e66
L
8992 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8993 * sysdeps/x86/bits/wordsize.h: This.
8994
62f62904
L
8995 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8996 * sysdeps/x86/bits/huge_vall.h: This.
8997
404fe9d9
L
8998 * sysdeps/i386/bits/select.h: Removed.
8999 * sysdeps/x86_64/bits/select.h: Renamed to ...
9000 * sysdeps/x86/bits/select.h: This.
9001
d48d0446
L
9002 * sysdeps/i386/bits/setjmp.h: Removed.
9003 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9004 * sysdeps/x86/bits/setjmp.h: This.
9005
7dc00e0d
L
9006 * sysdeps/i386/bits/mathdef.h: Removed.
9007 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9008 * sysdeps/x86/bits/mathdef.h: This.
9009
03277f8f
AS
90102012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9011
9012 [BZ #14132]
9013 * include/sys/socket.h (__connect_internal)
9014 (__libc_sa_len_internal): Remove declaration.
9015 (__connect, __libc_sa_len): Declare hidden_proto.
9016 (SA_LEN): Remove use of INTUSE.
9017 * socket/connect.c: Add libc_hidden_def.
9018 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9019 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9020 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9021 alias.
9022 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9023 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9024 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9025 of adding _internal alias.
9026
13764867
L
90272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9028
9029 [BZ #14117]
6bd97696
L
9030 * sysdeps/i386/bits/link.h: Removed.
9031 * sysdeps/i386/bits/linkmap.h: Likewise.
9032 * sysdeps/x86_64/bits/link.h: Renamed to ...
9033 * sysdeps/x86/bits/link.h: This.
9034 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9035 * sysdeps/x86/bits/linkmap.h: This.
9036
f726f0bb
L
9037 * sysdeps/i386/bits/endian.h: Removed.
9038 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9039 * sysdeps/x86/bits/endian.h: This.
9040
13764867
L
9041 * sysdeps/i386/bits/byteswap.h: Removed.
9042 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9043 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9044 * sysdeps/x86/bits/byteswap.h: This.
9045 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9046 * sysdeps/x86/bits/byteswap-16.h: This.
9047 * sysdeps/i386/Implies: Add x86.
9048 * sysdeps/x86_64/Implies: Likewise.
9049
ae251b0b
DM
90502012-05-30 David S. Miller <davem@davemloft.net>
9051
9052 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9053 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9054 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9055 (FP_TRAPPING_EXCEPTIONS): Define.
9056 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9057 (FP_TRAPPING_EXCEPTIONS): Define.
9058 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9059 subnormals only when inexact has been signalled or underflow
9060 exceptions are enabled.
9061 (_FP_PACK_CANONICAL): Likewise.
9062
d5c90867
L
90632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 [BZ #14183]
9066 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9067 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9068
63f1549e
RH
90692012-05-30 Richard Henderson <rth@twiddle.net>
9070
8d8f2279
RH
9071 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9072 with #ifndef NOT_IN_libc.
9073
63f1549e
RH
9074 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9075 marked to avoid plt entry.
9076
0ab0291b
L
90772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9078
9079 [BZ #14112]
9080 * Makeconfig (default-abi): New macro.
9081 (abi-includes): Likewise.
9082 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9083 $(abi-$(default-abi)-lib-soname) for soname if defined.
9084 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9085 abi-variants.
9086 * Makefile (installed-stubs): Likewise.
9087 * include/stubs-biarch.h: Removed.
9088 * scripts/lib-names.awk: Only handle one library at a time.
9089 * scripts/soversions.awk: Remove WORDSIZE support.
9090 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9091 entries.
9092 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9093 Removed.
9094 (syscall-list-default-condition): Likewise.
9095 (syscall-list-default-condition): Likewise.
9096 (syscall-list-includes): Likewise.
9097 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9098 syscall-list-* with abi-*. Handle undefined abi-variants.
9099 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9100 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9101 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9102 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9103 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9104 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9105 Removed.
9106 (syscall-list-32-options): Likewise.
9107 (syscall-list-32-condition): Likewise.
9108 (syscall-list-64-options): Likewise.
9109 (syscall-list-64-condition): Likewise.
9110 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9111 macro.
9112 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9113 Renamed to ...
9114 (abi-*): This.
9115 (abi-64-ld-soname): New macro.
9116 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9117 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9118 Renamed to ...
9119 (abi-*): This.
9120 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9121 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9122
4da0431d
JM
91232012-05-30 Joseph Myers <joseph@codesourcery.com>
9124
3a85279c
JM
9125 * sysdeps/unix/sysv/linux/kernel-features.h
9126 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9127 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9128 include <kernel-features.h>.
9129 [!__NR_ftruncate64]: Remove conditional code.
9130 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9131 [__NR_ftruncate64]: Make code unconditional.
9132 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9133 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9134 include <kernel-features.h>.
9135 [!__NR_ftruncate64]: Remove conditional code.
9136 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9137 [__NR_ftruncate64]: Make code unconditional.
9138 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9140 include <kernel-features.h>.
9141 [!__NR_ftruncate64]: Remove conditional code.
9142 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9143 [__NR_ftruncate64]: Make code unconditional.
9144 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9146 include <kernel-features.h>.
9147 [!__NR_ftruncate64]: Remove conditional code.
9148 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9149 [__NR_ftruncate64]: Make code unconditional.
9150 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9151
4da0431d
JM
9152 * configure.in (libc_cv_fpie): Weaken to a compile test using
9153 LIBC_TRY_CC_OPTION.
9154 * configure: Regenerated.
9155
11ef492c
AK
91562012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9157
9158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9162 Refreshed.
9163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9169 Refreshed.
9170
d66ef399
DM
91712012-05-27 David S. Miller <davem@davemloft.net>
9172
9173 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9174 (___Q_zero): New.
9175 (__Q_simulate_exceptions): Return void. Change to simulate
9176 exceptions by writing into the %fsr.
9177 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9178 (__Qp_handle_exceptions): Likewise.
9179 (numbers): Delete.
9180 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9181 __Qp_handle_exceptions.
9182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9183 __Qp_handle_exceptions.
9184 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9185 as unused and give dummy FP_RND_NEAREST initializer.
9186 (FP_INHIBIT_RESULTS): Define.
9187 (___Q_simulate_exceptions): Update declaration.
9188 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9189 formatting.
9190 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9191 as unused and give dummy FP_RND_NEAREST initializer.
9192 (__Qp_handle_exceptions): Update declaration.
9193 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9194 formatting.
9195
04fb54b5
TS
91962012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9197
9198 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9199 the temporary FPU control word.
9200 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9201 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9202 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9203 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9204 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9205 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9206 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9207 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9208 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9209 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9210 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9211
3f99608f
KK
92122012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9213
9214 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9215 fields.
9216
65a4de4e
CLT
92172012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9218
9219 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9220 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9221 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9222 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9223 Likewise.
9224 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9225 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9226 Likewise.
9227
15749d40
UD
92282012-05-27 Ulrich Drepper <drepper@gmail.com>
9229
9230 * po/h.po: Update from translation team.
9231
25dbcb27
AS
92322012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9233
3d3f8e55
AS
9234 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9235
25dbcb27
AS
9236 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9237 handling of denormals.
9238 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9239 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9240 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9241 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9245 Likewise.
9246
7ad47a80 92472012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9248
9249 [BZ #14152]
9250 * math/libm-test.inc (fma_test): Don't always expect underflow
9251 exception.
9252
9c6ea9fa
SP
92532012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9254
9255 [BZ #12416]
9256 * elf/tst-execstack.c: Include stackinfo.h.
9257 (do_test): Adjust test case to ensure that pthread_getattr_np
9258 behaviour remains the same after marking stack executable.
9259
a8239222
JM
92602012-05-25 Joseph Myers <joseph@codesourcery.com>
9261
9262 * sysdeps/unix/sysv/linux/kernel-features.h
9263 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9264 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9265 kernel-features.h.
9266 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9267 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9268 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9269 kernel-features.h.
9270 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9271 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9272
918b5606
L
92732012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9274
9275 * configure.in: Define the default includes to being none.
9276 * configure: Regenerated.
9277
3a097cc7
RM
92782012-05-25 Roland McGrath <roland@hack.frob.com>
9279
8422c9a5
RM
9280 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9281 * sysdeps/x86_64/setjmp.S: Likewise.
9282 * sysdeps/i386/bsd-setjmp.S: Likewise.
9283 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9284 * sysdeps/i386/setjmp.S: Likewise.
9285 * sysdeps/i386/__longjmp.S: Likewise.
9286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9287 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9288
3a097cc7
RM
9289 * include/stap-probe.h: New file.
9290 * configure.in: Handle --enable-systemtap.
9291 * configure: Regenerated.
9292 * config.h.in (USE_STAP_PROBE): New #undef.
9293 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9294 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9295 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9296
21708942
JM
92972012-05-25 Joseph Myers <joseph@codesourcery.com>
9298
9299 [BZ #13717]
9300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9301 to 2.4.0 where earlier.
9302 * sysdeps/unix/sysv/linux/configure: Regenerated.
9303 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9304 <kernel-features.h>.
9305 [__ASSUME_32BITUIDS]: Make code unconditional.
9306 [!__ASSUME_32BITUIDS]: Remove conditional code.
9307 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9308 <kernel-features.h>.
9309 [__ASSUME_32BITUIDS]: Make code unconditional.
9310 [!__ASSUME_32BITUIDS]: Remove conditional code.
9311 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9312 [__ASSUME_32BITUIDS]: Make code unconditional.
9313 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9314 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9315 <kernel-features.h>.
9316 [__ASSUME_32BITUIDS]: Make code unconditional.
9317 [!__ASSUME_32BITUIDS]: Remove conditional code.
9318 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9319 <kernel-features.h>.
9320 [__ASSUME_32BITUIDS]: Make code unconditional.
9321 [!__ASSUME_32BITUIDS]: Remove conditional code.
9322 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9323 <kernel-features.h>.
9324 [__ASSUME_32BITUIDS]: Make code unconditional.
9325 [!__ASSUME_32BITUIDS]: Remove conditional code.
9326 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9327 <kernel-features.h>.
9328 [__ASSUME_32BITUIDS]: Make code unconditional.
9329 [!__ASSUME_32BITUIDS]: Remove conditional code.
9330 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9331 <kernel-features.h>.
9332 [__ASSUME_32BITUIDS]: Make code unconditional.
9333 [!__ASSUME_32BITUIDS]: Remove conditional code.
9334 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9335 <kernel-features.h>.
9336 [__ASSUME_32BITUIDS]: Make code unconditional.
9337 [!__ASSUME_32BITUIDS]: Remove conditional code.
9338 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9339 <kernel-features.h>.
9340 [__ASSUME_32BITUIDS]: Make code unconditional.
9341 [!__ASSUME_32BITUIDS]: Remove conditional code.
9342 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9343 <kernel-features.h>.
9344 [__ASSUME_32BITUIDS]: Make code unconditional.
9345 [!__ASSUME_32BITUIDS]: Remove conditional code.
9346 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9347 <kernel-features.h>.
9348 [__ASSUME_32BITUIDS]: Make code unconditional.
9349 [!__ASSUME_32BITUIDS]: Remove conditional code.
9350 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9351 <kernel-features.h>.
9352 [__ASSUME_32BITUIDS]: Make code unconditional.
9353 [!__ASSUME_32BITUIDS]: Remove conditional code.
9354 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9355 <kernel-features.h>.
9356 [__NR_setresgid] (__setresgid): Do not declare.
9357 [__ASSUME_32BITUIDS]: Make code unconditional.
9358 [!__ASSUME_32BITUIDS]: Remove conditional code.
9359 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9360 <kernel-features.h>.
9361 [__NR_setresuid] (__setresuid): Do not declare.
9362 [__ASSUME_32BITUIDS]: Make code unconditional.
9363 [!__ASSUME_32BITUIDS]: Remove conditional code.
9364 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9365 <kernel-features.h>.
9366 [__ASSUME_32BITUIDS]: Make code unconditional.
9367 [!__ASSUME_32BITUIDS]: Remove conditional code.
9368 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9369 <kernel-features.h>.
9370 [__ASSUME_32BITUIDS]: Make code unconditional.
9371 [!__ASSUME_32BITUIDS]: Remove conditional code.
9372 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9373 <kernel-features.h>.
9374 [__ASSUME_32BITUIDS]: Make code unconditional.
9375 [!__ASSUME_32BITUIDS]: Remove conditional code.
9376 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9377 <kernel-features.h>.
9378 [__ASSUME_32BITUIDS]: Make code unconditional.
9379 [!__ASSUME_32BITUIDS]: Remove conditional code.
9380 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9381 <kernel-features.h>.
9382 [__ASSUME_32BITUIDS]: Make code unconditional.
9383 [!__ASSUME_32BITUIDS]: Remove conditional code.
9384 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9385 <kernel-features.h>.
9386 [__ASSUME_32BITUIDS]: Make code unconditional.
9387 [!__ASSUME_32BITUIDS]: Remove conditional code.
9388 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9389 <kernel-features.h>.
9390 [__ASSUME_32BITUIDS]: Make code unconditional.
9391 [!__ASSUME_32BITUIDS]: Remove conditional code.
9392 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9393 <kernel-features.h>.
9394 [__ASSUME_32BITUIDS]: Make code unconditional.
9395 [!__ASSUME_32BITUIDS]: Remove conditional code.
9396 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9397 <kernel-features.h>.
9398 [__ASSUME_32BITUIDS]: Make code unconditional.
9399 [!__ASSUME_32BITUIDS]: Remove conditional code.
9400 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9401 <kernel-features.h>.
9402 [__ASSUME_32BITUIDS]: Make code unconditional.
9403 [!__ASSUME_32BITUIDS]: Remove conditional code.
9404 * sysdeps/unix/sysv/linux/kernel-features.h
9405 (__ASSUME_SETRESUID_SYSCALL): Remove.
9406 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9407 (__ASSUME_32BITUIDS): Likewise.
9408 (__ASSUME_LDT_WORKS): Likewise.
9409 (__ASSUME_O_DIRECTORY): Likewise.
9410 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9411 architecture but not kernel version.
9412 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9413 (__ASSUME_MMAP2_SYSCALL): Likewise.
9414 (__ASSUME_STAT64_SYSCALL): Likewise.
9415 (__ASSUME_IPC64): Likewise.
9416 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9417 <kernel-features.h>.
9418 [__ASSUME_32BITUIDS]: Make code unconditional.
9419 [!__ASSUME_32BITUIDS]: Remove conditional code.
9420 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9421 <kernel-features.h>.
9422 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9423 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9424 132096]: Remove conditional code.
9425 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9426 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9427 <kernel-features.h>.
9428 [__ASSUME_32BITUIDS]: Make code unconditional.
9429 [!__ASSUME_32BITUIDS]: Remove conditional code.
9430 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9431 <kernel-features.h>.
9432 [__ASSUME_32BITUIDS]: Make code unconditional.
9433 [!__ASSUME_32BITUIDS]: Remove conditional code.
9434 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9435 <kernel-features.h>.
9436 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9437 unconditional.
9438 (__setresgid): Do not declare.
9439 [__ASSUME_32BITUIDS]: Make code unconditional.
9440 [!__ASSUME_32BITUIDS]: Remove conditional code.
9441 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9442 <kernel-features.h>.
9443 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9444 unconditional.
9445 (__setresuid): Do not declare.
9446 [__ASSUME_32BITUIDS]: Make code unconditional.
9447 [!__ASSUME_32BITUIDS]: Remove conditional code.
9448 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9449 <kernel-features.h>.
9450 [__ASSUME_32BITUIDS]: Make code unconditional.
9451 [!__ASSUME_32BITUIDS]: Remove conditional code.
9452 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9453 <kernel-features.h>.
9454 [__ASSUME_32BITUIDS]: Make code unconditional.
9455 [!__ASSUME_32BITUIDS]: Remove conditional code.
9456
a386f1cc
RH
94572012-05-25 Richard Henderson <rth@twiddle.net>
9458
9459 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9460 dl_hwcap to ifunc resolver.
9461 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9462 elf_ifunc_invoke.
9463 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9464 dl_hwcap to ifunc resolver.
9465 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9466
b6550497
JM
94672012-05-24 Joseph Myers <joseph@codesourcery.com>
9468
9469 [BZ #14153]
9470 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9471 for |x| <= 2**-26, not 2**-57.
9472 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9473 exception.
9474
b0bc23a1
JL
94752012-05-24 Jeff Law <law@redhat.com>
9476
9477 * stdio-common/Makefile (tests): Add bug25.
9478 * stdio-common/bug25.c: New test.
9479
347c92e9
L
94802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 [BZ #13576]
9483 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9484 multiple of MALLOC_ALIGNMENT in size.
9485 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9486
6bcc8b3f
JM
94872012-05-24 Joseph Myers <joseph@codesourcery.com>
9488
9489 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9490 Require >= 256.
9491 (FILENAME_MAX): Use macro-int-constant.
9492 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9493 (_IOFBF): Use macro-int-constant.
9494 (_IOLBF): Likewise.
9495 (_IONBF): Likewise.
9496 (SEEK_CUR): Likewise.
9497 (SEEK_END): Likewise.
9498 (SEEK_SET): Likewise.
9499 (TMP_MAX): Likewise.
9500 (EOF): Use macro-int-constant. Require < 0.
9501 (NULL): Use macro-constant. Require == 0.
9502 (stdin): Require type to be FILE *.
9503 (stdout): Likewise.
9504 (stderr): Likewise.
9505 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9506 macro-int-constant.
9507 (EXIT_SUCCESS): Likewise.
9508 (NULL): Use macro-constant. Require == 0.
9509 (RAND_MAX): Use macro-int-constant.
9510 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9511 [C99-based standards] (strtof): Require function.
9512 [C99-based standards] (strtold): Likewise.
9513 [C99-based standards] (strtoll): Likewise.
9514 [C99-based standards] (strtoull): Likewise.
9515 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9516 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9517 [ISO || ISO99 || ISO11] (math.h): Likewise.
9518 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9519 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9521
d18ea0c5
AS
95222012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9523
9524 [BZ #14132]
56d25bb8
AS
9525 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9526 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9527 * intl/dgettext.c (DCGETTEXT): Likewise.
9528 * intl/gettext.c (DCGETTEXT): Likewise.
9529 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9530 * posix/regex_internal.h (gettext): Likewise.
9531 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9532 Remove declaration.
9533 * include/argz.h (__argz_count_internal)
9534 (__argz_stringify_internal): Remove declaration.
9535 (__argz_count, __argz_stringify): Declare hidden proto.
9536 * intl/dcgettext.c: Remove use of INTDEF.
9537 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9538 * string/argz-stringify.c: Likewise.
9539 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9540 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9541 Declare hidden proto.
d18ea0c5
AS
9542 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9543 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9544 Declare hidden proto.
9545 * include/stdio.h (__asprintf_internal): Don't declare.
9546 (__asprintf): Don't define as macro. Declare hidden proto.
9547 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9548 (__fsetlocking): Declare hidden proto.
9549 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9550 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9551 hidden proto.
9552 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9553 (_IO_setlinebuf): Remove use of INTUSE.
9554 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9555 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9556 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9557 Remove declaration.
9558 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9559 (_IO_do_flush): Remove use of INTUSE.
9560 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9561 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9562 (_IO_adjust_column, _IO_least_wmarker)
9563 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9564 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9565 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9566 (_IO_default_doallocate, _IO_wdefault_doallocate)
9567 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9568 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9569 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9570 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9571 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9572 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9573 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9574 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9575 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9576 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9577 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9578 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9579 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9580 proto.
9581 (_IO_flush_all_internal, _IO_adjust_column_internal)
9582 (_IO_default_uflow_internal, _IO_default_finish_internal)
9583 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9584 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9585 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9586 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9587 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9588 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9589 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9590 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9591 (_IO_file_close_internal, _IO_file_close_it_internal)
9592 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9593 (_IO_file_init_internal, _IO_file_attach_internal)
9594 (_IO_file_fopen_internal, _IO_file_read_internal)
9595 (_IO_file_sync_internal, _IO_file_seek_internal)
9596 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9597 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9598 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9599 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9600 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9601 (_IO_list_all_internal, _IO_link_in_internal)
9602 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9603 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9604 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9605 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9606 (_IO_do_write_internal, _IO_padn_internal)
9607 (_IO_getline_info_internal, _IO_getline_internal)
9608 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9609 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9610 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9611 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9612 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9613 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9614 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9615 with libc_hidden_ver, remove use of INTUSE.
9616 * libio/genops.c: Likewise.
9617 * libio/freopen.c: Likewise.
9618 * libio/freopen64.c: Likewise.
9619 * libio/iofclose.c: Likewise.
9620 * libio/iofdopen.c: Likewise.
9621 * libio/iofflush.c: Likewise.
9622 * libio/iofflush_u.c: Likewise.
9623 * libio/iofgets.c: Likewise.
9624 * libio/iofgets_u.c: Likewise.
9625 * libio/iofopen.c: Likewise.
9626 * libio/iofopncook.c: Likewise.
9627 * libio/iofread.c: Likewise.
9628 * libio/iofread_u.c: Likewise.
9629 * libio/ioftell.c: Likewise.
9630 * libio/iofwrite.c: Likewise.
9631 * libio/iogetline.c: Likewise.
9632 * libio/iogets.c: Likewise.
9633 * libio/iogetwline.c: Likewise.
9634 * libio/iopadn.c: Likewise.
9635 * libio/iopopen.c: Likewise.
9636 * libio/ioseekoff.c: Likewise.
9637 * libio/ioseekpos.c: Likewise.
9638 * libio/iosetbuffer.c: Likewise.
9639 * libio/iosetvbuf.c: Likewise.
9640 * libio/ioungetc.c: Likewise.
9641 * libio/ioungetwc.c: Likewise.
9642 * libio/iovdprintf.c: Likewise.
9643 * libio/iovsprintf.c: Likewise.
9644 * libio/iovsscanf.c: Likewise.
9645 * libio/memstream.c: Likewise.
9646 * libio/obprintf.c: Likewise.
9647 * libio/oldfileops.c: Likewise.
9648 * libio/oldiofclose.c: Likewise.
9649 * libio/oldiofdopen.c: Likewise.
9650 * libio/oldiofopen.c: Likewise.
9651 * libio/oldiopopen.c: Likewise.
9652 * libio/oldstdfiles.c: Likewise.
9653 * libio/putc.c: Likewise.
9654 * libio/setbuf.c: Likewise.
9655 * libio/setlinebuf.c: Likewise.
9656 * libio/stdfiles.c: Likewise.
9657 * libio/strops.c: Likewise.
9658 * libio/vasprintf.c: Likewise.
9659 * libio/vscanf.c: Likewise.
9660 * libio/vsnprintf.c: Likewise.
9661 * libio/vswprintf.c: Likewise.
9662 * libio/wfiledoalloc.c: Likewise.
9663 * libio/wfileops.c: Likewise.
9664 * libio/wgenops.c: Likewise.
9665 * libio/wmemstream.c: Likewise.
9666 * libio/wstrops.c: Likewise.
9667 * libio/__fpurge.c: Likewise.
9668 * libio/__fsetlocking.c: Likewise.
9669 * assert/assert.c: Likewise.
9670 * debug/fgets_chk.c: Likewise.
9671 * debug/fgets_u_chk.c: Likewise.
9672 * debug/fread_chk.c: Likewise.
9673 * debug/fread_u_chk.c: Likewise.
9674 * debug/gets_chk.c: Likewise.
9675 * debug/obprintf_chk.c: Likewise.
9676 * debug/vasprintf_chk.c: Likewise.
9677 * debug/vdprintf_chk.c: Likewise.
9678 * debug/vsnprintf_chk.c: Likewise.
9679 * debug/vsprintf_chk.c: Likewise.
9680 * malloc/mtrace.c: Likewise.
9681 * misc/error.c: Likewise.
9682 * misc/syslog.c: Likewise.
9683 * stdio-common/asprintf.c: Likewise.
9684 * stdio-common/fxprintf.c: Likewise.
9685 * stdio-common/getw.c: Likewise.
9686 * stdio-common/isoc99_fscanf.c: Likewise.
9687 * stdio-common/isoc99_scanf.c: Likewise.
9688 * stdio-common/isoc99_vfscanf.c: Likewise.
9689 * stdio-common/isoc99_vscanf.c: Likewise.
9690 * stdio-common/isoc99_vsscanf.c: Likewise.
9691 * stdio-common/printf-prs.c: Likewise.
9692 * stdio-common/printf_fp.c: Likewise.
9693 * stdio-common/printf_fphex.c: Likewise.
9694 * stdio-common/printf_size.c: Likewise.
9695 * stdio-common/putw.c: Likewise.
9696 * stdio-common/scanf.c: Likewise.
9697 * stdio-common/sprintf.c: Likewise.
9698 * stdio-common/tmpfile.c: Likewise.
9699 * stdio-common/vfprintf.c: Likewise.
9700 * stdio-common/vfscanf.c: Likewise.
9701 * stdlib/strfmon_l.c: Likewise.
9702 * sunrpc/openchild.c: Likewise.
9703 * sunrpc/xdr_stdio.c: Likewise.
9704 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9705 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9706
d6c33fda
RM
97072012-05-24 Roland McGrath <roland@hack.frob.com>
9708
c1487492
RM
9709 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9710
9711 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9712 in the third column, to generate for the shared library an IFUNC
9713 that uses _dl_vdso_vsym.
9714 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9715 * Makeconfig (object-suffixes-noshared): New variable.
9716
9717 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9718 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9719 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9720 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9721
d6c33fda
RM
9722 [BZ #14132]
9723 * include/sys/time.h (__gettimeofday): Remove macro.
9724 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9725 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9726 Remove INTDEF.
9727 (__gettimeofday): Add libc_hidden_def.
9728 (gettimeofday): Add libc_hidden_weak.
9729 * sysdeps/mach/gettimeofday.c: Likewise.
9730 * sysdeps/posix/gettimeofday.c: Likewise.
9731 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9732 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9733 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9734 (__gettimeofday_internal): Remove strong_alias.
9735 (__gettimeofday): Add libc_hidden_def.
9736 (gettimeofday): Add libc_hidden_weak.
9737 * sysdeps/unix/syscalls.list (gettimeofday):
9738 Remove __gettimeofday_internal alias.
9739
b5a2bbe6
L
97402012-05-24 Daniel Jacobowitz <drow@false.org>
9741 H.J. Lu <hongjiu.lu@intel.com>
9742
9743 [BZ #12495]
9744 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9745 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9746 (largebin_index_32_big): New.
9747 (largebin_index): Use it for 16-byte alignment.
9748 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9749 correction with front_misalign.
9750
cfba4fda
L
97512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9752
7f907421
L
9753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9755 Likewise.
9756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9757 Likewise.
9758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9759 Likewise.
9760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9761 Likewise.
9762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9763 Likewise.
9764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9765 Likewise.
9766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9767 Likewise.
9768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9769 Likewise.
9770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9771 Likewise.
9772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9773 Likewise.
9774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9775 Likewise.
9776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9777 Likewise.
9778
cfba4fda
L
9779 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9780 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9781
80bad0cc
JM
97822012-05-24 Joseph Myers <joseph@codesourcery.com>
9783
7a25eb06
JM
9784 [BZ #10846]
9785 [BZ #14036]
9786 * math/libm-test.inc (exp_test): Add test from bug 14036.
9787 (pow_test): Add test from bug 10846.
9788
795405f9
JM
9789 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9790 and other flags.
9791 (special_function): Do not include flags in test name.
9792 (parse_args): Likewise.
9793 * sysdeps/i386/fpu/libm-test-ulps: Update.
9794 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9795 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9796 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9798
80bad0cc
JM
9799 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9800 exceptions.
9801 * math/libm-test.inc ("Philosophy"): Update comment about
9802 exception testing.
9803 (UNDERFLOW_EXCEPTION): New macro.
9804 (UNDERFLOW_EXCEPTION_OK): Likewise.
9805 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9806 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9807 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9808 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9809 (INVALID_EXCEPTION_OK): Update value.
9810 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9811 (OVERFLOW_EXCEPTION_OK): Likewise.
9812 (IGNORE_ZERO_INF_SIGN): Likewise.
9813 (test_exceptions): Handle underflow exceptions.
9814 (acos_test): Update for underflow exception expectations.
9815 (cexp_test): Likewise.
9816 (clog_test): Likewise.
9817 (clog10_test): Likewise.
9818 (csqrt_test): Likewise.
9819 (ctan_test): Likewise.
9820 (ctanh_test): Likewise.
9821 (exp_test): Likewise.
9822 (exp10_test): Likewise.
9823 (exp2_test): Likewise.
9824 (expm1_test): Likewise.
9825 (fma_test): Likewise.
9826 (j0_test): Likewise.
9827 (jn_test): Likewise.
9828 (nexttoward_test): Likewise.
9829 (pow_test): Likewise.
9830 (scalbn_test): Likewise.
9831 (scalbln_test): Likewise.
9832 (tan_test): Likewise.
9833 (y1_test): Likewise.
9834 * sysdeps/i386/fpu/libm-test-ulps: Update.
9835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9836
9e0e3d0b
DM
98372012-05-23 David S. Miller <davem@davemloft.net>
9838
9839 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9840 (__libc_sigaction): Remove unused local variables.
9841
ccd0a08f
L
98422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9843
9844 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9845
62bdf9a6
PE
98462012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9847
f8591f80
PE
9848 mktime: avoid signed integer overflow
9849 * time/mktime.c (__mktime_internal): Do not mishandle the case
9850 where diff == INT_MIN.
9851
94c7d826
PE
9852 mktime: simplify computation of average
9853 * time/mktime.c (ranged_convert): Use new time_t_avg function
9854 instead of rolling our own (probably-slower) code.
9855
ce73d683
PE
9856 mktime: do not assume signed right shift propagates sign bit
9857 * time/mktime.c (isdst_differ): New static function.
9858 (__mktime_internal): No need to normalize tm_isdst now.
9859 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9860 tm_isdst values.
9861
72a22e59
PE
9862 mktime: merge another wrapv change from gnulib
9863 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9864 from some compilers.
9865
68605433
PE
9866 mktime: remove incorrect attempt at unusual arithmetics
9867 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9868 The code didn't really work on such machines anyway.
9869 (TYPE_MINIMUM): Assume two's complement.
9870 (twos_complement_arithmetic): Verify that long_int and time_t
9871 are two's complement (or unsigned, in the latter case).
9872
03cf7fe3
PE
9873 mktime: check signed shifts on long_int and time_t, too
9874 * time/mktime.c (SHR): Check that shifts work as desired
9875 on the types long_int and time_t too, as SHR is used on
9876 such types.
9877
f04dfbc2
PE
9878 mktime: do not assume 'long' is wide enough
9879 * time/mktime.c (verify): Move decl up.
9880 (long_int): New type.
9881 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9882 to remove assumption in the code that 'long' is wide enough to
9883 store year values. This assumption is not true on x32 and on
9884 some non-glibc platforms.
9885
62bdf9a6
PE
9886 mktime: merge wrapv change from gnulib
9887 * time/mktime.c (WRAPV): New macro.
9888 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9889 (guess_time_tm, __mktime_internal): Do not assume that signed
9890 integer overflow wraps around; modern compilers generate code
9891 where this assumption is no longer valid.
9892
5e292e4f
L
98932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9894
9895 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9896 Replace "jmp L(pseudo_end)" with "ret".
9897 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9898 Likewise.
9899
8caf8c87
AJ
99002012-05-23 Andreas Jaeger <aj@suse.de>
9901
9902 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9903 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9904
1a09dc56
AJ
99052012-05-23 Andreas Jaeger <aj@suse.de>
9906 Maximilian Attems <max@stro.at>
9907
9908 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9909 New macros.
9910
1c87aba0
L
99112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9912
9913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9914 code so that pseudo_end is just ret and the stack pointer is
9915 correct also for static library in error case.
9916
40e45bd5
JM
99172012-05-23 Joseph Myers <joseph@codesourcery.com>
9918
c2670533
JM
9919 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9920 move to syscalls.list.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9925
40e45bd5
JM
9926 * manual/install.texi (Running make install): Do not mention Linux
9927 kernel version for which pt_chown is not needed.
9928 (Linux): Do not mention problems with nscd with 2.0 kernels.
9929 * INSTALL: Regenerated.
9930
be08eda5
AJ
99312012-05-23 Andreas Jaeger <aj@suse.de>
9932
9933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9934 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9935 macro.
9936 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9937 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9938 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9939 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9940 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9942 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9944 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9946 * sysdeps/unix/sysv/linux/bits/in.h
9947 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9948
a6a056bb
RM
99492012-05-22 Roland McGrath <roland@hack.frob.com>
9950
9951 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9952 (PREPARE_VERSION): Just use assert instead, it will be elided
9953 under [NDEBUG] anyway.
9954
c9009328
L
99552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9956
9957 * sysdeps/unix/sysv/linux/Makefile: Include
9958 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9959 (sysdep_routines): Remove sysctl.
c9009328
L
9960 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9961 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9962 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9963 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9964 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9965
73338355
AJ
99662012-05-22 Andreas Jaeger <aj@suse.de>
9967
9968 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9969 that pseudo_end is just ret and the stack pointer is correct also
9970 for static library in error case.
9971
d44638b0
PP
99722012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9973
9974 [BZ #14122]
9975 * nss/nsswitch.c (defconfig_entries): New variable.
9976 (__nss_database_lookup): Don't leak defconfig entries.
9977 (nss_parse_service_list): Don't leak on error paths.
9978 (free_database_entries): New function.
9979 (free_defconfig): New function.
9980 (free_mem): Move common code to free_database_entries.
9981
31a39bd8
L
99822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9983
da0331a8
L
9984 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9985 Add arch_prctl.
9986 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9987
31a39bd8
L
9988 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9989 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9991 New macro.
9992 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9993 (INTERNAL_SYSCALL_TYPES): Likewise.
9994 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9995 (LOAD_REGS_TYPES_[1-6]): Likewise.
9996 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9997 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9998
45470df3
AZ
99992012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10000
10001 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10002 copysignl for GLIBC_2_0.
10003 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10004 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10006 logbl for GLIBC_2_0.
10007 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10008 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10009
98a61bcb
L
100102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10011
a4f6e481
L
10012 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10013 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10014
f63d5db6
L
10015 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10016 Use "neg %eax".
10017
98a61bcb
L
10018 * time/mktime.c: Update copyright years.
10019
95770f14
PE
100202012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10021
6226efbd
PE
10022 mktime: merge comment-quoting-style change from gnulib
10023 * time/mktime.c: Quote 'like this' in comments.
10024 The GNU coding standards suggest that we no longer quote `like this',
10025 as "`" and "'" are typically rendered asymmetrically nowadays.
10026 The typical gnulib style is to quote 'like this' when quoting
10027 code, and "like this" when quoting English.
10028
b99e4f78
PE
10029 * time/mktime.c (compile-command): Add "-I.".
10030
643e01e6
PE
10031 mktime: merge mktime-internal.h change from gnulib
10032 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10033
2554247d
PE
10034 mktime: merge time_r change from gnulib
10035 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10036
826dd0ab
PE
10037 mktime: merge DEBUG change from gnulib
10038 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10039 case system <time.h> has a #define.
10040
bd83aabe
PE
10041 mktime: merge <sys/types.h> change from gnulib
10042 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10043 since <time.t> is now guaranteed to define time_t.
10044
95770f14
PE
10045 mktime: merge HAVE_CONFIG_H change from gnulib
10046 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10047
5e1a27a9
L
100482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10049
0e44a77e
L
10050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10051 Use "neg %eax".
10052
5e1a27a9
L
10053 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10054 __rlim_t cast.
10055 (struct rusage): Use anonymous union to pad each field to
10056 __syscall_slong_t.
10057
46259bec
DM
100582012-05-21 David S. Miller <davem@davemloft.net>
10059
10060 * Makefules (o-iterator): Remove .s cases.
10061 (compile-command.s): Delete.
10062 (COMPILE.s): Delete.
10063 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10064
59f0c22e
JM
100652012-05-21 Joseph Myers <joseph@codesourcery.com>
10066
10067 * configure.in (libc_cv_predef_stack_protector): Only consider
10068 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10069 * configure: Regenerated.
10070
20c07380
L
100712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10072
bbb3154b
L
10073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10074 New macro. Use R*LP on int and pointer.
10075 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10076 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10077 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10078 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10079
20c07380
L
10080 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10081 [__WORDSIZE_TIME64_COMPAT32] instead of
10082 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10083 (struct utmp): Likewise.
10084 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10085 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10086 Renamed to ...
10087 (__WORDSIZE_TIME64_COMPAT32): This.
10088 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10089 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10090 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10091 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10092 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10093 (__WORDSIZE_TIME64_COMPAT32): New macro.
10094
d8d1017e
AJ
100952012-05-21 Andreas Jaeger <aj@suse.de>
10096
10097 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10098 only if [SHARED]. Add prototype for __wcschr_ia32.
10099
6c7fb145
RM
101002012-05-21 Roland McGrath <roland@hack.frob.com>
10101
10102 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10103 of %rbp unmolested in the jmp_buf while mangling the low bits.
10104 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10105 unmolested high bits of %rbp while demangling the low bits.
10106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10107
66274218
AJ
101082012-05-21 Andreas Jaeger <aj@suse.de>
10109
07c58f8f
AJ
10110 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10111 * sunrpc/svc_simple.c: Use it for registerrpc.
10112 * sunrpc/xcrypt.c: Use it for passwd2des.
10113
66274218
AJ
10114 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10115
61f65140
L
101162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10117
10118 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10119 Don't define if [__SYSCALL_WORDSIZE != 32].
10120 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10121 New macro.
10122
5fefb436
AJ
101232012-05-21 Bruno Haible <bruno@clisp.org>
10124 Andreas Jaeger <aj@suse.de>
10125
10126 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10127 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10128 inptr and inend for must_buffer_ch.
10129 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10130 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10131 * stdio-common/Makefile (tests): Remove bug15.
10132 (bug15-ENV): Remove macro.
10133 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10134 anymore.
10135
d8e272ab
AJ
101362012-05-19 Andreas Jaeger <aj@suse.de>
10137 Roland McGrath <roland@hack.frob.com>
10138
10139 * manual/contrib.texi: Completely rewritten. It contains now an
10140 alphabetical list of contributors and their contributions.
10141
4a56a162
RH
101422012-05-21 Richard Henderson <rth@twiddle.net>
10143
10144 * misc/getauxval.c (__getauxval): Use unsigned long int.
10145 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10146 (getauxval): Use unsigned long int.
10147
d024d23c
L
101482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10149
10150 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10151
cbc00a03
RM
101522012-05-21 Roland McGrath <roland@hack.frob.com>
10153
10154 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10155 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10156 __alignof__ (long double).
10157
478143fa
AZ
101582012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10159
10160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10161
c7683a6d
RH
101622012-05-20 Richard Henderson <rth@twiddle.net>
10163
10164 * misc/getauxval.c: New file.
10165 * misc/sys/auxv.h: New file.
10166 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10167 (routines): Add getauxval.
10168 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10169 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10170 * elf/dl-sysdep.c (_dl_auxv): Remove.
10171 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10172 * elf/dl-support.c (_dl_auxv): New variable.
10173 (_dl_aux_init): Initialize it.
10174 * manual/startup.texi (Auxiliary Vector): New node.
10175 * sysdeps/generic/bits/hwcap.h: New file.
10176 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10177 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10178 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10179 * sysdeps/sparc/sysdep.h: ... here. Include it.
10180 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10181 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10183 Update.
c7683a6d
RH
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10192
a6f1845d
AZ
101932012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10194
10195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10196
cbcbe830
DM
101972012-05-19 David S. Miller <davem@davemloft.net>
10198
10199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10200
e0b16cc2
JM
102012012-05-19 Joseph Myers <joseph@codesourcery.com>
10202
10203 [BZ #14123]
10204 * math/s_ccosh.c: Include <float.h>
10205 (__ccosh): Avoid internal overflow calculating sinh and cosh
10206 values before multiplying by sin and cos values.
10207 * math/s_ccoshf.c: Likewise.
10208 * math/s_ccoshl.c: Likewise.
10209 * math/s_csin.c: Likewise.
10210 * math/s_csinf.c: Likewise.
10211 * math/s_csinl.c: Likewise.
10212 * math/s_csinh.c: Likewise.
10213 * math/s_csinhf.c: Likewise.
10214 * math/s_csinhl.c: Likewise.
10215 * math/libm-test.inc (ccos_test): Add more tests.
10216 (ccosh_test): Likewise.
10217 (csin_test): Likewise.
10218 (csinh_test): Likewise.
10219 * sysdeps/i386/fpu/libm-test-ulps: Update.
10220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221
6ad13e08
L
102222012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10223
f66f0ce8
L
10224 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10225 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10226
6ad13e08
L
10227 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10228
b1d072a7
JM
102292012-05-19 Joseph Myers <joseph@codesourcery.com>
10230
10231 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10232 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10233 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10234 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10235 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10236 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10237 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10238 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10239 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10240 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10241 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10242 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10243 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10244 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10245 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10246 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10247 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10248 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10249 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10250 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10251 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10252 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10253 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10254 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10255 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10256 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10257 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10258 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10259 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10260 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10261 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10262
9eae47cb
AJ
102632012-05-18 Andreas Jaeger <aj@suse.de>
10264
10265 * csu/.gitignore: Delete.
10266
bb07f69f
L
102672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10270 (timex): Use __syscall_slong_t.
10271
e6bdb741
AJ
102722012-05-18 Andreas Jaeger <aj@suse.de>
10273 Carlos O'Donell <carlos_odonell@mentor.com>
10274
10275 * manual/install.texi (Configuring and compiling): Update
10276 description about files modified in the source directory.
d6c33fda 10277 * INSTALL: Regenerated.
e6bdb741 10278
1b74487e
L
102792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10280
10281 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10282 value. Use "or" to set return value to -1.
10283 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10284 negate return value.
10285
a88b64b9
TMQMF
102862012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10287
10288 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10289 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10290 failure if the compiler has Graphite support disabled.
10291 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10292 Likewise.
10293 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10294 CFLAGS-memmove.c): Likewise.
10295 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10296 Likewise.
10297
3707636e
L
102982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10299
610b8622
L
10300 * sysdeps/x86_64/x32/_itoa.h: New file.
10301
7cd195df
L
10302 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10303 getdents system call only if kernel and user dirents have the
10304 same d_ino and d_off.
10305
94b07d20
L
10306 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10307 LLONG_MAX != LONG_MAX.
10308 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10309 (_fitoa_word): Likewise.
10310
18298070
L
10311 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10312 years.
10313 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10314 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10315 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10316
553c7ea4
L
10317 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10318 include <bits/wordsize.h>. Check __x86_64__ instead of
10319 __WORDSIZE.
10320 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10321 if __x86_64__ is defined. Use anonymous union on fpstate.
10322
3707636e
L
10323 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10324 anonymous union.
10325
b53ef01a
AS
103262012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10327
37fb1dc0
AS
10328 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10329 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10330 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10331 Refer to _rtld_local_ro instead of _rtld_global_ro.
10332 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10333 Likewise.
10334 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10335 Likewise.
10336 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10337 Likewise.
10338 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10339 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10340 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10341
b53ef01a
AS
10342 * sysdeps/powerpc/powerpc32/dl-machine.c
10343 (__elf_machine_runtime_setup) [PROF]: Don't reference
10344 _dl_prof_resolve.
10345
7a185db2
AJ
103462012-05-18 Andreas Jaeger <aj@suse.de>
10347
10348 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10349 function only available for GCCs before 3.4 since GCC 3.4
10350 introduced a builtin.
10351 (lrint): Likewise.
10352 (llrintf): Likewise.
10353 (llrint): Likewise.
10354 (fmaxf): Likewise.
10355 (fmax): Likewise.
10356 (fminf): Likewise.
10357 (fmin): Likewise.
10358 (rint): Likewise.
10359 (rintf): Likewise.
10360 (nearbyint): Likewise.
10361 (nearbyintf): Likewise.
10362 (ceil): Likewise.
10363 (ceilf): Likewise.
10364 (floor): Likewise.
10365 (floorf): Likewise.
10366
3e5aef87
L
103672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10368
428bd707
L
10369 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10370 on both fields and cast pointer to __syscall_ulong_t.
10371
3e5aef87
L
10372 * bits/types.h (__fsword_t): New type.
10373 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10374 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10376 (__FSWORD_T_TYPE): Likewise.
10377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10378 (__FSWORD_T_TYPE): Likewise.
10379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10380 (__FSWORD_T_TYPE): Likewise.
10381 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10382 (__FSWORD_T_TYPE): Likewise.
10383 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10384 __SWORD_TYPE with __fsword_t.
10385 (statfs64): Likewise.
10386
1ba7c3dc
DM
103872012-05-17 David S. Miller <davem@davemloft.net>
10388
10389 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10390
59910343
AJ
103912012-05-17 Andreas Jaeger <aj@suse.de>
10392
10393 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10394 warning.
10395
2e4c1e9e
L
103962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10397
10398 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10399
de7f5ce7
AJ
104002012-05-17 Andreas Jaeger <aj@suse.de>
10401
10402 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10403 when it is used.
10404
286abc3d
CM
104052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10406
10407 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10408
477cc68e
L
104092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10410
10411 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10412 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10413
1a0994f5
CD
104142012-05-17 Andreas Jaeger <aj@suse.de>
10415 Carlos O'Donell <carlos_odonell@mentor.com>
10416
10417 [BZ #14059]
10418 * sysdeps/x86_64/multiarch/init-arch.h
10419 (bit_YMM_Usable): Rename to...
10420 (bit_AVX_Usable): ... this.
10421 (bit_FMA4_Usable): New macro.
10422 (bit_XMM_state): New macro.
10423 (bit_YMM_state): New macro.
10424 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10425 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10426 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10427 (CPUID_OSXSAVE): New macro.
10428 (CPUID_AVX): New macro.
10429 (CPUID_FMA4): New macro.
10430 (index_YMM_Usable): Rename to...
10431 (index_AVX_Usable): ... this.
10432 (HAS_AVX): Use HAS_ARCH_FEATURE.
10433 (HAS_FMA4): Likewise.
10434 (HAS_YMM_USABLE): Remove.
10435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10436 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10437 are present.
10438 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10439 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10440 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10441 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10442 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10443
0af797de
CM
104442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10445
10446 * math/libm-test.c: Support platforms without multiple rounding modes.
10447 * math/bug-nextafter.c: Support platforms without FP exceptions.
10448 * math/bug-nexttoward.c: Likewise.
10449 * math/test-fenv.c: Likewise.
10450 * math/test-misc.c: Likewise.
10451 * stdlib/bug-getcontext.c: Likewise.
10452
e39745ff
AJ
104532012-05-17 Andreas Jaeger <aj@suse.de>
10454
10455 * manual/examples/search.c (critter_cmp): Change signature to
10456 avoid warnings.
10457 * manual/string.texi (Collation Functions): Likewise.
10458
48970aba
L
104592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10460
10461 * bits/types.h: Fold copyright years.
10462 * bits/typesizes.h: Likewise.
10463 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10467 * time/time.h: Likewise.
10468
bedee953
PP
104692012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10470
10471 [BZ #208]
10472 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10473 in instead of returning them. Return void.
10474 (__libc_mallinfo): Accumulate over all arenas.
10475 (__malloc_stats): Adjust for change in int_mallinfo interface.
10476
61653dfb
RM
104772012-05-16 Roland McGrath <roland@hack.frob.com>
10478
30b99d79
RM
10479 [BZ #10375]
10480 * configure.in (NM): Add AC_CHECK_TOOL for it.
10481 (libc_extra_cflags): New substituted variable.
10482 Check for -fstack-protector being used implicitly.
10483 * configure: Regenerated.
10484 * config.make.in (config-extra-cflags): New variable,
10485 gets @libc_extra_cflags@.
10486 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10487
61653dfb
RM
10488 [BZ #10375]
10489 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10490 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10491 * configure: Regenerated.
10492 * config.make.in (CPPUNDEFS): New substituted variable.
10493 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10494 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10495 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10496
661768bb
L
104972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10498
10499 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10500 (mq_attr): Use __syscall_slong_t.
10501
d4261567
L
105022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10503
10504 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10505 Check __x86_64__ instead of __WORDSIZE.
10506 (_STAT_VER_LINUX): Likewise.
10507 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10508 __syscall_ulong_t and __syscall_slong_t.
10509 (stat64): Likewise.
10510
cf3ff365
L
105112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10512
10513 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10514
76cf3e4d
L
105152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10518
a637753a
L
105192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10520
10521 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10522 __syscall_ulong_t.
10523
d5e05119
L
10524 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10525 include <bits/wordsize.h>. Check __x86_64__ instead of
10526 __WORDSIZE.
10527 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10528 defined.
10529 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10530
f62ee380
L
10531 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10532 include <bits/wordsize.h>. Check __x86_64__ instead of
10533 __WORDSIZE.
10534 (user_regs_struct): Use "__extension__ unsigned long long"
10535 instead of "unsigned long" if __x86_64__ is defined.
10536 (user): Likewise. Pad after pointer field if __ILP32__ is
10537 defined.
10538
4e124ced
JM
105392012-05-16 Joseph Myers <joseph@codesourcery.com>
10540
6a3951a0
JM
10541 * configure.in (makeinfo): Require version 4.5 or later. Allow
10542 versions 5 to 9.
10543 * configure: Regenerated.
10544 * manual/install.texi (texinfo): Increase version requirement to
10545 4.5 or later.
10546 * INSTALL: Regenerated.
10547
4e124ced
JM
10548 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10549
953ca31a
L
105502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10551
10552 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10553
617aca05
L
10554 * sysdeps/x86_64/x32/ffs.c: New file.
10555
5762f7ae
L
10556 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10557 __syscall_ulong_t.
10558 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10559 defined. Use __syscall_ulong_t.
10560 (shminfo): Use __syscall_ulong_t.
10561 (shm_info): Likewise.
10562
a26b6856
L
10563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10564 __syscall_ulong_t.
10565
cb2b9ef7
L
10566 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10567 <bits/wordsize.h>.
10568 (msgqnum_t): Use __syscall_ulong_t.
10569 (msglen_t): Likewise.
10570 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10571 __syscall_ulong_t.
10572
34683bb0
L
10573 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10574 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10575
84a68786
L
10576 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10577
48baa5f1
L
10578 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10579 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10580
180be88b
L
10581 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10582 __syscall_slong_t.
10583
5e90c8ad
L
10584 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10585 include <bits/wordsize.h>. Check __x86_64__ instead of
10586 __WORDSIZE.
10587
23dfb58b
L
10588 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10589 "unsigned long long int" if __x86_64__ is defined.
10590 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10591
ce5d54b0
L
10592 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10593 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10594 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10595
13dc9eac
L
10596 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10597 <stdint.h>.
10598 (GET_PC): Cast to uintptr_t first.
10599 (GET_FRAME): Likewise.
10600 (GET_STACK): Likewise.
10601
a7895d15
L
10602 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10603 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10604 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10605 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10606 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10607 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10608 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10609 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10610 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10611 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10612 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10613 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10615 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10616 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10617 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10618 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10619 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10621 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10622 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10623 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10624 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10625 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10626 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10627 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10628 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10629 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10630 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10631
656416c9
AS
106322012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10633
5bd66283
AS
10634 * Makerules (+depfiles): Also collect depfiles from .oS in
10635 $(extra-objs).
10636 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10637 .oS, $(libnldbl-routines)).
10638
656416c9
AS
10639 * Makerules (native-compile-mkdep-flags): Define.
10640 * sunrpc/Makefile (extra-objs): Add $(addprefix
10641 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10642 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10643 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10644 calling $(make-target-directory).
10645
a46f2169
L
106462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10647
10648 * bits/types.h (__snseconds_t): Removed.
10649 * time/time.h (struct timespec): Replace __snseconds_t with
10650 __syscall_slong_t.
10651 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10652 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10653 Likewise.
10654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10655 (__SNSECONDS_T_TYPE): Likewise.
10656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10657 (__SNSECONDS_T_TYPE): Likewise.
10658 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10659 (__SNSECONDS_T_TYPE): Likewise.
10660
6af6528b
L
106612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10662
10663 * sysdeps/mach/hurd/bits/typesizes.h
10664 (__SYSCALL_SLONG_TYPE): New macro.
10665 (__SYSCALL_ULONG_TYPE): Likewise.
10666
de986b56
L
106672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10668
10669 * bits/types.h (__syscall_slong_t): New type.
10670 (__syscall_ulong_t): Likewise.
10671
10672 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10673 (__SYSCALL_ULONG_TYPE): Likewise.
10674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10675 (__SYSCALL_SLONG_TYPE): Likewise.
10676 (__SYSCALL_ULONG_TYPE): Likewise.
10677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10678 (__SYSCALL_SLONG_TYPE): Likewise.
10679 (__SYSCALL_ULONG_TYPE): Likewise.
10680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10681 (__SYSCALL_SLONG_TYPE): Likewise.
10682 (__SYSCALL_ULONG_TYPE): Likewise.
10683
85736dc7
L
106842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10685
10686 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10687 Add sigaltstack-offsets.sym.
10688 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10689 <sigaltstack-offsets.h>.
10690 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10691 longjmp_msg pointer.
10692 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10693 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10694 signal stack.
10695 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10696
cc03b296
JM
106972012-05-15 Joseph Myers <joseph@codesourcery.com>
10698
a9538892
JM
10699 * elf/stackguard-macros.h: Remove file.
10700 * sysdeps/generic/stackguard-macros.h: New file.
10701 * sysdeps/i386/stackguard-macros.h: Likewise.
10702 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10703 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10704 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10705 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10706 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10707 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10708 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10709 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10710 <elf/stackguard-macros.h>.
10711
cc03b296
JM
10712 [BZ #14109]
10713 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10714 __aligned__ in attribute.
10715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10716 (gregset_t): Likewise.
10717
93171016
L
107182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10719
10720 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10721 * sysdeps/x86_64/64/Implies-after: Here. New file.
10722 * sysdeps/x86_64/x32/Implies-after: New file.
10723
d86813a0
L
107242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10725
10726 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10727 and access return value for _dl_profile_fixup. Use R10_LP to
10728 load frame size.
10729
2953ec75
L
107302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10731
10732 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10733
3b550e9e
L
107342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10735
10736 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10737 * sysdeps/x86_64/x32/sysdep.h: New file.
10738
eda41706
L
107392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10742 * sysdeps/x86_64/setjmp.S: Likewise.
10743
9ea01d93
AZ
107442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10745
10746 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10747 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10748 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10749 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10750 remove unused global constant.
10751
02a91938
CM
107522012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10753
10754 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10755 include of <not-cancel.h>.
10756
6540185f
RM
107572012-05-15 Roland McGrath <roland@hack.frob.com>
10758
10759 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10760
509072a0
AJ
107612012-05-15 Jeff Law <law@redhat.com>
10762 Andreas Jaeger <aj@suse.de>
10763
10764 [BZ #13594]
10765 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10766 out from...
10767 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10768 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10769 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10770 code changing __hst_map_handle.map.
10771
ba75122d
RM
107722012-05-15 Roland McGrath <roland@hack.frob.com>
10773
10774 * configure.in (sysnames): Look for Implies-before and Implies-after
10775 files.
10776 * configure: Regenerated.
10777
890d8bd8
L
107782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10779
10780 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10781 8-byte data alignment with LP_SIZE alignment.
10782
f6ee6623
L
107832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10784
10785 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10786 into R10_LP.
10787
ea2626f6
L
107882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10789
10790 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10791
085f715e
L
107922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10793
10794 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10795 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10796 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10797 Likewise.
10798 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10799
be8498fc
L
108002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10801
10802 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10803 (stackinfo_sub_sp): Likewise.
10804
70bc83b9
L
108052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10806
10807 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10808 RAX_LP.
10809
9bc0b730
L
108102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10811
10812 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10813 into R*_LP.
10814
6d2850e7
L
108152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10818 sizes into R*_LP.
10819
3cb84561
L
108202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10821
10822 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10823
54e2ed81
L
108242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10825
10826 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10827 into R11_LP and load __x86_64_shared_cache_size_half into
10828 R8_LP.
10829
8a17f349
L
108302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10831
10832 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10833 R8_LP.
10834
777b1eea
AZ
108352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10836
10837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10838 logb for POWER7.
10839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10840 logbf for POWER7.
10841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10842 logbl for POWER7.
10843 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10844 powerpc32/power7/fpu/s_logb.c via #include.
10845 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10846 powerpc32/power7/fpu/s_logbf.c via #include.
10847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10848 powerpc32/power7/fpu/s_logbl.c via #include.
10849
d20d4ac2
JM
108502012-05-15 Joseph Myers <joseph@codesourcery.com>
10851
10852 * README.libm: Remove file.
10853
6cdef1ab
L
108542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10855
10856 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10857 count for x32. Use R*_LP and omit operand-size suffix.
10858
0b254d8f
L
108592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10862 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10863 * sysdeps/x86_64/x32/shlib-versions: New file.
10864
ceb809dc
RM
108652012-05-14 Roland McGrath <roland@hack.frob.com>
10866
10867 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10868 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10869 Use _dl_fatal_printf instead.
10870
37f1abd4
JM
108712012-05-14 Joseph Myers <joseph@codesourcery.com>
10872
10873 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10874 set if not set by the user. Do not allow for being unset.
10875 * sysdeps/unix/sysv/linux/configure: Regenerated.
10876
11de3a33
L
108772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10878
10879 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10880 the `q' suffix from lea and replace .quad with ASM_ADDR.
10881
e02f153a
L
108822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10883
10884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10885 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10886 instead of $17.
10887 (PTR_DEMANGLE): Likewise.
10888
520ae0fd
L
108892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10890
10891 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10892 (LP_OP): Likewise.
10893 (ASM_ADDR): Likewise.
10894 (RAX_LP): Likewise.
10895 (RBP_LP): Likewise.
10896 (RBX_LP): Likewise.
10897 (RCX_LP): Likewise.
10898 (RDI_LP): Likewise.
10899 (RSI_LP): Likewise.
10900 (RSP_LP): Likewise.
10901 (R8_LP): Likewise.
10902 (R9_LP): Likewise.
10903 (R10_LP): Likewise.
10904 (R10_LP): Likewise.
10905 (R11_LP): Likewise.
10906 (R12_LP): Likewise.
10907 (R13_LP): Likewise.
10908 (R14_LP): Likewise.
10909 (R15_LP): Likewise.
10910
b985be81
L
109112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10912
10913 * sysdeps/x86_64/x32/dl-machine.h: New file.
10914
6a4888ff
AJ
109152012-05-14 Andreas Jaeger <aj@suse.de>
10916
10917 * manual/Makefile (subdir): Remove export of subdir.
10918 (all): Remove target.
10919 (.PHONY): Remove all from list.
10920 (mkinstalldirs): Remove.
10921 (.PHONY): Remove installdirs from list.
10922 ($(inst_infodir)/libc.info): Use make-target-directory.
10923 (installdirs): Remove.
10924 (subdir_%): Remove.
10925 (glibc-targets): Remove.
10926 (lib): Remove.
10927 (stubs): Remove.
10928 ($(objpfx)stubs ../po/manual.pot): Remove.
10929 ($(objpfx)stamp%): Remove.
10930 (make-target-directory): Remove.
10931 (subdir_install): Remove.
10932 (routines): Remove.
10933 (aux): Remove.
10934 (sources): Remove.
10935 (objects): Remove.
10936 (headers): Remove.
10937
10938 [BZ #13750]
10939 * manual/.gitignore: Remove, it's not needed anymore.
10940 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10941 all files in it.
10942 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10943 directory.
10944 (texis): Renamed to $(objpfx)texis.
10945 (texis-path): New, contains path to generated files.
10946 (chapters.%): Use texis-path for complete path, add extra argument
10947 libc-texinfo.sh.
10948 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10949 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10950 (summary,texi, stamp-summary): Use complete path of
10951 files. Generate files in build dir.
10952 (dir-add.texi): Build in build dir.
10953 (libm-err.texi,stamp-libm-err): Likewise.
10954 (version.texi, stamp-version): Likewise.
10955 (.%c.texi): Likewise.
10956 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10957 (mostlyclean): Remove target.
10958 (realclean): Remove target.
10959 (generated): Add new variable with contents from mostlyclean and
10960 realclean, remove entries duplicated in common-mostlyclean, add
10961 stamp-libm-err and stamp-version.
10962 (generated-dirs): Add libc directory.
10963 ($(inst_infodir)/libc.info): Install files from build dir.
10964
10965 * manual/install.texi (Configuring and compiling): Adjust since
10966 the info files are not part of the tar ball anymore.
10967
7ac77294
AJ
109682012-05-14 Andreas Jaeger <aj@suse.de>
10969
10970 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10971 variable.
10972
ffb7875d
JM
109732012-05-14 Joseph Myers <joseph@codesourcery.com>
10974
10975 [BZ #13717]
10976 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10977 to 2.2.0 where earlier.
10978 * sysdeps/unix/sysv/linux/configure: Regenerated.
10979 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10980 Remove conditional code.
10981 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10982 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10983 Remove conditional code.
10984 [!__NR_lchown]: Likewise.
10985 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10986 [__NR_lchown]: Likewise.
10987 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10988 comment referencing __ASSUME_LCHOWN_SYSCALL.
10989 * sysdeps/unix/sysv/linux/i386/sigaction.c
10990 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10991 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10992 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10993 Remove conditional code.
10994 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10995 (__protocol_available): Remove #if 0 code.
10996 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10997 conditional code.
10998 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10999 * sysdeps/unix/sysv/linux/kernel-features.h
11000 (__ASSUME_GETCWD_SYSCALL): Don't define.
11001 (__ASSUME_REALTIME_SIGNALS): Likewise.
11002 (__ASSUME_PREAD_SYSCALL): Likewise.
11003 (__ASSUME_PWRITE_SYSCALL): Likewise.
11004 (__ASSUME_POLL_SYSCALL): Likewise.
11005 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11006 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11007 non-SPARC.
11008 (__ASSUME_SIOCGIFNAME): Don't define.
11009 (__ASSUME_MSG_NOSIGNAL): Likewise.
11010 (__ASSUME_SENDFILE): Define unconditionally.
11011 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11012 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11013 conditional code.
11014 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11015 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11016 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11017 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11018 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11019 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11020 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11022 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11034 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11037 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11043 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11045 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11046 Remove conditional code.
11047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11048 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11049 Remove conditional code.
11050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11051 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11052 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11053 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11054 Remove conditional code.
11055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11056 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11057 Remove conditional code.
11058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11059 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11060 Remove conditional code.
11061 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11062 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11063 Remove conditional code.
11064 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11065 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11066 Remove conditional code.
11067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11068 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11069 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11071 * sysdeps/unix/sysv/linux/sigaction.c
11072 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11073 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11074 * sysdeps/unix/sysv/linux/sigpending.c
11075 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11076 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11077 * sysdeps/unix/sysv/linux/sigprocmask.c
11078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11080 * sysdeps/unix/sysv/linux/sigsuspend.c
11081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11083 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11084 (__libc_missing_rt_sigs): Remove.
11085 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11086 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11087 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11088 Remove conditional code.
11089 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11090 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11091 return 1.
11092 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11093 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11094 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11095 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11096
1bfb7291
AJ
110972012-05-14 Andreas Jaeger <aj@suse.de>
11098
caae5a81
AJ
11099 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11100 it's not used in glibc.
11101 (__coshm1): Likewise.
11102 (__acosh1p): Likewise.
11103 (__sgn): Likewise.
11104
1bfb7291
AJ
11105 * manual/string.texi (Copying and Concatenation): Add missing
11106 variable in concat example.
11107 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11108
c044d724
L
111092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11110
144c5467 11111 [BZ #14103]
c044d724
L
11112 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11113 __builtin_clzl with __builtin_clzll.
11114
2523c62b
L
111152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 [BZ #14104]
11118 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11119 libc_freeres_ptr.
11120
d7bb4c42
LD
111212012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11122
11123 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11124 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11125 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11126 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11127
9dc4e1fb
MF
111282012-05-14 Mike Frysinger <vapier@gentoo.org>
11129
11130 * NEWS: Update ia64 info.
11131
c7df0112
AS
111322012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11133
11134 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11135 used as bcopy.
11136
dc70356c
TS
111372012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11138
11139 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11140 * sysdeps/unix/syscalls.list (dup3): Likewise.
11141 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11142 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11143
9fb1a21f
L
111442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11145
11146 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11147 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11148
4822a2a5
L
111492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11150
11151 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11152 thread pointer.
11153 (TLS_IE): Use mov/add instead of movq/addq to load thread
11154 pointer.
11155 (TLS_GD_PREFIX): New.
11156 (TLS_GD): Use it.
11157
842b81d6
DM
111582012-05-11 David S. Miller <davem@davemloft.net>
11159
11160 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11161 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11162 (_FPU_SETCW): Likewise.
11163
1cf463cd
L
111642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11165
11166 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11167 is 32-byte aligned.
11168
60cc4a18
AS
111692012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11170
11171 [BZ #11837]
11172 * iconvdata/gb18030.c: Update tables.
11173 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11174 characters specially.
11175 (BODY for TO_LOOP): Add encoding of missing ranges.
11176
febb44a4
TS
111772012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11178
11179 [BZ #13673]
11180 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11181 * sysdeps/mach/hurd/dup3.c: Likewise.
11182 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11183 * sysdeps/powerpc/memmove.c:: Likewise.
11184
0a10fb9e
L
111852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11186
11187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11188 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11189
df8a552f
L
111902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11191
11192 * elf/elf.h (R_X86_64_RELATIVE64): New.
11193 (R_X86_64_NUM): Updated.
11194 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11195 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11196 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11197 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11198 tst-quad1pie tst-quad2pie
11199 (modules-names): Add tst-quadmod1 tst-quadmod2.
11200 ($(objpfx)tst-quad1): New dependency.
11201 ($(objpfx)tst-quad2): Likewise.
11202 ($(objpfx)tst-quad1pie): Likewise.
11203 ($(objpfx)tst-quad2pie): Likewise.
11204 * sysdeps/x86_64/tst-quad1.c: New file.
11205 * sysdeps/x86_64/tst-quad1pie.c: New file.
11206 * sysdeps/x86_64/tst-quad2.c: Likewise.
11207 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11208 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11209 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11210 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11211 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11212
f34d6f84
ST
112132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11214
f42d41d1
ST
11215 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11216 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11217 * streams/stropts.h (t_scalar_t): Define type.
11218
3c3571fc
ST
11219 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11220 (_PATH_PRESERVE): Set to "/var/lib".
11221 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11222
61f06bd3
ST
11223 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11224 instead of int.
11225
918d4d71
ST
11226 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11227 if __dir_mkfile succeeded.
11228
f34d6f84
ST
11229 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11230 checking for _hurd_dtablesize. Unlock it right after having
11231 finished _hurd_dtable allocation.
11232
10589b4a
TS
112332012-05-10 Thomas Schwinge <thomas@schwinge.name>
11234
674cdbc7
TS
11235 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11236 * sysdeps/mach/hurd/configure: Regenerated.
11237 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11238 special-casing to...
11239 * sysdeps/gnu/configure.in: ... this new file.
11240 * sysdeps/unix/sysv/linux/configure: Regenerated.
11241 * sysdeps/gnu/configure: New generated file.
11242
8e41b99f
TS
11243 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11244 for Linux: use nsec instead of usec, as well as:
11245 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11246 members of type struct timespec.
11247 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11248 New macros.
11249 (struct stat64): Likewise.
11250 (_STATBUF_ST_NSEC): New macro.
11251 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11252
10589b4a
TS
11253 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11254 __strtoul_internal rather than strtoul.
11255
63643c85
PT
112562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11257
11258 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11259 and reject them.
11260
3faebe6a
ST
112612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11262
11263 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11264 which preserves existing values.
11265 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11266
c6474b07
PT
112672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11268
11269 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11270 TIMEOUT values. Return EINVAL for NFDS values either negative or
11271 greater than FD_SETSIZE.
11272
1043890b
ST
112732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11274
11275 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11276 allocated, call __vm_protect to finish enabling the existing space, and
11277 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11278 allocate the remainder.
11279
37ed8b9b
PT
112802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11281
11282 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11283 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11284
db653660
ST
112852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11286
37ed8b9b
PT
11287 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11288 sysdeps/mach/hurd/readlink.c.
b29d4053 11289
db653660
ST
11290 * posix/tst-sysconf.c (posix_options): Only use
11291 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11292 _POSIX_SYNCHRONIZED_IO when they are defined
11293 * sysdeps/mach/hurd/bits/posix_opt.h:
11294 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11295 (_XOPEN_REALTIME): Undefine macro.
11296 (_XOPEN_REALTIME_THREADS): Undefine macro.
11297 (_XOPEN_SHM): Undefine macro.
11298 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11299 macro to -1.
11300 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11301 macro to -1.
11302 (_POSIX_ASYNC_IO): Undefine macro.
11303 (_POSIX_PRIORITIZED_IO): Undefine macro.
11304 (_POSIX_SPIN_LOCKS): Define macro to -1.
11305
ee16e894
ST
11306 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11307 SA_NODEFER, SA_RESETHAND.
11308 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11309 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11310 F_DUPFD_CLOEXEC.
11311
6103ae3b
TS
113122012-05-10 Thomas Schwinge <thomas@schwinge.name>
11313
11314 * elf/Makefile (pldd-modules): Define unconditionally.
11315
80b4e5f3
TS
113162012-05-10 Thomas Schwinge <thomas@schwinge.name>
11317
11318 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11319
edadcbd6
ST
113202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11321
11322 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11323 Return ENOENT when name is empty.
11324 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11325
80694780
TS
113262012-05-10 Thomas Schwinge <thomas@schwinge.name>
11327
1792c087
TS
11328 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11329
80694780
TS
11330 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11331
6b645f0d
ST
113322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11333
80694780
TS
11334 Fix mlock in all cases except non-readable pages.
11335 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11336 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11337
6b645f0d
ST
11338 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11339 (__mkdir): When path is `/', just fail with EEXIST.
11340 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11341
e468f8a3
TS
113422012-05-10 Thomas Schwinge <thomas@schwinge.name>
11343
11344 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11345 <sys/uio.h> (for writev).
11346 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11347 and <sys/param.h> (for MIN).
11348
a4186cff
PT
113492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11350
11351 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11352 REQUESTED_TIME. Properly set the remaining time and return EINTR
11353 if interrupted.
11354
510bbf14
TS
113552012-05-10 Thomas Schwinge <thomas@schwinge.name>
11356
11357 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11358 Depend on against $(link-rpcuserlibs).
11359
5d5722e8
ST
113602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11361
a4186cff
PT
11362 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11363 (__libc_stack_end): Do not use attribute_relro.
11364 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11365 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11366 to libthread-provided value.
a4186cff
PT
11367 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11368 attribute_relro.
5d5722e8 11369
37233df9
TS
113702012-05-10 Thomas Schwinge <thomas@schwinge.name>
11371
be971a2b
TS
11372 [BZ #3748]
11373 * bits/libc-lock.h (__libc_once_get): New macro.
11374 * sysdeps/mach/bits/libc-lock.h: Likewise.
11375 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11376 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11377 instead of using implementation details.
11378
37233df9
TS
11379 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11380 * libio/freopen.c: Likewise.
11381 * libio/freopen64.c: Likewise.
11382 * misc/syslog.c: Likewise.
11383 * nscd/connections.c: Likewise.
11384 * nscd/netgroupcache.c: Likewise.
11385 * sysdeps/posix/getcwd.c: Likewise.
11386
38de94a5
RM
113872012-05-10 Roland McGrath <roland@hack.frob.com>
11388
11389 * math/w_ilogbf.c: Add #include <limits.h>.
11390
67530489
ST
113912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11392
a4186cff 11393 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11394 path instead of returning without unlocking.
11395
67530489
ST
11396 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11397 immediate-write ioctls.
11398 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11399
5aa3a74a
TS
114002012-05-10 Thomas Schwinge <thomas@schwinge.name>
11401
18bad2ae
TS
11402 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11403 __builtin_frame_address instead of making assumptions about the
11404 location of the return address relative to DATA. Force early load of
11405 the return address.
11406 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11407 __builtin_frame_address.
11408
5aa3a74a
TS
11409 dup3 for GNU Hurd.
11410 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11411 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11412 implement dup3 and do some further code clean-ups.
11413 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11414 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11415
ecd0de9a
ST
114162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11417
cd9fa985
ST
11418 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11419
a4186cff
PT
11420 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11421 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11422 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11423 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11424 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11425 d->port.lock.
802ca5a5 11426
a4186cff
PT
11427 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11428 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11429 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11430
bcf55240
TS
114312012-05-10 Thomas Schwinge <thomas@schwinge.name>
11432
6960eb42
TS
11433 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11434 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11435 definitions.
11436
eb43375f
TS
11437 accept4 for GNU Hurd.
11438 * include/sys/socket.h (__libc_accept4): New prototype.
11439 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11440 to implement __libc_accept4.
11441 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11442 __libc_accept4.
11443 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11444
bcf55240
TS
11445 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11446 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11447 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11448 signal-defines.sym.
11449
6178c55b
ST
114502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11451
a4186cff 11452 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11453
6f080c2f
TS
114542012-05-10 Thomas Schwinge <thomas@schwinge.name>
11455
11456 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11457 assertion on O_CLOEXEC flag.
11458 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11459 * hurd/intern-fd.c: Likewise.
11460 * hurd/port2fd.c: Likewise.
11461
bcfe3a54
ST
114622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11463
11464 [BZ #3906]
11465 * bits/in.h (IPV6_PKTINFO): Define new macro.
11466 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11467
89c9aa49
AZ
114682012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11469
11470 [BZ #13954]
11471 [BZ #13955]
11472 [BZ #13956]
11473 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11474 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11475 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11476 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11477 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11478 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11479 * math/libm-test.inc (logb_test) : Additional logb tests.
11480
021db4be
AJ
114812012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11482 Andreas Jaeger <aj@suse.de>
11483
11484 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11485 * configure: Regenerated.
11486 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11487 * config.make.in (link-obsolete-rpc): New substituted variable.
11488 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11489 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11490 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11491 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11492 so that libc.a contains the symbols.
11493 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11494 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11495 * sunrpc/auth_none.c: Likewise.
11496 * sunrpc/auth_unix.c: Likewise.
11497 * sunrpc/authdes_prot.c: Likewise.
11498 * sunrpc/authuxprot.c: Likewise.
11499 * sunrpc/clnt_gen.c: Likewise.
11500 * sunrpc/clnt_perr.c: Likewise.
11501 * sunrpc/clnt_raw.c: Likewise.
11502 * sunrpc/clnt_simp.c: Likewise.
11503 * sunrpc/clnt_tcp.c: Likewise.
11504 * sunrpc/clnt_udp.c: Likewise.
11505 * sunrpc/clnt_unix.c: Likewise.
11506 * sunrpc/des_crypt.c: Likewise.
11507 * sunrpc/des_soft.c: Likewise.
11508 * sunrpc/get_myaddr.c: Likewise.
11509 * sunrpc/key_call.c: Likewise.
11510 * sunrpc/key_prot.c: Likewise.
11511 * sunrpc/netname.c: Likewise.
11512 * sunrpc/pm_getmaps.c: Likewise.
11513 * sunrpc/pm_getport.c: Likewise.
11514 * sunrpc/pmap_clnt.c: Likewise.
11515 * sunrpc/pmap_prot.c: Likewise.
11516 * sunrpc/pmap_prot2.c: Likewise.
11517 * sunrpc/pmap_rmt.c: Likewise.
11518 * sunrpc/publickey.c: Likewise.
11519 * sunrpc/rpc_cmsg.c: Likewise.
11520 * sunrpc/rpc_common.c: Likewise.
11521 * sunrpc/rpc_dtable.c: Likewise.
11522 * sunrpc/rpc_prot.c: Likewise.
11523 * sunrpc/rpc_thread.c: Likewise.
11524 * sunrpc/rtime.c: Likewise.
11525 * sunrpc/svc.c: Likewise.
11526 * sunrpc/svc_auth.c: Likewise.
11527 * sunrpc/svc_raw.c: Likewise.
11528 * sunrpc/svc_run.c: Likewise.
11529 * sunrpc/svc_tcp.c: Likewise.
11530 * sunrpc/svc_udp.c: Likewise.
11531 * sunrpc/svc_unix.c: Likewise.
11532 * sunrpc/svcauth_des.c: Likewise.
11533 * sunrpc/xcrypt.c: Likewise.
11534 * sunrpc/xdr.c: Likewise.
11535 * sunrpc/xdr_array.c: Likewise.
11536 * sunrpc/xdr_float.c: Likewise.
11537 * sunrpc/xdr_intXX_t.c: Likewise.
11538 * sunrpc/xdr_mem.c: Likewise.
11539 * sunrpc/xdr_rec.c: Likewise.
11540 * sunrpc/xdr_ref.c: Likewise.
11541 * sunrpc/xdr_sizeof.c: Likewise.
11542 * sunrpc/xdr_stdio.c: Likewise.
11543
b5c086a2
RM
115442012-05-10 Roland McGrath <roland@hack.frob.com>
11545
11546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11547 change. Update copyright years.
11548
6d74dd09
JM
115492012-05-10 Joseph Myers <joseph@codesourcery.com>
11550
11551 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11552
28e72501
MK
115532012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11554 Joseph Myers <joseph@codesourcery.com>
11555 Paul Pluzhnikov <ppluzhnikov@google.com>
11556
11557 [BZ #14012]
11558 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11559 requiring rpcgen.
11560 [cross-compiling] (extra-libs): Likewise.
11561 [cross-compiling] (extra-libs-others): Likewise.
11562 [cross-compiling] (librpcsvc-routines): Likewise.
11563 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11564 [cross-compiling] (omit-deps): Likewise.
11565 (sunrpc-CPPFLAGS): New variable.
11566 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11567 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11568 (cross-rpcgen-objs): New variable.
11569 (extra-objs): Append $(cross-rpcgen-objs).
11570 ($(cross-rpcgen-objs)): New rule.
11571 ($(objpfx)cross-rpcgen): Likewise.
11572 (rpcgen-cmd): Define to use $(built-program-file). Expand
11573 comment.
11574 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11575 ($(objpfx)x%.stmp): Likewise.
11576 * sunrpc/proto.h [IS_IN_build] (_): Define.
11577 [IS_IN_build] (_libc_intl_domainname): Likewise.
11578
c8c59454
L
115792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11580
11581 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11582 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11583 and R_X86_64_TPOFF64.
11584
6f27cd16
JM
115852012-05-10 Joseph Myers <joseph@codesourcery.com>
11586
11587 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11588 sysdeps/unix/sysv/syscalls.list.
11589 (stime): Likewise.
11590 (utime): Likewise.
11591 * sysdeps/unix/sysv/syscalls.list: Remove file.
11592
02467e1c
PE
115932012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11594
11595 [BZ #3440]
11596 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11597 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11598 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11599 (__LC_IDENTIFICATION): Make these macros useful in #if
11600 expressions, as required by C99.
11601
da392631
AS
116022012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11603
11604 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11605 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11606 after this.
11607
8115f29b
L
116082012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11609
11610 * stdlib/longlong.h: Updated from GCC.
11611
bdd74070
AJ
116122012-05-09 Andreas Jaeger <aj@suse.de>
11613
edfe0dbe
AJ
11614 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11615 default is first entry.
11616 (run_mode): Set type.
11617 (main): Remove informal message about syslog.
11618 (options): Fix typo.
11619
bcfe3a54
ST
11620 [BZ #14053]
11621 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11622 to asm.
bcfe3a54
ST
11623 (lrint): Likewise.
11624 (llrintf): Likewise.
11625 (llrint): Likewise.
11626 (rint): Likewise.
11627 (rintf): Likewise.
11628 (nearbyint): Likewise.
11629 (nearbyintf): Likewise.
bdd74070 11630
91d8d69e
AJ
116312012-05-09 Andreas Jaeger <aj@suse.de>
11632 Pedro Alves <palves@redhat.com>
11633
11634 * nscd/nscd.c (run_mode): Use enum.
11635 (main): Cleanup coding style issue.
11636
bb90b80b
AJ
116372012-05-09 Alexandre Oliva <aoliva@redhat.com>
11638 Andreas Jaeger <aj@suse.de>
11639
bcfe3a54
ST
11640 * nscd/nscd.c (go_background): Replaced with...
11641 (run_mode): ... this.
bb90b80b 11642 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11643 (options): Add -F --foreground.
11644 (main): Implement it.
11645 (parse_opt): Parse it.
bb90b80b 11646
1a4b75a1
AJ
116472012-05-09 Andreas Jaeger <aj@suse.de>
11648
11649 [BZ #14083]
11650 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11651 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11652 -Wconversion warning.
11653 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11654 Likewise.
11655
b1cc2472
JM
116562012-05-09 Joseph Myers <joseph@codesourcery.com>
11657
11658 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11659 == 0.
11660 (LC_ALL): Use macro-int-constant.
11661 (LC_COLLATE): Likewise.
11662 (LC_CTYPE): Likewise.
11663 (LC_MESSAGES): Likewise.
11664 (LC_MONETARY): Likewise.
11665 (LC_NUMERIC): Likewise.
11666 (LC_TIME): Likewise.
11667 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11668 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11670 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11671 Specify type.
11672 [C99-based standards] (float_t): Expect type.
11673 [C99-based standards] (double_t): Expect type.
11674 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11675 type.
11676 [C99-based standards] (HUGE_VALL): Likewise.
11677 [C99-based standards] (INFINITY): Likewise.
11678 [C99-based standards] (NAN): Likewise.
11679 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11680 [C99-based standards] (FP_NAN): Likewise.
11681 [C99-based standards] (FP_NORMAL): Likewise.
11682 [C99-based standards] (FP_SUBNORMAL): Likewise.
11683 [C99-based standards] (FP_ZERO): Likewise.
11684 [C99-based standards] (FP_FAST_FMA): Use
11685 optional-macro-int-constant. Specify type. Require == 1.
11686 [C99-based standards] (FP_FAST_FMAF): Likewise.
11687 [C99-based standards] (FP_FAST_FMAL): Likewise.
11688 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11689 [C99-based standards] (FP_ILOGBNAN): Likewise.
11690 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11691 Specify type.
11692 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11693 [C99-based standards] (math_errhandling): Specify type.
11694 [ISO99 || ISO11] (signgam): Do not allow.
11695 [non-C99-based standards] (copysignf): Do not allow.
11696 [non-C99-based standards] (exp2f): Likewise.
11697 [non-C99-based standards] (log2f): Likewise.
11698 [non-C99-based standards] (modff): Allow.
11699 [non-C99-based standards] (erff): Do not allow.
11700 [non-C99-based standards] (erfcf): Likewise.
11701 [non-C99-based standards] (gammaf): Likewise.
11702 [non-C99-based standards] (hypotf): Likewise.
11703 [non-C99-based standards] (j0f): Likewise.
11704 [non-C99-based standards] (j1f): Likewise.
11705 [non-C99-based standards] (jnf): Likewise.
11706 [non-C99-based standards] (lgammaf): Likewise.
11707 [non-C99-based standards] (tgammaf): Likewise.
11708 [non-C99-based standards] (y0f): Likewise.
11709 [non-C99-based standards] (y1f): Likewise.
11710 [non-C99-based standards] (ynf): Likewise.
11711 [non-C99-based standards] (isnanf): Likewise.
11712 [non-C99-based standards] (acoshf): Likewise.
11713 [non-C99-based standards] (asinhf): Likewise.
11714 [non-C99-based standards] (atanhf): Likewise.
11715 [non-C99-based standards] (cbrtf): Likewise.
11716 [non-C99-based standards] (expm1f): Likewise.
11717 [non-C99-based standards] (ilogbf): Likewise.
11718 [non-C99-based standards] (log1pf): Likewise.
11719 [non-C99-based standards] (logbf): Likewise.
11720 [non-C99-based standards] (nextafterf): Likewise.
11721 [non-C99-based standards] (remainderf): Likewise.
11722 [non-C99-based standards] (rintf): Likewise.
11723 [non-C99-based standards] (scalbf): Likewise.
11724 [non-C99-based standards] (copysignl): Likewise.
11725 [non-C99-based standards] (exp2l): Likewise.
11726 [non-C99-based standards] (log2l): Likewise.
11727 [non-C99-based standards] (modfl): Allow.
11728 [non-C99-based standards] (erfl): Do not allow.
11729 [non-C99-based standards] (erfcl): Likewise.
11730 [non-C99-based standards] (gammal): Likewise.
11731 [non-C99-based standards] (hypotl): Likewise.
11732 [non-C99-based standards] (j0l): Likewise.
11733 [non-C99-based standards] (j1l): Likewise.
11734 [non-C99-based standards] (jnl): Likewise.
11735 [non-C99-based standards] (lgammal): Likewise.
11736 [non-C99-based standards] (tgammal): Likewise.
11737 [non-C99-based standards] (y0l): Likewise.
11738 [non-C99-based standards] (y1l): Likewise.
11739 [non-C99-based standards] (ynl): Likewise.
11740 [non-C99-based standards] (isnanl): Likewise.
11741 [non-C99-based standards] (acoshl): Likewise.
11742 [non-C99-based standards] (asinhl): Likewise.
11743 [non-C99-based standards] (atanhl): Likewise.
11744 [non-C99-based standards] (cbrtl): Likewise.
11745 [non-C99-based standards] (expm1l): Likewise.
11746 [non-C99-based standards] (ilogbl): Likewise.
11747 [non-C99-based standards] (log1pl): Likewise.
11748 [non-C99-based standards] (logbl): Likewise.
11749 [non-C99-based standards] (nextafterl): Likewise.
11750 [non-C99-based standards] (remainderl): Likewise.
11751 [non-C99-based standards] (rintl): Likewise.
11752 [non-C99-based standards] (scalbl): Likewise.
11753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11754 [non-C99-based standards] (FP_*): Do not allow.
11755 [C99-based standards] (FP_*): Change to
11756 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11757 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11758 allow.
11759 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11760 (SIG_ERR): Likewise.
11761 [X/Open-based standards] (SIG_HOLD): Likewise.
11762 (SIG_IGN): Likewise.
11763 (SIGABRT): Use macro-int-constant. Specify type. Require
11764 positive value.
11765 (SIGFPE): Likewise.
11766 (SIGILL): Likewise.
11767 (SIGINT): Likewise.
11768 (SIGSEGV): Likewise.
11769 (SIGTER): Likewise.
11770 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11771 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11772 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11773 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11774 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11775 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11776 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11777 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11778 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11779 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11780 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11781 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11782 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11783 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11784 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11785 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11786 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11787 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11788 [X/Open-based standards] (SIGTRAP): Likewise.
11789 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11790 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11791 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11792 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11793 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11794 allow.
11795
b9f1922d
IW
117962012-05-08 Ian Wienand <ianw@vmware.com>
11797
11798 [BZ #14080]
11799 * time/tzset.c (__tzset_parse_tz): Update default rules for
11800 daylight time changes in the Energy Policy Act of 2005.
11801
1db86e88
AJ
118022012-05-09 Andreas Jaeger <aj@suse.de>
11803
11804 [BZ #13983]
11805 * elf/ldconfig.c (parse_conf): Change string to make clear that
11806 ldconfig only issued a warning if ld.so.conf does not exist.
11807
dee4a4e3
DM
118082012-05-08 David S. Miller <davem@davemloft.net>
11809
ee0db190
DM
11810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11811 movxtod instead of popping the value on the stack.
11812
dee4a4e3
DM
11813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11814
6a43ec98
CD
118152012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11816
11817 * config.h.in: Add HAVE_ARM_PCS_VFP.
11818
05c2c961
RMG
118192012-05-08 Roland Mc Grath <roland@hack.frob.com>
11820
bcfe3a54
ST
11821 [BZ #13979]
11822 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11823 checking but the checks are disabled for any reason.
05c2c961 11824
4b30f61a
L
118252012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11826
11827 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11828 and ELF64_R_TYPE with ELFW(R_TYPE).
11829
eee2bc67
JM
118302012-05-08 Joseph Myers <joseph@codesourcery.com>
11831
7ea5391a
JM
11832 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11833 (ulimit): Likewise.
11834
eee2bc67
JM
11835 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11836 (settimeofday): Likewise.
11837
abb66a67
MF
118382012-05-08 Mike Frysinger <vapier@gentoo.org>
11839
11840 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11841 a struct th_u2 inside the union, and move tu_block/tu_code into
11842 a new th_u3 union of tu_block/tu_code inside of that. Move
11843 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11844 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11845 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11846 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11847 (th_stuff): Change to th_u1.tu_stuff.
11848 (th_data): Define.
11849 (th_msg): Change to th_u1.th_u2.tu_data.
11850
7f18b530
DM
118512012-05-07 David S. Miller <davem@davemloft.net>
11852
05760585
DM
11853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11854
7f18b530
DM
11855 [BZ #14074]
11856 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11857 (SETUP_PIC_REG): Use it.
11858 (SETUP_PIC_REG_LEAF): Use it.
11859
495fd99f
JM
118602012-05-07 Joseph Myers <joseph@codesourcery.com>
11861
11862 [BZ #13885]
11863 [BZ #13923]
11864 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11865 USE_AS_EXPM1L.
11866 (EXPL_FINITE): Likewise.
11867 (FLDLOG): Likewise.
11868 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11869 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11870 e_expl.S.
11871 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11872 USE_AS_EXPM1L.
11873 (EXPL_FINITE): Likewise.
11874 (FLDLOG): Likewise.
11875 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11876 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11877 e_expl.S.
11878 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11879 test of -max_value argument for long double.
11880 * sysdeps/i386/fpu/libm-test-ulps: Update.
11881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11882
6693d694
DM
118832012-05-06 David S. Miller <davem@davemloft.net>
11884
11885 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11886 quad soft-float symbols whose references which are compiler
11887 generated.
11888 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11889
6c23e11c
JM
118902012-05-06 Joseph Myers <joseph@codesourcery.com>
11891
d8b82cad
JM
11892 [BZ #13884]
11893 [BZ #13914]
11894 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11895 USE_AS_EXP10L.
11896 (EXPL_FINITE): Likewise.
11897 (FLDLOG): Likewise.
11898 (c0): Likewise.
11899 (c1): Likewise.
11900 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11901 Adjust comments for base varying.
11902 (__expl_finite): Change alias to EXPL_FINITE.
11903 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11904 e_expl.S.
11905 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11906 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11908 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11909 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11910 USE_AS_EXP10L.
11911 (EXPL_FINITE): Likewise.
11912 (FLDLOG): Likewise.
11913 (c0): Likewise.
11914 (c1): Likewise.
11915 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11916 Adjust comments for base varying.
11917 (__expl_finite): Change alias to EXPL_FINITE.
11918 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11919 tests for bugs.
11920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11921
6c23e11c
JM
11922 [BZ #14064]
11923 * math/libm-test.inc (check_float_internal): Correct ulp
11924 calculation for subnormal expected results.
11925
29ba805c
AJ
119262012-05-06 Andreas Jaeger <aj@suse.de>
11927
11928 * Makeconfig (+math-flags): New, set to -frounding-math.
11929 (+cflags): Add +math-flags so that all of glibc gets compiled with
11930 it.
11931
11932 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11933
7b17aeda
JM
119342012-05-05 Joseph Myers <joseph@codesourcery.com>
11935
5779f134
JM
11936 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11937 Disable one test.
11938
41498f4d
JM
11939 [BZ #13787]
11940 [BZ #13922]
11941 [BZ #14036]
11942 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11943 (__ieee754_expl): Allow for and saturate large arguments.
11944 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11945 (u_threshold): Likewise.
11946 (__exp): Call __ieee754_exp before checking for overflow and
11947 underflow.
11948 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11949 (u_threshold): Likewise.
11950 (__expf): Call __ieee754_expf before checking for overflow and
11951 underflow.
11952 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11953 (u_threshold): Likewise.
11954 (__expl): Call __ieee754_expl before checking for overflow and
11955 underflow.
11956 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11957 (__ieee754_expl): Allow for and saturate large arguments.
11958 * math/libm-test.inc (exp_test): Add another test. Do not allow
11959 missing overflow exception on overflow.
11960 (expm1_test): Do not allow missing overflow exception on overflow.
11961
6698b8bf
JM
11962 * sysdeps/i386/fpu/e_expl.c: Move to ...
11963 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11964 rather than using inline asm.
11965 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11966 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11967 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11968
7b17aeda
JM
11969 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11970 (nice): Likewise.
11971 (poll): Likewise.
11972 (signal): Likewise.
11973 (time): Likewise.
11974 (times): Likewise.
11975
f7c85819
JM
119762012-05-04 Joseph Myers <joseph@codesourcery.com>
11977
11978 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11979 sysdeps/unix/common/syscalls.list.
11980 (fchmod): Likewise.
11981 (fchown): Likewise.
11982 (ftruncate): Likewise.
11983 (getrusage): Likewise.
11984 (gettimeofday): Likewise.
11985 (setpgid): Likewise.
11986 (setregid): Likewise.
11987 (setreuid): Likewise.
11988 (sigaction): Likewise.
11989 (truncate): Likewise.
11990 (vhangup): Likewise.
11991 * sysdeps/unix/common/syscalls.list: Remove file.
11992 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11993 * sysdeps/unix/sysv/linux/Implies: Likewise.
11994
336270d0
L
119952012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11996
11997 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11999 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12000 Moved to ...
12001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12002 Here.
12003 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12004 to ...
12005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12006 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12007 to ...
12008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12009 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12010 to ...
12011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12012 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12013 to ...
12014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12015 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12016 to ...
12017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12018 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12019 to ...
12020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12021 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12022 to ...
12023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12024 Here.
12025 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12026 to ...
12027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12028 Here.
12029 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12030 to ...
12031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12032 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12033 Moved to ...
12034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12035 Here.
12036 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12037 to ...
12038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12039
d128e450
JM
120402012-05-04 Joseph Myers <joseph@codesourcery.com>
12041
fa8ee516
JM
12042 * sysdeps/unix/common/bits/dirent.h: Remove file.
12043 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12044
d128e450
JM
12045 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12046 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12047 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12048 * sysdeps/unix/bsd/isatty.c: Likewise.
12049 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12050 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12051 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12052
ff8faaf0 120532012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12054
62881be4 12055 [BZ #13563]
31dc8730
AZ
12056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12057 long double comparison inaccuracies.
12058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12060
6fef930c
AS
120612012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12062
12063 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12064 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12065
8f203e6c
JM
120662012-05-04 Joseph Myers <joseph@codesourcery.com>
12067
12068 [BZ #14049]
12069 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12070 nonzero digits before rounding a hex value.
12071 * stdlib/tst-strtod.c (tests): Add another test.
12072
5197d9c2
AK
120732012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12074
12075 * sysdeps/s390/fpu/libm-test-ulps: Update.
12076
f0c1dedf
AJ
120772012-05-03 Andreas Jaeger <aj@suse.de>
12078
12079 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12080 does not get optimized out.
12081 (malloc_opt_barrier): New.
12082
a65ef2ae 120832012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12084 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12085
2b942cb7 12086 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12087 intermediate file deletion.
2b942cb7 12088 (generated): Add .symlist files.
a65ef2ae 12089
54b71e02
JM
120902012-05-03 Joseph Myers <joseph@codesourcery.com>
12091
12092 [BZ #13775]
12093 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12094 Redirect under this condition.
12095 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12096 [__USE_GNU] (__dprintf_chk): Not under this condition.
12097 [__USE_GNU] (__vdprintf_chk): Likewise.
12098 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12099 under this condition.
12100 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12101 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12102 [__USE_XOPEN2K8] (vdprintf): Likewise.
12103 [__USE_GNU] (__dprintf_chk): Not under this condition.
12104 [__USE_GNU] (__vdprintf_chk): Likewise.
12105 [__USE_GNU] (dprintf): Likewise.
12106 [__USE_GNU] (vdprintf): Likewise.
12107
d3dfcc41
RM
121082012-05-03 Roland McGrath <roland@hack.frob.com>
12109
12110 * elf/Makefile (common-generated): Set this instead of generated for
12111 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12112 $(all-built-dso)-derived lists.
12113
7ac30cc5
AJ
121142012-05-03 Andreas Jaeger <aj@suse.de>
12115
0c51e550
AJ
12116 * sysdeps/i386/fpu/libm-test-ulps: Update.
12117
7ac30cc5
AJ
12118 * FAQ: Removed.
12119 * FAQ.in: Likewise.
12120 * scripts/gen-FAQ.pl: Likewise.
12121 * manual/install.texi (Installation): Point to online location of
12122 FAQ.
12123 * Makefile (files-for-dist): Remove FAQ.
12124 (FAQ): Remove.
12125
d4c2917f
AM
121262012-05-02 Allan McRae <allan@archlinux.org>
12127
12128 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12129 (LDFLAGS-reldepmod5.so): Likewise.
12130 (LDFLAGS-reldep6mod1.so): Likewise.
12131 (LDFLAGS-reldep6mod4.so): Likewise.
12132 (LDFLAGS-reldep8mod3.so): Likewise.
12133 (LDFLAGS-unload4mod1.so): Likewise.
12134 (LDFLAGS-unload4mod2.so): Likewise.
12135 (LDFLAGS-tst-initorder): Likewise.
12136 (LDFLAGS-tst-initordera2.so): Likewise.
12137 (LDFLAGS-tst-initordera3.so): Likewise.
12138 (LDFLAGS-tst-initordera4.so): Likewise.
12139 (LDFLAGS-tst-initorderb2.so): Likewise.
12140 (LDFLAGS-noload): Likewise.
12141 (LDFLAGS-next): Likewise.
12142 (LDFLAGS-order2mod1.so): Likewise.
12143 (LDFLAGS-order2mod2.so): Likewise.
12144 (LDFLAGS-tst-initorder2): Likewise.
12145 (LDFLAGS-tst-initorder2a.so): Likewise.
12146 (LDFLAGS-tst-initorder2b.so): Likewise.
12147 (LDFLAGS-tst-initorder2c.so): Likewise.
12148 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12149
d77f993f
DM
121502012-05-02 David S. Miller <davem@davemloft.net>
12151
12152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12153
171a70b4
PP
121542012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12155
12156 [BZ #14055]
12157 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12158
0be196ad
AJ
121592012-05-02 Andreas Jaeger <aj@suse.de>
12160
12161 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12162 since we manipulate rounding mode.
12163 (CPPFLAGS-test-idouble.c): Likewise.
12164 (CPPFLAGS-test-ifloat.c): Likewise.
12165 (CFLAGS-test-ldouble.c): Likewise.
12166 (CFLAGS-test-double.c): Likewise.
12167 (CFLAGS-test-float.c): Likewise.
12168 (CFLAGS-test-misc.c): Likewise.
12169 (CFLAGS-test-test-fenv.c): Likewise.
12170
4f9d04aa
AZ
121712012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12172
2b942cb7
RM
12173 [BZ #2550]
12174 [BZ #2570]
12175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12176 comparisons to determine direction to adjust input.
4f9d04aa 12177
82a79e7d
RM
121782012-05-01 Roland McGrath <roland@hack.frob.com>
12179
f5a01ca9
RM
12180 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12181 output to the target.
12182
90fe4186
RM
12183 * scripts/localplt.awk: New file.
12184 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12185 (check-localplt-CFLAGS): Variable removed.
12186 ($(all-built-dso:=.jmprel)): New static pattern rule.
12187 (generated): Add those targets.
12188 (localplt-built-dso): New variable.
12189 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12190
12191 * elf/check-localplt.c: File removed.
12192
82397ed6
RM
12193 * scripts/check-execstack.awk: New file.
12194 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12195 (check-execstack-CFLAGS): Variable removed.
12196 ($(objpfx)check-execstack.h): Target removed.
12197 ($(objpfx)execstack-default): New target.
12198 (generated): Add that instead of check-execstack.h.
12199 ($(all-built-dso:=.phdr)): New static pattern rule.
12200 (generated): Add those targets.
12201 * elf/check-execstack.c: File removed.
12202
82a79e7d
RM
12203 * scripts/check-textrel.awk: New file.
12204 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12205 (check-textrel-CFLAGS): Variable removed.
12206 (all-built-dso): Use := to define.o
12207 ($(all-built-dso:=.dyn)): New static pattern rule.
12208 (generated): Add those targets.
12209 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12210 * config.make.in (READELF): New substituted variable.
12211 * elf/check-textrel.c: File removed.
12212
62fde54f 122132012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12214
615605c9
JM
12215 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12216 allow.
12217 * conform/data/ctype.h-data [C99-based standards] (isblank):
12218 Expect function.
12219 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12220 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12221 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12222 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12223 Specify type. Require positive value.
12224 (EILSEQ): Likewise.
12225 (ERANGE): Likewise.
12226 [ISO || POSIX] (EILSEQ): Do not expect.
12227 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12228 Specify type. Require positive value.
12229 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12230 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12231 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12232 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12233 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12234 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12235 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12236 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12237 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12238 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12239 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12240 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12241 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12242 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12243 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12244 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12245 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12246 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12247 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12248 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12249 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12250 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12251 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12252 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12253 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12254 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12255 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12256 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12257 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12258 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12259 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12260 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12261 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12262 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12263 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12264 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12265 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12266 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12267 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12268 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12269 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12270 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12271 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12272 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12273 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12274 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12275 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12276 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12277 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12278 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12279 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12280 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12281 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12282 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12283 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12284 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12285 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12286 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12287 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12288 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12289 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12290 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12291 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12292 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12293 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12294 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12295 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12296 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12297 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12298 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12299 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12300 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12301 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12302 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12303 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12304 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12305 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12306 Require >= 2.
12307 (FLT_ROUNDS): Expect as macro, not constant.
12308 (FLT_MANT_DIG): Use macro-int-constant.
12309 (DBL_MANT_DIG): Likewise.
12310 (LDBL_MANT_DIG): Likewise.
12311 (FLT_DIG): Likewise.
12312 (DBL_DIG): Likewise.
12313 (LDBL_DIG): Likewise.
12314 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12315 (DBL_MIN_EXP): Likewise.
12316 (LDBL_MIN_EXP): Likewise.
12317 (FLT_MAX_EXP): Use macro-int-constant.
12318 (DBL_MAX_EXP): Likewise.
12319 (LDBL_MAX_EXP): Likewise.
12320 (FLT_MAX_10_EXP): Likewise.
12321 (DBL_MAX_10_EXP): Likewise.
12322 (LDBL_MAX_10_EXP): Likewise.
12323 (FLT_MAX): Use macro-constant.
12324 (DBL_MAX): Likewise.
12325 (LDBL_MAX): Likewise.
12326 (FLT_EPSILON): Use macro-constant. Give upper bound.
12327 (DBL_EPSILON): Likewise.
12328 (LDBL_EPSILON): Likewise.
12329 (FLT_MIN): Likewise.
12330 (DBL_MIN): Likewise.
12331 (LDBL_MIN): Likewise.
12332 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12333 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12334 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12335 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12336 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12337 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12338 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12339 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12340 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12341 [ISO11] (FLT_TRUE_MIN): Likewise.
12342 [ISO11] (LDBL_TRUE_MIN): Likewise.
12343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12344 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12345 (SCHAR_MIN): Use macro-int-constant. Specify type.
12346 (SCHAR_MAX): Likewise.
12347 (UCHAR_MAX): Likewise.
12348 (CHAR_MIN): Likewise.
12349 (CHAR_MAX): Likewise.
12350 (MB_LEN_MAX): Use macro-int-constant.
12351 (SHRT_MIN): Use macro-int-constant. Specify type.
12352 (SHRT_MAX): Likewise.
12353 (USHRT_MAX): Likewise.
12354 (INT_MAX): Likewise.
12355 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12356 bound negative.
12357 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12358 bound with "U".
12359 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12360 bound with "L".
12361 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12362 bound negative. Suffix upper bound with "L".
12363 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12364 bound with "UL".
12365 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12366 Specify type.
12367 [C99-based standards] (LLONG_MAX): Likewise.
12368 [C99-based standards] (ULLONG_MAX): Likewise.
12369 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12370 == 0.
12371 [ISO11] (max_align_t): Require type.
12372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12373
c9140a62
JM
12374 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12375 from $CFLAGS, without defining away __attribute__ calls.
12376 (checknamespace): Use $CFLAGS_namespace.
12377
9af0bf29
JM
12378 * conform/conformtest.pl (@keywords): Only include C99 keywords
12379 for standards based on C99 or C11.
12380
343222a2
JM
12381 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12382 Disable tests.
12383 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12384 UNIX98]: Likewise.
12385
661f8cf0
JM
12386 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12387 usability of symbols in #if.
12388
ee74b9cb
JM
12389 * conform/conformtest.pl: If macro or constant types start
12390 "promoted:", expect the symbol to be of the following type
12391 promoted by the integer promotions.
62fde54f 12392
aafc49b3
JM
12393 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12394 in one place. Also handle "macro-constant".
12395
fefdf574
JM
12396 * conform/conformtest.pl: Only accept expected macro values with
12397 "==". Parse all "macro" lines in one place.
12398 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12399
f2d922fe
JM
12400 * conform/conformtest.pl: Handle braced types on "constant" lines
12401 instead of handling "typed-constant".
12402 * conform/data/signal.h-data: Use "constant" instead of
12403 "typed-constant".
12404
d22956c9
JM
12405 * conform/conformtest.pl: Handle "optional-" at start of lines in
12406 one place rather than duplicating several cases. Handle each
12407 format of "macro" line with initial "optional-".
12408
028e2e38
JM
12409 * conform/conformtest.pl: Only accept expected constant or
12410 optional-constant values with "==". Parse all "constant" lines in
12411 one place. Parse all "optional-constant" lines in one place.
12412 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12413 * conform/data/fmtmsg.h-data: Likewise.
12414 * conform/data/netinet/in.h-data: Likewise.
12415 * conform/data/tar.h-data: Likewise.
12416 * conform/data/limits.h-data: Use "==" form on "constant" and
12417 "optional-constant" lines.
12418
1b8f2850
JM
12419 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12420 Use -std=c99 for XOPEN2K.
12421 (@knownproblems): Remove.
12422 (newtoken): Don't check %isknown.
12423
a05a144b
JM
12424 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12425 Do not expect macro.
12426 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12427 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12428 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12429 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12430 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12431 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12432 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12433 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12434 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12435 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12436 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12437 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12438 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12439 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12440 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12441 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12442 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12443 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12444 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12445 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12446 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12447 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12448 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12449 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12450 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12451 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12452 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12453 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12454 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12455 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12456 [XPG3] (acosh): Likewise.
12457 [XPG3] (asinh): Likewise.
12458 [XPG3] (atanh): Likewise.
12459 [XPG3] (cbrt): Likewise.
12460 [XPG3] (expm1): Likewise.
12461 [XPG3] (ilogb): Likewise.
12462 [XPG3] (log1p): Likewise.
12463 [XPG3] (logb): Likewise.
12464 [XPG3] (nextafter): Likewise.
12465 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12466 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12467 [XPG3] (remainder): Likewise.
12468 [XPG3] (rint): Likewise.
12469 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12470 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12471 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12472 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12473 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12474 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12475 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12476 [UNIX98 || XOPEN2K] (scalb): Expect.
12477 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12478 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12479 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12480 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12481 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12482 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12483 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12484 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12485 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12486 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12487 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12488 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12489 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12490 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12491 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12492 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12493 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12494 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12495 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12496 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12497 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12498 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12499 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12500 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12501 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12502 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12503 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12504 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12505 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12506 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12507 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12508 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12509 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12510 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12511 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12512 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12513 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12514 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12515 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12516 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12517 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12518 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12519 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12520 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12521 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12522 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12523 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12524 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12525 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12526 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12527 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12528 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12529 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12530 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12531 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12532 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12533 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12534 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12535 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12536 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12537 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12538 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12539 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12540 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12541 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12542 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12543 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12544 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12545 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12546 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12547 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12548 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12549 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12550 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12551 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12552 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12553 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12554 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12555 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12556 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12557 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12558 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12559 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12560 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12561 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12562 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12563 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12564 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12565 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12566 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12567 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12568 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12569 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12570 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12571 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12572 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12573 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12574 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12575 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12576 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12577 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12580 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12581 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12582 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12583 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12584 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12585 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12586 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12587 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12588 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12589 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12590 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12591 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12592 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12599 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12600 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12601 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12602 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12603 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12604 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12605 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12606 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12607 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12608 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12609 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12610 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12611 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12613 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12614
73c5ebe3
JM
12615 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12616 _XOPEN_SOURCE_EXTENDED for XPG4.
12617
39c33b6c
JM
12618 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12619
62fde54f
JM
12620 * Makeconfig (localtime): Remove variable.
12621 (inst_localtime-file): Likewise.
12622
0741d64c
AS
126232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12624
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12626 Update.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12628 Update.
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12630 Update.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12632 Update.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12634 Update.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12636 Update.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12638 Update.
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12640 Update.
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12642 Update.
12643
7cb029ee
JM
126442012-05-01 Joseph Myers <joseph@codesourcery.com>
12645
12646 [BZ #2550]
12647 [BZ #2570]
12648 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12649 comparisons to determine direction to adjust input.
12650 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12651 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12653 Likewise.
12654 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12655 Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12657 Likewise.
12658 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12659 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12660 Likewise.
12661 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12662 Likewise.
12663 * math/libm-test.inc (nexttoward_test): Add more tests.
12664
412bd966
AS
126652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12666
12667 [BZ #14040]
12668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12669 in version GLIBC_2.1, not GLIBC_2.0.
12670 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12671 Likewise.
12672
9568c0c2
JM
126732012-04-30 Joseph Myers <joseph@codesourcery.com>
12674
adfbc8ac
JM
12675 [BZ #13942]
12676 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12677 (1 - x) * (1 + x).
12678 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12679 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12680 * math/libm-test.inc (acos_test): Add more tests.
12681 (asin_test): Likewise.
12682 * sysdeps/i386/fpu/libm-test-ulps: Update.
12683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12684
5ba3cc69
JM
12685 [BZ #14034]
12686 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12687 of square root.
12688 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12689 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12690 * math/libm-test.inc (acos_test_tonearest): New function.
12691 (acos_test_towardzero): Likewise.
12692 (acos_test_downward): Likewise.
12693 (acos_test_upward): Likewise.
12694 (asin_test_tonearest): Likewise.
12695 (asin_test_towardzero): Likewise.
12696 (asin_test_downward): Likewise.
12697 (asin_test_upward): Likewise.
12698 (main): Call the new functions.
12699 * sysdeps/i386/fpu/libm-test-ulps: Update.
12700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12701
9568c0c2
JM
12702 [BZ #13884]
12703 [BZ #13924]
12704 * math/e_exp10.c: Include <float.h>.
12705 (__ieee754_exp10): Handle underflow here rather than multiplying
12706 large negative argument by M_LN10.
12707 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12708 of __ieee754_expf.
12709 * math/e_exp10l.c: Include <float.h>.
12710 (__ieee754_exp10l): Handle underflow here rather than multiplying
12711 large negative argument by M_LN10l.
12712 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12713 spurious overflow exception on underflow.
12714
5ac3ea17
MP
127152012-04-29 Marek Polacek <polacek@redhat.com>
12716
12717 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12718 (__fortify_function): New macro.
12719 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12720 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12721 __extern_always_inline.
12722 * libio/bits/stdio2.h: Likewise.
12723 * libio/bits/stdio.h: Likewise.
12724 * string/string.h: Likewise.
12725 * string/bits/string3.h: Likewise.
12726 * include/stdio.h: Likewise.
12727 * stdlib/bits/stdlib.h: Likewise.
12728 * stdlib/stdlib.h: Likewise.
12729 * rt/bits/mqueue2.h: Likewise.
12730 * rt/mqueue.h: Likewise.
12731 * posix/bits/unistd.h: Likewise.
12732 * posix/unistd.h: Likewise.
12733 * io/bits/poll2.h: Likewise.
12734 * io/bits/fcntl2.h: Likewise.
12735 * io/fcntl.h: Likewise.
12736 * io/sys/poll.h: Likewise.
12737 * misc/bits/syslog.h: Likewise.
12738 * misc/bits/syslog-ldbl.h: Likewise.
12739 * misc/sys/syslog.h: Likewise.
12740 * socket/bits/socket2.h: Likewise.
12741 * socket/sys/socket.h: Likewise.
12742 * debug/tst-chk1.c: Likewise.
12743 * wcsmbs/bits/wchar2.h: Likewise.
12744 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12745 * wcsmbs/wchar.h: Likewise.
12746
ecf0ebfb
AJ
127472012-04-29 Andreas Jaeger <aj@suse.de>
12748
12749 * Makerules (tests): Remove enable-check-abi protection.
12750 (check-abi-warn): Remove.
12751 (check-abi-%): Remove check-abi-warn usage.
12752
12753 * configure.in: Remove check-abi configure option.
12754 * configure: Regenerated.
12755 * config.make.in (enable-check-abi): Remove.
12756
6d5c57fa
AS
127572012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12758
24c5d07e 12759 [BZ #14033]
ded5180a
AS
12760 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12761 double functions to double *_finite functions.
12762
7e0d315d
AS
12763 [BZ #13941]
12764 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12765 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12766 LDBL_MIN_EXP.
12767 * stdio-common/Makefile (tests): Add tst-sprintf3.
12768 * stdio-common/tst-sprintf3.c: New file.
12769
6d5c57fa
AS
12770 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12771 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12772
0749ff8b
JM
127732012-04-28 Joseph Myers <joseph@codesourcery.com>
12774
12775 * conform/conformtest.pl: Remove duplicate typed-constant
12776 handling.
12777
8dbd5d7b
DM
127782012-04-28 David S. Miller <davem@davemloft.net>
12779
12780 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12781 (check-abi-%): Remove AWK script prerequisite and explicit
12782 abilist directory.
12783 (check-abi): Rewrite to just diff the symlist with the abilist.
12784 (config-tls, config-abi-config): Delete, no longer used.
12785 (update-abi-%): Remove AWK script and explicit abilist directory.
12786 (update-abi): Rewrite to simply compare and conditionally copy the
12787 symlist and the sysdep abilist file. Remove update-abi-config
12788 checks.
12789 * abilist/ld.abilist: Remove.
12790 * abilist/libBrokenLocale.abilist: Remove.
12791 * abilist/libanl.abilist: Remove.
12792 * abilist/libcrypt.abilist: Remove.
12793 * abilist/libdl.abilist: Remove.
12794 * abilist/librt.abilist: Remove.
12795 * abilist/libthread_db.abilist: Remove.
12796 * abilist/libutil.abilist: Remove.
12797 * scripts/extract-abilist.awk: Remove.
12798 * scripts/merge-abilist.awk: Remove.
12799 * sysdeps/generic/libcidn.abilist: New file.
12800 * sysdeps/generic/libnss_compat.abilist: New file.
12801 * sysdeps/generic/libnss_db.abilist: New file.
12802 * sysdeps/generic/libnss_dns.abilist: New file.
12803 * sysdeps/generic/libnss_files.abilist: New file.
12804 * sysdeps/generic/libnss_hesiod.abilist: New file.
12805 * sysdeps/generic/libnss_nis.abilist: New file.
12806 * sysdeps/generic/libnss_nisplus.abilist: New file.
12807 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12808 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12809 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12810 file.
12811 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12812 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12813 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12814 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12815 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12816 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12817 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12818 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12819 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12820 file.
12821 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12822 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12823 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12824 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12825 file.
12826 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12827 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12828 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12829 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12830 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12831 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12832 file.
12833 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12834 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12835 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12836 file.
12837 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12839 New file.
12840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12841 New file.
12842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12843 New file.
12844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12845 New file.
12846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12847 New file.
12848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12849 New file.
12850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12851 New file.
12852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12853 New file.
12854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12855 New file.
12856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12857 New file.
12858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12859 New file.
12860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12861 New file.
12862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12863 New file.
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12865 file.
12866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12867 New file.
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12869 New file.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12871 file.
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12873 New file.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12875 New file.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12877 file.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12879 New file.
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12881 New file.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12883 New file.
12884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12885 New file.
12886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12887 New file.
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12889 New file.
12890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12892 file.
12893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12894 New file.
12895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12896 file.
12897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12898 file.
12899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12900 file.
12901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12902 file.
12903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12904 file.
12905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12906 New file.
12907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12908 file.
12909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12910 file.
12911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12912 New file.
12913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12914 file.
12915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12917 file.
12918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12919 New file.
12920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12921 file.
12922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12923 file.
12924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12925 file.
12926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12927 file.
12928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12929 file.
12930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12931 New file.
12932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12933 file.
12934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12935 file.
12936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12937 New file.
12938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12939 file.
12940 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12941 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12942 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12943 file.
12944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12945 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12946 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12947 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12948 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12949 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12950 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12951 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12952 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12953 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12956 file.
12957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12958 New file.
12959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12960 file.
12961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12962 file.
12963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12964 file.
12965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12966 file.
12967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12968 file.
12969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12970 New file.
12971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12972 New file.
12973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12974 file.
12975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12976 New file.
12977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12978 file.
12979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12981 file.
12982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12983 New file.
12984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12985 file.
12986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12987 file.
12988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12989 file.
12990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12991 file.
12992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12993 file.
12994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12995 New file.
12996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12997 New file.
12998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12999 file.
13000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13001 New file.
13002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13003 file.
13004
41d73a1b
JM
130052012-04-28 Joseph Myers <joseph@codesourcery.com>
13006
13007 * conform/conformtest.pl: Fix typo in handling typed-constant from
13008 allow-header.
13009
28aeeda4
JM
130102012-04-27 Joseph Myers <joseph@codesourcery.com>
13011
adae8f5e
JM
13012 * README: Cut down references to pre-2.6 Linux kernels and
13013 Linuxthreads. Update lists of configurations in libc and ports
13014 and sort alphabetically. Say "or newer" with Linux kernel version
13015 requirements.
13016
28aeeda4
JM
13017 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13018
a462cb63
RA
130192012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13020
13021 [BZ #887]
13022 * math/libm-test.inc (logb_test_downward): New test to expose
13023 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13024 rounding mode.
13025
6ad3493e
JM
130262012-04-27 Joseph Myers <joseph@codesourcery.com>
13027
13028 [BZ #14027]
13029 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13030 to be done.
13031 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13032 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13033
2ce4f015
JM
130342012-04-26 Joseph Myers <joseph@codesourcery.com>
13035
5aeb141a
JM
13036 * sysdeps/unix/i386/brk.S: Remove file.
13037 * sysdeps/unix/i386/dl-brk.S: Likewise.
13038 * sysdeps/unix/i386/pipe.S: Likewise.
13039 * sysdeps/unix/i386/sigreturn.S: Likewise.
13040 * sysdeps/unix/i386/syscall.S: Likewise.
13041 * sysdeps/unix/i386/vfork.S: Likewise.
13042 * sysdeps/unix/i386/wait.S: Likewise.
13043
7143acae
JM
13044 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13045 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13046
2ce4f015
JM
13047 * configure.in (arm*-none*): Do not allow without
13048 --enable-hacker-mode.
13049 (netbsd*): Remove case setting base_os.
13050 (386bsd*): Likewise.
13051 (freebsd*): Likewise.
13052 (bsdi*): Likewise.
13053 (osf*): Likewise.
13054 (sunos*): Likewise.
13055 (ultrix*): Likewise.
13056 (newsos*): Likewise.
13057 (dynix*): Likewise.
13058 (*bsd*): Likewise.
13059 (sysv*): Likewise.
13060 (isc*): Likewise.
13061 (esix*): Likewise.
13062 (sco*): Likewise.
13063 (minix*): Likewise.
13064 (irix4*): Likewise.
13065 (irix6*): Likewise.
13066 (solaris[2-9]*): Likewise.
13067 (none): Likewise.
13068 * configure: Regenerated.
13069
0ac229c8
AZ
130702012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13071
13072 [BZ #11521]
13073 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13074 overflow or cancellation in calculating denominator.
13075 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13077 down expression to avoid unexpected rounding in newer GCCs.
13078 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13079
33f244f4
DM
130802012-04-26 David S. Miller <davem@davemloft.net>
13081
13082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13083 long-double compat symbols.
13084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13097
cfa1f3e8
DM
130982012-04-25 David S. Miller <davem@davemloft.net>
13099
13100 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13101 HWCAP_* values only after the memory barriers have been defined.
13102 (atomic_full_barrier): Define.
13103 (atomic_read_barrier): Define.
13104 (atomic_write_barrier): Define.
13105
6e236b92
SP
131062012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13107
13108 * shlib-versions: Add libgcc_s version information.
13109 * sysdeps/generic/libgcc_s.h: Remove.
13110 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13111 libgcc_s.h.
13112 * sysdeps/gnu/unwind-resume.c: Likewise.
13113 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13114
aab39a09
DM
131152012-04-25 David S. Miller <davem@davemloft.net>
13116
13117 * sysdeps/unix/sparc/brk.S: Delete.
13118 * sysdeps/unix/sparc/dl-brk.S: Delete.
13119 * sysdeps/unix/sparc/pipe.S: Delete.
13120 * sysdeps/unix/sparc/sysdep.S: Delete.
13121 * sysdeps/unix/sparc/sysdep.h: Delete.
13122 * sysdeps/unix/sparc/vfork.S: Delete.
13123 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13124 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13125 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13126 ret_ERRVAL, r0, r1, MOVE): Define.
13127 (JUMPTARGET): Remove.
13128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13129 sysdeps/unix/sparc/sysdep.h
13130 (ENTRY, END): Remove.
13131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13132
a3cc4f48
JM
131332012-04-25 Joseph Myers <joseph@codesourcery.com>
13134
2ed8cda2
JM
13135 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13136 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13137 -DIS_IN_build.
13138
35d76d59
JM
13139 * timezone/README: Update upstream location and email address for
13140 tzcode and tzdata.
13141 * timezone/zdump.c: Update from tzcode 2012b.
13142 * timezone/zic.c: Likewise.
13143
a3cc4f48
JM
13144 * configure.in (libc_cv_as_needed): Remove test.
13145 * configure: Regenerated.
13146 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13147 conditional definition.
13148 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13149 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13150 * config.make.in (have-as-needed): Remove variable.
13151
ceab42c3
SP
131522012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13153 Paul Pluzhnikov <ppluzhnikov@google.com>
13154
13155 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13156 strings correctly.
13157
3ce2865f
CLT
131582012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13159
13160 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13161 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13162 * sysdeps/sh/strlen.S: Likewise.
13163
f37e0d68
JM
131642012-04-24 Joseph Myers <joseph@codesourcery.com>
13165
ae186e9a
JM
13166 * sysdeps/unix/fork.S: Remove file.
13167 * sysdeps/unix/i386/fork.S: Likewise.
13168 * sysdeps/unix/sparc/fork.S: Likewise.
13169
b96914af
JM
13170 * sysdeps/unix/system.c: Remove file.
13171 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13172
f37e0d68
JM
13173 * sysdeps/unix/getegid.S: Remove file.
13174 * sysdeps/unix/geteuid.S: Likewise.
13175
87ef29ca
RM
131762012-04-24 Roland McGrath <roland@hack.frob.com>
13177
83bcd236
RM
13178 * scripts/check-localplt.awk: New file.
13179 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13180 of diff.
13181 * scripts/data/localplt-generic.data: Add a comment.
13182
87ef29ca
RM
13183 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13184 NODE when __dir_mkfile failed.
13185 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13186 Reported by Ludovic Courtès <ludo@gnu.org>.
13187
e5a6e567
AJ
131882012-04-24 Andreas Jaeger <aj@suse.de>
13189
13190 * Makerules (common-clean): Also remove gen-as-const-headers
13191 files.
13192
c1820385
JM
131932012-04-24 Joseph Myers <joseph@codesourcery.com>
13194
13195 * Makerules (native-compile): Do not change working directory for
13196 build. Use $(OUTPUT_OPTION) in command.
13197 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13198
94e02fc4
AZ
131992012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13200
13201 [BZ #13886]
13202 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13203 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13204 * math/libm-test.inc (floor_test): Add more tests.
13205 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13206
3a533ca3
JM
132072012-04-24 Joseph Myers <joseph@codesourcery.com>
13208
940ab4b3
JM
13209 * sysdeps/unix/getdents.c: Remove file.
13210 * sysdeps/unix/sysv/getdents.c: Likewise.
13211 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13212
90e037bd
JM
13213 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13214 sysdeps/unix/mman/syscalls.list.
13215 (mmap): Likewise.
13216 (mprotect): Likewise.
13217 (msync): Likewise.
13218 (munmap): Likewise.
13219 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13220 * sysdeps/unix/mman/syscalls.list: Remove.
13221 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13222
3a533ca3
JM
13223 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13224 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13225 * configure: Regenerated.
13226 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13227 $(libgcc_s_suffix).
13228 * config.make.in (libgcc_s_suffix): Remove variable.
13229
1ad743de
JM
132302012-04-23 Joseph Myers <joseph@codesourcery.com>
13231
4ad451e2
JM
13232 * sysdeps/unix/sysv/gethostname.c: Move to ...
13233 * sysdeps/posix/gethostname.c: ... here.
13234
5e37ce39
JM
13235 * sysdeps/unix/execve.S: Remove file.
13236
1ad743de
JM
13237 * sysdeps/unix/_exit.S: Remove file.
13238
4e681b5b
AJ
132392012-04-23 Andreas Jaeger <aj@suse.de>
13240
13241 [BZ #13739]
13242 * manual/Makefile: Remove make dist support, there's no
13243 need for a stand-alone documentation tar ball.
13244 (TEXI2DVI): Define always, it's not in Makeconfig.
13245 (dist): Removed.
13246 (tar-it): Removed.
13247 (edition): Removed.
13248 (glibc-doc-$(edition).tar): Removed
13249 (%.Z): Removed.
13250 (%.gz): Removed.
13251 (%.uu): Removed.
13252 (ETAGS): Remove, it's in Makeconfig.
13253 (move-if-change): Remove, it's in Makeconfig.
13254
38686a03 132552012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13256
13257 [BZ #13970]
13258 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13259 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13260 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13261 (strtod_l, strtof_l, strtold_l): Remove __wur.
13262 It is not necessarily an error to ignore strtol's return value.
13263 One can reliably look at the stored endptr to decide whether
13264 the number had valid syntax.
13265
7c0616fa
AJ
132662012-04-21 Andreas Jaeger <aj@suse.de>
13267
803cb6b7 13268 [BZ #13739]
7c0616fa
AJ
13269 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13270
b0fe253f
JM
132712012-04-21 Joseph Myers <joseph@codesourcery.com>
13272
13273 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13274 * sysdeps/unix/sysv/Versions: Remove file.
13275
8280f22d
MT
132762012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13277
13278 [BZ #13927]
13279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13280
75ce411f 132812012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13282
13283 [BZ #7064]
13284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13285 version from __vm86.
13286
097d59fa
JM
132872012-04-20 Joseph Myers <joseph@codesourcery.com>
13288
a90f3bcb
JM
13289 * sysdeps/unix/common/lxstat.c: Remove file.
13290 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13291
edc7ea78
JM
13292 * sysdeps/unix/sysv/Makefile: Remove file.
13293
cb78c221
JM
13294 * sysdeps/unix/sysv/direct.h: Remove file.
13295
efa6a45f
JM
13296 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13297 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13298 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13299 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13300 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13301 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13302 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13303
9c9f2d0c
JM
13304 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13305
4541c83b
JM
13306 * sysdeps/unix/xmknod.c: Remove file.
13307 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13308
f5d153a0
JM
13309 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13310
aa746595
JM
13311 * sysdeps/unix/sysv/i386/time.S: Remove file.
13312
cce5905e
JM
13313 * sysdeps/unix/fxstat.c: Remove file.
13314 * sysdeps/unix/xstat.c: Likewise.
13315 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13316
37fa3841
JM
13317 * sysdeps/unix/sysv/sigaction.c: Remove file.
13318
ff1962a3
JM
13319 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13320 (sysdep_headers): Remove variable.
13321 [termio.h not in sysdep_headers] (generated): Likewise.
13322 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13323 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13324 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13325 * sysdeps/unix/sysv/tcflow.c: Likewise.
13326 * sysdeps/unix/sysv/tcflush.c: Likewise.
13327 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13328 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13329 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13330 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13331 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13332
e7740d31
JM
13333 * sysdeps/unix/siglist.c: Remove file.
13334
ee06f18b
JM
13335 * sysdeps/unix/getppid.S: Remove file.
13336
097d59fa
JM
13337 * sysdeps/unix/mkdir.c: Remove file.
13338 * sysdeps/unix/rmdir.c: Likewise.
13339
ff3d51ec
AS
133402012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13341
13342 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13343 ERR_MAX value.
13344 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13345 errlist-compat value.
13346
50f81fd7
DM
133472012-04-18 David S. Miller <davem@davemloft.net>
13348
13349 * sysdeps/generic/memcopy.h (reg_char): Delete.
13350 * debug/strcat_chk.c: Use char, not reg_char.
13351 * debug/strcpy_chk.c: Likewise.
13352 * debug/strncat_chk.c: Likewise.
13353 * debug/strncpy_chk.c: Likewise.
13354 * string/memchr.c: Likewise.
13355 * string/memrchr.c: Likewise.
13356 * string/rawmemchr.c: Likewise.
13357 * string/strcat.c: Likewise.
13358 * string/strchr.c: Likewise.
13359 * string/strchrnul.c: Likewise.
13360 * string/strcmp.c: Likewise.
13361 * string/strcpy.c: Likewise.
13362 * string/strncat.c: Likewise.
13363 * string/strncmp.c: Likewise.
13364 * string/strncpy.c: Likewise.
13365
8ff41c46
WS
133662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13367
13368 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13369 __builtin_memcopy is called when src and dest ranges are known to not
13370 overlap.
13371
6b652f46
WS
133722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13373
13374 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13375 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13376 fwd_align_merge macro call.
13377 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13378 bwd_align_merge macro call.
13379 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13380
b282631e
WS
133812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13382
13383 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13384 bwd_align_merge macros.
13385 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13386 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13387 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13388
95aa737c
DM
133892012-04-18 David S. Miller <davem@davemloft.net>
13390
13391 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13392
7a99a614
AJ
133932012-04-18 Andreas Jaeger <aj@suse.de>
13394
13395 [BZ# 6794]
13396 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13397 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13398 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13399
13400 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13401 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13402 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13403
13404 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13405 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13406 Adjust for changed ldbl-128 files.
13407
13408 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13409 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13410 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13411
e5270c23
DM
134122012-04-17 David S. Miller <davem@davemloft.net>
13413
13414 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13415
fb5e92c9
AS
134162012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13417
13418 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13419 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13420 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13421 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13422 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13423 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13424
76da7265
AZ
134252012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426
13427 [BZ #6794]
13428 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13429 * math/libm-test.inc: Add ilogb errno and exception tests.
13430 * math/w_ilogb.c: New file: ilogb wrapper.
13431 * math/w_ilogbf.c: New file: ilogbf wrapper.
13432 * math/w_ilogbl.c: New file: ilogbl wrapper.
13433 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13434 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13435 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13436 exception being thrown with 0.0 as argument.
13437 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13438 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13439 exception being thrown with 0.0 as argument.
13440 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13441 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13442 exception being thrown with 0.0 as argument.
13443 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13444 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13445 exception being thrown with 0.0 as argument.
13446 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13447 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13448 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13449 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13450 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13451 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13452 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13453 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13454 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13455
0396e69d
PB
134562012-04-17 Petr Baudis <pasky@ucw.cz>
13457
13458 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13459 with altivec.
13460
750b5926
MP
134612012-04-16 Marek Polacek <polacek@redhat.com>
13462
13463 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13464
751728a1
MP
134652012-04-16 Marek Polacek <polacek@redhat.com>
13466
13467 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13468 operands of fdivp instruction.
13469
34a27407
L
134702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13471
13472 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13473 * elf/tst-auditmod3b.c: Likewise.
13474 * elf/tst-auditmod4b.c: Likewise.
13475 * elf/tst-auditmod5b.c: Likewise.
13476 * elf/tst-auditmod6b.c: Likewise.
13477 * elf/tst-auditmod6c.c: Likewise.
13478 * elf/tst-auditmod7b.c: Likewise.
13479 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13480 * sysdeps/x86_64/preconfigure.in: Likewise.
13481 * sysdeps/x86_64/preconfigure: Regenerated.
13482
7e73e17d
L
134832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13484
13485 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13486 __ILP32__.
13487
c7a6ab72
AB
134882012-04-13 Antoine Balestrat <merkil33@gmail.com>
13489
13490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13491 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13492
a9e8e0e0
CL
134932012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13494
13495 [BZ #13973]
13496 * locale/iso-639.def: Fix gl language name. Spotted by
13497 Yaron Shahrabani.
13498
ec98af7d
RM
134992012-04-12 Roland McGrath <roland@hack.frob.com>
13500
13501 [BZ #2074]
13502 * libio/libio.h (__io_write_fn): Update comment.
13503
247c3ede
PB
135042012-04-12 Petr Baudis <pasky@ucw.cz>
13505
13506 [BZ #2074]
13507 * stdio.texi (Hook Functions): The user provided writer function
13508 is not allowed to return -1.
13509
55939d6d
DM
135102012-04-11 David S. Miller <davem@davemloft.net>
13511
13512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13513
90020f5a
MF
135142012-04-11 Mike Frysinger <vapier@gentoo.org>
13515
13516 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13517 Add a leading slash to rtkaio.
13518
288f9098
JM
135192012-04-11 Jim Meyering <meyering@redhat.com>
13520
90020f5a
MF
13521 [BZ #11959]
13522 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13523 It is not necessarily an error to ignore fwrite's return
13524 value. One can reliably use ferror to test for errors after
13525 the fact.
288f9098 13526
4be2b570
L
135272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 * bits/types.h (__snseconds_t): New type.
13530 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13531
13532 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13534 (__SNSECONDS_T_TYPE): Likewise.
13535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13536 (__SNSECONDS_T_TYPE): Likewise.
13537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13538 (__SNSECONDS_T_TYPE): Likewise.
13539
288f9098 135402012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13541
13542 [BZ #2636]
13543 * manual/time.texi (Processor Time): Return type of times is
13544 elapsed real time since an arbitrary point in the past.
13545 (CPU Time): Move CLK_TCK from here...
13546 (Processor Time): ...to here. Correct description.
13547 * manual/conf.texi (Constants for Sysconf): Correct description of
13548 _SC_CLK_TCK.
13549
d7dd4413
DM
135502012-04-10 David S. Miller <davem@davemloft.net>
13551
13552 [BZ #13967]
13553 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13554 where the is a gap between DT_REL(A) and DT_JMPREL.
13555
b46068fc
L
135562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13557
13558 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13559 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13560 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13561
73d65cc3
SP
135622012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13563
13564 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13565 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13566 (dl_main): Handle --inhibit-cache.
13567 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13568 _dl_inhibit_cache.
13569 * elf/dl-load.c (_dl_map_object): Use it.
13570 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13571
bcc8d661
JM
135722012-04-09 Joseph Myers <joseph@codesourcery.com>
13573
8f9a2fae
JM
13574 [BZ #13872]
13575 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13576 (__ieee754_powl): Saturate large exponents rather than testing for
13577 overflow of y*log2(x).
13578 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13579 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13580 exceptions.
13581
bcc8d661
JM
13582 [BZ #11521]
13583 * math/s_ctan.c: Include <float.h>.
13584 (__ctan): Avoid internal overflow or cancellation in calculating
13585 denominator.
13586 * math/s_ctanf.c: Likewise.
13587 * math/s_ctanl.c: Likewise.
13588 * math/s_ctanh.c: Likewise.
13589 * math/s_ctanhf.c: Likewise.
13590 * math/s_ctanhl.c: Likewise.
13591 * math/libm-test.inc (ctan_test): Add more tests.
13592 (ctanh_test): Likewise.
13593 * sysdeps/i386/fpu/libm-test-ulps: Update.
13594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13595
823fbbb4
AJ
135962012-04-09 Andreas Jaeger <aj@suse.de>
13597
03879793
AJ
13598 [BZ #6894]
13599 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13600 is an optional BSD extension.
13601
823fbbb4
AJ
13602 [BZ #10254]
13603 * manual/stdio.texi (Opening Streams): Document additional fopen
13604 parameters.
13605
8de131cb
RM
136062012-04-09 Roland McGrath <roland@hack.frob.com>
13607
13608 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13609 %eax without telling the compiler.
13610
c0ed9d7d
CD
136112012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13612
13613 [BZ # 13963]
13614 * manual/install.texi: Use sourceware.org.
13615
c483f6b4
JM
136162012-04-09 Joseph Myers <joseph@codesourcery.com>
13617
d7dd9453
JM
13618 [BZ #13873]
13619 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13620 (__ieee754_pow): Generate overflow and underflow using huge*huge
13621 and tiny*tiny rather than just returning constant infinity or zero
13622 for large exponents.
13623 * math/libm-test.inc (pow_test): Require overflow exceptions for
13624 applicable cases of large exponents.
13625
c483f6b4
JM
13626 [BZ #706]
13627 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13628 (__ieee754_pow): Use iterative multiplication algorithm only for
13629 integer exponents with absolute value below 1024. Check for odd
13630 integer exponents when using algorithm for real exponents.
13631 * math/libm-test.inc (pow_test): Add more tests.
13632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13633
d2de7579
JM
136342012-04-08 Joseph Myers <joseph@codesourcery.com>
13635
13636 [BZ #13705]
13637 * math/libm-test.inc (exp_test): Do not allow overflow exception
13638 on underflow test.
13639
f77f1232
AJ
136402012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13641
13642 [BZ #13705]
13643 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13644 instead of __kernel_standard_f.
13645
3884932b
MF
136462012-04-08 Mike Frysinger <vapier@gentoo.org>
13647
13648 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13649 * sysdeps/x86_64/memset_chk.S: Likewise.
13650
54472e9c
AJ
136512012-04-08 Andreas Jaeger <aj@suse.de>
13652
6ab0fbfc
AJ
13653 [BZ #10153]
13654 * manual/startup.texi (Environment Access): Describe return value
13655 for putenv and setenv.
13656
61efba8c
AJ
13657 [BZ #6895]
13658 * manual/filesys.texi (Directory Entries): Add description for
13659 DT_LNK.
13660
95c3f29a
AJ
13661 [BZ #6890]
13662 * manual/filesys.texi (Directory Entries): Clarify that it's file
13663 system not operating system in the description of DT_UNKNOWN.
13664
54472e9c
AJ
13665 [BZ #6578]
13666 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13667
624254b1
SC
136682012-04-08 Stephen Compall <s11@member.fsf.org>
13669
13670 [BZ #6649]
13671 * manual/llio.texi (Opening and Closing Files): Add cross
13672 reference to explain mode argument.
13673
1e4920e0
MF
136742012-04-07 Mike Frysinger <vapier@gentoo.org>
13675
13676 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13677 * sysdeps/x86_64/memset_chk.S: Likewise.
13678
5ed848f3
DM
136792012-04-07 David S. Miller <davem@davemloft.net>
13680
13681 * elf/elf.h (R_SPARC_WDISP10): Define.
13682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13683 R_SPARC_SIZE32.
13684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13685 R_SPARC_SIZE64 and R_SPARC_H34.
13686
96154cd8
CD
136872012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13688
13689 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13690 conditions and remove no longer applicable assertion.
13691
9904dc47
L
136922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13693
13694 * bits/byteswap.h: Include <features.h>.
13695 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13696 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13697
f8887d0a
L
136982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13699
13700 * bits/byteswap.h (__bswap_16): Removed.
13701 Include <bits/byteswap-16.h> to get __bswap_16.
13702 * sysdeps/i386/bits/byteswap.h: Likewise.
13703 * sysdeps/s390/bits/byteswap.h: Likewise.
13704 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13705 * bits/byteswap-16.h: New file.
13706 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13707 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13708 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13709 * string/Makefile (headers): Add bits/byteswap-16.h.
13710
62470f60
PP
137112012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13712
13713 [BZ #13895]
13714 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13715 extra indirection.
13716 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13717 * nss/tst-nss-static.c: New.
13718
4dad7bab
RM
137192012-04-06 Robert Millan <rmh@gnu.org>
13720
13721 [BZ #6486]
13722 * manual/llio.texi (File Position Primitive): lseek
13723 refers to WHENCE when it really means OFFSET.
13724
e9142a17
AJ
137252012-04-06 Andreas Jaeger <aj@suse.de>
13726
2c040eff
AJ
13727 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13728 strncmp declarations.
13729
e9142a17
AJ
13730 * abilist/libc.abilist: Add __poll and __ppoll.
13731
ff9f1c5f
DM
137322012-04-05 David S. Miller <davem@davemloft.net>
13733
dcd2ae90
DM
13734 * scripts/check-local-headers.sh: Accept a host triplet in the
13735 path matched by the exclude regexp.
13736
993eb054
DM
13737 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13738 definition.
13739 * sysdeps/powerpc/powerpc32/dl-machine.h
13740 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13741 * sysdeps/s390/s390-32/dl-machine.h
13742 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13743 * sysdeps/sparc/sparc32/dl-machine.h
13744 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13745 * sysdeps/sparc/sparc64/dl-machine.h
13746 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13747
ff9f1c5f
DM
13748 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13749 lazy binding.
48e2e132 13750 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13751 undefined symbol errors.
13752
48e2e132 13753 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13754 DT_NEEDED entries.
13755
e80d6f94
MM
137562012-04-05 Michael Matz <matz@suse.de>
13757
13758 [BZ #13592]
13759 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13760
349fa79f
AJ
137612012-04-05 Andreas Jaeger <aj@suse.de>
13762
13763 [BZ #13908]
13764 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13765 comment.
13766
f402708f
KK
137672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13768
13769 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13770 which ROUND is no valid rounding mode.
13771
2ecccfc9
KK
137722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13773
13774 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13775 read again.
13776 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13777
8a53f50f
KK
137782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13779
13780 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13781 an exception using FPU order intentionally.
13782
137832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13784
13785 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13786 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13787 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13788 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13789
d653abb7
SJ
137902012-04-05 Simon Josefsson <simon@josefsson.org>
13791
13792 [BZ #12340]
13793 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13794 EINVAL when BUFLEN is too smal.
13795
c3b1bf7d
TS
137962012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13797
13798 [BZ #13553]
13799 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13800 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13801
b1aa60f3
AJ
138022012-04-03 Andreas Jaeger <aj@suse.de>
13803
c3b1bf7d 13804 [BZ #13938]
67f60a26
AJ
13805 * manual/setjmp.texi (System V contexts): Fix sentence.
13806
b1aa60f3
AJ
13807 [BZ #13926]
13808 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13809 New macro for this case.
13810 [!__GNUC__] (__bswap_64): New inline function for this case.
13811 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13812 * bits/byteswap.h: Likewise.
13813 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13814 ull, guard with __GLIBC_HAVE_LONG_LONG.
13815
13816 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13817 __GLIBC_HAVE_LONG_LONG.
13818
13819 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13820 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13821
39c59c35
TMQMF
138222012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13823
13824 [BZ #13691]
13825 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13826 inptr and inend, rather than using last_ch.
13827
135ffda8
DM
138282012-04-02 David S. Miller <davem@davemloft.net>
13829
13830 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13831 * stdio-common/printf-parse.h (read_int): Change return type to
13832 'int', return -1 on INT_MAX overflow.
13833 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13834 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13835 overflows INT_MAX. Check for overflow of in-format-string precision
13836 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13837 SIZE_MAX not INT_MAX for integer overflow test.
13838 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13839 skip the construct in the format string but do not record anything.
13840 * stdio-common/bug22.c: Adjust to test both width/prevision
13841 INT_MAX overflow as well as total length INT_MAX overflow. Check
13842 explicitly for proper errno values.
13843
228c019e
TS
138442012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13845
302cadd3
TS
13846 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13847 CHAR_MAX.
13848 * string/test-strcmp.c [! WIDE]: Likewise.
13849 * time/tst-mktime2.c: Likewise for INT_MAX.
13850 * string/test-string.h: #include <sys/param.h> for MIN.
13851
228c019e
TS
13852 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13853 * sysdeps/i386/init-first.c (init): Likewise.
13854 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13855 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13856 * sysdeps/sh/init-first.c (init): Likewise.
13857
cfa633f5
UD
138582012-04-01 Ulrich Drepper <drepper@gmail.com>
13859
13860 * po/ru.po: Update from translation team.
d1635ef8 13861 * po/vi.po: Likewise.
cfa633f5 13862
6cd0a5ea
SP
138632012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13864
13865 * resolv/nss_dns/dns-host.c: Merge copyright years.
13866
4b43400f
LD
138672012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13868
13869 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13870 Optimize memcpy with prefetch if
13871 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13872 src, dst pointers have unequal 16 byte alignments.
13873
48c41d04
SP
138742012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13875
13876 [BZ #13928]
13877 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13878 from a CNAME entry and return the minimum ttl for the query.
13879 (gaih_getanswer_slice): Likewise.
13880
b8dc394d
JL
138812012-03-30 Jeff Law <law@redhat.com>
13882
13883 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13884 due to long keys.
13885 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13886 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13887
2f5a5ed0
JL
13888 * resolv/nss_dns/dns-host.c: Update copyright year.
13889
1d39e359
UD
138902012-03-30 Ulrich Drepper <drepper@gmail.com>
13891
c030f70c 13892 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13893 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13894
1d39e359
UD
13895 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13896 comments for sendmmsg.
13897
138982012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13899
13900 [BZ #13691]
13901 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13902 with only 1 character between 0x0041 and 0x01b0.
13903 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13904 * wcsmbs/tst-mbsnrtowcs.c: New file.
13905
20fde227
DM
139062012-03-29 David S. Miller <davem@davemloft.net>
13907
13908 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13909 small copies by hand.
13910
984a4237
JL
139112012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13912
13913 [BZ #13761]
13914 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13915 _nss_compat_initgroups_dyn): Fall back to malloc/free
13916 for large group memberships.
13917
18c9d62b
DM
139182012-03-28 David S. Miller <davem@davemloft.net>
13919
88d85d4f
DM
13920 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13921 that branches into memcpy.
13922 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13923 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13924 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13925 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13927 bits.
13928 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13929 implementation too.
13930 * sysdeps/sparc/mempcpy.S: New file.
13931
e5aa83e1
DM
13932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13933 the IFUNC routine in the libc case.
13934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13935
88570753
DM
13936 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13937 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13938 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13939 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13940 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13941 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13942 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13943 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13944
249d7567
DM
13945 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13946 loop to 256 bytes instead of 64 bytes and fix test signedness.
13947
18c9d62b
DM
13948 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13949 * sysdeps/sparc/sparc32/Makefile: rather than here...
13950 * sysdeps/sparc/sparc64/Makefile: and here.
13951
05f3d1f6
UD
139522012-03-28 Ulrich Drepper <drepper@gmail.com>
13953
13954 * malloc/mallocbug.c: Avoid warnings about unused variables.
13955
86ae07a8
JL
139562012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13957
13958 [BZ #13760]
13959 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13960 in the right place. Discard and retry query if response is
13961 larger than input buffer size.
13962
41bf21a1
JM
139632012-03-28 Joseph Myers <joseph@codesourcery.com>
13964
d6270972
JM
13965 [BZ #369]
13966 [BZ #2678]
13967 [BZ #3866]
13968 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13969 x for large integer exponent.
13970 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13971 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13972 sign of result as needed afterwards.
13973 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13974 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13975 result for underflowing pow the same as for overflow.
13976 (__kernel_standard_l): Handle powl overflow and underflow here
13977 rather than calling __kernel_standard.
13978 * math/libm-test.inc (pow_test): Add more tests.
13979
414fca03 13980 [BZ #3868]
41bf21a1
JM
13981 [BZ #13879]
13982 [BZ #13910]
13983 [BZ #13911]
13984 [BZ #13912]
13985 [BZ #13913]
13986 [BZ #13915]
13987 [BZ #13916]
13988 [BZ #13917]
13989 [BZ #13918]
13990 [BZ #13919]
13991 [BZ #13920]
13992 [BZ #13921]
13993 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13994 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13995 (__kernel_standard_l): New function.
13996 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13997 __kernel_standard.
13998 * math/w_acosl.c (__acosl): Likewise.
13999 * math/w_asinl.c (__asinl): Likewise.
14000 * math/w_atan2l.c (__atan2l): Likewise.
14001 * math/w_atanhl.c (__atanhl): Likewise.
14002 * math/w_coshl.c (__coshl): Likewise.
14003 * math/w_exp10l.c (__exp10l): Likewise.
14004 * math/w_exp2l.c (__exp2l): Likewise.
14005 * math/w_fmodl.c (__fmodl): Likewise.
14006 * math/w_hypotl.c (__hypotl): Likewise.
14007 * math/w_j0l.c (__j0l, __y0l): Likewise.
14008 * math/w_j1l.c (__j1l, __y1l): Likewise.
14009 * math/w_jnl.c (__jnl, __ynl): Likewise.
14010 * math/w_lgammal.c (__lgammal): Likewise.
14011 * math/w_log10l.c (__log10l): Likewise.
14012 * math/w_log2l.c (__log2l): Likewise.
14013 * math/w_logl.c (__logl): Likewise.
14014 * math/w_powl.c (__powl): Likewise.
14015 * math/w_remainderl.c (__remainderl): Likewise.
14016 * math/w_scalbl.c (sysv_scalbl): Likewise.
14017 * math/w_sinhl.c (__sinhl): Likewise.
14018 * math/w_sqrtl.c (__sqrtl): Likewise.
14019 * math/w_tgammal.c (__tgammal): Likewise.
14020 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14021 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14022 * math/libm-test.inc (acos_test): Add more tests.
14023 (acosh_test): Likewise.
14024 (asin_test): Likewise.
14025 (atanh_test): Likewise.
14026 (exp_test): Likewise.
14027 (exp10_test): Likewise.
14028 (exp2_test): Likewise.
14029 (expm1_test): Likewise.
14030 (lgamma_test): Likewise.
14031 (log_test): Likewise.
14032 (log10_test): Likewise.
14033 (log1p_test): Likewise.
14034 (log2_test): Likewise.
14035 (pow_test): Do not allow some spurious overflow exceptions.
14036 (sqrt_test): Add more tests.
14037 (tgamma_test): Likewise.
14038 (y0_test): Likewise.
14039 (y1_test): Likewise.
14040 (yn_test): Likewise.
14041
dd62fda6
AB
140422012-03-27 Anton Blanchard <anton@samba.org>
14043
14044 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14045 MAP_HUGETLB.
14046 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14047 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14048 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14049
1e3cdfda
AJ
140502012-03-27 David S. Miller <davem@davemloft.net>
14051
b855ab85
DM
14052 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14053
1e3cdfda
AJ
14054 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14055 have-as-vis3 check.
14056
140572012-03-27 Andreas Jaeger <aj@suse.de>
14058
14059 * sysdeps/x86_64/elf/configure.in: Moved to ...
14060 * sysdeps/x86_64/configure.in: ... here.
14061 * sysdeps/x86_64/elf/start.S: Moved to ...
14062 * sysdeps/x86_64/start.S: ... here.
14063 * sysdeps/x86_64/elf/configure: Delete.
14064
14065 * sysdeps/x86_64/configure.in: Merge contents from
14066 sysdeps/i386/configure.in (without i686 check).
14067
14068 * sysdeps/i386/elf/Versions: Merge into ...
14069 * sysdeps/i386/Versions: ... this.
14070 * sysdeps/i386/elf/Versions: Delete file.
14071 * sysdeps/i386/elf/start.S: Moved to ...
14072 * sysdeps/i386/start.S: ...here.
14073 * sysdeps/i386/elf/configure.in: Merge into...
14074 * sysdeps/i386/configure.in: ...here.
14075 * sysdeps/i386/elf/configure.in: Delete file.
14076 * sysdeps/i386/elf/configure: Delete file.
14077
14078 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14079 * debug/backtracesyms.c: ... here.
14080 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14081 * debug/backtracesymsfd.c: ... here.
14082 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14083 * sysdeps/generic/ifunc-sel.h: ... here.
14084
14085 * sysdeps/unix/i386/start.c: Delete file.
14086 * sysdeps/unix/sparc/start.c: Delete file.
14087 * sysdeps/unix/start.c: Delete file.
14088
14089 * sysdeps/sh/elf/configure.in: Moved to ...
14090 * sysdeps/sh/configure.in: ... here.
14091 * sysdeps/sh/elf/start.S: Moved to ...
14092 * sysdeps/sh/start.S: ... here.
14093 * sysdeps/sh/elf/configure: Delete file.
14094
14095 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14096 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14097 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14098 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14099 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14100 * sysdeps/powerpc/powerpc64/start.S: here.
14101 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14102 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14103 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14104 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14105 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14106
14107 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14108 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14109 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14110 * sysdeps/powerpc/powerpc32/start.S: ... here.
14111 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14112 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14113 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14114
14115 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14116 * sysdeps/powerpc/ifunc-sel.h: ... here.
14117 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14118 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14119
14120 * sysdeps/sparc/elf/configure.in: Moved to ...
14121 * sysdeps/sparc/configure.in: ... here.
14122 * sysdeps/sparc/elf/configure: Delete file.
14123 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14124 * sysdeps/sparc/sparc32/start.S: ... here.
14125 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14126 * sysdeps/sparc/sparc64/start.S: ... here.
14127 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14128 * sysdeps/sparc/sparc32/Makefile: ... this.
14129 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14130 * sysdeps/sparc/sparc64/Makefile: ... this.
14131
14132 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14133 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14134 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14135 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14136 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14137 * sysdeps/s390/s390-32/setjmp.S: ... here.
14138 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14139 * sysdeps/s390/s390-32/configure.in: ... here.
14140 * sysdeps/s390/s390-32/elf/configure: Delete file.
14141 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14142 * sysdeps/s390/s390-32/start.S: ... here.
14143
14144 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14145 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14146 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14147 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14148 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14149 * sysdeps/s390/s390-64/setjmp.S: ... here.
14150 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14151 * sysdeps/s390/s390-64/configure.in: ... here
14152 * sysdeps/s390/s390-64/elf/configure: Delete file.
14153 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14154 * sysdeps/s390/s390-64/start.S: ... here.
14155 * sysdeps/s390/s390-64/elf/configure: Delete.
14156
14157 * configure.in: Remove support for elf directories in sysdeps.
14158
14159 * configure: Regenerated.
14160 * sysdeps/i386/configure: Regenerated.
14161 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14162 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14163 * sysdeps/s390/s390-32/configure: Regenerated.
14164 * sysdeps/s390/s390-64/configure: Regenerated.
14165 * sysdeps/sh/configure: Regenerated.
14166 * sysdeps/sparc/configure: Regenerated.
14167 * sysdeps/x86_64/configure: Regenerated.
14168
a3f61311
AS
141692012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14170
c876e002
AS
14171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14172
a3f61311
AS
14173 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14174 denormal result into account.
14175
ac4c54f0
RM
141762012-03-25 Roland McGrath <roland@hack.frob.com>
14177
14178 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14179 Reported by Allan McRae <allan@archlinux.org>.
14180
6a9b9c02
JL
141812012-03-23 Jeff Law <law@redhat.com>
14182
14183 * nss/getnssent.c (__nss_getent): Fix typo.
14184
4c42a0c1
DM
141852012-03-23 David S. Miller <davem@davemloft.net>
14186
14187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14188
1532c7ac
L
141892012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14190
14191 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14192 to pad to uint64_t for each field.
14193 (dl_tls_index): Replace unsigned long with uint64_t.
14194
3ff42526
PP
141952012-03-23 Daniel Jacobowitz <dmj@google.com>
14196 Paul Pluzhnikov <ppluzhnikov@google.com>
14197
14198 [BZ #6528]
14199 * grp/Makefile (otherlibs): Don't set it.
14200 * inet/Makefile (otherlibs): Likewise.
14201 * login/Makefile (otherlibs): Likewise.
14202 * nscd/Makefile (otherlibs): Likewise.
14203 * posix/Makefile (otherlibs): Likewise.
14204 * pwd/Makefile (otherlibs): Likewise.
14205 * rt/Makefile (otherlibs): Likewise.
14206 * sunrpc/Makefile (otherlibs): Likewise.
14207 * nss/Makefile (otherlibs): Likewise.
14208 Add libnss_files to routines and static-only-routines.
14209 ($(objpfx)getent): Remove rule.
14210 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14211 static-only-routines.
14212
7c69cd14
JM
142132012-03-22 Joseph Myers <joseph@codesourcery.com>
14214
14215 [BZ #13892]
14216 * math/s_cexp.c: Include <float.h>.
14217 (__cexp): Handle exp result overflowing not necessarily
14218 overflowing both real and imaginary parts of result.
14219 * math/s_cexpf.c: Likewise.
14220 * math/s_cexpl.c: Likewise.
14221 * math/libm-test.inc (cexp_test): Add more tests.
14222 * sysdeps/i386/fpu/libm-test-ulps: Update.
14223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14224
81b035fe
L
142252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14226
14227 * include/link.h (ELFW): New macro.
14228 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14229 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14230
1da7940c
L
142312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14232
14233 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14234 with uint64_t.
14235
b749dbb9
L
142362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14239 declaration.
14240 (struct La_x32_retval): Likewise.
14241
2ff87f3f
L
142422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14243
14244 * sysdeps/x86_64/preconfigure.in: New file.
14245 * sysdeps/x86_64/preconfigure: New generated file.
14246
c0df8e69
JM
142472012-03-22 Joseph Myers <joseph@codesourcery.com>
14248
48e44791
JM
14249 [BZ #13824]
14250 * math/e_exp2l.c: Include <float.h>.
14251 (__ieee754_exp2l): Handle overflow and underflow cases
14252 separately. Only pass fractional part of argument to
14253 __ieee754_expl.
14254 * math/libm-test.inc (exp2_test): Add more tests.
14255
c0df8e69
JM
14256 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14257 negating x to take absolute value.
14258 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14259 Likewise.
14260 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14261 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14262 Likewise.
14263 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14264 computing low part if x was negated.
14265 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14266
c8e43ba7
L
142672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14268
14269 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14270 la_x32_gnu_pltexit.
14271 (pltexit): Cast int_retval to ptrdiff_t.
14272 * elf/tst-auditmod3b.c: Likewise.
14273 * elf/tst-auditmod4b.c: Likewise.
14274 * elf/tst-auditmod5b.c: Likewise.
14275 * elf/tst-auditmod6b.c: Likewise.
14276 * elf/tst-auditmod6c.c: Likewise.
14277 * elf/tst-auditmod7b.c: Likewise.
14278
14279 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14280 and x32_gnu_pltexit.
14281
14282 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14283 __ELF_NATIVE_CLASS.
14284 (La_x32_regs): New macro.
14285 (La_x32_retval): Likewise.
14286 (la_x32_gnu_pltenter): New function prototype.
14287 (la_x32_gnu_pltexit): Likewise.
14288
7998fa78
AS
142892012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14290
dcb33988
AS
14291 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14292 exponent.
14293
233fc563
AS
14294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14295
7998fa78
AS
14296 * configure.in (libc_cv_cc_nofma): Check for option to disable
14297 generation of FMA instructions.
14298 * configure: Regenerate.
14299 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14300 * sysdeps/ieee754/dbl-64/Makefile: New file.
14301 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14302 Remove brandred-fma4.
14303 (CFLAGS-brandred-fma4.c): Remove.
14304 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14305 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14306 define.
14307 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14308 define.
14309
8e95c99a
L
143102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14311
14312 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14313 LLONG_MAX != LONG_MAX.
14314 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14315 (_fitoa_word): Likewise.
14316 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14317 LLONG_MAX != LONG_MAX.
14318 * stdio-common/_itowa.h: Include <_itoa.h>.
14319 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14320 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14321 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14322 only if not defined.
14323 (_ITOA_WORD_TYPE): Likewise.
14324 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14325 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14326
6f4db457
DM
143272012-03-21 David S. Miller <davem@davemloft.net>
14328
14329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14330
7785fe5a
L
143312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14332
14333 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14334 of x86_64 when setting libc_cv_slibdir, libdir and
14335 libc_cv_localedir.
14336 * sysdeps/unix/sysv/linux/configure: Regenerated.
14337
4535cd55
JM
143382012-03-21 Joseph Myers <joseph@codesourcery.com>
14339
14340 * manual/lang.texi (Old Varargs): Remove section.
14341 (How Variadic): Update menu.
14342 (va_start): Do not mention varargs.h.
14343
17228132
TS
143442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14345 Joseph Myers <joseph@codesourcery.com>
14346
14347 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14348 link test.
14349 * configure: Regenerated.
14350
8149f976
TS
143512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14352
05f3d1f6
UD
14353 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14354 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14355 conformtest.pl
8149f976 14356
1a4ac776
JM
143572012-03-21 Joseph Myers <joseph@codesourcery.com>
14358
be22ce65
JM
14359 * NOTES: Remove.
14360 * Makefile (files-for-dist): Remove NOTES.
14361 (NOTES): Remove rule.
14362 * README: Don't refer to NOTES.
14363 * manual/creature.texi: Don't include macros.texi.
14364 * manual/intro.texi (creature.texi): Remove comment referring to
14365 NOTES.
14366
40b601fb
JM
14367 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14368 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14369 * configure: Regenerated.
14370 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14371 LIBC_TRY_CC_OPTION.
14372 (libc_cv_as_i686): Likewise.
14373 (libc_cv_cc_avx): Likewise.
14374 (libc_cv_cc_sse2avx): Likewise.
14375 (libc_cv_cc_fma4): Likewise.
14376 (libc_cv_cc_novzeroupper): Likewise.
14377 * sysdeps/i386/configure: Regenerated.
14378
1a4ac776
JM
14379 [BZ #13883]
14380 * sysdeps/i386/fpu/s_cexp.S: Remove.
14381 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14382 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14383 * math/libm-test.inc (cexp_test): Add more tests.
14384 * sysdeps/i386/fpu/libm-test-ulps: Update.
14385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14386
a458e7fe
AM
143872012-03-21 Allan McRae <allan@archlinux.org>
14388
14389 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14390
0cb7efc5
JM
143912012-03-21 Joseph Myers <joseph@codesourcery.com>
14392
14393 [BZ #13871]
14394 * math/w_exp2.c: Do not include <float.h>.
14395 (o_threshold, u_threshold): Remove.
14396 (__exp2): Calculate result before checking finiteness and calling
14397 __kernel_standard.
14398 * math/w_exp2f.c: Likewise.
14399 * math/w_exp2l.c: Likewise.
14400 * math/libm-test.inc (exp2_test): Require overflow exception for
14401 1e6 input.
2460d3aa
JM
14402
14403 [BZ #3866]
14404 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14405 range of signed 64-bit integers before using fistpll. Remove
14406 checks for whether integers fit in mantissa bits.
14407 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14408 the range of signed 32-bit integers before using fistpl. Remove
14409 checks for whether integers fit in mantissa bits.
14410 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14411 (__ieee754_powl): Test for y outside the range of signed 64-bit
14412 integers before using fistpll. Reduce 64-bit values to 63-bit
14413 ones as needed.
14414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14415 divide-by-zero is raised for zero to large negative powers.
14416 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14417 (__ieee754_powl): Test for y outside the range of signed 64-bit
14418 integers before using fistpll. Reduce 64-bit values to 63-bit
14419 ones as needed.
14420 * math/libm-test.inc (pow_test): Add more tests.
14421
eb96ffb0
L
144222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14423
14424 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14425 <stdio-common/_itoa.h>.
14426 * debug/segfault.c: Likewise.
14427 * elf/dl-cache.c: Likewise.
14428 * elf/dl-minimal.c: Likewise.
14429 * elf/dl-misc.c: Likewise.
14430 * elf/dl-sysdep.c: Likewise.
14431 * elf/dl-version.c: Likewise.
14432 * elf/rtld.c: Likewise.
14433 * hurd/hurdsock.c: Likewise.
14434 * hurd/lookup-retry.c: Likewise.
14435 * malloc/malloc.c: Likewise.
14436 * malloc/mtrace.c: Likewise.
14437 * nscd/nscd_getgr_r.c: Likewise.
14438 * nscd/nscd_getpw_r.c: Likewise.
14439 * nscd/nscd_getserv_r.c: Likewise.
14440 * posix/getopt_init.c: Likewise.
14441 * posix/wordexp.c: Likewise.
14442 * stdio-common/_itoa.c: Likewise.
14443 * stdio-common/printf_fphex.c: Likewise.
14444 * stdio-common/vfprintf.c: Likewise.
14445 * string/_strerror.c: Likewise.
14446 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14447 * sysdeps/i386/i686/hp-timing.h: Likewise.
14448 * sysdeps/mach/_strerror.c: Likewise.
14449 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14450 * sysdeps/mach/hurd/sethostid.c: Likewise.
14451 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14452 * sysdeps/mach/xpg-strerror.c: Likewise.
14453 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14454 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14455 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14456 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14457 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14458 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14459 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14460 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14461 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14462 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14463 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14464 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14465 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14466 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14467 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14468 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14469 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14471 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14472 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14473 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14474
14475 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14476
14477 * stdio-common/_itoa.h: Moved to ...
14478 * sysdeps/generic/_itoa.h: Here.
14479
14480 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14481
14482 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14483 instead of "_itoa.h" and "_itowa.h".
14484 * stdio-common/vfprintf.: Likewise.
14485
d1af992d
L
144862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14487
14488 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14489 <bits/wordsize.h>.
14490 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14491 (__signbit): Likwise.
14492 (llrintf): Likwise.
14493 (llrint): Likwise.
14494
114883e0
L
144952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14496
14497 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14498 __WORDSIZE != 64.
14499
c135cc1b
JM
145002012-03-20 Joseph Myers <joseph@codesourcery.com>
14501
14502 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14503 OVERFLOW_EXCEPTION_OK.
14504 * math/libm-test.inc ("Philosophy"): Update comment about
14505 exception testing.
14506 (OVERFLOW_EXCEPTION): Define.
14507 (OVERFLOW_EXCEPTION_OK): Likewise.
14508 (INVALID_EXCEPTION_OK): Renumber.
14509 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14510 (IGNORE_ZERO_INF_SIGN): Likewise.
14511 (test_exceptions): Handle FE_OVERFLOW.
14512 (exp10_test): Expect overflow exceptions.
14513 (exp2_test): Likewise.
14514 (expm1_test): Likewise.
14515 (nextafter_test): Likewise.
14516 (pow_test): Likewise.
14517 (scalbn_test): Likewise.
14518 (scalbln_test): Likewise.
14519
95443d88
L
145202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14521
14522 * sysdeps/x86_64/bits/atomic.h
14523 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14524 64bit integer.
14525 (atomic_exchange_acq): Likewise.
14526 (__arch_exchange_and_add_body): Likewise.
14527 (__arch_add_body): Likewise.
14528 (atomic_add_negative): Likewise.
14529 (atomic_add_zero): Likewise.
14530
490df6c4
L
145312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14532
c2722551 14533 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14534 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14535
5e52b189
L
145362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14537
14538 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14539 Check __x86_64__ instead of __WORDSIZE.
14540
a9879d4c
L
145412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14542
14543 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14544
5df98260
DM
145452012-03-19 David S. Miller <davem@davemloft.net>
14546
e1497744
DM
14547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14548
5df98260
DM
14549 * sysdeps/sparc/fpu/fenv_private.h: New file.
14550 * sysdeps/sparc/fpu/math_private.h: Use it.
14551 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14552 Remove.
14553 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14554 (libc_feholdexcept_setroundl): Remove.
14555 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14556 Remove.
14557 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14558 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14559
b4c35121
L
145602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14561
14562 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14563 int64_t instead of long int.
14564 (INSERT_WORDS64): Likwise.
14565
56965fd7
L
145662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14567
14568 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14569 _Unwind_GetCFA return to _Unwind_Ptr first.
14570
83d1aec8
JM
145712012-03-19 Joseph Myers <joseph@codesourcery.com>
14572
1897ad44
JM
14573 [BZ #13629]
14574 * math/s_clog.c: Include <float.h>.
14575 (__clog): Scale large or subnormal inputs.
14576 * math/s_clogf.c: Likewise.
14577 * math/s_clogl.c: Likewise.
14578 * math/s_clog10.c: Include <float.h>.
14579 (M_LOG10_2): Define.
14580 (__clog10): Scale large or subnormal inputs.
14581 * math/s_clog10f.c: Likewise.
14582 * math/s_clog10l.c: Likewise.
14583 * math/libm-test.inc (clog_test): Add more tests.
14584 (clog10_test): Likewise.
14585 * sysdeps/i386/fpu/libm-test-ulps: Update.
14586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14587
7726d6a9
JM
14588 [BZ #11451]
14589 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14590 x and y.
14591 * math/libm-test.inc (atan2_test): Add another test.
14592
83d1aec8
JM
14593 * Makerules (common-objdir-compile): Remove.
14594 * sysdeps/unix/Makefile (config-generated): Do not add
14595 $(unix-generated) to variable.
14596 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14597 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14598 Remove rule.
14599 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14600 Likewise.
14601 [generic bits/local_lim.h] (before-compile): Do not append to
14602 variable.
14603 [generic bits/local_lim.h] (common-generated): Likewise.
14604 [generic sys/param.h] (before-compile): Do not append to variable.
14605 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14606 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14607 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14608 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14609 include.
14610 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14611 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14612 [generic sys/param.h] ($(addprefix
14613 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14614 [generic sys/param.h] (common-generated): Do not append to
14615 variable.
14616 [generic sys/param.h] (sysdep_headers): Likewise.
14617 [generic bits/errno.h] (before-compile): Do not append to
14618 variable.
14619 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14620 rule.
14621 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14622 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14623 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14624 [generic bits/errno.h] (common-generated): Do not append to
14625 variable.
14626 [generic bits/ioctls.h] (before-compile): Do not append to
14627 variable.
14628 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14629 rule.
14630 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14631 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14632 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14633 rule.
14634 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14635 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14636 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14637 [generic bits/ioctls.h] (common-generated): Do not append to
14638 variable.
14639 [generic sys/syscall.h] (syscall.h): Remove variable.
14640 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14641 rule.
14642 [generic sys/syscall.h] (before-compile): Do not append to
14643 variable.
14644 [generic sys/syscall.h] (common-generated): Likewise.
14645 * sysdeps/unix/errnos-tmpl.c: Remove file.
14646 * sysdeps/unix/errnos.awk: Likewise.
14647 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14648 * sysdeps/unix/ioctls.awk: Likewise.
14649 * sysdeps/unix/mk-local_lim.c: Likewise.
14650 * sysdeps/unix/snarf-ioctls: Likewise.
14651
4851a949
RH
146522012-03-19 Richard Henderson <rth@twiddle.net>
14653
bd37f2ee
RH
14654 * sysdeps/i386/fpu/fenv_private.h: New file.
14655 * sysdeps/i386/fpu/math_private.h: Use it.
14656 (math_opt_barrier, math_force_eval): Remove.
14657 (libc_feholdexcept_setround_53bit): Remove.
14658 (libc_feupdateenv_53bit): Remove.
14659 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14660 (math_opt_barrier, math_force_eval): Remove.
14661 (libc_feholdexcept): Remove.
14662 (libc_feholdexcept_setround): Remove.
14663 (libc_fetestexcept, libc_fesetenv): Remove.
14664 (libc_feupdateenv_test): Remove.
14665 (libc_feupdateenv, libc_feholdsetround): Remove.
14666 (libc_feresetround): Remove.
14667
d0adc922
RH
14668 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14669 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14670
0fe0f1f8
RH
14671 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14672 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14673 (libc_feupdateenv_testl): New.
14674 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14675 (libc_feupdateenv_testf): New.
14676 (libc_feupdateenv): Use libc_feupdateenv_test.
14677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14678 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14679
eb92c487
RH
14680 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14681 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14682 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14683 (libc_feresetround_noex): New.
14684 (libc_feresetround_noexf): New.
14685 (libc_feresetround_noexl): New.
14686 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14687 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14688 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14689 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14690 SET_RESTORE_ROUND.
14691 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14692 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14693 (__cos): Likewise.
14694 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14695 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14696 SET_RESTORE_ROUND_NOEX.
14697 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14698 SET_RESTORE_ROUND_NOEXF.
14699 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14700 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14701 (libc_feholdsetroundf): New.
14702 (libc_feresetround, libc_feresetroundf): New.
14703
7d2e8012
RH
14704 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14705 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14706 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14707
b4dabbb4
RH
14708 * sysdeps/generic/math_private.h: Include <fenv.h>.
14709 (default_libc_feholdexcept): New.
14710 (default_libc_feholdexcept_setround): New.
14711 (default_libc_fesetenv, default_libc_feupdateenv): New.
14712 (libc_feholdexcept): Only define if undefined.
14713 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14714 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14715 (libc_feholdexcept_setroundl): Likewise.
14716 (libc_feholdexcept_setround_53bit): Likewise.
14717 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14718 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14719 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14720 (libc_feupdateenv_53bit): Likewise.
14721 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14722 (libc_feholdexcept): Convert from macro to inline function.
14723 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14724 (libc_fesetenv, libc_feupdateenv): Likewise.
14725
4851a949
RH
14726 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14727 not previously defined.
14728 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14729 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14730 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14731 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14732 * sysdeps/ieee754/flt-32/math_private.h: New file.
14733 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14734 math_private.h below SET_FLOAT_WORD.
14735 (__isnan, __isinf_ns, __finite): Remove.
14736 (__isnanf, __isinf_nsf, __finitef): Remove.
14737
e79d442e
AS
147382012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14739
14740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14741
90b80344
DM
147422012-03-17 David S. Miller <davem@davemloft.net>
14743
14744 [BZ #6471]
14745 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14746 for 2.16.
14747
edc21804
DM
147482012-03-16 David S. Miller <davem@davemloft.net>
14749
77e927af
DM
14750 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14751 warnings.
14752
374976dd
DM
14753 [BZ #6471]
14754 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14755 properly.
14756 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14757 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14758 sysdep_routines when subdir is sysvipc.
14759 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14760 __getshmlba helper.
14761
edc21804
DM
14762 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14763
473c3ef3
L
147642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14765
14766 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14767 [__LP64__].
14768
eb0f39b6
L
147692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14770
14771 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14772 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14773 (__lround): Renamed to ...
14774 (__llround): This. Replace long int with long long int.
14775 Define lround functions as aliases of llround functions.
14776 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14777
6b6cd74b
L
147782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14779
14780 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14781 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14782 adresses to uintptr_t. Replace "long int" and "unsigned long
14783 int" with "greg_t" on va_arg.
14784
f1a77b01
L
147852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14786
14787 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14788 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14789
14790 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14791 Move e_machine check before EI_CLASS check. Handle x32
14792 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14793 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14794 SKIP_EM_IA_64 and include
14795 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14796
14797 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14798 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14799 (add_system_dir): New macro.
14800
14801 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14802 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14803
11b90b9f
JM
148042012-03-16 Joseph Myers <joseph@codesourcery.com>
14805
c36e1d23
JM
14806 [BZ #2551]
14807 [BZ #2552]
14808 [BZ #2553]
14809 [BZ #2554]
14810 [BZ #2562]
14811 [BZ #2563]
14812 [BZ #2565]
14813 [BZ #2566]
14814 [BZ #2576]
14815 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14816 (y0): Likewise.
14817 * math/w_j0f.c (j0f): Likewise.
14818 (y0f): Likewise.
14819 * math/w_j0l.c (__j0l): Likewise.
14820 (__y0l): Likewise.
14821 * math/w_j1.c (j1): Likewise.
14822 (y1): Likewise.
14823 * math/w_j1f.c (j1f): Likewise.
14824 (y1f): Likewise.
14825 * math/w_j1l.c (__j1l): Likewise.
14826 (__y1l): Likewise.
14827 * math/w_jn.c (jn): Likewise.
14828 (yn): Likewise.
14829 * math/w_jnf.c (jnf): Likewise.
14830 (ynf): Likewise.
14831 * math/w_jnl.c (__jnl): Likewise.
14832 (__ynl): Likewise.
14833 * math/libm-test.inc (j0_test): Add more tests.
14834 (j1_test): Likewise.
14835 (jn_test): Likewise. Add trailing semicolon to existing test.
14836 (y0_test): Likewise.
14837 (y1_test): Likewise.
14838 * sysdeps/i386/fpu/libm-test-ulps: Update.
14839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14840
11b90b9f
JM
14841 [BZ #13851]
14842 [BZ #13854]
14843 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14844 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14845 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14846 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14847 (__tanl): Set errno for infinite argument.
14848 * sysdeps/i386/fpu/mptan.c: Remove.
14849 * sysdeps/i386/fpu/s_tan.S: Likewise.
14850 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14851 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14852 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14853 * math/libm-test.inc (tan_test): Add more tests and enable more
14854 tests for double and long double.
14855 * sysdeps/i386/fpu/libm-test-ulps: Update.
14856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14857
6a1bd2a1
JK
148582012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14859
14860 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14861 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14862
10a803e0
RM
148632012-03-16 Roland McGrath <roland@hack.frob.com>
14864
14865 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14866 * configure.in: Use it for both main tree and add-ons.
14867 * configure: Regenerated.
14868
f196c7f7
L
148692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14870
14871 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14872
8848d99d
JM
148732012-03-16 Joseph Myers <joseph@codesourcery.com>
14874
96cbe7f4
JM
14875 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14876 in comment.
14877
8848d99d
JM
14878 [BZ #13851]
14879 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14880 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14884 infinite argument.
14885 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14886 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14887 != 0 for prec == 2.
14888 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14889 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14890 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14891 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14892 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14893 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14894 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14895 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14896 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14897 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14898 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14899 * math/libm-test.inc (cos_test): Add more tests and enable more
14900 tests for long double.
14901 (sin_test): Likewise.
14902 (sincos_test): Likewise.
14903 * sysdeps/i386/fpu/libm-test-ulps: Update.
14904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14905
dd7f4703
DM
149062012-03-16 David S. Miller <davem@davemloft.net>
14907
14908 * sysdeps/sparc/fpu/math_private.h: New file.
14909
006f1daa
DM
149102012-03-15 David S. Miller <davem@davemloft.net>
14911
c0c83bc8
DM
14912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14913 file.
e6a62e18 14914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14916 file.
e6a62e18
DM
14917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14923 sysdep routines.
14924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14925
88cb87d9
DM
14926 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14927 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14928
006f1daa 14929 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14931 sparc-ifunc.h
006f1daa 14932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14934 Likewise.
14935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14936 Likewise.
006f1daa
DM
14937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14941 Likewise.
006f1daa
DM
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14947 Likewise.
14948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14949 Likewise.
006f1daa
DM
14950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14968 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14969 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14970 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14971 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14972 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14973 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14974
11e0098e
AS
149752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14976
14977 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14978 scaling.
14979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14980
e85b09d0
AJ
149812012-03-15 Andreas Jaeger <aj@suse.de>
14982
14983 [BZ #13852]
14984 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14985 ieee754/flt-32 implementation for sin, cos and sincos.
14986 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14987 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14988 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14989 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14990 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14991 ieee754/flt-32 implementation for tan.
14992
14993 * math/libm-test.inc (cos_test): Enable some large input tests for
14994 float as well
14995 (sin_test): Likewise.
14996 (sincos_test): Likewise.
14997 (tan_test): Add tests for large input.
14998
14999 * sysdeps/i386/fpu/libm-test-ulps: Update.
15000
81c64153
AJ
150012012-03-15 Andreas Jaeger <aj@suse.de>
15002
15003 [BZ #13658]
15004 * math/libm-test.inc (cos_test): Add more test cases.
15005 (sin_test): Likewise.
15006 (sincos_test): Likewise.
15007
7bbfa5c6
AJ
150082012-03-15 Andreas Jaeger <aj@suse.de>
15009
15010 [BZ #13837]
15011 * math/libm-test.inc (cos_test): Add a test case for large input
15012 value.
15013 (sin_test): Likewise.
15014 (sincos_test): Likewise.
15015
150162012-03-15 Andreas Jaeger <aj@suse.de>,
15017 Joseph Myers <joseph@codesourcery.com>
15018
15019 [BZ #13658]
0671f479 15020 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15021 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15022 * sysdeps/i386/fpu/branred.c: Likewise.
15023 * sysdeps/i386/fpu/dosincos.c: Likewise.
15024 * sysdeps/i386/fpu/mpa.c: Likewise.
15025 * sysdeps/i386/fpu/s_cos.S: Likewise.
15026 * sysdeps/i386/fpu/s_sin.S: Likewise.
15027 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15028 * sysdeps/i386/fpu/sincos32.c: Likewise.
15029
15030 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15031 Define.
15032 (libc_feupdateenv_53bit): Define.
15033 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15034 Define.
15035 (libc_feupdateenv_53bit): Define.
15036
15037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15038 53 bit (without extend i386 double precision).
15039
15040 * math/libm-test.inc (sincos_test): Add tests for large input.
15041 (sin): Likewise.
15042 (cos): Likewise.
15043
15044 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15045
9cad04ea
AS
150462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15047
15048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15049
f7062b9a
DM
150502012-03-15 David S. Miller <davem@davemloft.net>
15051
15052 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15053 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15054 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15055 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15068 file.
f7062b9a 15069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15071 file.
f7062b9a 15072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15074 file.
f7062b9a 15075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15077 file.
f7062b9a
DM
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15080 fmin/fmax sysdep routines.
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15082
7bd951ff
DM
150832012-03-14 David S. Miller <davem@davemloft.net>
15084
559398ab
DM
15085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15089 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15090 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15091 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15092 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15107 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15114 routines.
15115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15116 file.
559398ab 15117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15119 file.
559398ab 15120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15122 file.
559398ab 15123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15125 file.
559398ab 15126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15128 file.
559398ab 15129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15131 file.
15132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15133 file.
15134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15135 file.
15136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15137 file.
15138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15139 New file.
15140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15141 file.
15142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15143 file.
559398ab 15144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15146 file.
559398ab 15147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15149 file.
559398ab 15150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15152 file.
559398ab 15153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15155 VIS3 routines.
559398ab
DM
15156
15157 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15158 New file.
15159
5a1c1e32
DM
15160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15161
eae47a36
DM
15162 * sysdeps/sparc/configure.in: New file.
15163 * sysdeps/sparc/configure: Generate.
15164 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15165 * configure: Regenerate.
15166 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15167 * config.make.in (have-as-vis3): New.
15168 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15169 available use -Av9d instead of -Av9a.
15170 * sysdeps/sparc/sparc64/Makefile: Likewise.
15171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15173 New file.
15174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15175 file.
15176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15177 New file.
15178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15179 file.
eae47a36
DM
15180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15185
c0c83bc8
DM
15186 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15187 fzeros/fnegs to load 0x80000000 into a float register instead of
15188 using the stack.
7bd951ff
DM
15189 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15190
bd951ccb
JM
151912012-03-14 Joseph Myers <joseph@codesourcery.com>
15192
15193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15194 bits/syscall.h.
15195 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15196 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15197 ($(inst_includedir)/bits/syscall.h): Remove rule.
15198 ($(objpfx)bits/syscall.d): Include instead of
15199 $(objpfx)syscall-list.d.
15200 (generated): Change syscall-list.h and syscall-list.d to
15201 bits/syscall.h and bits/syscall.d.
15202
bb4e6db2
RM
152032012-03-14 Roland McGrath <roland@hack.frob.com>
15204
15205 [BZ #13846]
15206 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15207
aa4a2ae1
JM
152082012-03-14 Joseph Myers <joseph@codesourcery.com>
15209
e456826d
JM
15210 [BZ #13841]
15211 * math/s_csqrt.c: Include <float.h>.
15212 (__csqrt): Scale large or subnormal inputs.
15213 * math/s_csqrtf.c: Likewise.
15214 * math/s_csqrtl.c: Likewise.
15215 * math/libm-test.inc (csqrt_test): Add more tests.
15216 * sysdeps/i386/fpu/libm-test-ulps: Update.
15217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15218
aa4a2ae1
JM
15219 [BZ #13840]
15220 * math/libm-test.inc (hypot_test): Add more tests.
15221
7c10fd35
DM
152222012-03-13 David S. Miller <davem@davemloft.net>
15223
15224 [BZ #13840]
15225 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15226 double-precision for the calculation instead of scaling.
15227
f453b98b
JM
152282012-03-13 Joseph Myers <joseph@codesourcery.com>
15229
15230 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15231 manipulate bits before adding and subtracting TWO52[sx].
15232 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15233 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15234 Likewise.
15235 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15236
09a3453f
DM
152372012-03-13 David S. Miller <davem@davemloft.net>
15238
8e59da90
DM
15239 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15240 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15242 rtld-global-offsets.h
15243 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15244
2a8ab7f2
DM
15245 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15246 large parameters.
15247
10f62770
DM
15248 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15249
5f0bdb18
DM
15250 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15251 'err' in the ifdef scope in which it is actually used.
15252
09a3453f
DM
15253 * nss/nss_db/db-init.c: Include string.h
15254
b4b2eb5e
DM
152552012-03-12 David S. Miller <davem@davemloft.net>
15256
98bb2f1c
DM
15257 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15258 masking out of the most significant byte of random value used.
15259 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15260 Fix coding style in previous change.
15261
b4b2eb5e
DM
15262 * sysdeps/unix/sysv/linux/kernel-features.h
15263 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15264 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15265 expression.
15266 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15267 later.
15268
6e226b09
DM
152692012-03-11 David S. Miller <davem@davemloft.net>
15270
a1bcbd40
DM
15271 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15272 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15274 for 'resultvar' otherwise things get truncated on 64-bit.
15275
cb9d6174
DM
15276 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15277 Fix masking out of the most significant byte of random value used.
15278
6e226b09
DM
15279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15280
058c132d
AS
152812012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15282
15283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15284
2d2cd515
DM
152852012-03-09 David S. Miller <davem@davemloft.net>
15286
15287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15288 variables with appropriate CPP guards.
15289 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15290 frame pointer, not the stack pointer. Correct layout comments. Fix test
15291 on resulting framesize and the management of the outregs buffer for pltexit.
15292 Preserve floating point return values across _dl_call_pltexit call.
15293 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15294 framesize and the management of the outregs buffer for pltexit.
15295 Preserve floating point return values across _dl_call_pltexit
15296 call.
15297 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15298 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15299 (print_exit): Fix format string for return register value.
15300
9a07f9d0
JM
153012012-03-10 Joseph Myers <joseph@codesourcery.com>
15302
15303 * sunrpc/Makefile (others): Add rpcgen.
15304 ($(objpfx)rpcgen): Remove special build rule and dependency on
15305 libc.
15306 * sunrpc/rpcgen.c: New file.
15307
547b5e30
PE
153082012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15309
c524201a
PE
15310 [BZ #13673]
15311 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15312 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15313 * sysdeps/i386/crti.S: Likewise.
15314 * sysdeps/i386/crtn.S: Likewise.
15315 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15316 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15317 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15318 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15319 * sysdeps/sh/crti.S: Likewise.
15320 * sysdeps/sh/crtn.S: Likewise.
15321 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15322
7b6235f2
PE
15323 [BZ #13673]
15324 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15325 with URL.
15326 * locale/programs/locfile-kw.gperf: Likewise.
15327 * locale/programs/charmap-kw.h: Regenerated.
15328 * locale/programs/locfile-kw.h: Likewise.
15329
547b5e30
PE
15330 [BZ #13673]
15331 * intl/plural.y: Replace FSF snail mail address with URL.
15332 * intl/plural.c: Regenerated.
15333
5f0a5dae
RH
153342012-03-09 Richard Henderson <rth@twiddle.net>
15335
15336 * include/math_private.h: Remove file.
15337 * math/math_private.h: Move file ...
15338 * sysdeps/generic/math_private.h: ... here.
15339
b8c03620
RH
15340 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15341 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15342 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15343
4e234f5d 15344 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15345 and <math_private.h>.
15346 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15347 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15348 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15349 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15350 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15381 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15384 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15385 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15410 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15434 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15435 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15436 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15437 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15438 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15439 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15440 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15441 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15442 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15443 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15444 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15445 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15446 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15447 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15448 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15449 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15450 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15451 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15452 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15453 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15454 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15455 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15456 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15457 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15458 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15459 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15460 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15461 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15462 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15463 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15464 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15465 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15466 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15467 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15468 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15469 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15470 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15471 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15472 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15473 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15474 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15475 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15476 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15477 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15478 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15479 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15480 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15481 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15482 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15483 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15484 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15485 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15486 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15487 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15488 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15489 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15490 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15491 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15492 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15493 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15494 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15495 * sysdeps/ieee754/k_standard.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15608 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15611 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15615 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15616 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15618 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15623 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15624 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15627 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15632 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15636 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15637 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15638 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15641 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15644 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15645 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15646 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15651 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15652 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15653 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15655 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15656 * sysdeps/ieee754/s_lib_version.c: Likewise.
15657 * sysdeps/ieee754/s_matherr.c: Likewise.
15658 * sysdeps/ieee754/s_signgam.c: Likewise.
15659 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15660 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15661 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15662 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15663 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15664 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15665 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15666 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15667 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15668 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15669 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15670 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15671 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15672 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15673 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15674 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15675 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15676 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15677 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15678 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15679 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15680
1991fa03
JM
156812012-03-09 Joseph Myers <joseph@codesourcery.com>
15682
15683 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15684 * sunrpc/rpc_main.c: Likewise.
15685 * sunrpc/rpc_svcout.c: Likewise.
15686
60d6f5a6
DM
156872012-03-09 David S. Miller <davem@davemloft.net>
15688
15689 * include/math_private.h: New file.
15690
4962050e
JM
156912012-03-09 Joseph Myers <joseph@codesourcery.com>
15692
02a6f887
JM
15693 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15694 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15695 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15696 from <bits/socket_type.h>.
15697 (enum __socket_type): Don't define here.
15698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15700 bits/socket_type.h.
15701
c6e013c1
JM
15702 [BZ #13566]
15703 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15704 checking __USE_GNU.
15705
4962050e
JM
15706 * Makerules ($(inst_includedir)/%.h): New rule.
15707 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15708 (install-others): Remove variable setting.
15709 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15710
38842f45
RH
157112012-03-08 Richard Henderson <rth@twiddle.net>
15712
67bb6da6
RH
15713 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15714 from macro to inline function; merge with the
15715 !__LIBC_INTERNAL_MATH_INLINES version.
15716 (__ieee754_sqrtf): Likewise.
15717
15194b4b
RH
15718 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15719 to inline function.
15720 (__rintf, __floor, __floorf): Likewise.
15721
64e21ede
RH
15722 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15723 macro to inline function.
15724 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15725
38842f45
RH
15726 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15727 not <math/math_private.h>.
15728
c64bf5fe
DM
157292012-03-08 David S. Miller <davem@davemloft.net>
15730
15731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15732 copyright year.
15733 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15734
82d86f28
TS
157352012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15736
15737 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15738 normalization.
15739 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15740 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15741
aea5d727
UD
157422012-03-08 Ulrich Drepper <drepper@gmail.com>
15743
15744 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15745 be defined individually, they must be defined as a block. Define
15746 S for printing a string instead of hidint the different by using a
15747 macro for adding the 'l'.
15748 * stdio-common/tst-fphex-wide.c: Adjust.
15749
70bca0a3
MP
157502012-03-07 Marek Polacek <polacek@redhat.com>
15751
15752 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15753
65b81130
MP
157542012-03-08 Marek Polacek <polacek@redhat.com>
15755
15756 [BZ #13806]
15757 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15758 * stdio-common/tst-fphex.c: Define a few macros to make the
15759 test reusable. Use them.
15760 * stdio-common/tst-fphex-wide.c: New file.
15761
07037eeb
JM
157622012-03-08 Joseph Myers <joseph@codesourcery.com>
15763
a7a93d50
JM
15764 [BZ #6911]
15765 * manual/macros.texi (gnusystems): New macro.
15766 (nongnusystems): Likewise.
15767 (gnulinuxhurdsystems): Likewise.
15768 (gnuhurdsystems): Likewise..
15769 (gnulinuxsystems): Likewise.
15770 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15771 variants of the GNU system, not "GNU system".
15772 * manual/conf.texi: Likewise.
15773 * manual/errno.texi: Likewise. Update example of errno macro
15774 expansion.
15775 * manual/filesys.texi: Likewise.
15776 (getumask): Document as specific to GNU/Hurd.
15777 * manual/install.texi: Likewise. Reword some references to
15778 GNU/Linux.
15779 * manual/intro.texi: Likewise.
15780 * manual/io.texi: Likewise.
15781 (File Name Portability): Detail which constraints are inapplicable
15782 to all GNU systems and which are only inapplicable to GNU/Hurd.
15783 * manual/job.texi: Likewise.
15784 * manual/llio.texi: Likewise.
15785 (O_NOCTTY): Document as present on GNU/Linux.
15786 * manual/maint.texi: Likewise.
15787 * manual/memory.texi: Likewise.
15788 * manual/pattern.texi: Likewise.
15789 * manual/pipe.texi: Likewise.
15790 * manual/process.texi: Likewise.
15791 * manual/resource.texi: Likewise.
15792 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15793 child on GNU/Hurd.
15794 * manual/setjmp.texi: Likewise.
15795 * manual/signal.texi: Likewise.
15796 * manual/startup.texi: Likewise.
15797 * manual/stdio.texi: Likewise.
15798 * manual/terminal.texi: Likewise.
15799 (ONLCR): Document as POSIX.
15800 (OXTABS): Document availability on GNU/Linux as XTABS.
15801 (ONOEOT): Document availability separately from other bits.
15802 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15803 * manual/time.texi: Likewise.
15804 * manual/users.texi: Likewise.
15805 * INSTALL: Regenerated.
15806 * sysdeps/gnu/errlist.c: Regenerated.
15807
07037eeb
JM
15808 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15809 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15810 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15811 puts.
15812 * configure: Regenerated.
15813
d1d3431a
JM
158142012-03-07 Joseph Myers <joseph@codesourcery.com>
15815
af6a1e37
JM
15816 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15817 default includes instead of AC_HEADER_CHECK.
15818 * sysdeps/i386/configure: Regenerated.
15819
d1d3431a
JM
15820 [BZ #10716]
15821 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15822 * math/s_cacoshf.c (__cacoshf): Likewise.
15823 * math/s_cacoshl.c (__cacoshl): Likewise.
15824 * math/s_casinh.c (__casinh): Set signs of result from argument.
15825 * math/s_casinhf.c (__casinhf): Likewise.
15826 * math/s_casinhl.c (__casinhl): Likewise.
15827 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15828 (casinh_test): Add more tests.
15829 * sysdeps/i386/fpu/libm-test-ulps: Update.
15830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15831
482ff4da
UD
158322012-03-07 Ulrich Drepper <drepper@gmail.com>
15833
872fda05
UD
15834 * po/zh_TW.po: Update from translation team.
15835
a4300c7a
UD
15836 * login/Makefile (distribute): Remove variable.
15837 * catgets/Makefile: Likewise.
15838 * mach/Makefile: Likewise.
15839 * malloc/Makefile: Likewise.
15840 * misc/Makefile: Likewise.
15841 * iconv/Makefile: Likewise.
15842 * nscd/Makefile: Likewise.
15843 * hurd/Makefile: Likewise.
15844 * manual/Makefile: Likewise.
15845 * locale/Makefile: Likewise.
15846 * intl/Makefile: Likewise.
15847 * conform/Makefile: Likewise.
15848 * nss/Makefile: Likewise.
15849 * time/Makefile: Likewise.
15850 * soft-fp/Makefile: Likewise.
15851 * dirent/Makefile: Likewise.
15852 * gmon/Makefile: Likewise.
15853 * po/Makefile: Likewise.
15854 * rt/Makefile: Likewise.
15855 * socket/Makefile: Likewise.
15856 * math/Makefile: Likewise.
15857 * signal/Makefile: Likewise.
15858 * debug/Makefile: Likewise.
15859 * elf/Makefile: Likewise.
15860 * timezone/Makefile: Likewise.
15861 * stdlib/Makefile: Likewise.
15862 * iconvdata/Makefile: Likewise.
15863 * sunrpc/Makefile: Likewise.
15864 * io/Makefile: Likewise.
15865 * argp/Makefile: Likewise.
15866 * inet/Makefile: Likewise.
15867 * hesiod/Makefile: Likewise.
15868 * grp/Makefile: Likewise.
15869 * csu/Makefile: Likewise.
15870 * wctype/Makefile: Likewise.
15871 * crypt/Makefile: Likewise.
15872 * libio/Makefile: Likewise.
15873 * string/Makefile: Likewise.
15874 * nis/Makefile: Likewise.
15875 * resolv/Makefile: Likewise.
15876 * stdio-common/Makefile: Likewise.
15877 * wcsmbs/Makefile: Likewise.
15878 * dlfcn/Makefile: Likewise.
15879 * posix/Makefile: Likewise.
15880
3b7c4e74 15881 [BZ #6959]
482ff4da
UD
15882 * timezone/Makefile: Don't install timezone files, just the programs
15883 and scripts.
15884
f72ed77d
UD
158852012-03-06 Ulrich Drepper <drepper@gmail.com>
15886
a000466f
UD
15887 * nss/databases.def: Add missing gshadow entry.
15888
f72ed77d
UD
15889 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15890
a53b7a4e
MP
158912012-03-06 Marek Polacek <polacek@redhat.com>
15892
15893 [BZ #13726]
15894 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15895 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15896 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15897 * stdio-common/tst-long-dbl-fphex.c: New file.
15898
e9258400
DM
158992012-03-06 David S. Miller <davem@davemloft.net>
15900
15901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15902 (set_obp_int): New function.
15903 (get_obp_int): New function.
15904 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15905 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15906 Avoid unused variable warnings on 'val' and use builtin_expect.
15907 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15908 __builtin_expect.
e9258400
DM
15909 (INLINE_CLONE_SYSCALL): Likewise.
15910
3bd2c723
DM
159112012-03-05 David S. Miller <davem@davemloft.net>
15912
15913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15914
bbb78d03
AS
159152012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15916
884c5db4
AS
15917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15918
bbb78d03
AS
15919 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15920 only for |x| >= 40.
15921 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15922
1c9f702a 159232012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15924
15925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15926 Replace gettimeofday with __vdso_gettimeofday.
15927
7be16f82
RM
15928 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15929 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15930 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15931
15932 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15933 time with __vdso_time.
15934
ed58a00f
JM
159352012-03-05 Joseph Myers <joseph@codesourcery.com>
15936
15937 * manual/lang.texi (size_t): Note types to which size_t may be
15938 equivalent with the GNU C Library, but do not describe when
15939 differences between them are significant.
15940
30ee4ced
AJ
159412012-03-05 Andreas Jaeger <aj@suse.de>
15942
15943 * sysdeps/i386/fpu/libm-test-ulps: Update.
15944
b7cd39e8
JM
159452012-03-05 Joseph Myers <joseph@codesourcery.com>
15946
15947 [BZ #3976]
15948 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15949 (__ieee754_pow): Save and restore rounding mode and use
15950 round-to-nearest for main computations.
15951 * math/libm-test.inc (pow_test_tonearest): New function.
15952 (pow_test_towardzero): Likewise.
15953 (pow_test_downward): Likewise.
15954 (pow_test_upward): Likewise.
15955 (main): Call the new functions.
15956 * sysdeps/i386/fpu/libm-test-ulps: Update.
15957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15958
15959 [BZ #3976]
15960 * math/libm-test.inc (cosh_test_tonearest): New function.
15961 (cosh_test_towardzero): Likewise.
15962 (cosh_test_downward): Likewise.
15963 (cosh_test_upward): Likewise.
15964 (sinh_test_tonearest): Likewise.
15965 (sinh_test_towardzero): Likewise.
15966 (sinh_test_downward): Likewise.
15967 (sinh_test_upward): Likewise.
15968 (main): Call the new functions.
15969 * sysdeps/i386/fpu/libm-test-ulps: Update.
15970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15971
6c6a98c9
TV
159722012-03-05 Tom de Vries <tom@codesourcery.com>
15973
15974 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15975 default stack guard is set in last bytes.
15976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15977
21bb2d2e 159782012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15979
21bb2d2e 15980 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15981
21bb2d2e
AJ
15982 [BZ #13656]
15983 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15984 possibly allocate from heap instead of stack.
15985 * stdio-common/bug-vfprintf-nargs.c: New file.
15986 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15987
c6922934
AS
159882012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15989
15990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15991
bc957d53
MP
159922012-03-03 Marek Polacek <polacek@redhat.com>
15993
15994 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15995 * math/math_private.h: Likewise.
15996 * stdlib/tst-strtod.c: Likewise.
15997 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15998 * sysdeps/x86_64/bits/atomic.h: Likewise.
15999
6358490d
DM
160002012-03-02 David S. Miller <davem@davemloft.net>
16001
16002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16006 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16007 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16008 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16009 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16010
01ae168d
RM
160112012-03-02 Roland McGrath <roland@hack.frob.com>
16012
d9a17c07
RM
16013 [BZ #13792]
16014 * manual/examples/README: New file, says the example source files
16015 can be used under GPL>=2.
16016 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16017 line containing just "*/".
16018 * manual/examples/add.c: Add copyright header (GPL>=2).
16019 * manual/examples/argp-ex1.c: Likewise.
16020 * manual/examples/argp-ex2.c: Likewise.
16021 * manual/examples/argp-ex3.c: Likewise.
16022 * manual/examples/argp-ex4.c: Likewise.
16023 * manual/examples/atexit.c: Likewise.
16024 * manual/examples/db.c: Likewise.
16025 * manual/examples/dir.c: Likewise.
16026 * manual/examples/dir2.c: Likewise.
16027 * manual/examples/execinfo.c: Likewise.
16028 * manual/examples/filecli.c: Likewise.
16029 * manual/examples/filesrv.c: Likewise.
16030 * manual/examples/fmtmsgexpl.c: Likewise.
16031 * manual/examples/genpass.c: Likewise.
16032 * manual/examples/inetcli.c: Likewise.
16033 * manual/examples/inetsrv.c: Likewise.
16034 * manual/examples/isockad.c: Likewise.
16035 * manual/examples/longopt.c: Likewise.
16036 * manual/examples/memopen.c: Likewise.
16037 * manual/examples/memstrm.c: Likewise.
16038 * manual/examples/mkfsock.c: Likewise.
16039 * manual/examples/mkisock.c: Likewise.
16040 * manual/examples/mygetpass.c: Likewise.
16041 * manual/examples/pipe.c: Likewise.
16042 * manual/examples/popen.c: Likewise.
16043 * manual/examples/rprintf.c: Likewise.
16044 * manual/examples/search.c: Likewise.
16045 * manual/examples/select.c: Likewise.
16046 * manual/examples/setjmp.c: Likewise.
16047 * manual/examples/sigh1.c: Likewise.
16048 * manual/examples/sigusr.c: Likewise.
16049 * manual/examples/stpcpy.c: Likewise.
16050 * manual/examples/strdupa.c: Likewise.
16051 * manual/examples/strftim.c: Likewise.
16052 * manual/examples/strncat.c: Likewise.
16053 * manual/examples/subopt.c: Likewise.
16054 * manual/examples/swapcontext.c: Likewise.
16055 * manual/examples/termios.c: Likewise.
16056 * manual/examples/testopt.c: Likewise.
16057 * manual/examples/testpass.c: Likewise.
16058 * manual/examples/timeval_subtract.c: Likewise.
16059
01ae168d
RM
16060 [BZ #13792]
16061 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16062 function to ...
16063 * manual/timeval_subtract.c.texi: ... here, new file.
16064
49efa33d
DM
160652012-03-02 David S. Miller <davem@davemloft.net>
16066
16067 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16068
28afd92d
JM
160692012-03-02 Joseph Myers <joseph@codesourcery.com>
16070
804360ed
JM
16071 [BZ #3976]
16072 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16073 (__sin): Save and restore rounding mode and use round-to-nearest
16074 for all computations.
16075 (__cos): Save and restore rounding mode and use round-to-nearest
16076 for all computations.
16077 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16078 <fenv.h>.
16079 (tan): Save and restore rounding mode and use round-to-nearest for
16080 all computations.
16081 * math/libm-test.inc (cos_test_tonearest): New function.
16082 (cos_test_towardzero): Likewise.
16083 (cos_test_downward): Likewise.
16084 (cos_test_upward): Likewise.
16085 (sin_test_tonearest): Likewise.
16086 (sin_test_towardzero): Likewise.
16087 (sin_test_downward): Likewise.
16088 (sin_test_upward): Likewise.
16089 (tan_test_tonearest): Likewise.
16090 (tan_test_towardzero): Likewise.
16091 (tan_test_downward): Likewise.
16092 (tan_test_upward): Likewise.
16093 (main): Call the new functions.
16094 * sysdeps/i386/fpu/libm-test-ulps: Update.
16095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16096
a6d06d7b
JM
16097 [BZ #10135]
16098 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16099 small n, then large n, before computing and testing k+n.
16100 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16102 Likewise.
16103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16104 Likewise.
16105 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16106 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16107 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16108 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16109 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16110 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16112 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16113 * math/libm-test.inc (scalbn_test): Add more tests.
16114 (scalbln_test): Likewise.
16115
07e12bb3
JM
16116 * manual/filesys.texi (mode_t): Describe constraints on size and
16117 signedness, not exact equivalence to a particular type.
16118 (ino_t): Likewise.
16119 (ino64_t): Likewise.
16120 (dev_t): Likewise.
16121 (nlink_t): Likewise.
16122 (blkcnt_t): Likewise.
16123 (blkcnt64_t): Likewise.
16124 * manual/llio.texi (off_t): Likewise.
16125
28afd92d
JM
16126 [BZ #3976]
16127 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16128 (__ieee754_exp): Save and restore rounding mode and use
16129 round-to-nearest for all computations.
16130 * math/libm-test.inc (exp_test_tonearest): New function.
16131 (exp_test_towardzero): Likewise.
16132 (exp_test_downward): Likewise.
16133 (exp_test_upward): Likewise.
16134 (main): Call the new functions.
16135 * sysdeps/i386/fpu/libm-test-ulps: Update.
16136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16137
b1eeb65d
CD
161382012-03-01 Chris Demetriou <cgd@google.com>
16139
16140 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16141 have predictable order.
16142
53362a4b
DM
161432012-03-01 David S. Miller <davem@davemloft.net>
16144
3c969083
DM
16145 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16146
759707de
DM
16147 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16148 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16149 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16150 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16151
dfdb8ff2
DM
16152 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16153 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16154 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16156 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16157 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16158 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16159 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16160 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16161
ead89f96
DM
16162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16163
7f66bd07
DM
16164 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16165 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16166 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16167
53362a4b
DM
16168 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16169 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16170 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16171 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16172 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16173 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16175 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16176 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16177 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16178 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16181 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16182 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16184 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16185 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16186 * sysdeps/sparc/elf/configure: Regenerated.
16187
7b1902cb
JM
161882012-03-01 Joseph Myers <joseph@codesourcery.com>
16189
bec039bc
JM
16190 * configure.in (AS, LD): Require binutils 2.20 or later.
16191 * configure: Regenerated.
16192 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16193 as required minimum version.
16194 * INSTALL: Regenerated.
16195
7b1902cb
JM
16196 [BZ #2541]
16197 [BZ #4108]
16198 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16199 before squaring exponent.
16200 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16201 bottom long double and 27 bits of top long double before squaring
16202 exponent.
16203 * math/libm-test.inc (erfc_test): Add more tests.
16204 * sysdeps/i386/fpu/libm-test-ulps: Update.
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16207
f775c276
KT
162082012-03-01 Kai Tietz <ktietz@redhat.com>
16209
16210 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16211 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16212 containing bit-fields.
16213 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16214 * soft-fp/single.h (_FP_UNION_S): Likewise.
16215 * soft-fp/double.h (_FP_UNION_D): Likewise.
16216
5b8a4d4a
JM
162172012-02-29 Joseph Myers <joseph@codesourcery.com>
16218
0bab47b6
JM
16219 [BZ #13786]
16220 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16221 not include ../strcmp.S.
16222 [USE_AS_STRNCASECMP_L]: Likewise.
16223 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16224 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16225 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16226 (__strncasecmp_l_ia32): Define as alias to
16227 __strncasecmp_l_nonascii.
16228
0fcad3e2
JM
16229 [BZ #5794]
16230 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16231 * sysdeps/i386/fpu/libm-test-ulps: Update.
16232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16233
5b8a4d4a
JM
16234 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16236
8fdceb2e
JL
162372012-02-29 Jeff Law <law@redhat.com>
16238
16239 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16240 out of bounds read.
16241
1f393a11
MP
162422012-02-29 Marek Polacek <polacek@redhat.com>
16243
16244 [BZ #13706]
16245 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16246 * elf/Makefile: Add rules to run tst-unused-dep.out.
16247
8847f037
DM
162482012-02-28 David S. Miller <davem@davemloft.net>
16249
16250 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16251 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16252 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16253 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16254 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16255 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16256
169d7f11
JM
162572012-02-29 Joseph Myers <joseph@codesourcery.com>
16258
16259 * math/libm-test.inc (llround_test): Move one test from
16260 lround_test. Use TEST_f_L in moved test.
16261 (lround_test): Move misplaced test to llround_test. Add testcase
16262 from bug 2561.
16263
39adf059
UD
162642012-02-28 Ulrich Drepper <drepper@gmail.com>
16265
16266 * sysdeps/x86_64/fpu/e_expf.S: New file.
16267 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16268
71b5d1c5
SB
162692012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16270
16271 [BZ #13637]
16272 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16273 of remain_len that may cause incomplete multi-byte character and
16274 false match.
16275 * posix/bug-regex33.c: New file.
16276 * posix/Makefile (tests): Add bug-regex33.
16277
1f77f049
JM
162782012-02-28 Joseph Myers <joseph@codesourcery.com>
16279
16280 * manual/macros.texi: New file.
16281 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16282 * manual/libc.texinfo: Include macros.texi.
16283 * manual/creatute.texi: Likewise.
16284 * manual/install.texi: Likewise.
16285 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16286 @glibcadj{} in references to the GNU C Library.
16287 * manual/charset.texi: Likewise.
16288 * manual/conf.texi: Likewise.
16289 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16290 when not using those macros.
16291 * manual/creature.texi: Likewise.
16292 * manual/crypt.texi: Likewise.
16293 * manual/errno.texi: Likewise.
16294 * manual/filesys.texi: Likewise.
16295 * manual/header.texi: Likewise.
16296 * manual/install.texi: Likewise.
16297 * manual/intro.texi: Likewise.
16298 * manual/io.texi: Likewise.
16299 * manual/job.texi: Likewise.
16300 * manual/lang.texi: Likewise.
16301 * manual/libc.texiinfo: Likewise.
16302 * manual/llio.texi: Likewise.
16303 * manual/locale.texi: Likewise.
16304 * manual/maint.texi: Likewise.
16305 * manual/math.texi: Likewise.
16306 * manual/memory.texi: Likewise.
16307 * manual/message.texi: Likewise.
16308 * manual/nss.texi: Likewise.
16309 * manual/pattern.texi: Likewise.
16310 * manual/process.texi: Likewise.
16311 * manual/resource.texi: Likewise.
16312 * manual/search.texi: Likewise.
16313 * manual/setjmp.texi: Likewise.
16314 * manual/signal.texi: Likewise.
16315 * manual/socket.texi: Likewise.
16316 * manual/startup.texi: Likewise.
16317 * manual/stdio.texi: Likewise.
16318 * manual/string.texi: Likewise.
16319 * manual/sysinfo.texi: Likewise.
16320 * manual/syslog.texi: Likewise.
16321 * manual/terminal.texi: Likewise.
16322 * manual/time.texi: Likewise.
16323 * manual/users.texi: Likewise.
16324 * INSTALL: Regenerated.
16325 * NOTES: Regenerated.
d40c5d54 16326 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16327
450bf206
AS
163282012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16329
16330 * include/dirent.h: Include <dirstream.h> before
16331 <dirent/dirent.h>.
16332
741a235b
DM
163332012-02-28 David S. Miller <davem@davemloft.net>
16334
16335 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16336 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16337 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16338 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16339
d6b5aa58
DM
163402012-02-27 David S. Miller <davem@davemloft.net>
16341
1aff59a3
DM
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16344 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16345 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16346
d6b5aa58
DM
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16348 frame pointer instead of stack pointer relative arg slot.
16349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16350 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16351 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16352
433f48bf
CD
163532012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16354
16355 [BZ #3992]
16356 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16357
d674b76d
DM
163582012-02-27 David S. Miller <davem@davemloft.net>
16359
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16364 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16365 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16366 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16367 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16368
0e7727f7
JM
163692012-02-27 Joseph Myers <joseph@codesourcery.com>
16370
16371 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16372 later. Allow versions 5-9.
43be4ca2 16373 * configure: Regenerated.
0e7727f7
JM
16374 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16375 required minimum version and 4.6 as recommended version. Do not
16376 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16377 * INSTALL: Regenerated.
0e7727f7 16378
a78bc654
DM
163792012-02-27 David S. Miller <davem@davemloft.net>
16380
428d5830
DM
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16385 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16386 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16387 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16388 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16389
a78bc654
DM
16390 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16391 manipulate bits before adding and subtracting TWO112[sx].
16392 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16393
4579f81c
RM
163942012-02-27 Roland McGrath <roland@hack.frob.com>
16395
36c8acb4
RM
16396 [BZ #13775]
16397 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16398 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16399 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16400 being in POSIX, because they are in 1003.1-2008.
16401
84ad622b
RM
16402 * rt/tst-aio.c: Include <fcntl.h>.
16403 * rt/tst-aio7.c: Likewise.
16404 * rt/tst-aio64.c: Likewise.
16405
4579f81c
RM
16406 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16407
abd923db
JM
164082012-02-27 Joseph Myers <joseph@codesourcery.com>
16409
16410 * manual/install.texi (--with-headers): Describe headers as
16411 interface headers, not private headers.
16412 (Specific advice for GNU/Linux systems): Describe use of headers
16413 from "make headers_install", not private headers from older
16414 kernels.
43be4ca2 16415 * INSTALL: Regenerated.
abd923db
JM
16416 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16417 Change to 2.6.19.
16418 * sysdeps/unix/sysv/linux/configure: Regenerated.
16419
6664049b
JM
16420 * manual/llio.texi (fclean): Remove documentation.
16421
bb8b6697
JM
16422 * manual/Makefile (libc-texi-generated): New variable. Include
16423 version.texi.
16424 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16425 $(libc-texi-generated), not duplicated list of files.
16426 (version.texi, stamp-version): New rules.
16427 (realclean): Remove $(libc-texi-generated), not individual files
16428 from that list. Do not remove dir-add.texinfo.
16429 * manual/libc.texinfo: Comment out uses of edition numbers and
16430 references to printed manual. Remove last-updated dates.
16431 (EDITION): Comment out.
16432 (ISBN): Likewise.
16433 (VERSION, UPDATED): Remove.
16434 (version.texi): Include.
16435
12e5c3b9
AS
164362012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16437
16438 * sysdeps/posix/spawni.c: Include <signal.h>.
16439 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16440 * sysdeps/pthread/aio_fsync.c: Likewise.
16441
4efeffc1 164422012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16443
ba63ba08
UD
16444 * conform/Makefile (tests): Run only when not cross-compiling and
16445 when fast-check is not defined.
16446
d94a4670
UD
16447 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16448 * conform/data/limits.h-data: Fixes for POSIX2008.
16449 * conform/run-conformtest.sh: Run all tests.
16450 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16451 headers.
16452 * include/bits/dlfcn.h: Likewise.
16453 * include/langinfo.h: Likewise.
16454 * include/monetary.h: Likewise.
16455 * include/sys/poll.h: Likewise.
16456
16457 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16458 for __USE_GNU.
16459 * posix/spawn.h: Define __need_sigset_t.
16460 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16461 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16462 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16463 to get sigevent_t only.
16464 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16465 only for __USE_GNU.
16466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16467 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16468 process_vm_writev only for __USE_GNU.
16469 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16470
16471 * conform/Makefile: For now ignore errors from run-conformtest.
16472 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16473 POSIX to avoid namespace pollution. Don't prepend headers.
16474 * conform/data/aio.h-data: Fixes for POSIX testing.
16475 * conform/data/fcntl.h-data: Likewise.
16476 * conform/data/glob.h-data: Likewise.
16477 * conform/data/grp.h-data: Likewise.
16478 * conform/data/pthread.h-data: Likewise.
16479 * conform/data/pwd.h-data: Likewise.
16480 * conform/data/signal.h-data: Likewise.
16481 * conform/data/spawn.h-data: Likewise.
16482 * conform/data/stdio.h-data: Likewise.
16483 * conform/data/stdlib.h-data: Likewise.
16484 * conform/data/stropts.h-data: Likewise.
16485 * conform/data/sys/mman.h-data: Likewise.
16486 * conform/data/sys/stat.h-data: Likewise.
16487 * conform/data/sys/types.h-data: Likewise.
16488 * conform/data/sys/wait.h-data: Likewise.
16489 * conform/data/time.h-data: Likewise.
16490 * conform/data/unistd.h-data: Likewise.
16491 * conform/data/utime.h-data: Likewise.
16492
16493 * io/sys/stat.h: fchmod was always in POSIX.
16494 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16495 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16496 * rt/aio.h: Define __need_timespec before including <time.h>.
16497 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16498 struct. Add forward declaration of pthread_attr_t and use it in
16499 sigevent.
16500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16502 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16503 always remove CLK_TCK definition.
16504
c20105c3
AS
165052012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16506
16507 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16508
7a270350
UD
165092012-02-25 Ulrich Drepper <drepper@gmail.com>
16510
31341567
UD
16511 * conform/run-conformtest.sh: New file.
16512 * conform/Makefile: Run run-conformtest for tests.
16513 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16514 support.
16515
16516 * conform/data/uchar.h-data: New file.
16517 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16518 * conform/data/arpa/inet.h-data: Likewise.
16519 * conform/data/assert.h-data: Likewise.
16520 * conform/data/complex.h-data: Likewise.
16521 * conform/data/cpio.h-data: Likewise.
16522 * conform/data/ctype.h-data: Likewise.
16523 * conform/data/dirent.h-data: Likewise.
16524 * conform/data/dlfcn.h-data: Likewise.
16525 * conform/data/errno.h-data: Likewise.
16526 * conform/data/fcntl.h-data: Likewise.
16527 * conform/data/float.h-data: Likewise.
16528 * conform/data/fmtmsg.h-data: Likewise.
16529 * conform/data/fnmatch.h-data: Likewise.
16530 * conform/data/ftw.h-data: Likewise.
16531 * conform/data/glob.h-data: Likewise.
16532 * conform/data/grp.h-data: Likewise.
16533 * conform/data/iconv.h-data: Likewise.
16534 * conform/data/inttypes.h-data: Likewise.
16535 * conform/data/langinfo.h-data: Likewise.
16536 * conform/data/libgen.h-data: Likewise.
16537 * conform/data/limits.h-data: Likewise.
16538 * conform/data/locale.h-data: Likewise.
16539 * conform/data/math.h-data: Likewise.
16540 * conform/data/monetary.h-data: Likewise.
16541 * conform/data/mqueue.h-data: Likewise.
16542 * conform/data/ndbm.h-data: Likewise.
16543 * conform/data/net/if.h-data: Likewise.
16544 * conform/data/netdb.h-data: Likewise.
16545 * conform/data/netinet/in.h-data: Likewise.
16546 * conform/data/nl_types.h-data: Likewise.
16547 * conform/data/poll.h-data: Likewise.
16548 * conform/data/pthread.h-data: Likewise.
16549 * conform/data/pwd.h-data: Likewise.
16550 * conform/data/regex.h-data: Likewise.
16551 * conform/data/sched.h-data: Likewise.
16552 * conform/data/search.h-data: Likewise.
16553 * conform/data/semaphore.h-data: Likewise.
16554 * conform/data/setjmp.h-data: Likewise.
16555 * conform/data/signal.h-data: Likewise.
16556 * conform/data/spawn.h-data: Likewise.
16557 * conform/data/stdarg.h-data: Likewise.
16558 * conform/data/stdio.h-data: Likewise.
16559 * conform/data/stdlib.h-data: Likewise.
16560 * conform/data/string.h-data: Likewise.
16561 * conform/data/strings.h-data: Likewise.
16562 * conform/data/stropts.h-data: Likewise.
16563 * conform/data/sys/ipc.h-data: Likewise.
16564 * conform/data/sys/mman.h-data: Likewise.
16565 * conform/data/sys/msg.h-data: Likewise.
16566 * conform/data/sys/resource.h-data: Likewise.
16567 * conform/data/sys/select.h-data: Likewise.
16568 * conform/data/sys/sem.h-data: Likewise.
16569 * conform/data/sys/shm.h-data: Likewise.
16570 * conform/data/sys/socket.h-data: Likewise.
16571 * conform/data/sys/stat.h-data: Likewise.
16572 * conform/data/sys/statvfs.h-data: Likewise.
16573 * conform/data/sys/time.h-data: Likewise.
16574 * conform/data/sys/timeb.h-data: Likewise.
16575 * conform/data/sys/times.h-data: Likewise.
16576 * conform/data/sys/types.h-data: Likewise.
16577 * conform/data/sys/uio.h-data: Likewise.
16578 * conform/data/sys/un.h-data: Likewise.
16579 * conform/data/sys/utsname.h-data: Likewise.
16580 * conform/data/sys/wait.h-data: Likewise.
16581 * conform/data/syslog.h-data: Likewise.
16582 * conform/data/tar.h-data: Likewise.
16583 * conform/data/termios.h-data: Likewise.
16584 * conform/data/utime.h-data: Likewise.
16585 * conform/data/utmpx.h-data: Likewise.
16586 * conform/data/varargs.h-data: Likewise.
16587 * conform/data/wchar.h-data: Likewise.
16588 * conform/data/wctype.h-data: Likewise.
16589 * conform/data/wordexp.h-data: Likewise.
16590
16591 * include/stropts.h: New file.
16592 * include/uchar.h: New file.
16593 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16594 * include/assert.h: Likewise.
16595 * include/ctype.h: Likewise.
16596 * include/dirent.h: Likewise.
16597 * include/dlfcn.h: Likewise.
16598 * include/fcntl.h: Likewise.
16599 * include/fnmatch.h: Likewise.
16600 * include/glob.h: Likewise.
16601 * include/grp.h: Likewise.
16602 * include/libio.h: Likewise.
16603 * include/locale.h: Likewise.
16604 * include/math.h: Likewise.
16605 * include/net/if.h: Likewise.
16606 * include/netdb.h: Likewise.
16607 * include/netinet/in.h: Likewise.
16608 * include/pthread.h: Likewise.
16609 * include/pwd.h: Likewise.
16610 * include/regex.h: Likewise.
16611 * include/sched.h: Likewise.
16612 * include/search.h: Likewise.
16613 * include/setjmp.h: Likewise.
16614 * include/signal.h: Likewise.
16615 * include/stdio.h: Likewise.
16616 * include/stdlib.h: Likewise.
16617 * include/string.h: Likewise.
16618 * include/sys/cdefs.h: Likewise.
16619 * include/sys/mman.h: Likewise.
16620 * include/sys/msg.h: Likewise.
16621 * include/sys/resource.h: Likewise.
16622 * include/sys/select.h: Likewise.
16623 * include/sys/socket.h: Likewise.
16624 * include/sys/stat.h: Likewise.
16625 * include/sys/statvfs.h: Likewise.
16626 * include/sys/time.h: Likewise.
16627 * include/sys/times.h: Likewise.
16628 * include/sys/uio.h: Likewise.
16629 * include/sys/utsname.h: Likewise.
16630 * include/sys/wait.h: Likewise.
16631 * include/termios.h: Likewise.
16632 * include/time.h: Likewise.
16633 * include/ulimit.h: Likewise.
16634 * include/unistd.h: Likewise.
16635 * include/utime.h: Likewise.
16636 * include/wchar.h: Likewise.
16637 * include/wctype.h: Likewise.
16638 * include/wordexp.h: Likewise.
16639
16640 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16641
7a270350
UD
16642 * time/time.h: TIME_UTC must be a macro.
16643 Make timespec_get available for ISO C11 only as well.
16644
7724defc
UD
166452012-02-24 Ulrich Drepper <drepper@gmail.com>
16646
16647 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16648 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16649
6b1d1d46
JM
166502012-02-24 Joseph Myers <joseph@codesourcery.com>
16651
16652 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16653
0f8bbd69
JM
166542012-02-24 Joseph Myers <joseph@codesourcery.com>
16655
16656 * manual/texinfo.tex: Update to version 2012-01-19.16.
16657
66ab80bc
JM
166582012-02-24 Joseph Myers <joseph@codesourcery.com>
16659
16660 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16661
74981cc5
RM
166622012-02-24 Roland McGrath <roland@hack.frob.com>
16663
ee968201
RM
16664 [BZ #13738]
16665 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16666 * manual/fdl-1.3.texi: New file.
16667 * manual/fdl-1.1.texi: File removed.
16668
74981cc5
RM
16669 [BZ #13738]
16670 * manual/libc.texinfo (FDL_VERSION): New @set.
16671 Use it for mention of FDL in cover text.
16672 (Documentation License): Use it in @include file name.
16673
7bb764bc
JM
166742012-02-22 Joseph Myers <joseph@codesourcery.com>
16675 Roland McGrath <roland@hack.frob.com>
16676
16677 [BZ #5461]
16678 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16679 not LONG_LONG_MAX and LONG_LONG_MIN.
16680 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16681 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16682 name.
16683 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16684
6cbeae47
JM
166852012-02-22 Joseph Myers <joseph@codesourcery.com>
16686
16687 [BZ #2547]
16688 [BZ #11365]
16689 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16690 manipulate bits before adding and subtracting TWO23[sx].
16691 * math/libm-test.inc (nearbyint_test): Add more tests.
16692
fe45ce09
JM
166932012-02-22 Joseph Myers <joseph@codesourcery.com>
16694
16695 [BZ #2548]
16696 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16697 bits before adding and subtracting TWO23[sx].
16698 * math/libm-test.inc (rint_test): Add more tests.
16699 (rint_test_tonearest): Likewise.
16700 (rint_test_towardzero): Likewise.
16701 (rint_test_downward): Likewise.
16702 (rint_test_upward: Likewise.
16703
ff3b3d82
JM
167042012-02-22 Joseph Myers <joseph@codesourcery.com>
16705
16706 [BZ #10110]
16707 * include/stdc-predef.h: New file. Extracted from features.h.
16708 * include/features.h: Include stdc-predef.h.
16709 * Makefile (headers): Add stdc-predef.h.
16710 * CONFORMANCE (Compiler limitations): Update.
16711
ef0aab35
JM
167122012-02-22 Joseph Myers <joseph@codesourcery.com>
16713
16714 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16715
58639409
DM
167162012-02-21 David S. Miller <davem@davemloft.net>
16717
16718 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16719 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16720
c0e70b25
DM
167212012-02-20 David S. Miller <davem@davemloft.net>
16722
16723 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16724 using a normal save/restore sequence, rather than allocating a
16725 dummy stack frame just to store a frame pointer and restore.
16726 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16727
fb06851d
JM
167282012-02-21 Joseph Myers <joseph@codesourcery.com>
16729
16730 * manual/install.texi: Fix stray word in line-wrapped comment.
16731
7a8b71c3
DM
167322012-02-20 David S. Miller <davem@davemloft.net>
16733
d510c123
DM
16734 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16735 both binutils and gcc support GOTDATA.
16736
0722d7c2
DM
16737 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16738 "rd %pc" in the PIC register setup sequences.
16739
3d2b3019
DM
16740 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16741 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16742 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16743 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16744 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16746 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16747 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16749 (SYSCALL_ERROR_HANDLER): Likewise.
16750 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16751 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16753 (SYSCALL_ERROR_HANDLER): Likewise.
16754
c80098a9
DM
16755 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16756 (HAVE_GCC_GOTDATA): New.
16757 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16758 relocation support in both binutils and gcc.
16759 * sysdeps/sparc/elf/configure: Regenerate.
16760
3a2545a0
DM
16761 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16762 * sysdeps/sparc/sparc32/elf/configure: Delete.
16763 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16764 * sysdeps/sparc/sparc64/elf/configure: Delete.
16765 * sysdeps/sparc/elf/configure.in: New file.
16766 * sysdeps/sparc/elf/configure: Generate.
16767
7a8b71c3
DM
16768 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16769 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16770 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16771 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16772 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16773
f1e86fca
JM
167742012-02-21 Joseph Myers <joseph@codesourcery.com>
16775
16776 * manual/install.texi: Do not mention specific glibc version
16777 numbers.
16778 * manual/libc.texinfo (VERSION, UPDATED): Update.
16779 (@copying): Use @copyright{} and range of years.
16780
0e7dfaef
JM
167812012-02-21 Joseph Myers <joseph@codesourcery.com>
16782
16783 [BZ #13695]
16784 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16785 [crti.S not in sysdirs] (generated): Do not append.
16786 [crti.S not in sysdirs] (omit-deps): Likewise.
16787 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16788 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16789 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16790 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16791 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16792 Likewise.
16793 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16794 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16795 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16796 * csu/defs.awk: Remove file.
16797 * sysdeps/generic/initfini.c: Likewise.
16798 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16799 variable.
16800 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16801 Likewise.
16802
599af3ca
JM
168032012-02-20 Joseph Myers <joseph@codesourcery.com>
16804
16805 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16806 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16807 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16808 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16809 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16810 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16811 <bits/epoll.h>.
16812 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16813 (__EPOLL_PACKED): Define to empty if not defined by
16814 <bits/epoll.h>.
16815 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16817 bits/epoll.h.
16818
0e499750
JM
168192012-02-20 Joseph Myers <joseph@codesourcery.com>
16820
16821 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16822 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16823 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16824 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16825 <bits/timerfd.h>.
16826 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16828 bits/timerfd.h.
16829
5ad91f6e
JM
168302012-02-20 Joseph Myers <joseph@codesourcery.com>
16831
16832 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16833 in C locale.
16834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16835 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16836 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16838
06b99b02
AJ
168392012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16840
16841 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16842 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16843
7638c0fd
AS
168442012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16845
16846 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16847 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16848 defined.
16849 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16850 Likewise.
16851 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16852 entry for 2.16.
16853
92221550
AJ
168542012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16855
16856 * math/w_acos.c: Use non-signaling floating-point comparisons.
16857 * math/w_acosf.c: Likewise.
16858 * math/w_acosh.c: Likewise.
16859 * math/w_acoshf.c: Likewise.
16860 * math/w_acoshl.c: Likewise.
16861 * math/w_acosl.c: Likewise.
16862 * math/w_asin.c: Likewise.
16863 * math/w_asinf.c: Likewise.
16864 * math/w_asinl.c: Likewise.
16865 * math/w_atanh.c: Likewise.
16866 * math/w_atanhf.c: Likewise.
16867 * math/w_atanhl.c: Likewise.
16868 * math/w_exp2.c: Likewise.
16869 * math/w_exp2f.c: Likewise.
16870 * math/w_exp2l.c: Likewise.
16871 * math/w_j0.c: Likewise.
16872 * math/w_j0f.c: Likewise.
16873 * math/w_j0l.c: Likewise.
16874 * math/w_j1.c: Likewise.
16875 * math/w_j1f.c: Likewise.
16876 * math/w_j1l.c: Likewise.
16877 * math/w_jn.c: Likewise.
16878 * math/w_jnf.c: Likewise.
16879 * math/w_log.c: Likewise.
16880 * math/w_log10.c: Likewise.
16881 * math/w_log10f.c: Likewise.
16882 * math/w_log10l.c: Likewise.
16883 * math/w_log2.c: Likewise.
16884 * math/w_log2f.c: Likewise.
16885 * math/w_log2l.c: Likewise.
16886 * math/w_logf.c: Likewise.
16887 * math/w_logl.c: Likewise.
16888 * math/w_sqrt.c: Likewise.
16889 * math/w_sqrtf.c: Likewise.
16890 * math/w_sqrtl.c: Likewise.
16891 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16892 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16893 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16894 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16895 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16896
ebaf36eb
JM
168972012-02-19 Joseph Myers <joseph@codesourcery.com>
16898
16899 [BZ #9739]
16900 * manual/string.texi (strnlen): Use correct parameter name in
16901 equivalent expression.
16902
71c254a6
JM
169032012-02-19 Joseph Myers <joseph@codesourcery.com>
16904
16905 [BZ #11174]
16906 * manual/users.texi (seteuid): Consistently use neweuid for
16907 argument name.
16908
16d2c631
JM
169092012-02-19 Joseph Myers <joseph@codesourcery.com>
16910
16911 [BZ #13704]
16912 * manual/nss.texi (Services in the NSS configuration): Correct
16913 list of services in example configuration file.
16914
cd837b09
NB
169152012-02-19 Nick Bowler <nbowler@draconx.ca>
16916
16917 [BZ #11322]
16918 * manual/arith.texi: Remove statements about negative zero
16919 behaving identically to zero.
16920
02c4bbad
JM
169212012-02-18 Joseph Myers <joseph@codesourcery.com>
16922
16923 [BZ #5993]
16924 * manual/install.texi: Do not document upgrading from libc5.
16925
366842e7
JM
169262012-02-18 Joseph Myers <joseph@codesourcery.com>
16927
16928 [BZ #4596]
16929 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16930
dd54084d
DM
169312012-02-18 David S. Miller <davem@davemloft.net>
16932
16933 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16934 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16935 %o7 across the call.
16936 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16937 instead.
16938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16939 SETUP_PIC_REG_LEAF.
16940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16941 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16942 * sysdeps/sparc/crtn.S: Likewise.
16943
2bcc53a3
UD
169442012-02-17 Ulrich Drepper <drepper@gmail.com>
16945
16946 * aout/Makefile: Remove.
16947
09c093b5
RK
169482012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16949
16950 [BZ #13058]
16951 * manual/examples/argp-ex1.c (main): Format definition in GNU
16952 style.
16953 * manual/examples/argp-ex2.c (main): Likewise.
16954 * manual/examples/argp-ex3.c (main): Likewise.
16955 * manual/examples/argp-ex4.c (main): Likewise.
16956 * manual/examples/longopt.c (main): Use new-style prototype
16957 definition.
16958 * manual/examples/strncat.c (main): Specify return type and use
16959 (void) for arguments.
16960 * manual/examples/subopt.c (main): Use char **argv argument.
16961
2ee633a2
JM
169622012-02-17 Joseph Myers <joseph@codesourcery.com>
16963
16964 [BZ #5077]
16965 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16966 rounding modes.
16967
0520adde
FB
169682012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16969
16970 [BZ #6907]
16971 * manual/string.texi (strchr): Change when strchrnul is
16972 recommended.
16973
3f4081cd
DGM
169742012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16975
16976 [BZ #174]
16977 * manual/locale.texi (setlocale): Document LOCPATH.
16978
d1b10e78
JM
169792012-02-17 Joseph Myers <joseph@codesourcery.com>
16980
16981 [BZ #10210]
16982 * manual/process.texi (execle): Move @dots{} before last argument.
16983
79c6869c
PB
169842012-02-17 Paul Bolle <pebolle@tiscali.nl>
16985
16986 [BZ #12047]
16987 * manual/charset.texi (Generic Charset Conversion): Fix typo
16988 (LC_TYPE -> LC_CTYPE).
16989
cc6e48bc
NB
169902012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16991
16992 [BZ #5805]
16993 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16994 (scalbnf): Likewise.
16995 (scalbnl): Likewise.
16996 (scalbln): Likewise.
16997 (scalblnf): Likewise.
16998 (scalblnl): Likewise.
16999 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17000 (vwarnx): Likewise.
17001 (verr): Likewise.
17002 (verrx): Likewise.
17003 * manual/filesys.texi (telldir): Use braces around return type.
17004 * manual/llio.texi (mmap): Add space after comma.
17005 (mmap64): Likewise.
17006 * manual/math.texi (jn): Use @var{} on parameter names.
17007 (jnf): Likewise.
17008 (jnl): Likewise.
17009 (yn): Likewise.
17010 (ynf): Likewise.
17011 (ynl): Likewise.
17012 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17013 line.
17014 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17015 "...".
17016 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17017 (sched_get_priority_max): Likewise.
17018 * manual/signal.texi (sigvec): Add space after comma.
17019 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17020 names.
17021 (if_indextoname): Likewise.
17022 (if_freenameindex): Likewise.
17023 (sendto): Use ',' instead of '.' in prototype.
17024 * manual/startup.texi (syscall): Use @dots{} instead of literal
17025 "...".
17026 * manual/stdio.texi (__fpending): Separate initial words of
17027 paragraph from @deftypefun line.
17028 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17029 "...".
17030 (vsyslog): Use @var{} on parameter names.
17031 * manual/terminal.texi (stty): Use @var{} on parameter names.
17032 * manual/users.texi (getutmp): Use @var{} on parameter names.
17033 (getutmpx): Likewise.
17034
5b23062f
JM
170352012-02-17 Joseph Myers <joseph@codesourcery.com>
17036
17037 [BZ #6884]
17038 * manual/stdio.texi (fopen): Fix typos in description of
17039 ",ccs=STRING".
17040
8dee4833
AJ
170412012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17042
17043 [BZ #4026]
17044 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17045 get clock_id definition.
17046
9078ce93
TS
170472012-02-17 Thomas Schwinge <thomas@schwinge.name>
17048
17049 [BZ #4822]
17050 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17051 (madvise): Cast every argument to void on its own.
17052
3835c55f
JM
170532012-02-17 Joseph Myers <joseph@codesourcery.com>
17054
17055 [BZ #9902]
17056 * manual/startup.texi (Exit Status): Fix typo.
17057
35c47e37
JM
170582012-02-17 Joseph Myers <joseph@codesourcery.com>
17059
17060 [BZ #10140]
17061 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17062 * manual/examples/argp-ex2.c: Likewise.
17063 * manual/examples/argp-ex3.c: Likewise.
17064
e3b69ca7
RH
170652012-02-16 Richard Henderson <rth@redhat.com>
17066
17067 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17068 * sysdeps/s390/s390-32/initfini.c: Remove.
17069 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17070 * sysdeps/s390/s390-64/initfini.c: Remove.
17071
df83af67
KK
170722012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17073
17074 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17075 compiler output for sysdeps/generic/initfini.c.
17076 * sysdeps/sh/elf/initfini.c: Remove file.
17077
f63f3380
DM
170782012-02-16 David S. Miller <davem@davemloft.net>
17079
fb59b3a4
DM
17080 [BZ #11494]
17081 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17082
f63f3380
DM
17083 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17084 * sysdeps/sparc/crti.S: New file.
17085 * sysdeps/sparc/crtn.S: New file.
17086 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17087 * sysdeps/sparc/sparc64/Makefile: Likewise.
17088
df6a4a4a
MF
170892012-02-15 Mike Frysinger <vapier@gentoo.org>
17090
6dd8f3dc 17091 [BZ #3335]
df6a4a4a
MF
17092 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17093
1cac7236
RM
170942012-02-15 Roland McGrath <roland@hack.frob.com>
17095
d2c736f8
RM
17096 [BZ #4822]
17097 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17098
1cac7236
RM
17099 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17100 (write, read, close): Likewise.
17101 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17102
8e475601
JM
171032012-02-15 Joseph Myers <joseph@codesourcery.com>
17104
17105 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17106 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17107 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17108 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17109 <bits/signalfd.h>.
17110 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17112 bits/signalfd.h.
17113
ed656b40
MP
171142012-02-14 Marek Polacek <polacek@redhat.com>
17115
17116 * sysdeps/x86_64/crti.S: New file.
17117 * sysdeps/x86_64/crtn.S: New file.
17118 * sysdeps/x86_64/elf/initfini.c: Remove file.
17119
2a979d3a
JM
171202012-02-13 Joseph Myers <joseph@codesourcery.com>
17121
17122 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17123 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17124 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17125 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17126 <bits/inotify.h>.
17127 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17129 bits/inotify.h.
17130
2a418ac3
JM
171312012-02-13 Joseph Myers <joseph@codesourcery.com>
17132
17133 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17134 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17135 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17136 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17137 <bits/eventfd.h>.
17138 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17140 bits/eventfd.h.
17141
fb779be7
TS
171422012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17143
e19e83c5
RM
17144 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17145 __feraiseexcept instead of feraiseexcept.
7c35ffed 17146
fb779be7
TS
17147 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17148 nanosleep invocations.
17149 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17150 strings, and add error checking for a nanosleep invocations.
17151
59ba27a6
PE
171522012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17153
17154 Replace FSF snail mail address with URLs, as per GNU coding standards.
17155 Most of the snail mail addresses were wrong anyway, and omitting
17156 them makes the source code easier to maintain. Almost all of the
17157 changes are to license notices and to locale LC_IDENTIFICATION
17158 addresses, except for this one:
17159 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17160 not its snail mail address.
17161
57b957eb
RH
171622012-02-09 Richard Henderson <rth@twiddle.net>
17163
af850b1c
RH
17164 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17165 of kernel-features.h.
17166
57b957eb
RH
17167 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17168
6b73181a
MP
171692012-02-08 Marek Polacek <polacek@redhat.com>
17170
17171 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17172 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17173 * sysdeps/gnu/_G_config.h: Likewise.
17174 * sysdeps/generic/_G_config.h: Likewise.
17175
26ecc33a
AS
171762012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17177
6c6dbc63
AS
17178 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17179 tests.
17180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17181
e216c012
AS
17182 * sysdeps/powerpc/powerpc32/crti.S: New file.
17183 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17184 * sysdeps/powerpc/powerpc64/crti.S: New file.
17185 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17186
26ecc33a
AS
17187 * Makeconfig (have-initfini): Don't set.
17188 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17189 * configure.in (nopic_initfini): Don't substitute.
17190 * config.h.in (HAVE_INITFINI): Don't #undef.
17191 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17192 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17193
3add8e13
JM
171942012-02-08 Joseph Myers <joseph@codesourcery.com>
17195
17196 Support crti.S and crtn.S provided directly by architectures.
17197 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17198 [crti.S in sysdirs] (omit-deps): Likewise.
17199 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17200 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17201 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17202 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17203 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17204 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17205 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17206 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17207 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17208 compiler output for sysdeps/generic/initfini.c.
17209 * sysdeps/i386/elf/Makefile: Remove file.
17210 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17211
a22f12b4
MP
172122012-02-07 Marek Polacek <polacek@redhat.com>
17213
17214 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17215 * sysdeps/gnu/_G_config.h: Likewise.
17216 * sysdeps/mach/hurd/_G_config.h: Likewise.
17217
148cf100
MP
172182012-02-07 Marek Polacek <polacek@redhat.com>
17219
17220 * math/Makefile (tests): Add tst-CMPLX2.
17221 * math/tst-CMPLX2.c: New file.
17222
cfdc0dd7
AS
172232012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17224
84ba42c4
AS
17225 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17226
cfdc0dd7
AS
17227 * math/libm-test.inc (jn_test): Add missing L suffix.
17228
622c86f4
MP
172292012-02-06 Marek Polacek <polacek@redhat.com>
17230
17231 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17232 * sysdeps/i386/fpu/e_powf.S: Likewise.
17233 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17234 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17235 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17236 * sysdeps/i386/fpu/e_pow.S: Likewise.
17237 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17238 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17239 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17240 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17241 * sysdeps/i386/fpu/e_log2.S: Likewise.
17242 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17243 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17244 * sysdeps/i386/fpu/e_powl.S: Likewise.
17245 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17246 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17247 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17248 * sysdeps/i386/fpu/e_logl.S: Likewise.
17249 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17250 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17251 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17252 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17253 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17254 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17255 * sysdeps/i386/fpu/e_log.S: Likewise.
17256 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17257 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17258 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17259 * sysdeps/i386/fpu/e_logf.S: Likewise.
17260 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17261 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17262 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17263 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17264 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17265 * sysdeps/i386/fpu/e_log10.S: Likewise.
17266 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17267 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17268 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17269 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17270 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17271 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17272 * sysdeps/i386/asm-syntax.h: Likewise.
17273 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17274 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17275 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17276 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17277 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17278 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17279 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17280 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17281 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17282 * sysdeps/powerpc/sysdep.h: Likewise.
17283 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17284 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17285
d4a54ac6
JM
172862012-02-06 Joseph Myers <joseph@codesourcery.com>
17287
17288 [BZ #411]
17289 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17290
314054ea
JM
172912012-02-06 Joseph Myers <joseph@codesourcery.com>
17292
17293 * sysdeps/i386/sysdep.h: Include <features.h>.
17294 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17295 version.
17296
d8e0ca50
JM
172972012-02-05 Joseph Myers <joseph@codesourcery.com>
17298
17299 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17300 Define.
17301 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17302 LOAD_PIC_REG_STR.
17303
b1da7dd9
JM
173042012-02-03 Joseph Myers <joseph@codesourcery.com>
17305
17306 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17307 (SETUP_PIC_REG): Use GET_PC_THUNK.
17308 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17309 macro.
17310
9a1d9254
JM
173112012-02-03 Joseph Myers <joseph@codesourcery.com>
17312
17313 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17314 for non-PIC compilation.
17315 (SETUP_PIC_REG): Add .p2align directive.
17316 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17317 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17318 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17319 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17320 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17321 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17322 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17323 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17324 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17325 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17326 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17327 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17329 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17330 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17331 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17332 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17333 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17334 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17335 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17336 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17337 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17338 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17339 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17340 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17342 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17343 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17344 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17345 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17346 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17347 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17348 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17349 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17350 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17351 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17352 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17353 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17354 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17355 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17356 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17357
65dc3b75
JM
173582012-02-03 Joseph Myers <joseph@codesourcery.com>
17359
17360 * math/tst-CMPLX.c: Include <stdio.h>.
17361
d55bf177
JM
173622012-01-31 Joseph Myers <joseph@codesourcery.com>
17363
17364 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17365 float.
17366 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17367 * sysdeps/sparc/bits/mathdef.h: Likewise.
17368
69db4f8f
MP
173692012-01-31 Marek Polacek <polacek@redhat.com>
17370
17371 * libio/libio.h: Don't define _PARAMS.
17372 * locale/programs/config.h: Don't define PARAMS.
17373 * stdlib/strtol_l.c: Likewise.
17374 (__strtol_l): Remove PARAMS from the prototype.
17375
41b81892
UD
173762012-01-31 Ulrich Drepper <drepper@gmail.com>
17377
3b49edc0
UD
17378 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17379 names. Just use the correct names. Remove unnecessary wrapper
17380 functions.
17381 * malloc/arena.c: Likewise.
17382 * malloc/hooks.c: Likewise.
17383
41b81892
UD
17384 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17385 ARENA_TEST says not to. Simplify test for creation of a new arena.
17386 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17387
27a25b6e
UD
173882012-01-30 Ulrich Drepper <drepper@gmail.com>
17389
17390 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17391 into tail calls.
17392 (update_get_addr): New function.
17393 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17394 GET_ADDR_MODULE parameter.
17395
c8a89e7d
JM
173962012-01-30 Joseph Myers <joseph@codesourcery.com>
17397
17398 * crypt/cert.c: Remove __STDC__ conditionals.
17399 * crypt/crypt-entry.c: Likewise.
17400 * crypt/crypt_util.c: Likewise.
17401 * libio/filedoalloc.c: Likewise.
17402 * libio/fileops.c: Likewise.
17403 * libio/genops.c: Likewise.
17404 * libio/iofclose.c: Likewise.
17405 * libio/iofdopen.c: Likewise.
17406 * libio/iofopen.c: Likewise.
17407 * libio/iofopen64.c: Likewise.
17408 * libio/iogetdelim.c: Likewise.
17409 * libio/iopopen.c: Likewise.
17410 * libio/obprintf.c: Likewise.
17411 * libio/oldfileops.c: Likewise.
17412 * libio/oldiofclose.c: Likewise.
17413 * libio/oldiofdopen.c: Likewise.
17414 * libio/oldiofopen.c: Likewise.
17415 * libio/oldiopopen.c: Likewise.
17416 * libio/wfiledoalloc.c: Likewise.
17417 * libio/wgenops.c: Likewise.
17418 * locale/programs/xmalloc.c: Likewise.
17419 * misc/syslog.c: Likewise.
17420 * stdio-common/xbug.c: Likewise.
17421 * string/memchr.c: Likewise.
17422 * string/memcmp.c: Likewise.
17423 * string/memrchr.c: Likewise.
17424 * string/rawmemchr.c: Likewise.
17425 * sysdeps/posix/getcwd.c: Likewise.
17426 * time/strftime_l.c: Likewise.
17427
3b100462
JM
174282012-01-30 Joseph Myers <joseph@codesourcery.com>
17429
17430 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17431 * config.make.in (config-cflags-sse2avx): Define.
17432 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17433 Fix typo.
17434
607998af
CM
174352012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17436
17437 * scripts/config.guess: Update from upstream config git repository.
17438 * scripts/config.sub: Likewise.
17439
3601428f
CM
174402012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17441
3ac8b282
CM
17442 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17443 (EM_NUM): Update.
17444 (R_TILEPRO_*, R_TILEGX_*): New macros.
17445
e034841e
CM
17446 * scripts/firstversions.awk: Fix bug in version range handling.
17447
540d7568
CM
17448 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17449
3601428f
CM
17450 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17451
463de862
CM
17452 * include/sys/epoll.h: New file.
17453 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17454 libc_hidden_def.
17455
73139a76
UD
174562012-01-28 Ulrich Drepper <drepper@gmail.com>
17457
96bc5b45
UD
17458 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17459 Avoid unnecessary __WORDSIZE == 64 test.
17460 (fmaxf): Use VEX format if possible.
17461 (fmax): Likewise.
17462 (fminf): Likewise.
17463 (fmin): Likewise.
17464
56f6f6a2
UD
17465 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17466 * math/math_private.h: Remove libc_fegetround* and
17467 libc_fesetround*.
17468 * sysdeps/i386/configure.in: Check for -msse2avx.
17469 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17470 also if SSE2AVX is defined.
17471 Remove libc_fegetround* and libc_fesetround*.
17472 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17473 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17474 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17475 of HAS_YMM_USABLE.
17476 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17477 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17478 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17479 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17480 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17481
73139a76
UD
17482 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17483
d73f93a4
AZ
174842012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17485
17486 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17487 size is not set.
17488 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17489
6ee65ed6
UD
174902012-01-27 Ulrich Drepper <drepper@gmail.com>
17491
17492 [BZ #13618]
17493 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17494 relocation.
17495 * Makeconfig (libm): Define.
17496 * elf/Makefile: Add rules to build and run tst-relsort1.
17497 * elf/tst-relsort1.c: New file.
17498 * elf/tst-relsort1mod1.c: New file.
17499 * elf/tst-relsort1mod2.c: New file.
17500
8db21882
JM
175012012-01-27 Joseph Myers <joseph@codesourcery.com>
17502
17503 * math/s_ldexp.c: Remove __STDC__ conditionals.
17504 * math/s_ldexpf.c: Likewise.
17505 * math/s_ldexpl.c: Likewise.
17506 * math/s_nextafter.c: Likewise.
17507 * math/s_nexttowardf.c: Likewise.
17508 * math/s_significand.c: Likewise.
17509 * math/s_significandf.c: Likewise.
17510 * math/s_significandl.c: Likewise.
17511 * math/w_jnl.c: Likewise.
17512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17523 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17524 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17525 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17531 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17532 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17533 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17534 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17535 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17536 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17537 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17538 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17539 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17540 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17541 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17542 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17543 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17544 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17545 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17546 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17547 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17548 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17549 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17550 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17551 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17552 * sysdeps/ieee754/k_standard.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17555 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17556 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17601 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17602 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17603 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17606 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17607 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17610 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17611 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17614 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17619 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17627 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17632 * sysdeps/ieee754/s_matherr.c: Likewise.
17633 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17634 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17636 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17637
965a54a4
JM
176382012-01-26 Joseph Myers <joseph@codesourcery.com>
17639
17640 * crypt/md5.h: Remove __STDC__ conditionals.
17641 * libio/libioP.h: Likewise.
17642 * locale/programs/config.h: Likewise.
17643 * sysdeps/generic/sysdep.h: Likewise.
17644 * sysdeps/i386/asm-syntax.h: Likewise.
17645 * sysdeps/s390/asm-syntax.h: Likewise.
17646 * sysdeps/unix/sysdep.h: Likewise.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17649
7071ad79
JM
176502012-01-26 Joseph Myers <joseph@codesourcery.com>
17651
17652 * libio/libio.h: Remove __STDC__ conditionals.
17653 * malloc/obstack.h: Likewise.
17654 * math/complex.h: Likewise.
17655 * math/math.h: Likewise.
17656 * sysdeps/generic/_G_config.h: Likewise.
17657 * sysdeps/gnu/_G_config.h: Likewise.
17658 * sysdeps/mach/hurd/_G_config.h: Likewise.
17659 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17660 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17661 * sysdeps/sparc/bits/mathdef.h: Likewise.
17662
afc5ed09
UD
176632012-01-26 Ulrich Drepper <drepper@gmail.com>
17664
17665 [BZ #13583]
17666 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17667 Clean up HAS_* macros.
afc5ed09 17668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17669 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17670 possible.
17671 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17672 HAS_AVX.
17673 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17674 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17675 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17676 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17677 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17678
bdb6de1d
JM
176792012-01-25 Joseph Myers <joseph@codesourcery.com>
17680
17681 * elf/tst-unique3.cc (gets): Remove declaration.
17682 * elf/tst-unique3lib.cc (gets): Likewise.
17683 * elf/tst-unique3lib2.cc (gets): Likewise.
17684 * elf/tst-unique4.cc (gets): Likewise.
17685
b15549e6
UD
176862012-01-24 Ulrich Drepper <drepper@gmail.com>
17687
17688 * include/stdio.h: Add C++ protection. Add gets declarations and
17689 definitions.
17690 * debug/tst-chk1.c: Don't declare gets here.
17691 * stdio-common/tst-gets.c: Likewise.
17692
a037381f
JM
176932012-01-24 Joseph Myers <joseph@codesourcery.com>
17694
17695 * posix/glob: Remove directory.
17696
f1d4aa75
JM
176972012-01-24 Joseph Myers <joseph@codesourcery.com>
17698
17699 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17700
81c0c964
PT
177012012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17702
17703 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17704 of the non-standard EPFNOSUPPORT.
17705
0ea698ae
ST
177062011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17707
17708 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17709 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17710 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17711
d220b117
UD
177122012-01-21 Ulrich Drepper <drepper@gmail.com>
17713
17714 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17715
3e1aa84e
UD
177162012-01-20 Ulrich Drepper <drepper@gmail.com>
17717
17718 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17719 transient errors.
17720 * nscd/grpcache.c (cache_addgr): Likewise.
17721 * nscd/hstcache.c (cache_addhst): Likewise.
17722 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17723 * nscd/pwdcache.c (cache_addpw): Likewise.
17724 * nscd/servicescache.c (cache_addserv): Likewise.
17725
400aa020
UD
177262012-01-16 Ulrich Drepper <drepper@gmail.com>
17727
d77e7869
UD
17728 * malloc/malloc.c: Various cleanups.
17729 * malloc/hooks.c: Likewise.
17730
400aa020
UD
17731 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17732 * stdlib/bug-fmtmsg1.c: New file.
17733
17734 * stdlib/fmtmsg.c (init): Add missing unlock.
17735 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17736
e0a309cf
MP
177372012-01-12 Marek Polacek <polacek@redhat.com>
17738
17739 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17740 and _GNU_SOURCE.
17741
929d11c7
WS
177422012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17743
17744 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17745 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17746 macro to ensure uniqueness of label name.
17747 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17748 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17749
41d0e869
UD
177502012-01-11 Ulrich Drepper <drepper@gmail.com>
17751
0cc5ed3b
UD
17752 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17753
41d0e869
UD
17754 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17755 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17758
a47a831a
UD
177592012-01-10 Ulrich Drepper <drepper@gmail.com>
17760
daa891c0
UD
17761 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17762
17763 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17764 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17765 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17766
e58ef0f2
UD
17767 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17768
a47a831a 17769 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17770 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17771 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17773
17774 * math/bits/math-finite.h: Add ldexp support.
17775
a0bfc9c7
MP
177762012-01-10 Marek Polacek <polacek@redhat.com>
17777
17778 * locale/programs/localedef.h (show_archive_content): Add noreturn
17779 attribute.
17780
d6e97a1d
UD
177812012-01-09 Ulrich Drepper <drepper@gmail.com>
17782
17783 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17784
d5835c26
UD
177852012-01-08 Ulrich Drepper <drepper@gmail.com>
17786
e5f484c6
UD
17787 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17788
d5835c26
UD
17789 * io/Makefile (headers): Add bits/poll2.h.
17790
d1f741e9
WS
177912011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17792
17793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17794 typo #include statement.
17795
ec09c1c4
UD
177962012-01-08 Ulrich Drepper <drepper@gmail.com>
17797
17798 * include/sys/cdefs.h: Define __attribute_alloc_size.
17799 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17800 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17801 * elf/pldd.c: Likewise.
17802 * iconv/iconv_charmap.c: Likewise.
17803 * iconv/iconvconfig.c: Likewise.
17804 * iconv/strtab.c: Likewise.
17805 * locale/programs/locale.c: Likewise.
17806 * locale/programs/localedef.h: Likewise.
17807 * locale/programs/simple-hash.c: Likewise.
17808 * nscd/nscd.h: Likewise.
17809 * nss/makedb.c: Likewise.
17810 * sysdeps/generic/ldconfig.h: Likewise.
17811 * locale/programs/localedef.c: Remove xmalloc prototype.
17812 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17813
20b38e03
PP
178142012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17815
17816 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17817 appropriate.
17818
a0da5fe1
UD
178192012-01-08 Ulrich Drepper <drepper@gmail.com>
17820
1d5a644a 17821 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17822 * math/tst-CMPLX.c: New file.
1d5a644a 17823
8784a6db
UD
17824 * math/complex.h (CMPLXL): Fix typo.
17825
d9a216c0
UD
17826 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17827 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17828 GLIBC_2.16.
17829 * debug/tst-chk1.c: Add poll and ppoll tests.
17830 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17831 * include/sys/poll.h: Add hidden proto for ppoll.
17832 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17833 * sysdeps/mach/hurd/ppoll.c: Likewise.
17834 * io/ppoll.c: Likewise.
17835 * debug/poll_chk.c: New file.
17836 * debug/ppoll_chk.c: New file.
17837 * include/bits/poll2.h: New file.
17838 * io/bits/poll2.h: New file.
17839
ac097f5c
UD
17840 [BZ #1350]
17841 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17842
2119dcfa
UD
17843 * configure.in: static is always set to yes. Remove.
17844 * config.make.in: Don't set build-static.
17845 * Makeconfig: Remove use of build-static.
17846 * dlfcn/Makefile: Likewise.
17847 * elf/Makefile: Likewise.
17848 * math/Makefile: Likewise.
17849 * misc/Makefile: Likewise.
17850 * nptl/Makefile: Likewise.
17851 * sysdeps/mach/hurd/Makefile: Likewise.
17852
121766a9
UD
17853 * configure.in: PWD_P is not used anymore.
17854 * config.make.in: Remove PWD_P entry.
17855
51a1d39c 17856 * configure.in: Remove last remnants of RANLIB.
8720d066 17857 No need to check for signed size_t anymore.
215f4bdc
UD
17858 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17859 and IA-64.
3857022a 17860 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17861 * aclocal.m4: Likewise.
17862
d3ed7225
UD
17863 * wcsmbs/mbrtoc16.c: Implement using towc function.
17864 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17865 * wcsmbs/wcsmbsload.c: Likewise.
17866 * iconv/gconv_simple.c: Likewise.
17867 * iconv/gconv_int.h: Likewise.
17868 * iconv/gconv_builtin.h: Likewise.
17869 * iconv/iconv_prog.c: Remove CHAR16 handling.
17870
17871 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17872
17873 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17874
a0da5fe1
UD
17875 * configure.in: Remove --with-elf and --enable-bounded options.
17876 Dont set base_machine for ia64. More non-ELF conditions removed.
17877 Remove testing and setting of leading underscore information.
17878 * config.make.in (build-bounded): Set to no.
17879 * config.h.in: Remove NO_UNDERSCORES entry.
17880 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17881 them.
17882 * csu/start.c: Remove !NO_UNDERSCORE code.
17883 * locale/localeinfo.h: Likewise.
17884 * sysdeps/generic/machine-gmon.h: Likewise.
17885 * sysdeps/generic/sysdep.h: Likewise.
17886 * sysdeps/i386/sysdep.h: Likewise.
17887 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17888 * sysdeps/mach/sysdep.h: Likewise.
17889 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17891 * sysdeps/sh/sysdep.h: Likewise.
17892 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17893 * sysdeps/unix/i386/sysdep.S: Likewise.
17894 * sysdeps/unix/sparc/start.c: Likewise.
17895 * sysdeps/unix/sparc/sysdep.S: Likewise.
17896 * sysdeps/unix/sparc/sysdep.h: Likewise.
17897 * sysdeps/unix/start.c: Likewise.
17898 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17899 * sysdeps/x86_64/sysdep.h: Likewise.
17900
df78418a
UD
179012012-01-07 Ulrich Drepper <drepper@gmail.com>
17902
a784e502
UD
17903 [BZ #13553]
17904 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17905 for non-gcc.
17906 * argp/argp-fmtstream.h: Use const instead __const.
17907 * argp/argp.h: Likewise.
17908 * assert/assert.h: Likewise.
17909 * bits/fenv.h: Likewise.
17910 * bits/sched.h: Likewise.
17911 * bits/sigset.h: Likewise.
17912 * bits/sigthread.h: Likewise.
17913 * catgets/nl_types.h: Likewise.
17914 * conform/data/pthread.h-data: Likewise.
17915 * crypt/crypt-private.h: Likewise.
17916 * crypt/crypt.h: Likewise.
17917 * crypt/crypt_util.c: Likewise.
17918 * ctype/ctype.h: Likewise.
17919 * debug/execinfo.h: Likewise.
17920 * debug/mbsnrtowcs_chk.c: Likewise.
17921 * debug/mbsrtowcs_chk.c: Likewise.
17922 * debug/wcsnrtombs_chk.c: Likewise.
17923 * debug/wcsrtombs_chk.c: Likewise.
17924 * debug/wcstombs_chk.c: Likewise.
17925 * dirent/dirent.h: Likewise.
17926 * dlfcn/dlfcn.h: Likewise.
17927 * elf/neededtest4.c: Likewise.
17928 * grp/grp.h: Likewise.
17929 * gshadow/gshadow.h: Likewise.
17930 * iconv/gconv.h: Likewise.
17931 * iconv/gconv_int.h: Likewise.
17932 * iconv/gconv_simple.c: Likewise.
17933 * iconv/iconv.h: Likewise.
17934 * iconv/loop.c: Likewise.
17935 * iconv/skeleton.c: Likewise.
17936 * include/aio.h: Likewise.
17937 * include/aliases.h: Likewise.
17938 * include/argz.h: Likewise.
17939 * include/arpa/inet.h: Likewise.
17940 * include/assert.h: Likewise.
17941 * include/dirent.h: Likewise.
17942 * include/dlfcn.h: Likewise.
17943 * include/execinfo.h: Likewise.
17944 * include/fcntl.h: Likewise.
17945 * include/fenv.h: Likewise.
17946 * include/glob.h: Likewise.
17947 * include/grp.h: Likewise.
17948 * include/libintl.h: Likewise.
17949 * include/mntent.h: Likewise.
17950 * include/netdb.h: Likewise.
17951 * include/pwd.h: Likewise.
17952 * include/rpc/netdb.h: Likewise.
17953 * include/sched.h: Likewise.
17954 * include/search.h: Likewise.
17955 * include/shadow.h: Likewise.
17956 * include/signal.h: Likewise.
17957 * include/stdio.h: Likewise.
17958 * include/stdlib.h: Likewise.
17959 * include/string.h: Likewise.
17960 * include/sys/socket.h: Likewise.
17961 * include/sys/stat.h: Likewise.
17962 * include/sys/statfs.h: Likewise.
17963 * include/sys/statvfs.h: Likewise.
17964 * include/sys/syslog.h: Likewise.
17965 * include/sys/time.h: Likewise.
17966 * include/sys/uio.h: Likewise.
17967 * include/time.h: Likewise.
17968 * include/unistd.h: Likewise.
17969 * include/utmp.h: Likewise.
17970 * include/wchar.h: Likewise.
17971 * include/wctype.h: Likewise.
17972 * inet/aliases.h: Likewise.
17973 * inet/arpa/inet.h: Likewise.
17974 * inet/netinet/ether.h: Likewise.
17975 * inet/netinet/in.h: Likewise.
17976 * intl/libintl.h: Likewise.
17977 * io/bits/fcntl2.h: Likewise.
17978 * io/fcntl.h: Likewise.
17979 * io/ftw.h: Likewise.
17980 * io/sys/poll.h: Likewise.
17981 * io/sys/stat.h: Likewise.
17982 * io/sys/statfs.h: Likewise.
17983 * io/sys/statvfs.h: Likewise.
17984 * io/utime.h: Likewise.
17985 * libio/bits/stdio.h: Likewise.
17986 * libio/bits/stdio2.h: Likewise.
17987 * libio/libio.h: Likewise.
17988 * libio/libioP.h: Likewise.
17989 * libio/stdio.h: Likewise.
17990 * locale/lc-ctype.c: Likewise.
17991 * locale/locale.h: Likewise.
17992 * login/utmp.h: Likewise.
17993 * malloc/arena.c: Likewise.
17994 * malloc/malloc.c: Likewise.
17995 * malloc/malloc.h: Likewise.
17996 * malloc/mcheck.c: Likewise.
17997 * malloc/mtrace.c: Likewise.
17998 * math/bits/mathcalls.h: Likewise.
17999 * math/fenv.h: Likewise.
18000 * math/math_private.h: Likewise.
18001 * misc/bits/error.h: Likewise.
18002 * misc/bits/syslog.h: Likewise.
18003 * misc/err.h: Likewise.
18004 * misc/error.h: Likewise.
18005 * misc/fstab.h: Likewise.
18006 * misc/mntent.h: Likewise.
18007 * misc/regexp.h: Likewise.
18008 * misc/search.h: Likewise.
18009 * misc/sgtty.h: Likewise.
18010 * misc/sys/mman.h: Likewise.
18011 * misc/sys/syslog.h: Likewise.
18012 * misc/sys/uio.h: Likewise.
18013 * misc/sys/xattr.h: Likewise.
18014 * misc/ttyent.h: Likewise.
18015 * nis/rpcsvc/ypclnt.h: Likewise.
18016 * nss/nss.h: Likewise.
18017 * posix/bits/unistd.h: Likewise.
18018 * posix/fnmatch.h: Likewise.
18019 * posix/glob.h: Likewise.
18020 * posix/sched.h: Likewise.
18021 * posix/spawn.h: Likewise.
18022 * posix/sys/wait.h: Likewise.
18023 * posix/unistd.h: Likewise.
18024 * posix/wordexp.h: Likewise.
18025 * pwd/pwd.h: Likewise.
18026 * resolv/netdb.h: Likewise.
18027 * resource/sys/resource.h: Likewise.
18028 * rt/aio.h: Likewise.
18029 * rt/bits/mqueue2.h: Likewise.
18030 * rt/mqueue.h: Likewise.
18031 * shadow/shadow.h: Likewise.
18032 * signal/signal.h: Likewise.
18033 * socket/send.c: Likewise.
18034 * socket/sendto.c: Likewise.
18035 * socket/sys/socket.h: Likewise.
18036 * stdio-common/printf.h: Likewise.
18037 * stdlib/bits/stdlib.h: Likewise.
18038 * stdlib/fmtmsg.h: Likewise.
18039 * stdlib/monetary.h: Likewise.
18040 * stdlib/stdlib.h: Likewise.
18041 * stdlib/ucontext.h: Likewise.
18042 * streams/stropts.h: Likewise.
18043 * string/argz.h: Likewise.
18044 * string/bits/string2.h: Likewise.
18045 * string/string.h: Likewise.
18046 * string/strings.h: Likewise.
18047 * sunrpc/rpc/auth.h: Likewise.
18048 * sunrpc/rpc/auth_des.h: Likewise.
18049 * sunrpc/rpc/clnt.h: Likewise.
18050 * sunrpc/rpc/netdb.h: Likewise.
18051 * sunrpc/rpc/pmap_clnt.h: Likewise.
18052 * sunrpc/rpc/xdr.h: Likewise.
18053 * sysdeps/generic/inttypes.h: Likewise.
18054 * sysdeps/generic/net/if.h: Likewise.
18055 * sysdeps/generic/sys/swap.h: Likewise.
18056 * sysdeps/gnu/net/if.h: Likewise.
18057 * sysdeps/gnu/utmpx.h: Likewise.
18058 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18059 * sysdeps/i386/i486/bits/string.h: Likewise.
18060 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18061 * sysdeps/s390/bits/string.h: Likewise.
18062 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18063 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18064 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18065 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18066 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18067 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18068 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18069 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18070 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18071 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18072 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18073 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18074 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18075 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18076 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18077 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18078 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18080 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18081 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18082 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18083 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18084 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18085 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18086 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18087 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18089 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18090 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18091 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18092 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18093 * sysvipc/sys/ipc.h: Likewise.
18094 * sysvipc/sys/msg.h: Likewise.
18095 * sysvipc/sys/sem.h: Likewise.
18096 * sysvipc/sys/shm.h: Likewise.
18097 * termios/termios.h: Likewise.
18098 * time/sys/time.h: Likewise.
18099 * time/time.h: Likewise.
18100 * wcsmbs/bits/wchar2.h: Likewise.
18101 * wcsmbs/uchar.h: Likewise.
18102 * wcsmbs/wchar.h: Likewise.
18103 * wctype/wctype.h: Likewise.
18104
0269750c
UD
18105 [BZ #13551]
18106 * Makeconfig: Remove all but ELF support including AIX support.
18107 * Makerules: Likewise.
18108 * config.h.in: Likewise.
18109 * config.make.in: Likewise.
18110 * configure: Likewise.
18111 * configure.in: Likewise.
18112 * csu/Makefile: Likewise.
18113 * csu/version.c: Likewise.
18114 * debug/Makefile: Likewise.
18115 * dlfcn/Makefile: Likewise.
18116 * elf/Makefile: Likewise.
18117 * extra-lib.mk: Likewise.
18118 * iconv/Makefile: Likewise.
18119 * include/libc-symbols.h: Likewise.
18120 * include/shlib-compat.h: Likewise.
18121 * resolv/Makefile: Likewise.
18122 * resolv/res_libc.c: Likewise.
18123 * rt/Makefile: Likewise.
18124 * sysdeps/i386/asm-syntax.h: Likewise.
18125 * sysdeps/i386/sysdep.h: Likewise.
18126 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18127 * sysdeps/mach/sysdep.h: Likewise.
18128 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18129 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18130 * sysdeps/s390/asm-syntax.h: Likewise.
18131 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18132 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18133 * sysdeps/sh/sysdep.h: Likewise.
18134 * sysdeps/unix/sparc/sysdep.h: Likewise.
18135 * sysdeps/wordsize-32/divdi3.c: Likewise.
18136 * sysdeps/x86_64/sysdep.h: Likewise.
18137
00bbd29b
UD
18138 * argp/Versions: Remove _argp_unlock_xxx.
18139
18140 [BZ #13559]
18141 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18142 * abilist/libBrokenLocale.abilist: Likewise.
18143 * abilist/libanl.abilist: Likewise.
18144 * abilist/libc.abilist: Likewise.
18145 * abilist/libcrypt.abilist: Likewise.
18146 * abilist/libdl.abilist: Likewise.
18147 * abilist/libm.abilist: Likewise.
18148 * abilist/libnsl.abilist: Likewise.
18149 * abilist/libpthread.abilist: Likewise.
18150 * abilist/libresolv.abilist: Likewise.
18151 * abilist/librt.abilist: Likewise.
18152 * abilist/libthread_db.abilist: Likewise.
18153 * abilist/libutil.abilist: Likewise.
18154 * abilist/libnss_db.abilist: New file.
18155
18156 * scripts/abilist.awk: Add support for indirect functions.
18157
a2693a0e
UD
18158 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18159
3f05895f
UD
18160 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18161
ecb6fb48
UD
18162 * shlib-versions: Remove entries for ports architectures.
18163
664f8cb9
UD
18164 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18165 files in ports.
18166 * elf/stackguard-macros.h: Remove support for IA-64.
18167 * elf/tst-auditmod1.c: Likewise.
18168 * sysdeps/generic/ldsodefs.h: Likewise.
18169
7ae81d88
UD
18170 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18171 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18172 configure files.
18173
bdeba135
UD
18174 [BZ #13552]
18175 * configure.in: Remove --enable-omitfp support.
18176 * FAQ.in: Adjust.
18177 * config.make.in: Likewise.
18178 * Makeconfig: Likewise.
18179 * manual/install.texi: Likewise.
18180
d75a0a62
UD
18181 In case anyone cares, the IA-64 architecture could move to ports.
18182 * sysdeps/ia64/*: Removed.
18183 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18184 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18185
dcc9756b
UD
18186 [BZ #13555]
18187 * configure.in: Remove entries for unsupported architectures.
18188
d3761ebc 18189 [BZ #13533]
9954432e
UD
18190 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18191 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18192 routines.
18193 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18194 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18195 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18196 fall back to using wcrtomb.
18197 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18198 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18199 renaming.
18200 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18201 * wcsmbs/tst-c16c32-1.c: New file.
18202
18203 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18204 local variable.
18205
c3a87236
UD
18206 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18207
28926a1b
UD
18208 * elf/tst-unique3.cc: Add explicit declaration of gets.
18209 * elf/tst-unique3lib.cc: Likewise.
18210 * elf/tst-unique3lib2.cc: Likewise.
18211 * elf/tst-unique4.cc: Likewise.
18212
df78418a
UD
18213 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18214
8ecd6b2a
JM
182152012-01-06 Joseph Myers <joseph@codesourcery.com>
18216
18217 [BZ #13566]
18218 * assert/assert.h (static_assert): Don't define for C++.
18219 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18220 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18221
9f115170
UD
182222012-01-03 Ulrich Drepper <drepper@gmail.com>
18223
5e0d0300
UD
18224 * iconv/loop.c (single loop): Fix assertion in storing of
18225 remaining bytes.
18226
9f115170
UD
18227 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18228
81fb02b0
UD
182292012-01-01 Ulrich Drepper <drepper@gmail.com>
18230
18231 * posix/getconf.c: Update copyright year.
18232 * nss/getent.c: Likewise.
a316c1f6 18233 * nss/makedb.c: Likewise.
81fb02b0
UD
18234 * iconv/iconvconfig.c: Likewise.
18235 * iconv/iconv_prog.c: Likewise.
18236 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18237 * elf/pldd.c: Likewise.
18238 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18239 * catgets/gencat.c: Likewise.
18240 * csu/version.c: Likewise.
18241 * elf/ldd.bash.in: Likewise.
18242 * elf/sprof.c (print_version): Likewise.
18243 * locale/programs/locale.c: Likewise.
18244 * locale/programs/localedef.c: Likewise.
a316c1f6 18245 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18246 * nscd/nscd.c (print_version): Likewise.
18247 * debug/xtrace.sh: Likewise.
18248 * malloc/memusage.sh: Likewise.
18249 * malloc/mtrace.pl: Likewise.
18250 * debug/catchsegv.sh: Likewise.
18251
2ba92745
JJ
182522011-12-30 Jakub Jelinek <jakub@redhat.com>
18253
18254 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18255 pure attribute.
18256
dadebdae
UD
182572011-12-24 Ulrich Drepper <drepper@gmail.com>
18258
d3761ebc 18259 [BZ #13533]
db6af3eb
UD
18260 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18261 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18262 transformations.
18263 * iconv/gconv_int.h: Likewise.
18264 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18265 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18266 from libc for GLIBC_2.16.
18267 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18268 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18269 * wcsmbs/uchar.h: Really define mbstate_t.
18270 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18271 * wcsmbs/c16rtomb.c: New file.
18272 * wcsmbs/mbrtoc16.c: New file.
18273 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18274 for C/POSIX locale.
18275 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18276 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18277
dadebdae
UD
18278 * wcsmbs/wchar.h: Add missing __restrict.
18279
67371b56
UD
182802011-12-23 Ulrich Drepper <drepper@gmail.com>
18281
74033a25
UD
18282 [BZ #13532]
18283 * time/Makefile (routines): Add timespec_get.
18284 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18285 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18286 timespec for ISO C11.
18287 * time/timespec_get.c: New file.
18288 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18289 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18290
380d7e87
UD
18291 [BZ #13531]
18292 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18293 * stdlib/stdlib.h: Declare aligned_alloc.
18294 * Versions.def: Add GLIBC_2.16 for libc.
18295 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18296
4e9e7a35
UD
18297 [BZ 13527]
18298 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18299 ISO C11.
18300
380d7e87 18301 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18302 code.
18303
03a71829
UD
18304 [BZ #13528]
18305 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18306
839e283e
UD
18307 [BZ #13529]
18308 * assert/assert.h (static_assert): Define.
18309
ce5294e2 18310 * version.h: Update for 2.16 development version.
90fa7312 18311
8d44e150 18312 [BZ #13526]
d7809905
UD
18313 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18314 _ISOC11_SOURCE.
18315
c0da14cd
UD
18316 * version.h (RELEASE): Bump for 2.15 release.
18317 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18318
530a3249
MP
18319 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18320 Patch by Marek Polacek <mpolacek@redhat.com>.
18321
67371b56
UD
18322 * bits/byteswap.h: Protect long long constants with __extension__.
18323 * sysdeps/i386/bits/byteswap.h: Likewise.
18324 * sysdeps/ia64/bits/byteswap.h: Likewise.
18325 * sysdeps/s390/bits/byteswap.h: Likewise.
18326 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18327
15db4de1
LD
183282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18329
18330 [BZ #13540]
bbe315ea
LD
18331 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18332 destination buffer.
15db4de1
LD
18333 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18334
2b2596b1
MP
183352011-12-23 Marek Polacek <polacek@redhat.com>
18336
18337 * elf/dl-addr.c (determine_info): Add inline keyword.
18338 * elf/tst-auditmod4b.c (check_avx): Likewise.
18339 * elf/tst-auditmod6b.c (check_avx): Likewise.
18340 * elf/tst-auditmod6c.c (check_avx): Likewise.
18341 * elf/tst-auditmod7b.c (check_avx): Likewise.
18342
70c6c246
UD
183432011-12-23 Ulrich Drepper <drepper@gmail.com>
18344
18345 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18346 !__SSE_MATH__.
18347
c044cf14
LD
183482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18349
15db4de1 18350 [BZ #13540]
c044cf14
LD
18351 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18352 processing for last bytes.
18353
6b13d9d9
BH
183542011-08-06 Bruno Haible <bruno@clisp.org>
18355
d455f537
BH
18356 [BZ #13061]
18357 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18358 U+0385, not to U+1FEE.
18359
6b13d9d9
BH
18360 [BZ #13062]
18361 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18362 entry for U+00A5 U+0301.
18363
db910efd
UD
183642011-12-22 Ulrich Drepper <drepper@gmail.com>
18365
27deeafc
UD
18366 [BZ #13166]
18367 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18368 buffer for the output is too small.
18369
aed9d171
UD
18370 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18371 optimization.
18372
db910efd
UD
18373 [BZ #13185]
18374 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18375 SSE flags if possible.
18376
2bd779ae
LD
183772011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18378
e7f9dac3 18379 [BZ #13540]
2bd779ae
LD
18380 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18381 processing for last bytes.
18382
154bfc16
JM
183832011-12-22 Joseph Myers <joseph@codesourcery.com>
18384
18385 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18386 (syscall-list-default-options, syscall-list-default-condition)
18387 (syscall-list-includes): Define.
18388 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18389 list of ABIs and options and #if conditions for each ABI. Do not
18390 handle common syscalls between ABIs specially.
18391 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18392 Remove.
18393 (syscall-list-variants, syscall-list-32bit-options)
18394 (syscall-list-32bit-condition, syscall-list-64bit-options)
18395 (syscall-list-64bit-condition): Define.
18396 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18397 (syscall-list-variants, syscall-list-32bit-options)
18398 (syscall-list-32bit-condition, syscall-list-64bit-options)
18399 (syscall-list-64bit-condition): Define.
18400 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18401 Remove.
18402 (syscall-list-variants, syscall-list-32bit-options)
18403 (syscall-list-32bit-condition, syscall-list-64bit-options)
18404 (syscall-list-64bit-condition): Define.
18405 * sysdeps/unix/sysv/linux/x86_64/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
21eaf3a5
UD
184112011-12-22 Ulrich Drepper <drepper@gmail.com>
18412
16c6f992
UD
18413 * locale/iso-639.def: Add brx entry.
18414
41043168
UD
18415 [BZ #13328]
18416 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18417 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18418
21eaf3a5
UD
18419 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18420 __feraiseexcept_renamed.
18421
e3a851a2
UD
184222011-12-21 Ulrich Drepper <drepper@gmail.com>
18423
4920765e
UD
18424 [BZ #13538]
18425 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18426 EPOLLET with unsigned values.
18427 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18429
e3a851a2
UD
18430 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18431 to large cancellation.
18432 * math/s_cacoshf.c: Likewise.
18433 * math/s_cacoshl.c: Likewise.
18434
b27e24b8
RK
184352011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18436
18437 [BZ #13305]
aebefeee 18438 [BZ #12786]
b27e24b8
RK
18439 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18440 * math/s_cacoshf.c: Likewise.
18441 * math/s_cacoshl.c: Likewise.
18442
ee190f67
UD
184432011-12-21 Ulrich Drepper <drepper@gmail.com>
18444
18445 [BZ #13439]
18446 * iconv/gconv.h: Define __GCONV_SWAP.
18447 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18448 * iconvdata/utf-16.c: Likewise.
18449 * iconvdata/utf-32.c: Likewise.
18450
707f25df
AS
184512011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18452
18453 [BZ #13524]
18454 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18455 numerator after shifting it by one limb.
18456
d2daaa1e
RÁE
184572011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18458
18459 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18460 under [__USE_EXTERN_INLINES].
18461
a4647e72
UD
184622011-12-17 Ulrich Drepper <drepper@gmail.com>
18463
18464 [BZ #13446]
18465 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18466
f0b264f1
AZ
184672011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18468
18469 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18470 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18471 optimized code.
18472 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18473 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18474 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18475 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18476 for strncasecmp/strncasecmp_l compilation.
18477 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18478 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18479
8ef4f244
MP
184802011-12-08 Marek Polacek <mpolacek@redhat.com>
18481
18482 [BZ #13484]
18483 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18484 of __asm__.
18485
97ac2654
UD
184862011-12-17 Ulrich Drepper <drepper@gmail.com>
18487
18488 [BZ #13506]
18489 * time/tzfile.c (__tzfile_read): Check values from file header.
18490
91d2a845
WS
184912011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18492
18493 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18494 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18495 * powerpc/powerpc32/dl-start.S: Likewise.
18496 * powerpc/powerpc32/elf/start.S: Likewise.
18497 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18498 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18499 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18500 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18501 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18502 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18503 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18504 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18505 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18506 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18507 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18508 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18509 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18510 * powerpc/powerpc32/memset.S: Likewise.
18511 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18512 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18513 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18514 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18515 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18516 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18517 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18518 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18519 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18520 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18521 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18522 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18523 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18524
a1267ba1
AZ
185252011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18526
18527 * math/libm-test.inc: Added more nearbyint tests.
18528 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18529 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18530 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18531 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18532
ad8ac1bd
RL
185332011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18534
18535 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18536 FD_CLOEXEC.
18537
1d3e4b61
UD
185382011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18539
18540 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18541 Add wcscpy-ssse3 wcscpy-c.
18542 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18543 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18544 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18545 * sysdeps/x86_64/wcschr.S: New file.
18546 * sysdeps/x86_64/wcsrchr.S: New file.
18547 * string/test-strcmp.c: Remove checking of wcscmp function for
18548 wrong alignments.
18549 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18550 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18551 wcsrchr-sse2 wcsrchr-c.
18552 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18553 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18554 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18555 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18556 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18557 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18558 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18559 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18560 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18561 * wcsmbc/wcschr.c (WCSCHR): New macro.
18562
5b330a2d
UD
185632011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18564
18565 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18566 * wcsmbs/test-wcsrchr.c: New file.
18567 * string/test-strrchr.c: Add wcsrchr support.
18568 (WIDE): New macro.
18569 * wcsmbs/test-wcscpy.c: New file.
18570 * string/test-strcpy.c: Add wcscpy support.
18571 (WIDE): New macro.
26428b7c 18572
f039c043
UD
185732011-12-10 Ulrich Drepper <drepper@gmail.com>
18574
18575 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18576 the inner loop.
18577
850fb039
AS
185782011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18579
18580 [BZ #13472]
18581 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18582
4efbd5cb
UD
185832011-12-04 Ulrich Drepper <drepper@gmail.com>
18584
52ff5dd0 18585 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18586 Minor optimizations.
52ff5dd0 18587
4efbd5cb
UD
18588 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18589 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18590 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18591
8a426e12
UD
185922011-12-03 Ulrich Drepper <drepper@gmail.com>
18593
aff2453d
UD
18594 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18595 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18596 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18597 for gcc to avoid warnings.
18598 * inet/Makefile (tests): Add tst-checks.
18599 * inet/tst-checks.c: New file.
18600
18601 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18602 warning.
18603
18604 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18605 __wmemcmp_sse2.
18606
18607 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18608 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18609
8a426e12
UD
18610 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18611
9bea3473
UD
186122011-12-02 Ulrich Drepper <drepper@gmail.com>
18613
3a965496
UD
18614 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18615 problem.
18616
9bea3473
UD
18617 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18618
f101631b
UD
186192011-11-29 Joseph Myers <joseph@codesourcery.com>
18620
18621 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18622 conditional on GCC version.
18623 (__arch_compare_and_exchange_val_8_acq)
18624 (__arch_compare_and_exchange_val_16_acq)
18625 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18626 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18627 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18628
a98275aa
UD
186292011-12-02 Joseph Myers <joseph@codesourcery.com>
18630
18631 * sysdeps/sh/backtrace.c: New file.
18632
d4cc29a2
AS
186332011-12-02 Andreas Schwab <schwab@redhat.com>
18634
18635 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18636 parenthesis.
18637
6257af2d
AS
186382011-12-01 Andreas Schwab <schwab@redhat.com>
18639
18640 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18641 falling back to utime.
18642
b5f44c1a
AS
186432011-11-30 Andreas Schwab <schwab@redhat.com>
18644
18645 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18646 expectations for float.
18647
f3a6cc0a
AS
186482011-11-29 Andreas Schwab <schwab@redhat.com>
18649
18650 * locale/weight.h (findidx): Add parameter len.
18651 * locale/weightwc.h (findidx): Likewise.
18652 * posix/fnmatch_loop.c (FCT): Adjust caller.
18653 * posix/regcomp.c (build_equiv_class): Likewise.
18654 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18655 * posix/regexec.c (check_node_accept_bytes): Likewise.
18656 * string/strcoll_l.c (STRCOLL): Likewise.
18657 * string/strxfrm_l.c (STRXFRM): Likewise.
18658
9d65ea3a
UD
186592011-11-17 Ulrich Drepper <drepper@gmail.com>
18660
18661 * Makefile.in: Remove CVSOPT handling.
18662 * configure.in: Remove use of AC_REVISION.
18663 * iconvdata/Makefile (distribute): No need to filter out CVS.
18664 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18665 handling.
18666
5583a086
AS
186672011-11-16 Andreas Schwab <schwab@redhat.com>
18668
18669 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18670 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18671 [USE_AS_STRNCASECMP_L]: Likewise.
18672 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18673 NO_TLS_DIRECT_SEG_REFS.
18674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18675 Fix argument offsets for non-PIC.
18676 [USE_AS_STRNCASECMP_L]: Likewise.
18677 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18678 NO_TLS_DIRECT_SEG_REFS.
18679
d62a8200
UD
186802011-11-15 Ulrich Drepper <drepper@gmail.com>
18681
9d65ea3a 18682 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18683 O_CLOEXEC.
18684 * locale/loadlocale.c (_nl_load_locale): Likewise.
18685
09f93bd3
AS
186862011-11-15 Andreas Schwab <schwab@redhat.com>
18687
446514f9
AS
18688 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18689 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18690 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18691 (SYSCALL_GETTIME): Set errno on error.
18692
09f93bd3
AS
18693 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18694 count references to noai6ai_cached.
18695
312be3f9
UD
186962011-11-15 Ulrich Drepper <drepper@gmail.com>
18697
18698 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18699
18700 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18701 FD_CLOEXEC for /proc/self/maps.
18702
18703 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18704 FD_CLOEXEC for /proc/meminfo.
18705
18706 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18707 gai.conf.
18708
18709 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18710 FD_CLOEXEC for given file.
18711
18712 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18713
18714 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18715 FD_CLOEXEC for /etc/hosts.
18716 (_gethtent): Likewise.
18717
18718 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18719
18720 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18721 cancellation and set FD_CLOEXEC for /etc/netgroup.
18722
18723 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18724 reading /etc/publickey.
18725
18726 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18727 allow cancellation when reading /etc/group.
18728
18729 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18730 cancellation.
18731 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18732
18733 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18734 when using data file.
18735
18736 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18737
18738 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18739 (write_nis_obj): Use "c" and "e" in fopen.
18740
18741 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18742
18743 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18744
18745 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18746
18747 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18748
18749 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18750 locale.alias.
18751
18752 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18753
18754 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18755
18756 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18757
18758 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18759 file parsing and set FD_CLOEXEC.
18760
82af0fa8
UD
187612011-11-14 Ulrich Drepper <drepper@gmail.com>
18762
18763 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18764
a5fb313c
AS
187652011-11-14 Andreas Schwab <schwab@redhat.com>
18766
18767 * malloc/arena.c (arena_get2): Don't call reused_arena when
18768 _int_new_arena failed.
18769
6abf3465
UD
187702011-11-14 Ulrich Drepper <drepper@gmail.com>
18771
18772 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18773 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18775 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18776 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18777 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18778 to compile strcasecmp and strncasecmp.
18779 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18780 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18781
18782 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18783
76e3966e
UD
187842011-11-13 Ulrich Drepper <drepper@gmail.com>
18785
18786 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18787 locale-defines.sym to gen-as-const-headers.
18788 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18789 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18791 to compile strcasecmp and strncasecmp.
18792 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18793 strcasecmp_l and strncasecmp_l.
18794 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18795 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18796 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18797 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18798 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18799 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18800 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18801 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18802 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18803 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18804 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18805
ab26144e
UD
188062011-11-12 Ulrich Drepper <drepper@gmail.com>
18807
7edb22ef
UD
18808 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18809 result of SYSDEP_GETTIME_CPU to retval.
18810 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18811 parameter list to macro. Remove trailing semicolon. Adjust users.
18812
9694fc44
UD
18813 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18814 variable.
18815
8ad89ef8
UD
18816 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18817 mantissa words.
18818 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18819
0c822ef9
UD
18820 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18821 from unused variable.
18822
874e0564
UD
18823 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18824 DWARF definitions.
18825 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18826 for assembling.
18827
3a2edc79
UD
18828 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18829 over namespaces.
18830
f3c2577f
UD
18831 * sunrpc/rpc_prot.c (rejected): Fix case value.
18832
294ce126
UD
18833 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18834 unsigned long long int to avoid warnings in shift.
18835
5e2b63c6
UD
18836 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18837 of use of trans.
18838 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18839 variable tmp.
18840
e7f4b08e
UD
18841 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18842 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18843 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18844
ab26144e
UD
18845 * nis/nis_table.c (nis_list): Use variable of correct type for
18846 result of __follow_path call.
18847
8a6d5255
AZ
188482011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18849
18850 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18851 of math functions ceil, trunc, floor, round, and sqrt, when
18852 avaliable on the platform.
18853 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18854 name clash.
18855 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18856 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18857 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18858
aaddc98c
MP
188592011-10-30 Marek Polacek <mpolacek@redhat.com>
18860
18861 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18862 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18863
95b7042b
RM
188642011-11-11 Roland McGrath <roland@hack.frob.com>
18865
18866 * include/unistd.h: Fix __readlink return type.
18867 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18868
57769839
UD
188692011-11-11 Ulrich Drepper <drepper@gmail.com>
18870
18871 * stdlib/ucontext.h: Undo last change for makecontext.
18872
edc5984d
AS
188732011-11-11 Andreas Schwab <schwab@redhat.com>
18874
98591e58
AS
18875 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18876
edc5984d
AS
18877 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18878 * setjmp/setjmp.h: Mark functions as non-leaf.
18879 * setjmp/bits/setjmp2.h: Likewise.
18880 * stdlib/ucontext.h: Likewise.
18881
77cdc054
AS
188822011-11-10 Andreas Schwab <schwab@redhat.com>
18883
18884 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18885 (reused_arena): Don't check arena limit.
18886 (arena_get2): Atomically check arena limit.
18887
fe72eebd
UD
188882011-11-08 Ulrich Drepper <drepper@gmail.com>
18889
5f078c32
UD
18890 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18891 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18892
fe72eebd
UD
18893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18894 instructions.
18895
ae1bc2fa
AS
188962011-11-07 Andreas Schwab <schwab@redhat.com>
18897
7583a88d
AS
18898 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18899 handler when locking.
18900
ae1bc2fa
AS
18901 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18902 Fix size of allocated buffer.
18903
10fb0bfa
AS
189042011-11-04 Andreas Schwab <schwab@redhat.com>
18905
998832a4
AS
18906 [BZ #10103]
18907 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18908 declarations for long double functions.
18909 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18910
10fb0bfa
AS
18911 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18912
3d7ba52b
AS
189132011-11-03 Andreas Schwab <schwab@redhat.com>
18914
a9ae54a1
AS
18915 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18916 installed.
18917
3d7ba52b
AS
18918 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18919 is disabled.
18920
bc8db248
ST
189212011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18922
18923 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18924
45b96dd6
AS
189252011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18926
647776f6
AS
18927 * include/alloca.h (stackinfo_alloca_round): Define.
18928 (extend_alloca): Use it.
18929 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18930 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18931 here.
18932
d91a8b93
AS
18933 * scripts/check-local-headers.sh: Ignore libaudit.h.
18934
45b96dd6
AS
18935 * nscd/Makefile (extra-objs): Make recursively expanded.
18936
432d41ce
UD
189372011-11-01 Ulrich Drepper <drepper@gmail.com>
18938
34372fc6
UD
18939 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18940 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18941
fadb59f8
UD
18942 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18943 * posix/tst-rfc3484-2.c: Likewise.
18944 * posix/tst-rfc3484-3.c: Likewise.
18945
78239589
UD
18946 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18947 process_vm_writev.
18948 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18949 process_vm_writev.
18950 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18951 process_vm_writev from libc using GLIBC_2.15 version.
18952
432d41ce
UD
18953 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18954
02f9c6cf
PP
189552011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18956
18957 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18958 stack usage.
18959
3a2c0242
UD
189602011-10-31 Ulrich Drepper <drepper@gmail.com>
18961
f4ec4833
UD
18962 [BZ #13367]
18963 * nss/getent.c (initgroups_keys): Show error message in case no group
18964 names are given.
18965
3a2c0242
UD
18966 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18967 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18968 __bump_nl_timestamp.
18969 * nscd/connections (nscd_init): When host database is served open
18970 netlink socket and request notification about configuration changes.
18971 (main_loop_poll): Track netlink file descriptor and bump timestamp
18972 in case data becomes available.
18973 (main_loop_epoll): Likewise.
18974 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18975 (database_pers_head): Add extra_data fileds.
18976 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18977 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18978 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18979 Adjust caller.
18980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18981 in6ai data, call __free_in6ai.
18982 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18983 Add -DHAVE_NETLINK.
18984 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18985 interface information. Reuse previous data if netlink timestamp
18986 is not changed.
18987 (__bump_nl_timestamp): New function.
18988 (__free_in6ai): New function.
18989
636064eb
UD
189902011-10-30 Ulrich Drepper <drepper@gmail.com>
18991
18992 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18993 close_not_cancel_no_status here.
18994 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18995
9beb2334
UD
189962011-10-29 Ulrich Drepper <drepper@gmail.com>
18997
6ef76f3b
UD
18998 [BZ #13276]
18999 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19000 return value.
19001
0ffc4f3e 19002 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19003 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19004 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19005
cb95113e
UD
190062011-07-03 Andreas Jaeger <aj@suse.de>
19007
19008 [BZ #10709]
19009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19010 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19011 * math/libm-test.inc (sin_test): Add test case.
19012
a1b560ff
UD
190132011-10-29 Ulrich Drepper <drepper@gmail.com>
19014
c9aaface
UD
19015 [BZ #13337]
19016 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19017 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19018
d272e7f1
UD
19019 * elf/chroot_canon.c (chroot_canon): Cleanups.
19020
1bc33071
UD
19021 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19022
1760874d
TJ
19023 [BZ #13335]
19024 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19025 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19026
51d91b18
UD
19027 * string/test-strchr.c: Make usable for strchrnul testing.
19028 * string/test-strchrnul.c: New file.
19029 * string/Makefile (strop-tests): Add strchrnul.
19030
a1b560ff 19031 * po/it.po: Update from translation team.
b611fb81 19032 * po/es.po: Likewise.
a1b560ff 19033
a5b81e1f
UD
190342011-10-28 Ulrich Drepper <drepper@gmail.com>
19035
fd52bc6d
UD
19036 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19037 the three constants needed as parameters. Drop the others.
19038 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19039 __m128i_strloadu_tolower.
52e4b9eb
UD
19040 Create and initialize variable zero and use it in all the places
19041 where _mm_setzero_si128 was used.
fd52bc6d 19042
a5b81e1f
UD
19043 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19044 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19045 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19046 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19047 anymore.
19048 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19049 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19050 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19051 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19052 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19053 __mpranred, __mptan.
19054 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19055 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19056 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19057 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19058 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19059 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19060 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19061 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19062 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19063
b4343346
AS
190642011-10-28 Andreas Schwab <schwab@redhat.com>
19065
0c92d8a8
AS
19066 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19067 redefine if SHARED.
19068 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19069
b4343346
AS
19070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19071 wide char related routines to wcsmbs subdir.
19072
3871f58f
AS
190732011-10-27 Andreas Schwab <schwab@redhat.com>
19074
19075 [BZ #13344]
19076 * misc/sys/cdefs.h (__THROWNL): Define.
19077 * posix/unistd.h: Use __THREADNL instead of __THREAD
19078 for memory synchronization functions.
19079
94d44d9f
RM
190802011-10-26 Roland McGrath <roland@hack.frob.com>
19081
21b64b15 19082 [BZ #13349]
94d44d9f
RM
19083 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19084 doesn't exist.
19085 * manual/stdio.texi (Obstack Streams): Node removed.
19086
f6ce9294
AS
190872011-10-26 Andreas Schwab <schwab@redhat.com>
19088
80479147
AS
19089 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19090 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19091 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19092
f6ce9294
AS
19093 * math/math_private.h (math_force_eval): Allow non-addressable
19094 arguments.
19095 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19096
618280a1
UD
190972011-10-25 Ulrich Drepper <drepper@gmail.com>
19098
e0016b11
UD
19099 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19100 file is not needed.
19101
19102 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19104 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19105 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19106 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19108 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19109 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19110 Add AVX variants.
19111 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19112 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19113 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19114 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19115 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19116 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19117 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19118 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19119 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19120 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19121 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19122 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19123 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19124 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19125 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19126 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19127 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19128 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19129 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19130
19131 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19132 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19133
618280a1
UD
19134 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19135 place. Use VEX encoding when compiling for AVX.
19136
37822576
AS
191372011-10-25 Andreas Schwab <schwab@redhat.com>
19138
1f1e1947
AS
19139 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19140 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19141
37822576
AS
19142 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19143
31ea014d
UD
191442011-10-25 Ulrich Drepper <drepper@gmail.com>
19145
d7826aa1 19146 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19147 useless if() expression.
d7826aa1
UD
19148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19149 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19150 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19153 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19154 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19156 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19157 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19158 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19159 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19160 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19161 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19162 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19163 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19164 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19166 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19167
31ea014d
UD
19168 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19169
16437fec
AS
191702011-10-25 Andreas Schwab <schwab@redhat.com>
19171
19172 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19173 condition.
19174 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19175
31d3cc00
UD
191762011-10-25 Ulrich Drepper <drepper@gmail.com>
19177
19178 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19179 .text section. Avoid duplicate constants.
19180 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19190 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19192 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19195 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19197 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19203 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19204 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19205 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19206 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19207 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19208 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19209 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19210 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19211 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19212 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19213 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19214 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19215 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19216 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19217 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19218 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19219 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19220 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19221 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19222 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19223 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19224 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19225
58985aa9
UD
192262011-10-24 Ulrich Drepper <drepper@gmail.com>
19227
202c9deb
UD
19228 * sysdeps/x86_64/dla.h: Move to ...
19229 * sysdeps/x86_64/fpu/dla.h: ...here.
19230 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19231 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19232
af968f62
UD
19233 * config.make.in: Add have-mfma4 entry.
19234 * configure.in: Substitute libc_cv_cc_fma4.
19235 * math/Makefile (dbl-only-routines): Add sincostab.
19236 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19237 Use __sincostab not sincos.
19238 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19239 name is a macro.
19240 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19244 using __copysign.
19245 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19246 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19247 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19248 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19249 and __inv.
19250 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19251 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19252 __copysign.
19253 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19254 define aliases when function name is a macro.
19255 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19256 sysdeps/ieee754/dbl-64/sincos.tbl.
19257 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19258 fma4-enabled routines.
19259 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19260 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19261 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19262 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19263 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19264 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19265 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19266 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19267 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19268 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19269 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19270 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19271 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19272 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19273 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19274 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19275 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19276 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19277 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19279 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19280 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19281 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19282 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19284 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19285 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19286 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19287 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19288 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19289
58985aa9
UD
19290 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19291 rename.
19292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19300
a201fbcf
AS
193012011-10-24 Andreas Schwab <schwab@redhat.com>
19302
19303 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19304
fc2ee42a
LD
193052011-10-23 Ulrich Drepper <drepper@gmail.com>
19306
bb3129bd
UD
19307 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19308
0275fff8
UD
19309 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19310 prediction.
19311 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19312
2fa2ae85
UD
19313 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19314 Remove unused variable magic_bits.
19315 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19316
fc2ee42a
LD
19317 * string/strnlen.c: Define and use STRNLEN macro.
19318 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19319 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19320 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19321 * wcsmbs/wcslen.c: Define and use WCSLEN.
19322 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19323 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19324 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19325 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19326 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19327 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19328 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19329
ce7dd29f
LD
193302011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19331
19332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19333 strnlen-sse2-no-bsf.
19334 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19335 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19336 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19337 Add strnlen support.
19338 (USE_AS_STRNLEN): New macro.
19339 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19340 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19341 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19342 * sysdeps/x86_64/wcslen.S: New file.
19343
979c70a3
MZ
193442011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19345
19346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19347 XMM-moves are used for copying on small sizes.
19348
2d09f82f
LD
193492011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19350
19351 * wcsmbs/Makefile (strop-tests): Add wcschr.
19352 * wcsmbs/test-wcschr.c: New file.
19353 * string/test-strchr.c: Update.
19354 Add wcschr support.
19355 (WIDE): New macro.
19356
619fccca
LD
193572011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19358
2d09f82f 19359 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19360 * wcsmbs/test-wcslen.c: New file.
19361 * string/test-strlen.c: Update.
19362 Add wcslen support.
19363 (WIDE): New macro.
19364
09f699ea
UD
193652011-10-23 Ulrich Drepper <drepper@gmail.com>
19366
19367 * po/it.po: Update from translation team.
19368
95584d3b
LD
193692011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19370
19371 * sysdeps/x86_64/wcscmp.S: Update.
19372 Fix wrong comparison semantics.
19373 wcscmp shall use signed comparison not unsigned.
19374 Don't use substraction to avoid overflow bug.
19375 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19376 * wcsmbc/wcscmp.c: Likewise.
19377 * string/test-strcmp.c: Likewise.
19378 Add new tests to check cases with negative values.
19379
c8b3296b
UD
193802011-10-23 Ulrich Drepper <drepper@gmail.com>
19381
19382 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19383 * sysdeps/x86_64/dla.h: ...here. New file.
19384 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19393
246ad57a
AS
193942011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19395
19396 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19397 __ynl_finite aliases.
19398
a1a87169
UD
193992011-10-22 Ulrich Drepper <drepper@gmail.com>
19400
0d355eb7
UD
19401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19402
a1a87169
UD
19403 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19404 define DLA_FMA.
19405 [DLA_FMA] (EMULV): Use DLA_FMA.
19406 [DLA_FMA] (MUL12): Use EMULV.
19407 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19408 that are not needed.
19409 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19416
ee2aafe0
AS
194172011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19418
19419 * math/s_nan.c: Undef __nan.
19420 * math/s_nanf.c: Undef __nanf.
19421 * math/s_nanl.c: Undef __nanl.
19422 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19423 "math_private.h".
19424
bc62c2fb
UD
194252011-10-22 Ulrich Drepper <drepper@gmail.com>
19426
77425c63
UD
19427 * math/s_catan.c: Add branch predictions.
19428 * math/s_catanf.c: Likewise.
19429 * math/s_catanh.c: Likewise.
19430 * math/s_catanhf.c: Likewise.
19431 * math/s_catanhl.c: Likewise.
19432 * math/s_catanl.c: Likewise.
19433 * math/s_cexp.c: Likewise.
19434 * math/s_cexpf.c: Likewise.
19435 * math/s_cexpl.c: Likewise.
19436 * math/s_clog.c: Likewise.
19437 * math/s_clog10.c: Likewise.
19438 * math/s_clog10f.c: Likewise.
19439 * math/s_clog10l.c: Likewise.
19440 * math/s_clogf.c: Likewise.
19441 * math/s_clogl.c: Likewise.
19442 * math/s_csqrt.c: Likewise.
19443 * math/s_csqrtf.c: Likewise.
19444 * math/s_csqrtl.c: Likewise.
19445 * math/s_ctanf.c: Likewise.
19446 * math/s_ctanh.c: Likewise.
19447 * math/s_ctanhf.c: Likewise.
19448 * math/s_ctanhl.c: Likewise.
19449 * math/s_ctanl.c: Likewise.
19450
bc62c2fb
UD
19451 * math/math_private.h: Define __nan, __nanf, __nanl.
19452 * math/s_cacosh.c: Include <math_private.h>.
19453 * math/s_cacoshl.c: Likewise.
19454 * math/s_casinh.c: Likewise.
19455 * math/s_casinhf.c: Likewise.
19456 * math/s_casinhl.c: Likewise.
19457 * math/s_ccos.c: Rely entire on ccosh.
19458 * math/s_ccosf.c: Rely entire on ccoshf.
19459 * math/s_ccosl.c: Rely entirely on ccoshl.
19460 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19461 Remove tests for FE_INVALID.
19462 * math/s_ccoshf.c: Likewise.
19463 * math/s_ccoshl.c: Likewise.
19464 * math/s_csin.c: Likewise.
19465 * math/s_csinf.c: Likewise.
19466 * math/s_csinh.c Likewise.
19467 * math/s_csinhf.c: Likewise.
19468 * math/s_csinhl.c: Likewise.
19469 * math/s_csinl.c: Likewise.
19470 * math/s_ctan.c: Likewise.
19471 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19472 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19473 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19474
8ec250a4
UD
194752011-10-21 Ulrich Drepper <drepper@gmail.com>
19476
c196fed8
UD
19477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19478 compilation problems.
19479
8ec250a4
UD
19480 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19481 __builtin_expect.
19482
8d4f46c6
UD
194832011-10-20 Ulrich Drepper <drepper@gmail.com>
19484
ed72b654
UD
19485 * sysdeps/i386/configure.in: Test for -mfma4 option.
19486 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19487 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19488 COMMON_CPUID_INDEX_80000001.
19489 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19490 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19491 use it if FMA3 is not supported.
19492 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19493
8d4f46c6
UD
19494 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19495 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19496
d45c60c2
AS
194972011-10-20 Andreas Schwab <schwab@redhat.com>
19498
19499 [BZ #12892]
19500 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19501 it would create a cycle with a link time dependency.
19502
d9a4d2ab
UD
195032011-10-19 Ulrich Drepper <drepper@gmail.com>
19504
855d1560
UD
19505 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19506 instruction.
19507 * string/Makefile (strop-tests): Add rawmemchr.
19508 * string/test-rawmemchr.c: New file.
19509
d9a4d2ab
UD
19510 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19511 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19512 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19513 when compiling str{,n}casecmp and when AVX is available. Hook up
19514 new optimized code in initializers.
19515
8f3b1ffe
AS
195162011-10-19 Andreas Schwab <schwab@redhat.com>
19517
19518 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19519 __feraiseexcept instead of feraiseexcept.
19520
d38f1dba
UD
195212011-10-18 Ulrich Drepper <drepper@gmail.com>
19522
d9a8d0ab
UD
19523 * math/math_private.h: Define defaults for libc_fetestexcept and
19524 libc_feupdateenv.
19525 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19526 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19527 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19528 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19529 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19530 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19531 libc_fetestexcept and libc_feupdateenv.
19532
4855e3dd
UD
19533 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19534 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19535 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19536 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19537 libc_feholdexcept_setround.
19538
581d30e3
UD
19539 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19540 Add s_nearbyint-c and s_nearbyintf-c.
19541 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19542 nearbyintf inlines.
19543 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19544 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19545 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19546 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19547
d38f1dba
UD
19548 * math/math_private.h: Define defaults for libc_fegetround,
19549 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19550 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19551 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19552 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19553 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19554 standard functions.
19555 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19556 Remove comments and hacks for old compiler versions.
19557 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19558 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19559 libc_feholdexceptl.
19560
caa6c9d8
AS
195612011-10-18 Andreas Schwab <schwab@redhat.com>
19562
19563 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19564 (__feraiseexcept_renamed): Add __NTH.
19565 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19566 namespace violations.
19567
97c066e6
UD
195682011-10-17 Ulrich Drepper <drepper@gmail.com>
19569
99ce7b04
UD
19570 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19571
1004d182
UD
19572 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19573
228a984d
UD
19574 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19575 recently added interfaces.
19576 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19577
c8553a6a
UD
19578 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19579 about macro parameter expansion.
19580
ed22dcf6
UD
19581 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19582 __NO_MATH_INLINES is defined. Cleanups.
19583
19584 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19585 and __floorf is target has SSE4.1.
19586 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19587 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19588 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19589 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19590
b171c137
UD
19591 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19592 name.
19593 (floorf): Likewise.
19594
97c066e6
UD
19595 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19596
629f62ef
AS
195972011-10-17 Andreas Schwab <schwab@redhat.com>
19598
49a43d80
AS
19599 * misc/sys/cdefs.h: Fix last change.
19600
629f62ef
AS
19601 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19602 database lookup.
19603
e453f6cd
UD
196042011-10-16 Ulrich Drepper <drepper@gmail.com>
19605
aa78043a
UD
19606 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19607
ad0f5cad
UD
19608 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19609 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19614 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19615 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19616 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19617 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19618 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19619 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19620 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19621 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19622 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19623 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19624 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19625 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19626 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19627 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19628 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19629 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19630
19631 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19632 ceil, ceilf, floor, floorf.
19633
19634 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19635 Perform IRELATIVE relocations last.
19636
e453f6cd
UD
19637 * elf/do-rel.h: Add another parameter nrelative, replacing the
19638 local variable with the same name. Change name of the function
19639 to end in Rel or Rela (uppercase).
19640 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19641 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19642 elf_dynamic_do_##reloc function.
19643
fd5bdc09
UD
196442011-10-15 Ulrich Drepper <drepper@gmail.com>
19645
79b195b5
UD
19646 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19647 is sufficient, at least on modern CPUs.
19648
d4a28569
UD
19649 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19650
b61099b5
UD
19651 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19652 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19653
bcf01e6d
UD
19654 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19655 __expl_finite.
19656 * math/bits/math-finite.h: Add entries for exp.
19657 * math/e_expl.c: Add __*_finite alias.
19658 * sysdeps/i386/fpu/e_exp.S: Likewise.
19659 * sysdeps/i386/fpu/e_expf.S: Likewise.
19660 * sysdeps/i386/fpu/e_expl.c: Likewise.
19661 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19662 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19663 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19665 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19666 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19667 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19668
ba1a0d59
UD
19669 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19670 is sufficient, at least on modern CPUs.
19671
fd5bdc09
UD
19672 * ctype/ctype-info.c (__ctype_init): Define.
19673 * include/ctype.h (__ctype_init): Declare.
19674 (__ctype_b_loc): The variable is always initialized.
19675 (__ctype_toupper_loc): Likewise.
19676 (__ctype_tolower_loc): Likewise.
19677 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19678 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19679
7872cfb0
AS
196802011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19681
b468825a
AS
19682 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19683
7872cfb0
AS
19684 * configure.in: Also look in $cxxmachine/include for C++ system
19685 headers.
19686
be13f7bf
LD
196872011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19688
19689 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19690 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19691 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19692 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19693 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19694 (USE_AS_WMEMCMP): New macro.
19695 Fixing indents.
19696 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19697 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19698 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19699 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19701 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19702 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19703 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19704 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19705 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19706 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19707 (USE_AS_WMEMCMP): New macro.
19708 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19709 * sysdeps/string/test-memcmp.c: Update.
19710 Fix simple_wmemcmp.
19711 Add new tests.
19712 * wcsmbs/wmemcmp.c: Update.
19713 (WMEMCMP): New macro.
19714 Fix overflow bug.
19715
556a2007
AJ
197162011-10-12 Andreas Jaeger <aj@suse.de>
19717
19718 [BZ #13268]
19719 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19720
538faaa7
UD
197212011-10-15 Ulrich Drepper <drepper@gmail.com>
19722
ab6737ff
UD
19723 * libio/iofwide.c (do_length): Avoid warning.
19724
538faaa7
UD
19725 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19726
396a21b1
UD
197272011-10-14 Ulrich Drepper <drepper@gmail.com>
19728
cdf2901f
UD
19729 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19730
38ad40ce
UD
19731 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19732 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19733 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19734 * sysdeps/i386/i686/fpu/e_log.S: New file.
19735 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19736 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19737
396a21b1
UD
19738 * ctype/ctype.h: Add support for inlined isXXX functions when
19739 compiling C++ code.
19740
6b1f68c9
AS
197412011-10-14 Andreas Schwab <schwab@redhat.com>
19742
349290c0
AS
19743 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19744
6b1f68c9
AS
19745 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19746
f2282d42
RM
197472011-10-13 Roland McGrath <roland@hack.frob.com>
19748
19749 [BZ #13291]
19750 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19751
5298ffa8
AS
197522011-10-13 Andreas Schwab <schwab@redhat.com>
19753
714fad23
AS
19754 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19755 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19756 feraiseexcept.
19757
81dcc7fb
AS
19758 * sysdeps/x86_64/memrchr.S: Check for zero size.
19759
5298ffa8
AS
19760 * string/stratcliff.c: Add memrchr tests.
19761
951fbcec
LD
197622011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19763
19764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19765 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19766 rawmemchr-sse2 rawmemchr-sse2-bsf.
19767 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19768 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19769 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19770 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19771 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19772 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19773 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19774 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19775 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19776 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19777 * string/memrchr.c (MEMRCHR): New macro.
19778
0ac5ae23
UD
197792011-10-12 Ulrich Drepper <drepper@gmail.com>
19780
19781 Add integration with gcc's -ffinite-math-only and optimize wrapper
19782 functions in libm.
19783 * Versions.def: Define GLIBC_2.15 version for libm.
19784 * math/Makefile (headers): Add bits/math-finite.h.
19785 * math/bits/math-finite.h: New file.
19786 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19787 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19788 * math/e_acoshl.c: Add __*_finite alias.
19789 * math/e_acosl.c: Likewise.
19790 * math/e_asinl.c: Likewise.
19791 * math/e_atan2l.c: Likewise.
19792 * math/e_atanhl.c: Likewise.
19793 * math/e_coshl.c: Likewise.
19794 * math/e_exp10.c: Likewise.
19795 * math/e_exp10f.c: Likewise.
19796 * math/e_exp10l.c: Likewise.
19797 * math/e_exp2l.c: Likewise.
19798 * math/e_fmodl.c: Likewise.
19799 * math/e_gammal_r.c: Likewise.
19800 * math/e_hypotl.c: Likewise.
19801 * math/e_j0l.c: Likewise.
19802 * math/e_j1l.c: Likewise.
19803 * math/e_jnl.c: Likewise.
19804 * math/e_lgammal_r.c: Likewise.
19805 * math/e_log10l.c: Likewise.
19806 * math/e_log2l.c: Likewise.
19807 * math/e_logl.c: Likewise.
19808 * math/e_powl.c: Likewise.
19809 * math/e_sinhl.c: Likewise.
19810 * math/e_sqrtl.c: Likewise.
19811 * math/e_scalb.c: Completely rewritten and optimized.
19812 * math/e_scalbf.c: Likewise.
19813 * math/e_scalbl.c: Likewise.
19814 * math/w_acos.c: Likewise.
19815 * math/w_acosf.c: Likewise.
19816 * math/w_acosl.c: Likewise.
19817 * math/w_acosh.c: Likewise.
19818 * math/w_acoshf.c: Likewise.
19819 * math/w_acoshl.c: Likewise.
19820 * math/w_asin.c: Likewise.
19821 * math/w_asinf.c: Likewise.
19822 * math/w_asinl.c: Likewise.
19823 * math/w_atan2.c: Likewise.
19824 * math/w_atan2f.c: Likewise.
19825 * math/w_atan2l.c: Likewise.
19826 * math/w_atanh.c: Likewise.
19827 * math/w_atanhf.c: Likewise.
19828 * math/w_atanhl.c: Likewise.
19829 * math/w_exp10.c: Likewise.
19830 * math/w_exp10f.c: Likewise.
19831 * math/w_exp10l.c: Likewise.
19832 * math/w_fmod.c: Likewise.
19833 * math/w_fmodf.c: Likewise.
19834 * math/w_fmodl.c: Likewise.
19835 * math/w_j0.c: Likewise.
19836 * math/w_j0f.c: Likewise.
19837 * math/w_j0l.c: Likewise.
19838 * math/w_j1.c: Likewise.
19839 * math/w_j1f.c: Likewise.
19840 * math/w_j1l.c: Likewise.
19841 * math/w_jn.c: Likewise.
19842 * math/w_jnf.c: Likewise.
19843 * math/w_log.c: Likewise.
19844 * math/w_logf.c: Likewise.
19845 * math/w_logl.c: Likewise.
19846 * math/w_log10.c: Likewise.
19847 * math/w_log10f.c: Likewise.
19848 * math/w_log10l.c: Likewise.
19849 * math/w_log2.c: Likewise.
19850 * math/w_log2f.c: Likewise.
19851 * math/w_log2l.c: Likewise.
19852 * math/w_pow.c: Likewise.
19853 * math/w_powf.c: Likewise.
19854 * math/w_powl.c: Likewise.
19855 * math/w_remainder.c: Likewise.
19856 * math/w_remainderf.c: Likewise.
19857 * math/w_remainderl.c: Likewise.
19858 * math/w_scalb.c: Likewise.
19859 * math/w_scalbf.c: Likewise.
19860 * math/w_scalbl.c: Likewise.
19861 * math/w_sqrt.c: Likewise.
19862 * math/w_sqrtf.c: Likewise.
19863 * math/w_sqrtl.c: Likewise.
19864 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19865 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19866 used.
19867 * math/math_private.h: Declare __kernel_standard_f.
19868 * math/w_cosh.c: Remove cruft and optimize a bit.
19869 * math/w_coshf.c: Likewise.
19870 * math/w_coshl.c: Likewise.
19871 * math/w_exp2.c: Likewise.
19872 * math/w_exp2f.c: Likewise.
19873 * math/w_exp2l.c: Likewise.
19874 * math/w_hypot.c: Likewise.
19875 * math/w_hypotf.c: Likewise.
19876 * math/w_hypotl.c: Likewise.
19877 * math/w_lgamma.c: Likewise.
19878 * math/w_lgamma_r.c: Likewise.
19879 * math/w_lgammaf.c: Likewise.
19880 * math/w_lgammaf_r.c: Likewise.
19881 * math/w_lgammal.c: Likewise.
19882 * math/w_lgammal_r.c: Likewise.
19883 * math/w_sinh.c: Likewise.
19884 * math/w_sinhf.c: Likewise.
19885 * math/w_sinhl.c: Likewise.
19886 * math/w_tgamma.c: Likewise.
19887 * math/w_tgammaf.c: Likewise.
19888 * math/w_tgammal.c: Likewise.
19889 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19890 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19891 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19892 Minor optimizations. Pretty printing. Remove cruft.
19893 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19894 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19895 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19896 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19897 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19898 * sysdeps/i386/fpu/e_asin.S: Likewise.
19899 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19900 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19901 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19902 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19903 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19904 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19905 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19906 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19907 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19908 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19909 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19910 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19911 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19912 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19913 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19914 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19915 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19916 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19917 * sysdeps/i386/fpu/e_log.S: Likewise.
19918 * sysdeps/i386/fpu/e_log10.S: Likewise.
19919 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19920 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19921 * sysdeps/i386/fpu/e_log2.S: Likewise.
19922 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19923 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19924 * sysdeps/i386/fpu/e_logf.S: Likewise.
19925 * sysdeps/i386/fpu/e_logl.S: Likewise.
19926 * sysdeps/i386/fpu/e_pow.S: Likewise.
19927 * sysdeps/i386/fpu/e_powf.S: Likewise.
19928 * sysdeps/i386/fpu/e_powl.S: Likewise.
19929 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19930 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19931 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19932 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19933 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19934 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19935 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19936 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19937 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19941 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19942 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19943 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19944 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19945 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19946 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19959 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19960 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19961 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19962 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19963 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19964 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19965 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19966 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19967 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19969 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19970 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19971 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19972 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19973 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19974 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19975 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19976 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19977 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19978 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19979 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19980 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19981 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19982 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19983 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19984 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19985 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19986 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19987 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19988 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19989 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19990 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19994 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19995 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19998 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19999 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20000 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20002 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20003 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20005 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20006 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20007 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20013 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20014 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20015 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20016 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20018 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20019 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20020 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20021 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20022 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20023 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20024 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20025 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20027 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20028 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20029 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20030 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20031 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20032 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20033 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20034 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20035 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20036 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20037 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20038 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20039 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20040 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20041 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20042 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20043 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20044 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20045 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20046 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20047 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20048 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20049 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20050 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20051 (__isnanf): Likewise.
20052 (__isinf_ns): Likewise.
20053 (__isinf_nsf): Likewise.
20054 (__finite): Likewise.
20055 (__finitef): Likewise.
20056 (__ieee754_sqrt): Define as macro.
20057 (__ieee754_sqrtf): Define as macro.
20058 (__ieee754_sqrtl): Define as macro.
20059 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20060 inlined copy.
20061 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20062 __FINITE_MATH_ONLY__ consistent.
20063 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20064
12cc2fcd
AS
200652011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20066
a843a204
AS
20067 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20068 of rawmemchr.
20069
12cc2fcd
AS
20070 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20071
c853acd5
UD
200722011-10-09 Ulrich Drepper <drepper@gmail.com>
20073
20074 * po/ja.po: Update from translation team.
20075
c658d255
RM
200762011-10-08 Roland McGrath <roland@hack.frob.com>
20077
110946e4
RM
20078 * locale/programs/locarchive.c (prepare_address_space): New function.
20079 (create_archive, enlarge_archive, open_archive): Use it.
20080
50604220
RM
20081 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20082 inside [SHARED], where it is used.
20083
c658d255
RM
20084 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20085
20086 * nss/getent.c (netgroup_keys): Remove unused variable.
20087 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20088
6a621eb7
UD
200892011-10-08 Ulrich Drepper <drepper@gmail.com>
20090
7edb55ce
UD
20091 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20092 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20093 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20094 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20095 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20096 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20097 * math/Makefile (libm-calls): Add s_isinf_ns.
20098 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20099 * math/multc3.c: Likewise.
20100 * math/s_casin.c: Likewise.
20101 * math/s_casinf.c: Likewise.
20102 * math/s_casinl.c: Likewise.
20103 * math/s_ccos.c: Likewise.
20104 * math/s_ccosf.c: Likewise.
20105 * math/s_ccosl.c: Likewise.
20106 * math/s_ctan.c: Likewise.
20107 * math/s_ctanf.c: Likewise.
20108 * math/s_ctanh.c: Likewise.
20109 * math/s_ctanhf.c: Likewise.
20110 * math/s_ctanhl.c: Likewise.
20111 * math/s_ctanl.c: Likewise.
20112 * math/w_fmod.c: Likewise.
20113 * math/w_fmodf.c: Likewise.
20114 * math/w_fmodl.c: Likewise.
20115 * math/w_remainder.c: Likewise.
20116 * math/w_remainderf.c: Likewise.
20117 * math/w_remainderl.c: Likewise.
20118 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20119 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20120 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20121 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20122 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20123 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20124 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20125 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20126
187da0ae
UD
20127 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20128 of the number.
20129 * stdio-common/printf_fphex.c: Likewise.
20130 * stdio-common/printf_size.c: Likewise.
20131
9277c064
UD
20132 * math/e_exp10.c: Include math_private.h using <...> not "...".
20133 * math/e_exp10f.c: Likewise.
20134 * math/e_exp10l.c: Likewise.
20135 * math/e_exp2l.c: Likewise.
20136 * math/e_j0l.c: Likewise.
20137 * math/e_j1l.c: Likewise.
20138 * math/e_jnl.c: Likewise.
20139 * math/e_lgammal_r.c: Likewise.
20140 * math/e_rem_pio2l.c: Likewise.
20141 * math/e_scalb.c: Likewise.
20142 * math/e_scalbf.c: Likewise.
20143 * math/e_scalbl.c: Likewise.
20144 * math/k_cosl.c: Likewise.
20145 * math/k_sinl.c: Likewise.
20146 * math/k_tanl.c: Likewise.
20147 * math/s_cacoshf.c: Likewise.
20148 * math/s_catan.c: Likewise.
20149 * math/s_catanf.c: Likewise.
20150 * math/s_catanh.c: Likewise.
20151 * math/s_catanhf.c: Likewise.
20152 * math/s_catanhl.c: Likewise.
20153 * math/s_catanl.c: Likewise.
20154 * math/s_ccosh.c: Likewise.
20155 * math/s_ccoshf.c: Likewise.
20156 * math/s_ccoshl.c: Likewise.
20157 * math/s_cexp.c: Likewise.
20158 * math/s_cexpf.c: Likewise.
20159 * math/s_cexpl.c: Likewise.
20160 * math/s_clog.c: Likewise.
20161 * math/s_clog10.c: Likewise.
20162 * math/s_clog10f.c: Likewise.
20163 * math/s_clog10l.c: Likewise.
20164 * math/s_clogf.c: Likewise.
20165 * math/s_clogl.c: Likewise.
20166 * math/s_csin.c: Likewise.
20167 * math/s_csinf.c: Likewise.
20168 * math/s_csinh.c: Likewise.
20169 * math/s_csinhf.c: Likewise.
20170 * math/s_csinhl.c: Likewise.
20171 * math/s_csinl.c: Likewise.
20172 * math/s_csqrt.c: Likewise.
20173 * math/s_csqrtf.c: Likewise.
20174 * math/s_csqrtl.c: Likewise.
20175 * math/s_ctan.c: Likewise.
20176 * math/s_ctanf.c: Likewise.
20177 * math/s_ctanh.c: Likewise.
20178 * math/s_ctanhf.c: Likewise.
20179 * math/s_ctanhl.c: Likewise.
20180 * math/s_ctanl.c: Likewise.
20181 * math/s_ldexp.c: Likewise.
20182 * math/s_ldexpf.c: Likewise.
20183 * math/s_ldexpl.c: Likewise.
20184 * math/s_significand.c: Likewise.
20185 * math/s_significandf.c: Likewise.
20186 * math/s_significandl.c: Likewise.
20187 * math/w_acos.c: Likewise.
20188 * math/w_acosf.c: Likewise.
20189 * math/w_acosh.c: Likewise.
20190 * math/w_acoshf.c: Likewise.
20191 * math/w_acoshl.c: Likewise.
20192 * math/w_acosl.c: Likewise.
20193 * math/w_asin.c: Likewise.
20194 * math/w_asinf.c: Likewise.
20195 * math/w_asinl.c: Likewise.
20196 * math/w_atan2.c: Likewise.
20197 * math/w_atan2f.c: Likewise.
20198 * math/w_atan2l.c: Likewise.
20199 * math/w_atanh.c: Likewise.
20200 * math/w_atanhf.c: Likewise.
20201 * math/w_atanhl.c: Likewise.
20202 * math/w_cosh.c: Likewise.
20203 * math/w_coshf.c: Likewise.
20204 * math/w_coshl.c: Likewise.
20205 * math/w_dremf.c: Likewise.
20206 * math/w_exp10.c: Likewise.
20207 * math/w_exp10f.c: Likewise.
20208 * math/w_exp10l.c: Likewise.
20209 * math/w_exp2.c: Likewise.
20210 * math/w_exp2f.c: Likewise.
20211 * math/w_fmod.c: Likewise.
20212 * math/w_fmodf.c: Likewise.
20213 * math/w_fmodl.c: Likewise.
20214 * math/w_hypot.c: Likewise.
20215 * math/w_hypotf.c: Likewise.
20216 * math/w_hypotl.c: Likewise.
20217 * math/w_j0.c: Likewise.
20218 * math/w_j0f.c: Likewise.
20219 * math/w_j0l.c: Likewise.
20220 * math/w_j1.c: Likewise.
20221 * math/w_j1f.c: Likewise.
20222 * math/w_j1l.c: Likewise.
20223 * math/w_jn.c: Likewise.
20224 * math/w_jnf.c: Likewise.
20225 * math/w_jnl.c: Likewise.
20226 * math/w_lgamma.c: Likewise.
20227 * math/w_lgamma_r.c: Likewise.
20228 * math/w_lgammaf.c: Likewise.
20229 * math/w_lgammaf_r.c: Likewise.
20230 * math/w_lgammal.c: Likewise.
20231 * math/w_lgammal_r.c: Likewise.
20232 * math/w_log.c: Likewise.
20233 * math/w_log10.c: Likewise.
20234 * math/w_log10f.c: Likewise.
20235 * math/w_log10l.c: Likewise.
20236 * math/w_log2.c: Likewise.
20237 * math/w_log2f.c: Likewise.
20238 * math/w_log2l.c: Likewise.
20239 * math/w_logf.c: Likewise.
20240 * math/w_logl.c: Likewise.
20241 * math/w_pow.c: Likewise.
20242 * math/w_powf.c: Likewise.
20243 * math/w_powl.c: Likewise.
20244 * math/w_remainder.c: Likewise.
20245 * math/w_remainderf.c: Likewise.
20246 * math/w_remainderl.c: Likewise.
20247 * math/w_scalb.c: Likewise.
20248 * math/w_scalbf.c: Likewise.
20249 * math/w_scalbl.c: Likewise.
20250 * math/w_sinh.c: Likewise.
20251 * math/w_sinhf.c: Likewise.
20252 * math/w_sinhl.c: Likewise.
20253 * math/w_sqrt.c: Likewise.
20254 * math/w_sqrtf.c: Likewise.
20255 * math/w_sqrtl.c: Likewise.
20256 * math/w_tgamma.c: Likewise.
20257 * math/w_tgammaf.c: Likewise.
20258 * math/w_tgammal.c: Likewise.
20259
6a621eb7
UD
20260 * po/ja.po: Update from translation team.
20261
bf582445
AJ
202622011-09-29 Andreas Jaeger <aj@suse.de>
20263
f9efbf3a
AJ
20264 [BZ #13179]
20265 * sunrpc/netname.c (netname2host): Fix logic.
20266
bf582445
AJ
20267 [BZ #6779]
20268 [BZ #6783]
20269 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20270 correctly.
20271 * math/w_remainder.c (__remainder): Likewise.
20272 * math/w_remainderf.c (__remainderf): Likewise.
20273 * math/libm-test.inc (remainder_test): Add test cases.
20274
48693bea
AK
202752011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20276
20277 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20278 sdiv_qrnnd.
20279
42622229
LD
202802011-10-07 Ulrich Drepper <drepper@gmail.com>
20281
20282 * string/test-memcmp.c: Avoid unncessary #defines.
20283 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20284
093ecf92
LD
202852011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20286
20287 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20288 Use new sse2 version for core i3 - i7 as it's faster
20289 than sse42 version.
20290 (bit_Prefer_PMINUB_for_stringop): New.
20291 * sysdeps/x86_64/rawmemchr.S: Update.
20292 Replace with faster SSE2 version.
20293 * sysdeps/x86_64/memrchr.S: New file.
20294 * sysdeps/x86_64/memchr.S: Update.
20295 Replace with faster SSE2 version.
20296
fde56e5c
MP
202972011-09-12 Marek Polacek <mpolacek@redhat.com>
20298
20299 * elf/dl-load.c (lose): Add cast to avoid warning.
20300
21fd49a9
UD
203012011-10-07 Ulrich Drepper <drepper@gmail.com>
20302
5a06e643
UD
20303 * po/ca.po: Update from translation team.
20304
684ae515
UD
20305 * inet/getnetgrent_r.c: Hook up nscd.
20306 * nscd/Makefile (routines): Add nscd_netgroup.
20307 (nscd-modules): Add netgroupcache.
20308 (CFLAGS-netgroupcache.c): Define.
20309 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20310 (cache_search): Add const to second parameter.
20311 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20312 INNETGR.
20313 (dbs): Add netgrdb entry.
20314 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20315 (verify_persistent_db): Handle netgrdb.
20316 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20317 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20318 GETFDNETGR.
20319 (netgroup_response_header): Define.
20320 (innetgroup_response_header): Define.
20321 (datahead): Add netgroup_response_header and innetgroup_response_header
20322 elements.
20323 * nscd/nscd.conf: Add entries for netgroup cache.
20324 * nscd/nscd.h (dbtype): Add netgrdb.
20325 (_PATH_NSCD_NETGROUP_DB): Define.
20326 (netgroup_iov_disabled): Declare.
20327 (xmalloc, xcalloc, xrealloc): Move declarations here.
20328 (cache_search): Adjust prototype.
20329 Add netgroup-related prototypes.
20330 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20331 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20332 (__nscd_innetgr): Declare.
20333 * nscd/selinux.c (perms): Use access_vector_t as element type and
20334 add netgroup-related initializers.
20335 * nscd/netgroupcache.c: New file.
20336 * nscd/nscd_netgroup.c: New file.
20337 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20338 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20339 For four parameters use innetgr.
20340 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20341 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20342 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20343 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20344
21fd49a9
UD
20345 * nscd/connections.c (register_traced_file): Don't register file
20346 for disabled databases.
20347
054c0457
UD
203482011-10-06 Ulrich Drepper <drepper@gmail.com>
20349
32b63198
UD
20350 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20351
054c0457
UD
20352 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20353 from tree and freeing node.
20354
64031225
JO
203552011-09-25 Jiri Olsa <jolsa@redhat.com>
20356
20357 * nss/nsswitch.c (__nss_database_lookup): Handle
20358 nss_parse_service_list out of memory case.
20359
0490345c
JO
203602011-09-15 Jiri Olsa <jolsa@redhat.com>
20361
20362 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20363 out of memory case.
20364
3a62d00d
AS
203652011-10-04 Andreas Schwab <schwab@redhat.com>
20366
20367 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20368 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20369 pass it down.
20370 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20371 elf_machine_rela, elf_machine_lazy_rel.
20372 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20373 (ELF_DYNAMIC_DO_REL): Likewise.
20374 (ELF_DYNAMIC_DO_RELA): Likewise.
20375 (ELF_DYNAMIC_RELOCATE): Likewise.
20376 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20377 to ELF_DYNAMIC_DO_REL.
20378 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20379 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20380 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20381 elf_machine_rela.
20382 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20383 skip_ifunc, don't call ifunc function if non-zero.
20384 (elf_machine_rela): Likewise.
20385 (elf_machine_lazy_rel): Likewise.
20386 (elf_machine_lazy_rela): Likewise.
20387 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20388 (elf_machine_lazy_rel): Likewise.
20389 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20390 Likewise.
20391 (elf_machine_lazy_rel): Likewise.
20392 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20393 Likewise.
20394 (elf_machine_lazy_rel): Likewise.
20395 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20396 (elf_machine_lazy_rel): Likewise.
20397 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20398 (elf_machine_lazy_rel): Likewise.
20399 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20400 (elf_machine_lazy_rel): Likewise.
20401 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20402 (elf_machine_lazy_rel): Likewise.
20403 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20404 (elf_machine_lazy_rel): Likewise.
20405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20406 (elf_machine_lazy_rel): Likewise.
20407
68577918
UD
204082011-09-28 Ulrich Drepper <drepper@gmail.com>
20409
20410 * nss/nss_files/files-init.c (_nss_files_init): Use static
20411 initialization for all the *_traced_file variables.
20412
68822d74
AS
204132011-09-28 Andreas Schwab <schwab@redhat.com>
20414
20415 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20416
2056100b
RM
204172011-09-27 Roland McGrath <roland@hack.frob.com>
20418
20419 [BZ #13226]
20420 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20421
32c76b63
AS
204222011-09-27 Andreas Schwab <schwab@redhat.com>
20423
20424 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20425 Reread the line before reparsing it.
20426
bf972c9d
AS
204272011-09-26 Andreas Schwab <schwab@redhat.com>
20428
20429 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20430
e057a1b5
JM
204312011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20432 Maxim Kuvyrkov <maxim@codesourcery.com>
20433 Joseph Myers <joseph@codesourcery.com>
20434
20435 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20436 if needed for __stack_chk_guard.
20437
bc7e1c36
RM
204382011-09-19 Roland McGrath <roland@hack.frob.com>
20439
ecb1482f
RM
20440 * sysdeps/posix/spawni.c (script_execute): Always define it.
20441 It will be optimized away if unused.
20442 (maybe_script_execute): New function.
20443 (__spawni): Call it.
20444
bc7e1c36
RM
20445 * Makerules: Don't include tls.make.
20446 (config-tls): Always set to thread.
20447 * tls.make.c: File removed.
20448
1c3b002b
MF
204492011-09-19 Mike Frysinger <vapier@gentoo.org>
20450
20451 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20452 * config.make.in (CPPFLAGS-config): New substituted variable.
20453
2840865d
UD
204542011-09-15 Ulrich Drepper <drepper@gmail.com>
20455
88738eb6
UD
20456 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20457
cbf645a6 20458 [BZ #13192]
2840865d
UD
20459 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20460 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20461
b402e91a
RM
204622011-09-15 Roland McGrath <roland@hack.frob.com>
20463
20464 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20465 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20467 (CALL_FAIL): Likewise.
20468 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20469 (CALL_FAIL): Macro removed.
20470 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20471
4c1a1f71
UD
204722011-09-15 Ulrich Drepper <drepper@gmail.com>
20473
20474 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20475 for __FINITE_MATH_ONLY__ == 1.
20476
edc121be
AS
204772011-09-15 Andreas Schwab <schwab@redhat.com>
20478
20479 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20480 __ieee754_sqrt instead of sqrt.
20481 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20482 __ieee754_sqrtf instead of sqrtf.
20483 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20484 __floorf instead of floorf.
20485 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20486 __floorf, __truncf instead of floorf, truncf.
20487
cd205654
UD
204882011-09-14 Ulrich Drepper <drepper@gmail.com>
20489
ee4d0315
UD
20490 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20491
cd205654
UD
20492 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20493 __extern_always_inline.
20494 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20495 32-bit.
20496
48b67d71
AS
204972011-09-14 Andreas Schwab <schwab@redhat.com>
20498
20499 * elf/rtld.c (dl_main): Also relocate in dependency order when
20500 doing symbol dependency testing.
20501
1ae12c75
AS
205022011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20503
20504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20505 Always define `refsym'.
20506
995a80df
AS
205072011-09-13 Andreas Schwab <schwab@redhat.com>
20508
e529793b
AS
20509 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20510 (__FD_ELT): Renamed from __FDELT.
20511 * misc/bits/select2.h (__FD_ELT): Likewise.
20512 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20513 __FD_MASK instead of __FDELT, __FDMASK.
20514 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20515 Likewise.
20516 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20517 Likewise.
20518
52d4fef8
AS
20519 * elf/Makefile (gen-ldd): Fix pattern.
20520
995a80df
AS
20521 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20522 (init_tls): Likewise.
20523
8682f8b0
UD
205242011-09-12 Ulrich Drepper <drepper@gmail.com>
20525
20526 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20527
de82006d
AS
205282011-09-12 Andreas Schwab <schwab@redhat.com>
20529
a7c8e6a1
AS
20530 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20531 `struct cmsghdr *' instead of `void *'.
20532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20533 Likewise.
20534
0f31fe77
AS
205352011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20536
20537 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20538 if non-absolute.
20539 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20540 ldd_rewrite_script.
0f31fe77 20541
32b4c839
UD
205422011-09-11 Ulrich Drepper <drepper@gmail.com>
20543
83cd1420
UD
20544 * configure.in: Remove --with-tls option.
20545 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20546 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20547 out in case it is missing.
20548 * sysdeps/ia64/elf/configure.in: Likewise.
20549 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20550 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20551 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20552 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20553 * sysdeps/sh/elf/configure.in: Likewise.
20554 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20555 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20556 * sysdeps/x86_64/elf/configure.in: Likewise.
20557 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20558 * sysdeps/mach/hurd/tls.h: Likewise.
20559
633f745d
UD
20560 [BZ #13067]
20561 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20562
f318beb8
UD
20563 [BZ #13090]
20564 * configure.in: Fix use of AC_INIT.
20565
32b4c839
UD
20566 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20567
3ce1f295
UD
205682011-09-10 Ulrich Drepper <drepper@gmail.com>
20569
bb016596
UD
20570 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20571 __set_errno.
8e58439c
UD
20572 * malloc/hooks.c: Likewise.
20573
aebae053 20574 [BZ #11929]
02d46fc4
UD
20575 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20576 variables statically.
20577 (narenas): Initialize.
20578 (list_lock): Initialize.
bb016596
UD
20579 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20580 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20581 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20582 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20583 Add initializers to main_arena and mp_.
20584 (malloc_state): Remove pagesize member. Change all users to use
20585 GLRO(dl_pagesize).
20586
20587 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20588 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20589 is always initialized.
20590
22a89187
UD
20591 * malloc/malloc.c: Removed unused configurations and dead code.
20592 * malloc/arena.c: Likewise.
20593 * malloc/hooks.c: Likewise.
02d46fc4 20594 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20595
d063d164
UD
20596 * include/tls.h: Removed. USE___THREAD must always be defined.
20597 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20598 * elf/dl-libc.c: Likewise.
20599 * elf/dl-tsd.c: Likewise.
20600 * include/errno.h: Likewise.
20601 * include/netdb.h: Likewise.
20602 * include/resolv.h: Likewise.
20603 * inet/herrno-loc.c: Likewise.
20604 * inet/herrno.c: Likewise.
20605 * malloc/arena.c: Likewise.
20606 * malloc/hooks.c: Likewise.
20607 * malloc/malloc.c: Likewise.
20608 * resolv/res-state.c: Likewise.
20609 * resolv/res_libc.c: Likewise.
20610 * sysdeps/i386/dl-machine.h: Likewise.
20611 * sysdeps/ia64/dl-machine.h: Likewise.
20612 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20613 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20614 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20615 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20616 * sysdeps/sh/dl-machine.h: Likewise.
20617 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20618 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20619 * sysdeps/unix/i386/sysdep.S: Likewise.
20620 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20621 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20623 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20624 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20625 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20626 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20629 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20630 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20631 * sysdeps/x86_64/dl-machine.h: Likewise.
20632 * tls.make.c: Likewise.
20633
3ce1f295
UD
20634 * configure.in: Remove --with-__thread option. Make tests for
20635 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20636 tls_model attribute fail if no support is available. Remove
20637 USE_IN_LIBIO.
20638 * Makeconfig: Adjust for dropped configure option. All features are
20639 now mandatory.
20640 * Makerules: Likewise.
20641 * Versions.def: Likewise.
20642 * argp/argp-fmtstream.c: Likewise.
20643 * argp/argp-fmtstream.h: Likewise.
20644 * argp/argp-help.c: Likewise.
20645 * assert/assert.c: Likewise.
20646 * config.h.in: Likewise.
20647 * config.make.in: Likewise.
20648 * configure: Likewise.
20649 * configure.in: Likewise.
20650 * csu/Versions: Likewise.
20651 * csu/init.c: Likewise.
20652 * elf/tst-audit2.c: Likewise.
20653 * elf/tst-tls10.c: Likewise.
20654 * elf/tst-tls10.h: Likewise.
20655 * elf/tst-tls11.c: Likewise.
20656 * elf/tst-tls12.c: Likewise.
20657 * elf/tst-tls14.c: Likewise.
20658 * elf/tst-tlsmod11.c: Likewise.
20659 * elf/tst-tlsmod12.c: Likewise.
20660 * elf/tst-tlsmod13.c: Likewise.
20661 * elf/tst-tlsmod13a.c: Likewise.
20662 * elf/tst-tlsmod14a.c: Likewise.
20663 * elf/tst-tlsmod15b.c: Likewise.
20664 * elf/tst-tlsmod16a.c: Likewise.
20665 * elf/tst-tlsmod16b.c: Likewise.
20666 * elf/tst-tlsmod7.c: Likewise.
20667 * elf/tst-tlsmod8.c: Likewise.
20668 * elf/tst-tlsmod9.c: Likewise.
20669 * gmon/gmon.c: Likewise.
20670 * grp/fgetgrent_r.c: Likewise.
20671 * grp/putgrent.c: Likewise.
20672 * hurd/fopenport.c: Likewise.
20673 * include/libc-symbols.h: Likewise.
20674 * include/tls.h: Likewise.
20675 * intl/gettextP.h: Likewise.
20676 * intl/loadinfo.h: Likewise.
20677 * locale/global-locale.c: Likewise.
20678 * locale/localeinfo.h: Likewise.
20679 * mach/devstream.c: Likewise.
20680 * malloc/arena.c: Likewise.
20681 * malloc/set-freeres.c: Likewise.
20682 * misc/err.c: Likewise.
20683 * misc/getttyent.c: Likewise.
20684 * misc/mntent_r.c: Likewise.
20685 * posix/getopt.c: Likewise.
20686 * posix/wordexp.c: Likewise.
20687 * pwd/fgetpwent_r.c: Likewise.
20688 * resolv/Versions: Likewise.
20689 * resolv/res_hconf.c: Likewise.
20690 * shadow/fgetspent_r.c: Likewise.
20691 * shadow/putspent.c: Likewise.
20692 * stdio-common/printf_fphex.c: Likewise.
20693 * stdio-common/tmpfile.c: Likewise.
20694 * stdlib/abort.c: Likewise.
20695 * stdlib/fmtmsg.c: Likewise.
20696 * sunrpc/auth_unix.c: Likewise.
20697 * sunrpc/clnt_perr.c: Likewise.
20698 * sunrpc/clnt_tcp.c: Likewise.
20699 * sunrpc/clnt_udp.c: Likewise.
20700 * sunrpc/clnt_unix.c: Likewise.
20701 * sunrpc/openchild.c: Likewise.
20702 * sunrpc/svc_simple.c: Likewise.
20703 * sunrpc/svc_tcp.c: Likewise.
20704 * sunrpc/svc_udp.c: Likewise.
20705 * sunrpc/svc_unix.c: Likewise.
20706 * sunrpc/xdr.c: Likewise.
20707 * sunrpc/xdr_array.c: Likewise.
20708 * sunrpc/xdr_rec.c: Likewise.
20709 * sunrpc/xdr_ref.c: Likewise.
20710 * sunrpc/xdr_stdio.c: Likewise.
20711
1248c1c4
PB
207122011-09-09 Ulrich Drepper <drepper@gmail.com>
20713
20714 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20715
207162011-07-03 Andreas Jaeger <aj@suse.de>
20717
20718 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20719 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20720 regenerate with gen-libm-tests.pl.
20721
207222010-05-12 Petr Baudis <pasky@suse.cz>
20723
20724 [BZ #11589]
20725 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20726 around j0() zero points by switching to j1().
20727 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20728 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20730 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20731
f22e1074
UD
207322011-09-09 Ulrich Drepper <drepper@gmail.com>
20733
f19009c1
UD
20734 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20735 instead of 0.
20736 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20737 instead of 0.
f19009c1
UD
20738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20739 Patch in part by Pavel Roskin <proski@gnu.org>.
20740
3f8cc204
UD
20741 [BZ #13138]
20742 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20743 realloc.
20744 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20745 Free memory block if necessary.
20746
f22e1074
UD
20747 [BZ #12847]
20748 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20749 be NULL. Don't lock in this case.
20750
0a2349f9
RM
207512011-09-09 Roland McGrath <roland@hack.frob.com>
20752
20753 * elf/elf.h (ELFOSABI_GNU): New macro.
20754 (ELFOSABI_LINUX): Define to that.
20755
f3cdd467
DZ
207562011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20757
20758 * string/strncat.c (strncat): Undef the symbol in case it has been
20759 defined in bits/string.h.
20760
74718d13
UD
207612011-09-09 Ulrich Drepper <drepper@gmail.com>
20762
633e9e0f
UD
20763 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20764
0a2349f9 20765 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20766 link map.
20767
f9924780
AJ
207682011-08-17 Andreas Jaeger <aj@suse.de>
20769
20770 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20771
7f5517aa
PP
207722011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20773 Ian Lance Taylor <iant@google.com>
20774
20775 * math/libm-test.inc (lround_test): New testcase.
20776 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20777
762011fe
UD
207782011-09-08 Ulrich Drepper <drepper@gmail.com>
20779
92963737
UD
20780 * Makefile: Remove support for automatic cvs check-ins.
20781 * Makerules: Likewise.
20782 * config.make.in: Likewise.
20783 * configure.in: Likewise.
20784 * intl/Makefile: Likewise.
20785 * locale/Makefile: Likewise.
20786 * po/Makefile: Likewise.
20787 * posix/Makefile: Likewise.
20788 * sysdeps/gnu/Makefile: Likewise.
20789 * sysdeps/mach/hurd/Makefile: Likewise.
20790 * sysdeps/sparc/sparc32/Makefile: Likewise.
20791
b0727fd8
JS
20792 [BZ #13118]
20793 * posix/Makefile (bug-regex32-ENV): Define.
20794 Patch by John Stanley <jpsinthemix@verizon.net>.
20795
a0f33f99
UD
20796 * misc/Makefile (headers): Add bits/select2.h.
20797 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20798 * misc/bits/select2.h: New file.
20799 * include/bits/select2.h: New file.
20800 * debug/Makefile (routines): Add fdelt_chk.
20801 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20802 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20803 FD_ISSET.
20804 * debug/fdelt_chk.c: New file.
20805
762011fe
UD
20806 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20807 * wcsmbs/test-wmemcmp.c: Likewise.
20808 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20809 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20810
208112011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20812
20813 * string/Makefile (strop-tests): Add memcmp.
20814 * string/test-wmemcmp.c: New file.
20815 * string/test-memcmp.c: Add wmemcmp support.
20816
7f513ec8
RM
208172011-09-08 Roland McGrath <roland@hack.frob.com>
20818
0442afb4
RM
20819 [BZ #13153]
20820 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20821 2011-07-19 change.
20822
7f513ec8
RM
20823 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20824 garbage value in a __mach_port_mod_refs call in the cases of the
20825 task-self and thread-self ports.
20826
a12b2239
ST
208272011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20828
20829 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20830
610f9ab4
AS
208312011-09-08 Andreas Schwab <schwab@redhat.com>
20832
7f513ec8 20833 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20834
48882a1a
LD
208352011-09-07 Ulrich Drepper <drepper@gmail.com>
20836
b49865be
UD
20837 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20838
fdc86bc9
UD
20839 * elf/dl-libc.c (dlerror_run): Pass back error code from
20840 dl_catch_error.
20841
c966526a
UD
20842 [BZ #13123]
20843 * elf/dl-load.c (lose): Free l_origin if it is valid.
20844
48882a1a
LD
20845 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20846 names.
20847 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20848 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20849 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20850 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20851 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20852 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20853
77a2a8b4
AZ
208542011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20855
20856 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20857 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20858 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20859 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20860 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20861 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20862 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20863 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20864 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20865 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20866
24f579d8
AM
208672011-08-15 Alan Modra <amodra@gmail.com>
20868
20869 [BZ #13092]
20870 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20871 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20872 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20873 ppc_mcount to static-only-routines.
20874 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20875 __mcount_internal.
20876 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20877 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20878
3d4837df
UD
208792011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20880
20881 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20882 for finite and infinity parameters.
20883
22700377
WS
208842011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20885
20886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20887 and add nop instructions for throughput optimization.
20888 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20889
5025581e
WS
208902011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20891
20892 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20893 aligned copy for power7 with vector-scalar instructions.
20894 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20895
08a300c9
L
208962011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20897
20898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20899 AVX check.
20900
59178ef9
AS
209012011-09-07 Andreas Schwab <schwab@redhat.com>
20902
20903 [BZ #13144]
20904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20905 last change.
20906
e38ba7ab
UD
209072011-09-07 Ulrich Drepper <drepper@gmail.com>
20908
20909 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20910 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20911 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20912 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20913 clock_gettime.
20914
d53a73ac
UD
209152011-09-06 Ulrich Drepper <drepper@gmail.com>
20916
fc8bffcc
UD
20917 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20918 Forgot to demangle the pointer.
20919
ceaa0c5d
UD
20920 * sysdeps/i386/sysdep.h: Define atom_text_section.
20921 * sysdeps/x86_64/sysdep.h: Likewise.
20922 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20923 section with atom_text_section.
20924 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20925 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20926 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20927 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20928 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20929
a77d3c17
UD
20930 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20931 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20932 already be defined. Change to take two parameters and don't assign
20933 result to variable. Adjust all users.
20934 Define INTERNAL_GETTIME if not already defined.
20935 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20936 call.
20937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20938 HAVE_CLOCK_GETTIME_VSYSCALL.
20939 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20940
d53a73ac
UD
20941 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20942 gettimeofday vsyscall, just use time.
20943
a8f84144
AS
209442011-09-06 Andreas Schwab <schwab@redhat.com>
20945
20946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20947 <errno.h>.
20948
ef606249
UD
209492011-09-06 Ulrich Drepper <drepper@gmail.com>
20950
20951 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20952 syscall on x86-64.
20953 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20954 syscall.
20955 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20956 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20957 syscall if possible.
20958
6585cb60
UD
209592011-09-05 Ulrich Drepper <drepper@gmail.com>
20960
20961 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20962 e_ident. Don't pass to find_mapsXX.
20963 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20964
a5f524e4
LD
209652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20966
20967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20968 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20969 * sysdeps/x86_64/multiarch/strchr.S: Update.
20970 Check bit_slow_BSF bit.
20971 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20972 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20973 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20974
554881ef
UD
209752011-09-05 Ulrich Drepper <drepper@gmail.com>
20976
d96de963
UD
20977 [BZ #13134]
20978 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20979 before glibc 2.15.
20980 (tryshell): Define.
20981 (__spawni): Change last parameter to be flag. Test
20982 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20983 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20984 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20985 * posix/spawni.c: Likewise.
20986 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20987 * posix/spawnp.c: Likewise. Change normal version to use
20988 SPAWN_XFLAGS_USE_PATH.
20989 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20990 SPAWN_XFLAGS_TRY_SHELL.
20991
d48e5868
UD
20992 [BZ #13150]
20993 * posix/glob.h: Remove gcc 1.x support.
20994
554881ef
UD
20995 [BZ #13068]
20996 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20997
693fb948
LD
209982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20999
21000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21001 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21002 strrchr-sse2-bsf
21003 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21004 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21005 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21006 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21007 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21008 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21009
1b48c537
UD
210102011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21011
49d42c37
UD
21012 * sysdeps/x86_64/wcscmp.S: New file.
21013
1b48c537
UD
21014 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21015 wcscmp-c wcscmp-sse2
21016 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21017 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21018 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21019 * wcsmbs/wcscmp.c: Allow renaming.
21020
15c95c5d
DM
210212011-09-05 David S. Miller <davem@davemloft.net>
21022
21023 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21024 stack slot, rather than the struct return pointer slot.
21025 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21026 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21028 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21029
2f0ad8f3
UD
210302011-09-05 Ulrich Drepper <drepper@gmail.com>
21031
d88ae418
UD
21032 * po/ja.po: Update from translation team.
21033
2f0ad8f3
UD
21034 [BZ #13144]
21035 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21036 kernel in 64-bit binaries.
21037
5f4318d1
DM
210382011-09-01 David S. Miller <davem@davemloft.net>
21039
21040 * elf/elf.h (HWCAP_SPARC_*): Move to..
21041 * sysdeps/sparc/sysdep.h: this new file and add new values.
21042 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21043 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21044 _DL_HWCAP_COUNT to 24.
21045 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21046 entries.
21047 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21048 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21049 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21051 instead of magic constants.
21052 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21053
3ba57516
DM
210542011-08-31 David S. Miller <davem@davemloft.net>
21055
21056 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21058 Reimplement to do errno handling inline.
21059 (SYSCALL_ERROR_HANDLER): New macro.
21060 (__SYSCALL_STRING): Do not do errno handling in asm.
21061 (__CLONE_SYSCALL_STRING): Delete.
21062 (__INTERNAL_SYSCALL_STRING): Delete.
21063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21064 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21065 (PSEUDO): Reimplement to do errno handling inline.
21066 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21067 (SYSCALL_ERROR_HANDLER): New macro.
21068 (__SYSCALL_STRING): Do not do errno handling in asm.
21069 (__CLONE_SYSCALL_STRING): Delete.
21070 (__INTERNAL_SYSCALL_STRING): Delete.
21071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21072 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21073 i386.
21074 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21075 (inline_syscall*): Add 'err' argument.
21076 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21077 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21078 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21079 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21080
21081 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21082 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21083
2bc17433
AS
210842011-08-30 Andreas Schwab <schwab@redhat.com>
21085
21086 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21087
fbeb5f4d
JO
210882011-08-29 Jiri Olsa <jolsa@redhat.com>
21089
21090 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21091 directive.
21092
ad69cc26
DM
210932011-08-24 David S. Miller <davem@davemloft.net>
21094
21095 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21096
39dd69df
AS
210972011-08-24 Andreas Schwab <schwab@redhat.com>
21098
21099 * elf/Makefile: Add rules to build and run unload8 test.
21100 * elf/unload8.c: New file.
21101 * elf/unload8mod1.c: New file.
21102 * elf/unload8mod1x.c: New file.
21103 * elf/unload8mod2.c: New file.
21104 * elf/unload8mod3.c: New file.
21105
21106 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21107 it wasn't used.
21108
2c0b250a
DM
211092011-08-23 David S. Miller <davem@davemloft.net>
21110
21111 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21112 subtract stack bias.
21113 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21114 %sp not %fp in calculations.
21115 (_JMPBUF_UNWINDS_ADJ): Likewise.
21116
22044b48
DM
21117 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21118 (aio_suspend): Call it to force an exception region around the
21119 AIO_MISC_WAIT() invocation.
21120
2cae4995
AS
211212011-08-23 Andreas Schwab <schwab@redhat.com>
21122
21123 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21124 backslash.
21125
873a772e
AJ
211262011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21127
21128 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21129 protection macro.
21130 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21131 and <dl-machine.h>.
21132 (Elf64_FuncDesc): Remove.
21133
25ad0df1
DM
211342011-08-22 David S. Miller <davem@davemloft.net>
21135
21136 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21137 sigaltstack check, add missing cfi directives.
21138 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21139 missing cfi directives, and sigaltstack handling.
21140
e888bcbe
AS
211412011-08-16 Andreas Schwab <schwab@redhat.com>
21142
21143 [BZ #11724]
21144 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21145 object is seen twice.
21146 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21147
21148 * elf/Makefile (distribute): Add tst-initorder2.c.
21149 (tests): Add tst-initorder2.
21150 (modules-names): Add tst-initorder2a tst-initorder2b
21151 tst-initorder2c tst-initorder2d. Add rules to build them.
21152 ($(objpfx)tst-initorder2.out): New rule.
21153 * elf/tst-initorder2.c: New file.
21154 * elf/tst-initorder2.exp: New file.
21155
87162f46
AS
211562011-08-22 Andreas Schwab <schwab@redhat.com>
21157
70538b7f
AS
21158 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21159
f55ffe58
AS
21160 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21161 dependencies back to end of function.
21162
87162f46
AS
21163 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21164 $(elfobjdir)/ld.so.
21165
91b392a4
UD
211662011-08-21 Ulrich Drepper <drepper@gmail.com>
21167
21168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21169 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21171 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21172 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21173 of __vdso_gettimeofday.
21174 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21175 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21176 attribute_hidden.
21177 (_libc_vdso_platform_setup): Remove initialization of
21178 __vdso_gettimeofday and __vdso_time.
21179
5c43483f
UD
211802011-08-20 Ulrich Drepper <drepper@gmail.com>
21181
775a77e7
UD
21182 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21183 and fgetc_unlocked.
21184 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21185 getc_unlocked.
89f447ed 21186
49c74ba9
UD
21187 * elf/dl-open.c (add_to_global): Report additions to the global scope
21188 for LD_DEBUG=scopes.
21189 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21190 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21191
5c43483f
UD
21192 [BZ #13114]
21193 * stdio-common/Makefile (tests): Add bug24.
21194 * stdio-common/bug24.c: New file.
21195
a101b025
AJ
211962011-08-19 Andreas Jaeger <aj@suse.de>
21197
21198 [BZ #13114]
21199 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21200 non-existant file when using close-on-exec mode.
21201
c88f1766
UD
212022011-08-20 Ulrich Drepper <drepper@gmail.com>
21203
0276a718
UD
21204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21205 the very first instruction.
21206
c88f1766
UD
21207 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21208 the CFI state in the end.
21209 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21210 inclusion of dl-trampoline.h.
21211 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21212
51ccffa0
AS
212132011-08-19 Andreas Schwab <schwab@redhat.com>
21214
94d7165f
AS
21215 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21216 expectations for long double.
21217
51ccffa0
AS
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21219 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21220
fd708658 212212011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21222
21223 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21224 artificual limit depends upon the system page size.
21225
44f0a71e
UD
212262011-08-17 Ulrich Drepper <drepper@gmail.com>
21227
21228 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21229 * resolv/Makefile: Define CFLAGS-libresolv.
21230
8de79a24
AS
212312011-08-17 Andreas Schwab <schwab@redhat.com>
21232
21233 * nss/makedb.c (compute_tables): Make variables used in nested
21234 function static.
21235
27724598
UD
212362011-08-17 Ulrich Drepper <drepper@gmail.com>
21237
c5305d88
UD
21238 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21239 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21240 if buffer was too small.
21241
27724598
UD
21242 * elf/pldd.c (main): Attach to all threads in the process.
21243 Rewrite /proc handling to use *at functions.
21244
076fe015
UD
212452011-08-16 Ulrich Drepper <drepper@gmail.com>
21246
174baab3
UD
21247 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21248 specifies first scope to show.
21249 (dl_open_worker): Update callers. Move printing scope of new
21250 object to before the relocation.
44f0a71e 21251 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21252 * sysdeps/generic/ldsodefs.h: Update declaration.
21253
076fe015
UD
21254 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21255 string for the scope number.
21256
a60df2c3
UD
212572011-08-14 Ulrich Drepper <drepper@gmail.com>
21258
21259 * nscd/servicescache.c (cache_addserv): Make sure written is always
21260 initialized.
21261
5e4287d1
RM
212622011-08-14 Roland McGrath <roland@hack.frob.com>
21263
85ae0589
RM
21264 * sysdeps/i386/i486/bits/atomic.h
21265 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21266 statement expression, so as to suppress "set but not used" warning.
21267 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21268
69f63097
RM
21269 * string/strncat.c (STRNCAT): Use prototype definition.
21270
675456ef
RM
21271 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21272 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21273 -Iprograms here.
21274 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21275 (localedef-modules): Add localedef.
21276 (locale-modules): Add locale.
21277
5e4287d1
RM
21278 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21279 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21280 to avoid a warning.
21281
9c96ff23
DM
212822011-08-14 David S. Miller <davem@davemloft.net>
21283
21284 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21285 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21286
f9ddf089
UD
212872011-08-13 Ulrich Drepper <drepper@gmail.com>
21288
44f0a71e 21289 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21290 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21291 * elf/rtld.c (dl_main): Set l_name of vDSO.
21292 Call _dl_show_scope when DL_DEBUG_SCOPES.
21293 (process_dl_debug): Recognize scopes flag and also set it for all.
21294 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21295 Declare _dl_show_scope.
21296
1dc27704
UD
21297 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21298 (do_dlopen): Pass caller_dlopen to dl_open.
21299 (__libc_dlopen_mode): Initialize caller_dlopen.
21300
f9ddf089
UD
21301 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21302 of libc. Make tolower call locale-independent. Optimize a bit by
21303 using isdigit instead of isalnum.
21304 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21305
9ac533d3
UD
213062011-08-12 Ulrich Drepper <drepper@gmail.com>
21307
21308 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21309 was a dependency or dynamically loaded.
21310
89edf2e9
UD
213112011-08-11 Ulrich Drepper <drepper@gmail.com>
21312
8e999d29
UD
21313 * intl/l10nflist.c: Allow architecture-specific pop function.
21314 * sysdeps/x86_64/l10nflist.c: New file.
21315
89edf2e9
UD
21316 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21317 classification.
21318
14d96785
AS
213192011-08-10 Andreas Schwab <schwab@redhat.com>
21320
21321 * include/dirent.h: Add libc_hidden_proto for scandirat and
21322 scandirat64. Don't declare __scandirat64.
21323 * dirent/scandirat.c: Add libc_hidden_def.
21324 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21325 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21326
6761ac04
DM
213272011-08-10 David S. Miller <davem@davemloft.net>
21328
21329 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21330 enum.
21331 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21333 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21334
c55fbd1e
UD
213352011-08-09 Ulrich Drepper <drepper@gmail.com>
21336
21337 * Versions.def [libc]: Add GLIBC_2.15.
21338 * dirent/Makefile (routines): Add scandirat and scandirat64.
21339 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21340 GLIBC_2.15.
21341 * dirent/dirent.h: Declare scandirat and scandirat64.
21342 * dirent/scandirat.c: New file.
21343 * dirent/scandirat64.c: New file.
21344 * sysdeps/wordsize-64/scandirat.c: New file.
21345 * sysdeps/wordsize-64/scandirat64.c: New file.
21346 * dirent/opendir.c: Define opendirat.
21347 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21348 using scandirat.
21349 * dirent/scandir64.c: Adjust for scandir.c change.
21350 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21351 __scandirat64, and __scandir_cancel_handler.
21352 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21353 additional parameter and use openat instead of open (outside of ld.so).
21354 Add new __opendir as wrapper around __opendirat.
21355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21356 here without requiring old scandirat implementation.
21357
879165f2
UD
213582011-08-08 Ulrich Drepper <drepper@gmail.com>
21359
21360 * dirent/scandir.c (cancel_handler): Renamed to
21361 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21362 defined. Adjust users.
21363 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21364 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21365
cb7e923b
UD
213662011-08-04 Ulrich Drepper <drepper@gmail.com>
21367
16292edd
UD
21368 * string/test-string.h (IMPL): Use __STRING to expand name and then
21369 stringify it.
21370
cb7e923b
UD
21371 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21372 of cleanups.
21373
cff82933
LD
213742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21375
21376 * string/Makefile: Update.
21377 (strop-tests): Append strncat.
21378 * string/test-wcscmp.c: New file.
21379 New comprehensive test for wcscmp.
21380 * string/test-strcmp.c: Update.
21381 (WIDE): New define.
21382
9be9bfcc
AS
213832011-07-22 Andreas Schwab <schwab@redhat.com>
21384
21385 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21386 line.
21387
2e96f1c7
AS
213882011-07-26 Andreas Schwab <schwab@redhat.com>
21389
21390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21391 encoding to ACE if AI_IDN.
21392
85188888
JJ
213932011-08-01 Jakub Jelinek <jakub@redhat.com>
21394
21395 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21396 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21397
5fa16e9b
LD
213982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21399
21400 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21401 Fix overflow bug in strncat.
21402 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21403
21404 * string/test-strncat.c: Update.
21405 Add new tests for checking overflow bugs.
21406
214072011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21408
21409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21410 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21411 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21412 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21413 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21414 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21415 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21416 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21417 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21418
21419 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21420 (USE_AS_STRCAT): Define.
21421 Add strcat and strncat support.
21422 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21423
8c1a459f
AS
214242011-07-25 Andreas Schwab <schwab@redhat.com>
21425
21426 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21427 __n bigger than INT_MAX+1.
21428 (__strncmp_g): Likewise.
21429
bba33c28
UD
214302011-07-23 Ulrich Drepper <drepper@gmail.com>
21431
798be72d
UD
21432 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21433 * libio/stido.h: Likewise.
21434
8accd4dc
UD
21435 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21436 (AF_NFC): Define.
21437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21438 (AF_NFC): Define.
21439
cbff0d96
UD
21440 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21442 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21443 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21444 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21445
9191c04a
UD
21446 [BZ #13021]
21447 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21448 installed.
21449
bba33c28
UD
21450 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21451 typo.
21452 (_dl_x86_64_save_sse): Likewise.
21453
90f139dd
UD
214542011-07-22 Ulrich Drepper <drepper@gmail.com>
21455
1aae088a
UD
21456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21457 OSXSAVE.
21458 (_dl_x86_64_save_sse): Likewise.
21459
8e2045f5
UD
21460 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21461
90f139dd
UD
21462 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21463
1d002f25
AS
214642011-07-21 Andreas Schwab <schwab@redhat.com>
21465
21466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21467 change.
21468 (_dl_x86_64_save_sse): Use correct AVX check.
21469
21137f89
UD
214702011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21471
21472 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21473 bug in strncpy/strncat.
21474 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21475
a65c0b7a
UD
214762011-07-21 Ulrich Drepper <drepper@gmail.com>
21477
21478 * string/tester.c (test_strcat): Add tests for different alignments
21479 of source and destination.
21480 (test_strncat): Likewise.
21481
6986b98a
UD
214822011-07-20 Ulrich Drepper <drepper@gmail.com>
21483
90bb2039
UD
21484 [BZ #12852]
21485 * posix/glob.c (glob): Check passed in values before using them in
21486 expressions to avoid some overflows.
21487 (glob_in_dir): Likewise.
21488
5644ef54
UD
21489 [BZ #13007]
21490 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21491 check for AVX enablement so that we don't crash with old kernels and
21492 new hardware.
21493 * elf/tst-audit4.c: Add same checks here.
21494 * elf/tst-audit6.c: Likewise.
21495
21496 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21497
bfc9dc9b
AS
214982011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21499
21500 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21501
702e64bb
UD
215022011-07-20 Ulrich Drepper <drepper@gmail.com>
21503
21504 * po/cs.po: Update from translation team.
21505 * po/bg.po: Likewise.
21506
295e904f
MP
215072011-07-12 Marek Polacek <mpolacek@redhat.com>
21508
21509 * misc/sys/cdefs.h: Add support for const attribute.
21510 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21511 to gnu_dev_{major,minor,makedev} functions.
21512
3ff94596
MP
215132011-07-20 Marek Polacek <mpolacek@redhat.com>
21514
21515 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21516
28b59fca
AS
215172011-07-20 Andreas Schwab <schwab@redhat.com>
21518
21519 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21520 strlen results.
21521
19df733e
AK
215222011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21523
21524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21525 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21526 register in order to avoid conflicts with the soft frame pointer
21527 being held in r11 when necessary.
21528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21529 (INTERNAL_VSYSCALL_NCS): Likewise.
21530
c8835729
MP
215312011-07-14 Marek Polacek <mpolacek@redhat.com>
21532
21533 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21534 * elf/dl-fini.c (_dl_fini): Adjust caller.
21535 * elf/dl-close.c (_dl_close_worker): Likewise.
21536 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21537
b902330c
MP
215382011-07-15 Marek Polacek <mpolacek@redhat.com>
21539
8991e135
MP
21540 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21541 "aux_cache->nlibs < 0".
21542
b902330c
MP
21543 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21544 in the reload-count case.
21545
99710781
LD
215462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21547
21548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21549 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21550 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21551 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21552 * sysdeps/x86_64/multiarch/strcat.S: New file.
21553 * sysdeps/x86_64/multiarch/strncat.S: New file.
21554 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21555 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21556 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21557 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21558 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21559 (USE_AS_STRCAT): Define.
21560 Add strcat and strncat support.
21561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21562 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21563 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21564 * string/strncat.c: Update.
21565 (USE_AS_STRNCAT): Define.
21566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21567 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21568 and i7.
21569 * sysdeps/x86_64/multiarch/init-arch.h
21570 (bit_Prefer_PMINUB_for_stringop): New.
21571 (index_Prefer_PMINUB_for_stringop): Likewise.
21572 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21573 bit_Prefer_PMINUB_for_stringop.
21574
7dc6bd90
UD
215752011-07-19 Ulrich Drepper <drepper@gmail.com>
21576
21577 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21578 buffer64.
21579 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21580 of casting of buffer.
21581 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21582 buffer32 and buffer64.
21583 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21584 writes instead of casting of buffer.
21585 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21586 buffer32.
21587 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21588 casting of buffer.
21589
e0e72284
AS
215902011-07-19 Andreas Schwab <schwab@redhat.com>
21591
21592 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21593
feb1eb0b
UD
215942011-07-19 Ulrich Drepper <drepper@gmail.com>
21595
21596 * nscd/nscd.c (termination_handler): Don't do anything for a database
21597 if it has not yet been initialized.
21598
298711ff
UD
215992011-07-18 Ulrich Drepper <drepper@gmail.com>
21600
21601 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21602
216032011-07-15 Marek Polacek <mpolacek@redhat.com>
21604
21605 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21606
f9d68389
UD
216072011-07-18 Ulrich Drepper <drepper@gmail.com>
21608
21609 * po/nl.po: Update from translation team.
21610 * po/sv.po: Likewise.
21611
db290cf5
RM
216122011-07-16 Roland McGrath <roland@hack.frob.com>
21613
21614 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21615 now disallowed by GCC.
5c550700 21616
fd5e21c7
RM
21617 * configure.in (use-default-link): Default to yes if a test -shared
21618 link meets our qualifications.
21619 * configure: Regenerated.
21620
5c550700
RM
21621 * config.make.in (output-format): New variable.
21622 * configure.in: Check for ld --print-output-format support.
21623 * configure: Regenerated.
21624 * Makerules ($(common-objpfx)format.lds)
21625 [$(output-format) != unknown]: Just use $(output-format),
21626 instead of the linker-script munging.
21627
9fa2c032
RM
216282011-07-14 Roland McGrath <roland@hack.frob.com>
21629
a6928d51
RM
21630 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21631 of $(common-objpfx)shlib.lds.
21632 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21633
661607b3
RM
21634 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21635 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21636
9fa2c032
RM
21637 * configure.in (-z relro check): Adjust test code to add a large
21638 writable data section after it.
21639 * configure: Regenerated.
21640
defe9061
RM
216412011-07-11 Roland McGrath <roland@hack.frob.com>
21642
21643 * configure.in (-z relro check): Fix test code to make the variable
21644 truly const.
21645 * configure: Regenerated.
21646
319b9ad4
UD
216472011-07-11 Ulrich Drepper <drepper@gmail.com>
21648
21649 * nscd/nscd.h (struct traced_file): Define.
21650 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21651 elements. Add traced_files.
21652 (inotify_fd): Declare.
21653 (register_traced_file): Declare.
21654 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21655 (inotify_fd): Export.
21656 (resolv_conf_descr): Remove.
21657 (nscd_init): Move inotify descriptor creation to main.
21658 Don't register files for notification here.
21659 (register_traced_file): New function.
21660 (invalidate_cache): Don't use reset_res to determine whether to call
21661 res_init, go through the list of registered files.
21662 (main_loop_poll): The inotify descriptors are now stored in the
21663 structures for the traced files.
21664 (main_loop_epoll): Likewise
21665 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21666 to __nss_disable_nscd.
21667 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21668 for a database anymore. Check the records for all the registered
21669 files instead.
21670 * nss/Makefile (libnss_files-routines): Add files-init.
21671 (libnss_db-routines): Add db-init.
21672 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21673 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21674 * nss/nss_db/db-init.c: New file.
21675 * nss/nss_files/files-init.c: New file.
21676 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21677 __nss_lookup_function.
21678 (__nss_lookup_function): Call nss_load_library.
21679 (nss_load_all_libraries): New function.
21680 (__nss_disable_nscd): Take parameter with callback function for files
21681 to register. Set is_nscd. Load all the DSOs for the NSS modules
21682 used for the cached services.
21683 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21684 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21685 options for features to all the files in nscd.
21686
21687 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21688
23bee3e8
RM
216892011-07-10 Roland McGrath <roland@hack.frob.com>
21690
21691 * csu/elf-init.c (__libc_csu_init): Comment typo.
21692
46a5b7f0
UD
216932011-07-09 Ulrich Drepper <drepper@gmail.com>
21694
21695 * po/pl.po: Update from translation team.
21696 * po/ja.po: Likewise.
21697 * po/ru.po: Likewise.
21698 * po/ko.po: Likewise.
21699 * po/fr.po: Likewise.
21700
d30cf5bb
RM
217012011-07-09 Roland McGrath <roland@hack.frob.com>
21702
113ddea4
RM
21703 * configure.in (.ctors/.dtors header and trailer check):
21704 Use an empirical test on a built program.
21705 * configure: Regenerated.
21706
574920b4
RM
21707 * configure.in (-z relro check): Use an empirical test on a built DSO.
21708 Detect, but do not require, on ia64.
21709 * configure: Regenerated.
21710
d30cf5bb
RM
21711 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21712 Update tests that use readelf to use $READELF instead.
21713 * configure: Regenerated.
21714
8538fdb3
UD
217152011-07-08 Ulrich Drepper <drepper@gmail.com>
21716
21717 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21718 if the result is not used.
21719
04d08991
AJ
217202011-07-05 Andreas Jaeger <aj@suse.de>
21721
21722 [BZ#9696]
21723 * stdlib/tst-strtod.c: Add testcase.
21724
de283087
AD
217252011-07-07 Ulrich Drepper <drepper@gmail.com>
21726
4e5f31c8 21727 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21728 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21729 The latter has a higher limit. Take additional parameter to pass to
21730 the new function.
21731 (__pathconf): Pass file to __statfs_link_max.
21732 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21733 __statfs_link_max.
21734 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21735 __statfs_link_max.
21736
de283087
AD
21737 [BZ #12868]
21738 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21739 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21740 Handle Lustre.
21741 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21742 (__statfs_filesize_max): Likewise.
21743 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21744
c75fa153
AJ
217452011-07-05 Andreas Jaeger <aj@suse.de>
21746
21747 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21748
1a544854
UD
217492011-07-06 Marek Polacek <mpolacek@redhat.com>
21750
21751 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21752 `status' variable.
21753 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21754 Likewise.
21755
6f0eec67
UD
217562011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21757
21758 * Makefile (strop-tests): Add strncat.
21759 * string/test-strncat.c: New file.
21760
aae30307
UD
217612011-06-30 Marek Polacek <mpolacek@redhat.com>
21762
21763 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21764
c0cfb5eb
UD
217652011-06-21 Andreas Jaeger <aj@suse.de>
21766
21767 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21768 Copy rule from iconvdata/Makefile.
21769
01636b21
UD
217702011-07-06 Ulrich Drepper <drepper@gmail.com>
21771
21772 [BZ #12922]
21773 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21774 but no long options are defined, just return 'W'.
21775
9895c8bc
UD
217762011-06-22 Marek Polacek <mpolacek@redhat.com>
21777
21778 [BZ #9696]
21779 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21780
5d4cf042
UD
217812011-07-06 Ulrich Drepper <drepper@gmail.com>
21782
21783 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21784 netgroups to read.
960e5535 21785 (innetgr): Likewise.
5d4cf042 21786
751eb97e
RM
217872011-07-05 Roland McGrath <roland@hack.frob.com>
21788
21789 * config.make.in (install_root): Default to $(DESTDIR).
21790
f15f1e45
UD
217912011-07-05 Ulrich Drepper <drepper@gmail.com>
21792
21793 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21794
4e34ac6a
RM
217952011-07-02 Roland McGrath <roland@hack.frob.com>
21796
5e9b6af4
RM
21797 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21798
84f9ea0f
RM
21799 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21800 containing directory rather than embedding absolute directory names.
21801
ea5ee9f7
RM
21802 * scripts/check-local-headers.sh: Rewritten using awk.
21803 Match by word, not by line. Print error messages for matches.
21804 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21805
1b74661a
RM
21806 * Makerules [shlib-lds-flags empty]:
21807 ($(common-objpfx)libc_pic.opts): New target.
21808 ($(common-objpfx)libc_pic.os.clean): New target.
21809 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21810
21811 * config.make.in (OBJCOPY): New variable.
21812 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21813 * configure: Regenerated.
21814
f781ef40
RM
21815 * config.make.in (use-default-link): New variable.
21816 * configure.in (use_default_link): Grok --with-default-link to set it.
21817 * configure: Regenerated.
21818 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21819 (shlib-lds, shlib-lds-flags): Define to empty.
21820
2d4fa81e
RM
21821 * Makerules (shlib-lds): New variable.
21822 (shlib-lds-flags): New variable.
21823 (build-shlib, build-moduile, build-module-asneeded): Use it.
21824 ($(common-objpfx)libc.so): Use $(shlib-lds).
21825 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21826 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21827
31fffa6b
RM
21828 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21829 DT_FLAGS/DT_FLAGS_1 with zero flags.
21830
4e34ac6a
RM
21831 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21832 linker script munging.
21833
fcfc776b
UD
218342011-07-02 Ulrich Drepper <drepper@gmail.com>
21835
21836 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21837 as 128-bit value.
21838 * crypt/sha512.c (sha512_process_block): Perform total addition using
21839 128-bit if possible.
21840 (__sha512_finish_ctx): Likewise.
21841 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21842 as 64-bit value.
21843 * crypt/sha256.c (SWAP64): Define.
21844 (sha256_process_block): Perform total addition using 64-bit if
21845 possible.
21846 (__sha256_finish_ctx): Likewise.
21847
99231d9a
UD
218482011-07-01 Ulrich Drepper <drepper@gmail.com>
21849
21850 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21852 * nscd/hstcache.c (cache_addhst): Likewise.
21853 * nscd/grpcache.c (cache_addgr): Likewise.
21854 * nscd/aicache.c (addhstaiX): Likewise
21855 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21856
445b4a53
TK
218572011-07-01 Thorsten Kukuk <kukuk@suse.de>
21858
21859 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21861 * nscd/hstcache.c (cache_addhst): Likewise.
21862 * nscd/grpcache.c (cache_addgr): Likewise.
21863 * nscd/aicache.c (addhstaiX): Likewise
21864
6d4d8e8e
AS
218652011-07-01 Andreas Schwab <schwab@redhat.com>
21866
21867 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21868 domain only when needed.
21869
89f654c5
AS
218702011-06-30 Andreas Schwab <schwab@redhat.com>
21871
21872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21873 is always restored.
21874
cf3b23ff
UD
218752011-06-29 Ulrich Drepper <drepper@gmail.com>
21876
21877 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21878 are re-adding the entry.
21879 * nscd/servicescache.c (cache_addserv): Likewise.
21880
751626f9
AJ
218812011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21882
21883 * sysdeps/generic/dl-irel.h: fix protection against multiple
21884 inclusions.
21885 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21886
9113ea1f
UD
218872011-06-28 Ulrich Drepper <drepper@gmail.com>
21888
5c0b8d90
UD
21889 [BZ #12935]
21890 * malloc/memusage.sh: Fix quoting in message.
21891 * debug/xtrace.sh: Likewise.
21892
9113ea1f
UD
21893 * configure.in: Remove support for --experimental-malloc option, make
21894 it the default.
21895 * config.make.in: Likewise.
21896 * malloc/Makefile: Likewise.
21897
a4172181
AS
218982011-06-27 Andreas Schwab <schwab@redhat.com>
21899
21900 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21901 two-byte characters.
21902
78a7eee7
RM
219032011-06-27 Roland McGrath <roland@hack.frob.com>
21904
62bede13
RM
21905 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21906 AC_CACHE_CHECK invocation.
21907 * configure: Regenerated.
21908
78a7eee7
RM
21909 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21910
5ce33a62
UD
219112011-06-27 Ulrich Drepper <drepper@gmail.com>
21912
034807a9
UD
21913 [BZ #12350]
21914 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21915 bit from old_res_options.
21916
4902da17
UD
21917 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21918
5ce33a62
UD
21919 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21920 value type for setfct.
21921
c2344f56
L
219222011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21923
21924 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21925 __gettimeofday instead of gettimeofday.
21926
68468076
UD
219272011-06-26 Ulrich Drepper <drepper@gmail.com>
21928
21929 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21930
acb0d739
L
219312011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21934
21935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21936 info.
21937
8912479f
L
219382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21939
21940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21941 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21942 strcpy-sse2-unaligned strncpy-sse2-unaligned
21943 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21944 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21945 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21946 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21947 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21949 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21950 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21951 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21952 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21953 (STRCPY): Support SSE2 and SSSE3 versions.
21954
d5495a11
UD
219552011-06-24 Ulrich Drepper <drepper@gmail.com>
21956
21957 [BZ #12874]
21958 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21959 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21960 kernels which artificially limit size of requests.
21961
0b1cbaae
L
219622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21963
21964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21965 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21966 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21967 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21968 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21969 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21970 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21971 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21973 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21974 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21975 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21976 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21977 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21978 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21980 Enable unaligned load optimization for Intel Core i3, i5 and i7
21981 processors.
21982 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21983 Define.
21984 (index_Fast_Unaligned_Load): Define.
21985 (HAS_FAST_UNALIGNED_LOAD): Define.
21986
07f494a0
MP
219872011-06-23 Marek Polacek <mpolacek@redhat.com>
21988
21989 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21990
fa3fc0fe
UD
219912011-06-22 Ulrich Drepper <drepper@gmail.com>
21992
21993 [BZ #12907]
21994 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21995 until it is clear that the information is realy needed.
21996 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21997
e12df166
AS
219982011-06-22 Andreas Schwab <schwab@redhat.com>
21999
22000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22001
852eb34d
UD
220022011-06-22 Ulrich Drepper <drepper@gmail.com>
22003
84e2a551
UD
22004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22005 /sys/devices/system/cpu/online if it is usable.
22006
852eb34d
UD
22007 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22008 reading the information from the /proc filesystem to once a second.
22009
6e502e19
UD
220102011-06-21 Andreas Jaeger <aj@suse.de>
22011
22012 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22013 NULL after inclusion of kernel headers.
22014
75d39ff2
UD
220152011-06-21 Ulrich Drepper <drepper@gmail.com>
22016
51f9aa6a
UD
22017 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22018 calls to internal_setent.
22019
c0244a9d
UD
22020 [BZ #12885]
22021 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22022 addresses using gethostbyname4_r ignore IPv4 addresses.
22023
c5e3c2ae
UD
22024 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22025 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22026
75d39ff2
UD
22027 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22028
42675c6f
DM
220292011-06-20 David S. Miller <davem@davemloft.net>
22030
22031 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22032 inclusions.
22033 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22034
22035 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22036 (elf_irel): Use it.
22037 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22038 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22039 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22040 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22041 * sysdeps/x86_64/dl-irel.h: Likewise.
22042
22043 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22044 * elf/dl-sym.c: Likewise.
22045
57912a71
UD
220462011-06-15 Ulrich Drepper <drepper@gmail.com>
22047
22048 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22049 need to dereference resplen2.
22050
ee22793d
AS
220512011-06-14 Andreas Schwab <schwab@redhat.com>
22052
22053 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22054
a9e836b0
UD
220552011-06-15 Ulrich Drepper <drepper@gmail.com>
22056
77fb9117
UD
22057 * Makeconfig: Define vardbdir and inst_vardbdir.
22058 * nss/Makefile: Add rules to install db-Makefile.
22059
40c1b22c
UD
22060 * nss/nss_db/db-XXX.c: Cleanup.
22061
9f2da732
UD
22062 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22063 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22064 GLIBC_PRIVATE.
22065 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22066 * nss/makedb.c: Implement -g option to specify that value strings
22067 are generated and should not be added to table iterated over for
22068 get*ent calls.
22069 * nss/nss_db/db-initgroups.c: New file.
22070
82e9a1f7
UD
22071 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22072 interface.
22073
c41af17e
UD
22074 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22075 (internal_getgrouplist): Adjust to name change.
22076 Update use_initgroups_entry if this is not the first call.
22077 * nss/databases.def: Add initgroups entry.
22078
a9e836b0
UD
22079 * nss/makedb.c (compute_tables): Check result of multiple hash table
22080 sizes to minimize maximum chain length.
22081
2666d441
UD
220822011-06-14 Ulrich Drepper <drepper@gmail.com>
22083
22084 * Versions.def: Add entry for libnss_db.
22085 * shlib-versions: Likewise.
22086 * nss/Makefile: Add rules to build libnss_db.
22087 * nss/Versions: Add libnss_db information. Organize libnss_files
22088 entries better.
22089 * nss/db-Makefile: Add gshadow support. Change rules for the new
22090 makedb progra. Some minor improvements to generate smaller files.
22091 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22092 here from...
22093 * nss/makedb.c: ...here.
22094 Improve database format to be smaller and require less memory at
22095 runtime.
22096 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22097 db anymore.
22098 * nss/nss_db/db-netgrp.c: Likewise.
22099 * nss/nss_db/db-open.c: Likewise.
22100 * nss/nss_files/flies-XXX.x: Adjust comments.
22101 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22102 * nss/nss_files/files-grp.c: Likewise.
22103 * nss/nss_files/files-hosts.c: Likewise.
22104 * nss/nss_files/files-network.c: Likewise.
22105 * nss/nss_files/files-proto.c: Likewise.
22106 * nss/nss_files/files-pwd.c: Likewise.
22107 * nss/nss_files/files-rpc.c: Likewise.
22108 * nss/nss_files/files-service.c: Likewise.
22109 * nss/nss_files/files-sgrp.c: Likewise.
22110 * nss/nss_files/files-spwd.c: Likewise.
22111 * nss/nss_db/db-alias.c: Removed.
22112 * nss/nss_db/dummy-db.h: Removed.
22113
9ee76b5a
UD
221142011-06-02 Ulrich Drepper <drepper@gmail.com>
22115
22116 * nss/makedb.c: Rewritten to not use database library.
22117 * nss/Makefile: Update to build new makedb program.
22118
c71ca1f8
AJ
221192011-06-14 Andreas Jaeger <aj@suse.de>
22120
22121 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22122 memset declaration.
22123
3154bfb8
UD
221242011-06-10 Andreas Schwab <schwab@redhat.com>
22125
22126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22127 tmpbuf.
22128
b350afab
RM
221292011-06-10 Roland McGrath <roland@hack.frob.com>
22130
decd4e50
RM
22131 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22132 * elf/Makefile ($(objpfx)ld.so): Likewise.
22133
5615eaf2
RM
22134 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22135 Don't list ld.so twice in dependencies.
22136
22137 * posix/bug-regex31.c: Include <stdlib.h>.
22138
22139 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22140
22141 * nis/nss_compat/compat-spwd.c
22142 (getspent_next_nss_netgr): Remove unused variable.
22143 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22144
22145 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22146 nonmembers" output to use the right array.
22147
22148 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22149
22150 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22151
22152 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22153 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22154 * catgets/gencat.c (read_input_file): Likewise.
22155 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22156
22157 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22158 variable definition inside #if's controlling its use.
22159
22160 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22161
22162 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22163
22164 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22165
22166 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22167 unreachable code.
22168
22169 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22170
b68e08db
RM
22171 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22172 * configure: Regenerated.
22173
b350afab
RM
22174 * Makerules: Revert last change.
22175 * elf/Makefile: Likewise.
22176
28368601
RM
221772011-06-09 Roland McGrath <roland@hack.frob.com>
22178
22179 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22180 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22181 (reloc-link): Likewise.
22182
11988f8f
UD
221832011-06-09 Ulrich Drepper <drepper@gmail.com>
22184
22185 * elf/Makefile: Add rules to build pldd.
22186 * elf/pldd.c: New file.
22187 * elf/pldd-xx.c: New file.
22188
e80fab37
UD
221892011-06-07 Ulrich Drepper <drepper@gmail.com>
22190
22191 * version.h: Update for 2.15 development version.
22192
9b849836
DM
221932011-06-07 David S. Miller <davem@davemloft.net>
22194
22195 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22196 ifuncs.
22197 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22198 elf_machine_lazy_rel): Likewise.
22199 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22201 elf_machine_lazy_rel): Likewise.
22202 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22203 dl_hwcap via passed in argument.
22204 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22205 Likewise.
22206
5a31b283
AK
222072011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22208
22209 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22210
069e52f8
RM
222112011-06-06 Roland McGrath <roland@hack.frob.com>
22212
22213 [BZ #12849]
22214 * manual/fdl-1.1.texi: New file, verbatim from:
22215 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22216 * manual/lgpl-2.1.texi: New file, verbatim from:
22217 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22218 * manual/Makefile (licenses): New variable, list those new file names.
22219 (texis): Use it.
22220 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22221
22222 * manual/fdl.texi: File removed.
22223 * manual/lesser.texi: File removed.
22224 * manual/libc.texinfo (Copying, Documentation License):
22225 Use new @include file names, put @appendix directive before @include.
22226
f16846a5
JJ
222272011-06-04 Jakub Jelinek <jakub@redhat.com>
22228
22229 [BZ #12841]
22230 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22231 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22232 (mq_open): Add __NTH.
22233
3d29045b
L
222342011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22235
22236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22237 Assume Intel Core i3/i5/i7 processor if AVX is available.
22238
8c297311
UD
222392011-05-31 Ulrich Drepper <drepper@gmail.com>
22240
22241 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22242 typo.
22243
c8fc0c91
UD
222442011-05-31 Andreas Schwab <schwab@redhat.com>
22245
22246 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22247 memory. Use alloca_account. Fix memory leak when retrying.
22248
5b27a807
UD
222492011-05-31 Ulrich Drepper <drepper@gmail.com>
22250
356f8bc6
UD
22251 * version.h (RELEASE): Bump for 2.14 release.
22252 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22253
5b27a807
UD
22254 * config.make.in (RANLIB): Remove entry.
22255
01f16ab0
UD
222562011-05-30 Ulrich Drepper <drepper@gmail.com>
22257
41fce8bd
UD
22258 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22259 (libc.pot): Work around missing support for .ksh extension in xgettext.
22260
4769ae77
UD
22261 [BZ #12684]
22262 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22263 if both request failed.
22264 (send_dg): In case of server errors clear resplen or *resplen2.
22265
6b1e7d19
UD
22266 [BZ #12454]
22267 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22268 when there are multiple maps.
22269 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22270 (_dl_fini): Remove test here.
22271
01f16ab0
UD
22272 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22273
b1ebd700
UD
222742011-05-29 Ulrich Drepper <drepper@gmail.com>
22275
7ae22829
UD
22276 [BZ #12350]
22277 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22278 bit from old_res_options.
22279 (gaih_inet): Likewise.
22280
553149f6 22281 [BZ #11099]
18a84741 22282 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22283 as signed.
22284
652ffab1
UD
22285 * resolv/res_init.c (res_setoptions): Make the code more compact.
22286
16985fd0
UD
22287 [BZ #11558]
22288 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22289 set RES_USEVC.
22290
0464f746
UD
22291 [BZ #11634]
22292 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22293
7d17596c
UD
22294 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22295
cf6bbbd7
UD
22296 [BZ #11781]
22297 * malloc/malloc.h: Declare malloc hook variables as volatile.
22298
13f1ab36
UD
22299 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22300 in last patch.
22301
b1ebd700
UD
22302 [BZ #11799]
22303 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22304 raise in the comment.
80e2212d
UD
22305 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22306 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22307 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22308
ce67228d
UD
223092011-05-28 Ulrich Drepper <drepper@gmail.com>
22310
8887a920
UD
22311 [BZ #12811]
22312 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22313 grow the buffers more if it already has to be sufficient.
22314 (build_wcs_upper_buffer): Likewise.
22315 * posix/regexec.c (check_matching): Likewise.
22316 (clean_state_log_if_needed): Likewise.
22317 (extend_buffers): Don't enlarge buffers beyond size of the input
22318 buffer.
22319 Patches mostly by Emil Wojak <emil@wojak.eu>.
22320 * posix/bug-regex32.c: New file.
22321 * posix/Makefile (tests): Add bug-regex32.
22322
4f031072
UD
22323 * locale/findlocale.c (_nl_find_locale): Return right away if
22324 _nl_explode_name failed.
22325 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22326
d0478f0c
UD
22327 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22328
de81b246
UD
22329 * debug/xtrace.sh: Unify messages.
22330 * malloc/memusage.sh: Likewise.
22331
c738465a
UD
22332 [BZ #12813]
22333 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22334 time symbol from vDSO. Substitute with vsyscall if not available.
22335 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22336 __vdso_time.
22337
f1f929d7
UD
22338 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22339 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22340 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22341 Add sendmmsg and internal_sendmmsg.
22342 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22343 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22344 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22345
ce67228d
UD
22346 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22347 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22348 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22349
e57420c6
UD
223502011-05-27 Ulrich Drepper <drepper@gmail.com>
22351
a8509ca5
UD
22352 [BZ #12813]
22353 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22354 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22355 available.
22356 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22357 __vdso_getcpu.
22358
e57420c6
UD
22359 [BZ #12814]
22360 * iconvdata/Makefile (tests): Add bug-iconv9.
22361 * iconvdata/bug-iconv9.c: New file.
22362
4d07db15
AS
223632011-05-27 Andreas Schwab <schwab@redhat.com>
22364
22365 [BZ #12814]
22366 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22367
ea486f69
JJ
223682011-05-25 Jakub Jelinek <jakub@redhat.com>
22369
22370 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22371 (struct user_regs_struct): Change intcs field back to cs.
22372
6f038433
UD
223732011-05-25 Ulrich Drepper <drepper@gmail.com>
22374
22375 * po/ja.po: Update from translation team.
22376
67f86a25
UD
223772011-05-23 Ulrich Drepper <drepper@gmail.com>
22378
22379 [BZ #12795]
22380 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22381 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22382
def7fbd6
AS
223832011-05-20 Andreas Schwab <schwab@redhat.com>
22384
22385 * stdlib/longlong.h: Update from GCC.
22386
f50ef8f1
AS
223872011-05-23 Andreas Schwab <schwab@redhat.com>
22388
22389 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22390 parameter name.
22391 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22392 Add parameter name.
22393 (__sysconf): Pass it down.
22394
de7ce8f1
UD
223952011-05-22 Ulrich Drepper <drepper@gmail.com>
22396
f2962a71
UD
22397 [BZ #12671]
22398 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22399 some situations.
22400 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22401 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22402 add in in __libc_use_alloca calls. Adjust callers.
22403 (glob): Use malloc in some situations.
22404
de7ce8f1
UD
22405 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22406 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22407 pltexit.
22408
aec84f53
UD
224092011-05-21 Ulrich Drepper <drepper@gmail.com>
22410
05bb4a68
UD
22411 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22412 and CLOCK_BOOTTIME_ALARM.
22413
7ea72f99
UD
22414 [BZ #12782]
22415 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22416 is returned.
22417
7e4afad5
UD
22418 * string/_strerror.c (__strerror_r): Print negative errors as signed
22419 numbers.
22420
8e211fec
UD
22421 [BZ #12777]
22422 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22423 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22424 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22425
f7d82dc9
UD
22426 * configure.in: Fix typo in redirection and correct removal of test
22427 files in two cases.
22428
cc9e536d
UD
22429 [BZ #12788]
22430 * locale/setlocale.c (new_composite_name): Fix test to check for
22431 identical name of all categories.
22432
aec84f53
UD
22433 [BZ #12792]
22434 * libio/filedoalloc.c (local_isatty): New function.
22435 (_IO_file_doallocate): Use local_isatty.
22436 * stdio-common/perror.c (perror): In case a new stream is used
22437 forward the stream error.
22438 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22439 error flag.
22440
78e64fdc
RT
224412011-05-20 Ulrich Drepper <drepper@gmail.com>
22442
34a9094f
UD
22443 [BZ #11869]
22444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22445 alloca.
22446 * include/alloca.h (extend_alloca_account): Define.
22447
78e64fdc
RT
22448 [BZ #11857]
22449 * posix/regex.h: Fix comments with documentation of user-accessible
22450 fields after compilation and describe correct free'ing of pattern
22451 after re_compile_pattern.
22452 Patch by Reuben Thomas <rrt@sc3d.org>.
22453
457bddfc
RA
224542011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22455
22456 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22457 and -mno-altivec to prevent the compiler from using Altivec and/or
22458 VSX instructions when the corresponding registers are not available.
22459
a4527b51
AS
224602011-05-19 Andreas Schwab <schwab@redhat.com>
22461
22462 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22463
ed690b2f
UD
224642011-05-19 Ulrich Drepper <drepper@gmail.com>
22465
22466 * libio/freopen.c (freopen): Use __dup2, not dup2.
22467 * libio/freopen64.c (freopen64): Likewise.
22468
8db73634
L
224692011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22470
22471 [BZ #12775]
22472 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22473 * math/Makefile (tests): Add test-powl.
22474 (CFLAGS-test-powl.c): Define.
22475 * math/test-powl.c: New file.
22476
0a197a9d
L
224772011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22478
22479 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22480
ee30c380
UD
224812011-05-17 Ulrich Drepper <drepper@gmail.com>
22482
22483 [BZ #11837]
22484 * iconvdata/gb18030.c: Update to GB18020-2005.
22485
6ce75379
UD
224862011-05-16 Ulrich Drepper <drepper@gmail.com>
22487
a4b89fd8
AR
22488 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22489 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22490 Patch by Aharon Robbins <arnold@skeeve.com>.
22491
ea389b12
UD
22492 [BZ #11892]
22493 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22494 on the stack.
22495
68a3f91f
UD
22496 [BZ #11895]
22497 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22498 through underflows.
22499
15cc7dd1
UD
22500 [BZ #12766]
22501 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22502 point to strings before performing equality test for error_one_per_line
22503 mode.
22504
f3799213
UD
22505 [BZ #11697]
22506 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22507
d79a9c94
UD
22508 [BZ #11820]
22509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22510 (struct user_fpregs_struct): Avoid __uint*_t types.
22511
56e5eb46
UD
22512 [BZ #6420]
22513 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22514 symbol info. Use it instead of calling _dl_addr locally.
22515 (lock_and_info): New function.
22516 (tr_freehook): Call lock_and_info and pass symbol info as additional
22517 parameter to tr_where.
22518 (tr_mallochook): Likewise.
22519 (tr_reallochook): Likewise.
22520 (tr_memalignhook): Likewise.
22521
6ce75379
UD
22522 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22523 used and couldn't be at all thread-safe.
22524
f8a3b5bf
UD
225252011-05-15 Ulrich Drepper <drepper@gmail.com>
22526
94b7cc37
UD
22527 * libio/freopen.c (freopen): Don't close old file descriptor
22528 before the new one is opened. Instead dup the new file descriptor
22529 to the old one after the new stream is created.
22530 * libio/freopen64.c (freopen64): Likewise.
22531 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22532 * libio/fileops.c (_IO_new_file_close_it): Handle new
22533 _IO_FLAGS2_NOCLOSE flag.
22534 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22535 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22536 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22537 _IO_FLAGS2_NOCLOSE flag.
22538 * include/unistd.h: Add hidden_proto for dup3.
22539 Define __have_dup3.
22540 * io/dup3.c: Define hidden symbol.
22541 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22542
bd25564e
UD
22543 [BZ #7101]
22544 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22545 when an incomplete long option is used.
22546 * posix/tst-getopt_long1.c: New file.
22547 * posix/Makefile (tests): Add tst-getopt_long1.
22548
c84cfef4
UD
22549 [BZ #10138]
22550 * scripts/config.guess: Update from autoconf-2.68.
22551 * scripts/config.sub: Likewise.
22552
3b85df27
UD
22553 [BZ #10157]
22554 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22555 tests into ...
22556 (has_cpuclock): ...this. New function.
22557 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22558 macro here based on has_cpuclock code.
22559
15a856b1
UD
22560 [BZ #10149]
22561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22562 First byte (not low byte) is now always NUL.
22563 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22564
05f399e6
UD
22565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22566 Use non-cancelable interfaces.
22567
10a52685 22568 [BZ #9809]
94ecc67d
UD
22569 * locale/iso-639.def: Add entry for Sorani.
22570
f8a3b5bf
UD
22571 [BZ #11901]
22572 * include/stdlib.h: Move include protection to the right place.
22573 Define abort_msg_s. Declare __abort_msg with it.
22574 * stdlib/abort.c (__abort_msg): Adjust type.
22575 * assert/assert.c (__assert_fail_base): New function. Majority
22576 of code from __assert_fail. Allocate memory for __abort_msg with
22577 mmap.
22578 (__assert_fail): Now call __assert_fail_base.
22579 * assert/assert-perr.c: Remove bulk of implementation. Use
22580 __assert_fail_base.
22581 * include/assert.hL Declare __assert_fail_base.
22582 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22583 mmap.
22584 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22585
1af4e298
UD
225862011-05-14 Ulrich Drepper <drepper@gmail.com>
22587
f8a3b5bf 22588 [BZ #11952]
d26dfc60
MG
22589 [BZ #12453]
22590 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22591 until all modules are registered in the DTV.
22592 * elf/Makefile: Add rules to build and run tst-tls19.
22593 * elf/tst-tls19.c: New file.
22594 * elf/tst-tls19mod1.c: New file.
22595 * elf/tst-tls19mod2.c: New file.
22596 * elf/tst-tls19mod3.c: New file.
22597 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22598
2fc54d6f
UD
22599 [BZ #12083]
22600 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22601 correctly.
22602
98d76b46
UD
22603 [BZ #12601]
22604 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22605 two-byte sequence errors.
22606 * iconvdata/Makefile (tests): Add bug-iconv8.
22607 * iconvdata/bug-iconv8.c: New file.
22608
da3c19ef
UD
22609 [BZ #12626]
22610 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22611 buf2 definition.
22612
ca408c15
UD
22613 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22614
d6f67f7d
UD
22615 [BZ #12432]
22616 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22617 (dummy_getcfa): New function.
22618 (init): Get _Unwind_GetCFA address, use dummy if not found.
22619 (backtrace_helper): In recursion check, also check whether CFA changes.
22620 (__backtrace): Completely initialize arg.
22621
1af4e298 22622 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22623 storing incomplete byte sequence in state object. Avoid testing for
22624 guaranteed too small input if we know there is enough data available.
1af4e298 22625
da62f81b
AS
226262011-05-11 Andreas Schwab <schwab@redhat.com>
22627
22628 * Makeconfig (+link-pie): Indent.
22629 * Rules (binaries-pie): Define if $(have-fpie) and
22630 $(build-shared).
22631 (binaries-shared): Also filter out $(binaries-pie).
22632 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22633 * nscd/Makefile (others-pie): Add nscd.
22634 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22635 ($(objpfx)nscd): Remove command override.
22636 * login/Makefile (others-pie): Add pt_chown.
22637 ($(objpfx)pt_chown): Remove command override.
22638 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22639 remove command overrides.
22640
fcabc0f8
UD
226412011-05-13 Ulrich Drepper <drepper@gmail.com>
22642
20030ae6
UD
22643 * libio/tst_putwc.c: Fix error messages.
22644
fcabc0f8
UD
22645 [BZ #12724]
22646 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22647 currently writing and seek to current position when not.
22648 * libio/Makefile (tests): Add bug-fclose1.
22649 * libio/bug-fclose1.c: New file.
22650
320a5dc0
PB
226512011-05-12 Ulrich Drepper <drepper@gmail.com>
22652
22653 [BZ #12511]
22654 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22655 don't set DF_1_NODELETE here.
22656 (do_lookup_x): When entering new entry test for copy relocation
22657 and if necessary set DF_1_NODELETE flag.
22658 * elf/tst-unique4.cc: New file.
22659 * elf/tst-unique4.h: New file.
22660 * elf/tst-unique4lib.cc: New file.
22661 * elf/Makefile: Add rules to build and run tst-unique4.
22662 Patch by Piotr Bury <pbury@goahead.com>.
22663
22836f52
UD
226642011-05-11 Ulrich Drepper <drepper@gmail.com>
22665
f574184a
UD
22666 [BZ #12052]
22667 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22668
e1fb097f
UD
22669 [BZ #12625]
22670 * misc/mntent_r.c (addmntent): Flush the stream after the output
22671
22836f52
UD
22672 [BZ #12393]
22673 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22674 (is_trusted_path_normalize): Skip initial colon. Append slash
22675 to empty buffer. Duplicate is_trusted_path code but allow
22676 constructed patch to be prefix.
22677 (is_dst): Allow $ORIGIN followed by /.
22678 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22679 Correct testing of result of is_trusted_path_normalize
22680 (decompose_rpath): Fix warning.
22681
7b3b0b2a
UD
226822011-05-10 Ulrich Drepper <drepper@gmail.com>
22683
22684 [BZ #11257]
22685 * grp/initgroups.c (internal_getgrouplist): When we found the service
22686 list through the initgroups entry in nsswitch.conf do not always
22687 continue on a successful lookup. Don't always use the
eac80ce2 22688 __nss_group_database value if it is set.
7b3b0b2a
UD
22689 * nss/nsswitch.conf (initgroups): Change action for successful db
22690 lookup to continue for compatibility.
22691
2a81eaa5
UD
226922011-05-09 Ulrich Drepper <drepper@gmail.com>
22693
be97a69e
UD
22694 [BZ #11532]
22695 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22696 and CP774 modules.
22697 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22698 and CP774 modules.
22699 * iconvdata/tst-tables.sh: Likewise.
22700 * iconvdata/cp770.c: New file.
22701 * iconvdata/cp771.c: New file.
22702 * iconvdata/cp772.c: New file.
22703 * iconvdata/cp773.c: New file.
22704 * iconvdata/cp774.c: New file.
22705 * iconvdata/testdata/CP770: New file.
22706 * iconvdata/testdata/CP770..UTF8: New file.
22707 * iconvdata/testdata/CP771: New file.
22708 * iconvdata/testdata/CP771..UTF8: New file.
22709 * iconvdata/testdata/CP772: New file.
22710 * iconvdata/testdata/CP772..UTF8: New file.
22711 * iconvdata/testdata/CP773: New file.
22712 * iconvdata/testdata/CP773..UTF8: New file.
22713 * iconvdata/testdata/CP774: New file.
22714 * iconvdata/testdata/CP774..UTF8: New file.
22715
22716 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22717 END CHARMAP line.
22718 * iconvdata/gen-8bit-gap.sh: Likewise.
22719 * iconvdata/gen-8bit.sh: Likewise.
22720
c1e9e399
UD
22721 * locale/iso-639.def: Add ary entry.
22722
24c55fb3 22723 [BZ #11258]
96b4b1b0
UD
22724 * locale/C-translit.h.in: Add U20A1 transliteration.
22725
bdc2f971
KB
22726 [BZ #12178]
22727 * locale/iso-639.def: Add wae entry.
22728 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22729
2952b117
UD
22730 [BZ #12545]
22731 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22732 for n.
22733
2a81eaa5
UD
22734 [BZ #12711]
22735 * locale/C-translit.h.in: Add entry for U20B9.
22736 Patch by pravin.d.s@gmail.com.
22737
28377d1b
UD
227382011-05-08 Ulrich Drepper <drepper@gmail.com>
22739
7fb90fb8
UD
22740 [BZ #12713]
22741 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22742 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22743 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22744 in rtld. Use *stat64.
7fb90fb8 22745 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22746 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22747 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22748 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22749 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22750 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22751 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22752 __fstatat64 macros.
7fb90fb8
UD
22753 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22754 * dirent/rewinddir.c: Add libc_hidden_def.
22755 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22756 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22757
28377d1b
UD
22758 * include/dirent.h (__alloc_dir): Add flags parameter.
22759 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22760 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22761 __alloc_dir.
22762 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22763 from fdopendir if O_CLOEXEC is already set.
22764
66bdbaa4
AM
227652011-03-15 Alan Modra <amodra@gmail.com>
22766
22767 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22768 l_tls_firstbyte_offset non-zero. Save padding offset in
22769 l_tls_firstbyte_offset for later use.
22770 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22771 freeing static tls block.
22772
95721191
JN
227732011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22774
22775 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22776 where #ifdef was intended. The intent is to prevent ARG_MAX from
22777 being defined by the kernel headers.
22778
f87dfb1f
UD
227792011-05-07 Ulrich Drepper <drepper@gmail.com>
22780
22781 [BZ #12734]
22782 * resolv/resolv.h: Define RES_NOTLDQUERY.
22783 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22784 no-tld-query and set RES_NOTLDQUERY.
22785 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22786 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22787 modern BIND to search name as TLD unless forbidden.
22788
47c3cd7a
UD
227892011-05-07 Petr Baudis <pasky@suse.cz>
22790 Ulrich Drepper <drepper@gmail.com>
22791
22792 [BZ #12393]
22793 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22794 (is_trusted_path): ...to here.
c1e9ea35 22795 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22796 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22797 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22798
8a35c912
PP
227992011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22800
22801 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22802 __BEGIN/__END_DECLS.
22803
acd41f47
UD
228042011-05-06 Ulrich Drepper <drepper@gmail.com>
22805
22806 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22807 NSS_STATUS_NOTFOUND if no record was found.
22808
597df647
AS
228092011-05-05 Andreas Schwab <schwab@redhat.com>
22810
22811 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22812 (headers-not-in-tirpc): Remove rpc/netdb.h
22813 * resolv/netdb.h: Revert last change.
22814
b9af1301
PP
228152011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22816
22817 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22818 circular dependency between libgcc.a and libc.a.
22819
4e34d5f5
AS
228202011-05-05 Andreas Schwab <schwab@redhat.com>
22821
22822 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22823 * nis/Makefile: Don't install rpcsvc/*.
22824 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22825 instead of <rpc/types.h>.
22826 (MAXHOSTNAMELEN): Define.
22827
00ee369c
AS
228282011-05-03 Andreas Schwab <schwab@redhat.com>
22829
22830 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22831
0b592a30
MB
228322011-04-28 Maciej Babinski <mbabinski@google.com>
22833
22834 [BZ #12714]
22835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22836 gethostbyname4_r when IPv6 results are possible.
22837
6e04cbbe
UD
228382011-05-02 Ulrich Drepper <drepper@gmail.com>
22839
22840 [BZ #12723]
22841 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22842 _PC_PIPE_BUF handling.
22843
e4ecafe0
BH
228442011-04-30 Bruno Haible <bruno@clisp.org>
22845
22846 [BZ #12717]
22847 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22848 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22849 to 'int'.
22850 * inet/getnameinfo.c (getnameinfo): Likewise.
22851
125ee683
UD
228522011-04-29 Ulrich Drepper <drepper@gmail.com>
22853
22854 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22855 to groups setting in database lookup.
22856 * nss/nsswitch.conf: Add initgroups entry.
22857
b722481a
EB
228582011-04-22 Ulrich Drepper <drepper@gmail.com>
22859
22860 [BZ #12685]
22861 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22862 mode string.
22863 Patch by Eric Blake <eblake@redhat.com>.
22864
4df46dbd
L
228652011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22866
22867 * sunrpc/Makefile (need-export-routines): Add svc_run.
22868 (routines): Remove svc_run.
22869 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22870 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22871 * sunrpc/svc_run.c (svc_run): Likewise.
22872 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22873
e84142d2
UD
228742011-04-21 Ulrich Drepper <drepper@gmail.com>
22875
22876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22877 problem in reallocation in last patch.
22878
877175d8
UD
228792011-04-20 Ulrich Drepper <drepper@gmail.com>
22880
22881 * sunrpc/Makefile: Move inclusion of Rules.
22882
ab8eed78
UD
228832011-04-19 Ulrich Drepper <drepper@gmail.com>
22884
22885 * nss/nss_files/files-initgroups.c: New file.
22886 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22887 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22888 _nss_files_initgroups_dyn.
22889
e3d8f584
RS
228902011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22891
22892 * elf/elf.h (R_ARM_IRELATIVE): Define.
22893
af190f45
UD
228942011-04-19 Ulrich Drepper <drepper@gmail.com>
22895
22896 * po/ru.po: Update from translation team.
22897
53cf59ef
UD
228982011-04-17 Ulrich Drepper <drepper@gmail.com>
22899
22900 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22901 dependencies.
22902
4c559bcd
MF
229032011-02-06 Mike Frysinger <vapier@gentoo.org>
22904
22905 [BZ #12653]
22906 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22907 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22908 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22909 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22910 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22911
4420675c
AS
229122011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22913
22914 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22915 differing bytes.
22916 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22919
75ea32ab
UD
229202011-04-17 Ulrich Drepper <drepper@gmail.com>
22921
22922 [BZ #12420]
22923 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22924 storing it.
22925 * stdlib/bug-getcontext.c: New file.
22926 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22927
27390476
AK
229282011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22929
22930 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22931 instructions into .machine "z9-109".
22932 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22933 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22934
10442705
AK
229352011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22936
22937 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22938 between environment variables and auxiliary vector.
22939
7b57bfe5
UD
229402011-04-16 Ulrich Drepper <drepper@gmail.com>
22941
22942 * Makefile: Add rules to build linkobj/libc.so.
22943 * include/libc-symbols.h: Define libc_hidden_nolink.
22944 * include/rpc/auth.h: Mark functions which are to be hidden.
22945 * include/rpc/auth_des.h: Likewise.
22946 * include/rpc/auth_unix.h: Likewise.
22947 * include/rpc/clnt.h: Likewise.
22948 * include/rpc/des_crypt.h: Likewise.
22949 * include/rpc/key_prot.h: Likewise.
22950 * include/rpc/pmap_clnt.h: Likewise.
22951 * include/rpc/pmap_prot.h: Likewise.
22952 * include/rpc/pmap_rmt.h: Likewise.
22953 * include/rpc/rpc_msg.h: Likewise.
22954 * include/rpc/svc.h: Likewise.
22955 * include/rpc/svc_auth.h: Likewise.
22956 * include/rpc/xdr.h: Likewise.
22957 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22958 * nss/Makefile: Likewise.
22959 * sunrpc/Makefile: Don't install headers. Build library with normal
22960 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22961 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22962 for the compat linking library. Remove use of INTDEF/INTUSE.
22963 * sunrpc/auth_none.c: Likewise.
22964 * sunrpc/auth_unix.c: Likewise.
22965 * sunrpc/authdes_prot.c: Likewise.
22966 * sunrpc/authuxprot.c: Likewise.
22967 * sunrpc/clnt_gen.c: Likewise.
22968 * sunrpc/clnt_perr.c: Likewise.
22969 * sunrpc/clnt_raw.c: Likewise.
22970 * sunrpc/clnt_simp.c: Likewise.
22971 * sunrpc/clnt_tcp.c: Likewise.
22972 * sunrpc/clnt_udp.c: Likewise.
22973 * sunrpc/clnt_unix.c: Likewise.
22974 * sunrpc/des_crypt.c: Likewise.
22975 * sunrpc/des_soft.c: Likewise.
22976 * sunrpc/get_myaddr.c: Likewise.
22977 * sunrpc/key_call.c: Likewise.
22978 * sunrpc/key_prot.c: Likewise.
22979 * sunrpc/netname.c: Likewise.
22980 * sunrpc/pm_getmaps.c: Likewise.
22981 * sunrpc/pm_getport.c: Likewise.
22982 * sunrpc/pmap_clnt.c: Likewise.
22983 * sunrpc/pmap_prot.c: Likewise.
22984 * sunrpc/pmap_prot2.c: Likewise.
22985 * sunrpc/pmap_rmt.c: Likewise.
22986 * sunrpc/publickey.c: Likewise.
22987 * sunrpc/rpc_cmsg.c: Likewise.
22988 * sunrpc/rpc_common.c: Likewise.
22989 * sunrpc/rpc_dtable.c: Likewise.
22990 * sunrpc/rpc_prot.c: Likewise.
22991 * sunrpc/rpc_thread.c: Likewise.
22992 * sunrpc/rtime.c: Likewise.
22993 * sunrpc/svc.c: Likewise.
22994 * sunrpc/svc_auth.c: Likewise.
22995 * sunrpc/svc_authux.c: Likewise.
22996 * sunrpc/svc_raw.c: Likewise.
22997 * sunrpc/svc_run.c: Likewise.
22998 * sunrpc/svc_simple.c: Likewise.
22999 * sunrpc/svc_tcp.c: Likewise.
23000 * sunrpc/svc_udp.c: Likewise.
23001 * sunrpc/svc_unix.c: Likewise.
23002 * sunrpc/svcauth_des.c: Likewise.
23003 * sunrpc/xcrypt.c: Likewise.
23004 * sunrpc/xdr.c: Likewise.
23005 * sunrpc/xdr_array.c: Likewise.
23006 * sunrpc/xdr_float.c: Likewise.
23007 * sunrpc/xdr_intXX_t.c: Likewise.
23008 * sunrpc/xdr_mem.c: Likewise.
23009 * sunrpc/xdr_rec.c: Likewise.
23010 * sunrpc/xdr_ref.c: Likewise.
23011 * sunrpc/xdr_sizeof.c: Likewise.
23012 * sunrpc/xdr_stdio.c: Likewise.
23013
e6c61494
UD
230142011-04-10 Ulrich Drepper <drepper@gmail.com>
23015
23016 [BZ #12650]
23017 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23018 * sysdeps/ia64/dl-tls.h: Likewise.
23019 * sysdeps/powerpc/dl-tls.h: Likewise.
23020 * sysdeps/s390/dl-tls.h: Likewise.
23021 * sysdeps/sh/dl-tls.h: Likewise.
23022 * sysdeps/sparc/dl-tls.h: Likewise.
23023 * sysdeps/x86_64/dl-tls.h: Likewise.
23024 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23025
34fe483e
AS
230262011-03-14 Andreas Schwab <schwab@redhat.com>
23027
23028 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23029 rpath element also skip the following colon.
23030 (expand_dynamic_string_token): Add is_path parameter and pass
23031 down to DL_DST_REQUIRED and _dl_dst_substitute.
23032 (decompose_rpath): Call expand_dynamic_string_token with
23033 non-zero is_path. Ignore empty rpaths.
23034 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23035 with zero is_path.
23036
f12a32e6
AS
230372011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23038
23039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23040 Make cancelable.
23041
38a7d692
UD
230422011-04-09 Ulrich Drepper <drepper@gmail.com>
23043
23044 [BZ #12655]
23045 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23046 Patch by Filipe David Manana <fdmanana@apache.org>.
23047
e451d22b
AS
230482011-04-07 Andreas Schwab <schwab@redhat.com>
23049
23050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23051 Maintain aligned stack.
23052 (CHECK_RSP): Remove unused macro.
23053
dedc7c7b
UD
230542011-04-03 Ulrich Drepper <drepper@gmail.com>
23055
23056 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23057 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23058
94521213
UD
230592011-04-02 Ulrich Drepper <drepper@gmail.com>
23060
23061 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23062
8cb700c0 23063 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23064
0354e355
L
230652011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23066
23067 [BZ #12518]
23068 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23069 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23070 * sysdeps/x86_64/memmove.c: New file.
23071 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23072 (memcpy): Renamed to ...
23073 (__new_memcpy): This.
23074 (memcpy): Provide GLIBC_2_14 memcpy.
23075 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23076 (memcpy): Provide GLIBC_2_2_5 memcpy.
23077
8593482f
UD
230782011-04-01 Ulrich Drepper <drepper@gmail.com>
23079
23080 [BZ #12631]
23081 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23082
81a5726b
AS
230832011-03-30 Andreas Schwab <schwab@redhat.com>
23084
23085 * misc/syncfs.c: New file.
23086 * misc/Makefile (routines): Add syncfs.
23087 * posix/unistd.h: Declare syncfs.
23088 * sysdeps/unix/syscalls.list: Add syncfs.
23089
00e5419f
AS
230902011-04-01 Andreas Schwab <schwab@redhat.com>
23091
23092 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23093 open_by_handle_at.
23094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23097 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23099 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23101
748876bf
UD
231022011-04-01 Ulrich Drepper <drepper@gmail.com>
23103
658e451d
UD
23104 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23106 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23108 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23111
748876bf
UD
23112 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23113 sync_file_range.c with -fexceptions.
23114 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23115 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23116 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23117 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23118 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23119 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23121 sync_file_range as cancellation point
23122 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23123 now a wrapper around __call_sync_file_range with cancellation handling.
23124 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23125 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23126 function name to __call_sync_file_range.
23127 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23128 Add call_sync_file_range.
748876bf 23129
6e63d5e1
AS
231302011-04-01 Andreas Schwab <schwab@redhat.com>
23131
23132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23133 bits/timex.h.
6e63d5e1 23134
46998f74
UD
231352011-04-01 Ulrich Drepper <drepper@gmail.com>
23136
4c1423ed
UD
23137 * iconv/iconv.h: Fix typo in comment.
23138 * io/fcntl.h: Likewise.
23139 * libio/stdio.h: Likewise.
23140 * posix/spawn.h: Likewise.
23141 * posix/unistd.h: Likewise.
23142 * stdlib/stdlib.h: Likewise.
23143 * time/time.h: Likewise.
23144 * wcsmbs/wchar.h: Likewise.
23145
158648c0
UD
23146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23147 open_by_handle): Add.
23148 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23149 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23150 Augment a few comments.
23151 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23156 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23157 open_by_handle.
23158
46998f74
UD
23159 * io/fcntl.h (AT_EMPTY_PATH): Define.
23160
83fe108b
UD
231612011-03-30 Ulrich Drepper <drepper@gmail.com>
23162
23163 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23164 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23165 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23166 to...
23167 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23168 * Versions.def: Add GLIBC_2.14.
23169 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23170 Export.
83fe108b 23171
bb242059
UD
231722011-03-22 Ulrich Drepper <drepper@gmail.com>
23173
23174 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23175 round counter.
23176 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23177
c97a1282
L
231782011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23179
23180 [BZ #12597]
23181 * string/test-strncmp.c (do_page_test): New function.
23182 (check2): Likewise.
23183 (test_main): Call check2.
23184 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23185
2a115601
UD
231862011-03-20 Ulrich Drepper <drepper@gmail.com>
23187
23188 [BZ #12587]
23189 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23190 Handle cache information in CPU leaf 4.
23191 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23192
8126d904
UD
231932011-03-18 Ulrich Drepper <drepper@gmail.com>
23194
042c49c6 23195 [BZ #12583]
8126d904
UD
23196 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23197 character representation.
23198 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23199
ccfe366e
RA
232002011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23201
23202 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23203 END(__isnan) to END(__isnanf) to match function entry point/label
23204 EALIGN(__isnanf,...).
23205
c6e13027
JJ
232062011-03-10 Jakub Jelinek <jakub@redhat.com>
23207
23208 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23209
33f85a3f
UD
232102011-03-10 Ulrich Drepper <drepper@gmail.com>
23211
028478fa
UD
23212 [BZ #12510]
23213 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23214 copy from the symbol referenced in the relocation to initialize the
23215 used variable.
23216 Patch by Piotr Bury <pbury@goahead.com>.
23217 * elf/Makefile: Add rules to build and tst-unique3.
23218 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23219 * elf/tst-unique3.cc: New file.
23220 * elf/tst-unique3.h: New file.
23221 * elf/tst-unique3lib.cc: New file.
23222 * elf/tst-unique3lib2.cc: New file.
23223
33f85a3f
UD
23224 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23225
03592fc7
MF
232262011-03-10 Mike Frysinger <vapier@gentoo.org>
23227
23228 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23229 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23230 to _start.
03592fc7 23231
6a5ee102
UD
232322011-03-06 Ulrich Drepper <drepper@gmail.com>
23233
23234 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23235 to-be-loaded object along a path to loader is ld.so.
23236
7e4ba49c
HJ
232372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23238 Ulrich Drepper <drepper@gmail.com>
23239
23240 * sysdeps/x86_64/memset.S: After aligning destination, code
23241 branches to different locations depending on the value of
23242 misalignment, when multiarch is enabled. Fix this.
23243
232442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23245
23246 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23247 Set _x86_64_preferred_memory_instruction for AMD processsors.
23248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23249 Set bit_Prefer_SSE_for_memop for AMD processors.
23250
13a804de
UD
232512011-03-04 Ulrich Drepper <drepper@gmail.com>
23252
23253 * libio/fmemopen.c (fmemopen): Optimize a bit.
23254
9d25c392
AS
232552011-03-03 Andreas Schwab <schwab@redhat.com>
23256
23257 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23258
a5543c6a
RM
232592011-03-03 Roland McGrath <roland@redhat.com>
23260
23261 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23262
012d35f7
DM
232632011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23264
7e4ba49c 23265 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23266 __bzero_ultra1 instead of __memset_ultra1.
23267
4bff6e01
AS
232682011-02-23 Andreas Schwab <schwab@redhat.com>
23269 Ulrich Drepper <drepper@gmail.com>
23270
23271 [BZ #12509]
23272 * include/link.h (struct link_map): Add l_orig_initfini.
23273 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23274 returning unsuccessfully.
23275 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23276 close of a file loaded at startup, restore the original l_initfini
23277 list.
23278 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23279 list, store the pointer.
23280 * elf/Makefile ($(objpfx)noload-mem): New rule.
23281 (noload-ENV): Define.
23282 (tests): Add $(objpfx)noload-mem.
23283 * elf/noload.c: Include <memcheck.h>.
23284 (main): Call mtrace. Close all opened handles.
23285
f2092faf
AS
232862011-02-17 Andreas Schwab <schwab@redhat.com>
23287
23288 [BZ #12454]
23289 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23290 dependencies are missing.
23291
6c8a2e88
ST
232922011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23293
f2092faf 23294 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23295 Hurd needs munmap.
23296 * sysdeps/mach/hurd/ifreq.h: New file.
23297
84a42118
PB
232982011-01-27 Petr Baudis <pasky@suse.cz>
23299 Ulrich Drepper <drepper@gmail.com>
23300
071f805e 23301 [BZ 12445]#
84a42118
PB
23302 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23303 to extend_alloca().
23304 * stdio-common/bug23.c: New file.
23305 * stdio-common/Makefile (tests): Add bug23.
23306
e23fe25b
AS
233072010-09-28 Andreas Schwab <schwab@redhat.com>
23308 Ulrich Drepper <drepper@gmail.com>
23309
23310 [BZ #12489]
23311 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23312 before performing relro protection. At old place add assertion
23313 to make sure nothing changed.
23314
d3f02e10
NS
233152011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23316 Glauber de Oliveira Costa <glommer@gmail.com>
23317
23318 * elf/elf.h: Add new ARM TLS relocs.
23319
d55fd7a5
RA
233202011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23321
23322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23323 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23324 cast from r3.
23325 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23326 'tests' variable.
23327 * sysdeps/wordsize-64/tst-writev.c: New file.
23328
2206397e
RA
233292011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23330
23331 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23332 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23333 insns in _dl_start to prevent a TOC reference before relocs are
23334 resolved.
23335
e9433893
UD
233362011-02-15 Ulrich Drepper <drepper@gmail.com>
23337
23338 [BZ #12469]
23339 * Makeconfig: Remove RANLIB definition.
23340 * Makerules: Don't use RANLIB.
23341 * aclocal.m4: Remove ranlib test.
23342 * configure.in: No need to check for ranlib.
23343 * elf/rtld-Rules: Don't use RANLIB.
23344
f75286c6
ST
233452011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23346
8e31c82d
ST
23347 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23348 protection macro.
23349 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23350 inclusion protection macro.
23351
f75286c6
ST
23352 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23353 SIGRTMIN and SIGRTMAX and print information in that case only when
23354 SIGRTMIN is defined.
23355
c1d0e639
JJ
233562011-02-11 Jakub Jelinek <jakub@redhat.com>
23357
23358 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23359 arginfo fn returning -1.
23360
23361 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23362 and thousands string is zero terminated.
23363
edf9294e
AS
233642011-02-03 Andreas Schwab <schwab@redhat.com>
23365
23366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23367 sysdeps/unix/sysv/linux/bits/socket.h.
23368
2b7e92df
ST
233692011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23370
edf9294e
AS
23371 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23372 (__CPU_COUNT): Remove old macros.
23373 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23374 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23375 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23376 (__sched_cpualloc, __sched_cpufree): Add declarations.
23377
a4c7ea7b
UD
233782011-02-05 Ulrich Drepper <drepper@gmail.com>
23379
23380 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23381 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23382 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23383 (readdhstai): Return value of addhstaiX call.
23384 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23385 (addgrbyX): Return value returned by cache_addgr.
23386 (readdgrbyname): Return value returned by addgrbyX.
23387 (readdgrbygid): Likewise.
23388 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23389 (addpwbyX): Return value returned by cache_addpw.
23390 (readdpwbyname): Return value returned by addhstbyX.
23391 (readdpwbyuid): Likewise.
23392 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23393 (addservbyX): Return value returned by cache_addserv.
23394 (readdservbyname): Return value returned by addservbyX:
23395 (readdservbyport): Likewise.
23396 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23397 (addhstbyX): Return value returned by cache_addhst.
23398 (readdhstbyname): Return value returned by addhstbyX.
23399 (readdhstbyaddr): Likewise.
23400 (readdhstbynamev6): Likewise.
23401 (readdhstbyaddrv6): Likewise.
23402 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23403 (readdinitgroups): Return value returned by addinitgroupsX.
23404 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23405 (prune_cache): Keep track of timeout value of re-added entries.
23406 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23407 * nscd/nscd.h: Adjust prototypes of readd* functions.
23408
a0bf67cc
RM
234092011-02-04 Roland McGrath <roland@redhat.com>
23410
23411 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23412 (nis_stats): Likewise.
23413 * nis/nis_modify.c (nis_modify): Likewise.
23414 * nis/nis_remove.c (nis_remove): Likewise.
23415 * nis/nis_add.c (nis_add): Likewise.
23416
23417 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23418
23419 * posix/fnmatch_loop.c: Add some consts.
23420
23421 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23422
435b95eb
L
234232011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23424
23425 [BZ #12460]
23426 * config.make.in (config-cflags-novzeroupper): Define.
23427 * configure.in: Substitute libc_cv_cc_novzeroupper.
23428 * elf/Makefile (AVX-CFLAGS): Define.
23429 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23430 (CFLAGS-tst-auditmod4a.c): Likewise.
23431 (CFLAGS-tst-auditmod4b.c): Likewise.
23432 (CFLAGS-tst-auditmod6b.c): Likewise.
23433 (CFLAGS-tst-auditmod6c.c): Likewise.
23434 (CFLAGS-tst-auditmod7b.c): Likewise.
23435 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23436
8517b15e
UD
234372011-02-02 Ulrich Drepper <drepper@gmail.com>
23438
23439 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23440 function to the callback.
23441 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23442
10a656fe
AS
234432011-02-02 Andreas Schwab <schwab@redhat.com>
23444
23445 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23446 of errno.
23447
968dad0a
UD
234482011-01-19 Ulrich Drepper <drepper@gmail.com>
23449
9f94d2ea 23450 [BZ #11724]
968dad0a
UD
23451 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23452 of constructors.
23453 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23454 of destructors.
23455 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23456
23457 [BZ #11724]
23458 * elf/Makefile: Add rules to build and run new test.
23459 * elf/tst-initorder.c: New file.
23460 * elf/tst-initorder.exp: New file.
23461 * elf/tst-initordera1.c: New file.
23462 * elf/tst-initordera2.c: New file.
23463 * elf/tst-initordera3.c: New file.
23464 * elf/tst-initordera4.c: New file.
23465 * elf/tst-initorderb1.c: New file.
23466 * elf/tst-initorderb2.c: New file.
23467 * elf/tst-order-a1.c: New file.
23468 * elf/tst-order-a2.c: New file.
23469 * elf/tst-order-a3.c: New file.
23470 * elf/tst-order-a4.c: New file.
23471 * elf/tst-order-b1.c: New file.
23472 * elf/tst-order-b2.c: New file.
23473 * elf/tst-order-main.c: New file.
23474 New test case by George Gensure <werkt0@gmail.com>.
23475
86e92359
UD
234762010-10-01 Andreas Schwab <schwab@redhat.com>
23477
23478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23479 decoding ACE if AI_CANONIDN.
23480
5d5732b0
UD
234812011-01-18 Ulrich Drepper <drepper@gmail.com>
23482
23483 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23484
a77e8cbc
UD
234852011-01-17 Ulrich Drepper <drepper@gmail.com>
23486
6392473f
UD
23487 * version.h (RELEASE): Bump for 2.13 release.
23488 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23489
620a0529
UD
23490 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23491
18ba70a5
UD
23492 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23493 MADV_NOHUGEPAGE.
32465c3e
UD
23494 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23495 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23496 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23497 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23498 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23499 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23500
c0dafcf1
UD
23501 * posix/getconf.c: Update copyright year.
23502 * catgets/gencat.c: Likewise.
23503 * csu/version.c: Likewise.
23504 * debug/catchsegv.sh: Likewise.
23505 * debug/xtrace.sh: Likewise.
23506 * elf/ldconfig.c: Likewise.
23507 * elf/ldd.bash.in: Likewise.
23508 * elf/sprof.c (print_version): Likewise.
23509 * iconv/iconv_prog.c: Likewise.
23510 * iconv/iconvconfig.c: Likewise.
23511 * locale/programs/locale.c: Likewise.
23512 * locale/programs/localedef.c: Likewise.
23513 * malloc/memusage.sh: Likewise.
23514 * malloc/mtrace.pl: Likewise.
23515 * nscd/nscd.c (print_version): Likewise.
23516 * nss/getent.c: Likewise.
23517
a77e8cbc
UD
23518 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23519 PF_CAIF, and PF_ALG.
23520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23521
77e8bddf
AS
235222011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23523
1f20b93a
AS
23524 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23525 (modules-names): Use them.
23526 (ifunc-test-modules, ifunc-pie-tests): Define.
23527 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23528 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23529 (test-extras): Likewise.
23530 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23531 $(compile-command.c).
23532 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23533 (all-built-dso): Define.
23534 (check-textrel.out, check-execstack.out): Depend on it.
23535
77e8bddf
AS
23536 * configure.in: Don't override --enable-multi-arch.
23537
bc425b33
UD
235382011-01-15 Ulrich Drepper <drepper@gmail.com>
23539
23540 [BZ #6812]
23541 * nscd/hstcache.c (tryagain): Define.
23542 (cache_addhst): Return tryagain not notfound for temporary errors.
23543 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23544 failed.
23545
794c3ad3
UD
235462011-01-14 Ulrich Drepper <drepper@gmail.com>
23547
70181fdd
UD
23548 [BZ #10563]
23549 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23550 to make the syscall.
23551 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23552
794c3ad3
UD
23553 [BZ #12378]
23554 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23555 and fall back to matching as normal character if the string ends before
23556 the matching ']' is found. This is what POSIX requires.
23557 * posix/testfnm.c: Adjust test result.
23558 * posix/globtest.sh: Adjust test result. Add new test.
23559 * posix/tst-fnmatch.input: Likewise.
23560 * posix/tst-fnmatch2.c: Add new test.
23561
68dc9497
AS
235622010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23563
23564 * elf/Makefile (check-execstack): Revert last change. Depend on
23565 check-execstack.h.
23566 (check-execstack.h): New target.
23567 (generated): Add check-execstack.h.
23568 * elf/check-execstack.c: Include "check-execstack.h".
23569 (main): Revert last change.
23570 (handle_file): Return zero if GNU_STACK is absent and
23571 DEFAULT_STACK_PERMS doesn't include PF_X.
23572
451f001b
UD
235732011-01-13 Ulrich Drepper <drepper@gmail.com>
23574
cfa28e56
UD
23575 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23576 in child fails because the descriptor is already closed.
8cf8ce17
UD
23577 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23578 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23579 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23580
1086d70d
UD
23581 [BZ #12397]
23582 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23583 syscall.
23584
451f001b
UD
23585 [BZ #10484]
23586 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23587 temporary buffer used to handle multi lookups locally.
a85b5cb4 23588 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23589
08769175
UD
235902011-01-12 Ulrich Drepper <drepper@gmail.com>
23591
23592 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23593 loader is ld.so.
23594
5e49c52e
UD
235952011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23596
23597 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23598 alignment for SSE2.
23599
60522a5f
UD
236002011-01-12 Ulrich Drepper <drepper@gmail.com>
23601
23602 [BZ #12394]
23603 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23604 characters. When rounding increased number of integer digits recompute
23605 number of groups.
23606 * stdio-common/tst-grouping.c: New file.
23607 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23608
f257bbd7
UD
236092011-01-09 Ulrich Drepper <drepper@gmail.com>
23610
23611 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23612 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23613
23614 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23615 void.
23616 * bits/select.h: Likewise.
23617
fa9c15cb
UD
236182011-01-08 Ulrich Drepper <drepper@gmail.com>
23619
23620 * po/ja.po: Update from translation team.
23621
16c2895f
DM
236222011-01-04 David S. Miller <davem@sunset.davemloft.net>
23623
23624 [BZ #11155]
23625 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23626 implementation just like for lxstat, fxstatat, et al.
23627
2543fef2
JM
236282010-12-27 Jim Meyering <meyering@redhat.com>
23629
23630 [BZ #12348]
23631 * posix/regexec.c (build_trtable): Return failure indication upon
23632 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23633
98727dbe
UD
236342010-12-25 Ulrich Drepper <drepper@gmail.com>
23635
5bd6dc5c
UD
23636 [BZ #12201]
23637 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23638 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23639 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23640 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23641
97983464
UD
23642 [BZ #12207]
23643 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23644
98727dbe
UD
23645 [BZ #12204]
23646 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23647 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23648
4a531bb0
L
236492010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23650
23651 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23652 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23653 script has SORT_BY_INIT_PRIORITY.
23654 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23655 NO_CTORS_DTORS_SECTIONS is defined.
23656 * elf/soinit.c: Likewise.
23657 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23658 NO_CTORS_DTORS_SECTIONS is defined.
23659 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23660 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23661 * sysdeps/sh/init-first.c: Likewise.
23662 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23663
07eb4b71
UD
236642010-12-24 Ulrich Drepper <drepper@gmail.com>
23665
23666 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23667 always use the slow path.
23668
30950a5f
RA
236692010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23670
23671 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23672 similar rule which adds the sysdep directories to the header search in
23673 order to pick up the correct platform stackinfo.h.
23674 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23675 perform test if it is, otherwise return successfully without testing.
23676 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23677 DEFAULT_STACK_PERMS define in stackinfo.h.
23678 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23679 defined in stackinfo.h.
23680 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23681 DEFAULT_STACK_PERMS defined in stackinfo.h.
23682 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23683 * sysdeps/ia64/stackinfo.h: Likewise.
23684 * sysdeps/s390/stackinfo.h: Likewise.
23685 * sysdeps/sh/stackinfo.h: Likewise.
23686 * sysdeps/sparc/stackinfo.h: Likewise.
23687 * sysdeps/x86_64/stackinfo.h: Likewise.
23688 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23689 PF_X for powerpc64. Retain PF_X for powerpc32.
23690
db753e2c
UD
236912010-12-19 Ulrich Drepper <drepper@gmail.com>
23692
14b697f7
UD
23693 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23694 accurately.
db753e2c
UD
23695 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23696 GETDENTS_64BIT_ALIGNED.
23697
28300719
UD
236982010-12-14 Ulrich Drepper <dreper@gmail.com>
23699
14b697f7 23700 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23701
4f197237
AS
237022010-12-10 Andreas Schwab <schwab@redhat.com>
23703
dbb0472f
AS
23704 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23705 _GNU_SOURCE.
23706
4f197237
AS
23707 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23708 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23709 Remove __restrict.
23710 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23711 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23712
fb88ac72
UD
237132010-12-09 Ulrich Drepper <drepper@gmail.com>
23714
23715 [BZ #11655]
23716 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23717 are initialized.
23718
42acbb92
JJ
237192010-12-09 Jakub Jelinek <jakub@redhat.com>
23720
23721 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23722
c038d98d
UD
237232010-12-03 Ulrich Drepper <drepper@gmail.com>
23724
23725 * po/it.po: Update from translation team.
23726
3a4a2499
L
237272010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23728
23729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23730 unused codes.
23731
1e24cf6e
UD
237322010-11-30 Ulrich Drepper <drepper@gmail.com>
23733
23734 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23735
a7690819
AS
237362010-11-24 Andreas Schwab <schwab@redhat.com>
23737
23738 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23739 specially.
23740 (gaih_getanswer_slice): Likewise.
23741
3bf8d1b1
JJ
237422010-10-20 Jakub Jelinek <jakub@redhat.com>
23743
23744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23745
6db52fbb
PB
237462010-05-31 Petr Baudis <pasky@suse.cz>
23747
23748 [BZ #11149]
23749 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23750 silently even in the chroot mode.
23751
eaca7569
UD
237522010-11-22 Ulrich Drepper <drepper@gmail.com>
23753
23754 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23755 last patch a bit. Pretty printing
23756
3056dcdb
UD
237572010-05-31 Petr Baudis <pasky@suse.cz>
23758
23759 [BZ #10085]
23760 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23761 initialization of skip_initgroups_dyn.
23762
cf7c9078
UD
237632010-11-19 Ulrich Drepper <drepper@gmail.com>
23764
23765 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23766 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23767
a1fb5e3e
UD
237682010-11-16 Ulrich Drepper <drepper@gmail.com>
23769
23770 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23771
3540d66b
AS
237722010-11-11 Andreas Schwab <schwab@redhat.com>
23773
23774 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23775 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23776 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23777 ($(objpfx)tst-fnmatch-mem): New rule.
23778 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23779 * posix/tst-fnmatch.c (main): Call mtrace.
23780
13b69574
L
237812010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23782
23783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23784 Support Intel processor model 6 and model 0x2c.
23785
da93d214
LM
237862010-11-10 Luis Machado <luisgpm@br.ibm.com>
23787
23788 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23789 signed comparison.
23790
8ca52c6e
L
237912010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23792
23793 [BZ #12205]
23794 * string/test-strncasecmp.c (check_result): New function.
23795 (do_one_test): Use it.
23796 (check1): New function.
23797 (test_main): Use it.
23798 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23799 Support strcasecmp and strncasecmp.
23800
69da074d
UD
238012010-11-08 Ulrich Drepper <drepper@gmail.com>
23802
23803 [BZ #12194]
23804 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23805 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23806
ff02d528
L
238072010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23808
23809 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23810 IFUNC support.
23811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23812 memset-x86-64.
23813 * sysdeps/x86_64/multiarch/bzero.S: New file.
23814 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23815 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23816 * sysdeps/x86_64/multiarch/memset.S: New file.
23817 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23819 Set bit_Prefer_SSE_for_memop for Intel processors.
23820 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23821 Define.
23822 (index_Prefer_SSE_for_memop): Define.
23823 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23824
344d0b54
LM
238252010-11-04 Luis Machado <luisgpm@br.ibm.com>
23826
23827 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23828 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23829
c0dde15b
UD
238302010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23831
23832 [BZ #12191]
23833 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23834 (__x86_64_raw_data_cache_size_half): Likewise.
23835 (__x86_64_raw_shared_cache_size): Likewise.
23836 (__x86_64_raw_shared_cache_size_half): Likewise.
23837
23838 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23843 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23844 and __x86_64_raw_shared_cache_size_half. Round
23845 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23846 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23847 to multiple of 256 bytes.
23848
0e516e0e
MS
238492010-11-03 Ulrich Drepper <drepper@gmail.com>
23850
23851 [BZ #12167]
23852 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23853 of inacessible symlinks. Verify result of symlink before returning it.
23854 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23855 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23856
0e012e87
ER
238572010-10-28 Erich Ritz <erichritz@gmail.com>
23858
23859 * math/math.h (isinf): Fix typo in comment.
23860
de0ff7bc
UD
238612010-11-01 Ulrich Drepper <drepper@gmail.com>
23862
23863 * po/da.po: Update from translation team.
23864
fa41c84d
UD
238652010-10-26 Ulrich Drepper <drepper@gmail.com>
23866
23867 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23868 is added to the list.
23869
f0967738
AK
238702010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23871 Ulrich Drepper <drepper@gmail.com>
23872
23873 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23874 the global list here. Move code to...
23875 (_dl_add_to_namespace_list): ...here. New function.
23876 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23877 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23878 * elf/dl-load.c (lose): Don't remove the element from the list.
23879 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23880 (_dl_map_object): Likewise.
23881
238822010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23883
23884 [BZ #12159]
23885 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23886 into all bytes of SSE register.
23887 Patch by Richard Li <richardpku@gmail.com>.
23888
f0967738 238892010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23890
23891 [BZ #12140]
23892 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23893 perturbing.
23894
d0b9e94f
MB
238952010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23896
23897 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23898 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23899 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23900 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23902 submachine.
23903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23904
8e9f92e9
AS
239052010-10-22 Andreas Schwab <schwab@redhat.com>
23906
23907 * include/dlfcn.h (__RTLD_SECURE): Define.
23908 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23909 mode & __RTLD_SECURE instead.
23910 (open_path): Rename preloaded parameter to secure.
23911 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23912 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23913 * elf/dl-deps.c (openaux): Likewise.
23914 * elf/rtld.c (struct map_args): Remove is_preloaded.
23915 (map_doit): Don't use it.
23916 (dl_main): Likewise.
23917 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23918 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23919
bc96fbda
AS
239202010-09-09 Andreas Schwab <schwab@redhat.com>
23921
23922 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23923 (sysd-rules-targets): Remove duplicates.
23924 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23925 rtld-%.$o dependency.
23926
22cd1c9b
AS
239272010-10-18 Andreas Schwab <schwab@redhat.com>
23928
23929 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23930 _dl_map_object do it.
23931
18edac48
UD
239322010-10-19 Ulrich Drepper <drepper@gmail.com>
23933
23934 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23935 fast fma builtins, define the macros in the C99 standard.
23936 (FP_FAST_FMAF): Likewise.
23937 (FP_FAST_FMAL): Likewise.
23938 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23939
23940 * bits/mathdef.h: Update copyright year.
23941 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23942
d2050124
MM
239432010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23944
23945 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23946 builtins, define the macros in the C99 standard.
23947 (FP_FAST_FMAF): Likewise.
23948 (FP_FAST_FMAL): Likewise.
23949 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23950 multiply/add.
23951 (FP_FAST_FMAF): Likewise.
23952
475facd1
JJ
239532010-10-15 Jakub Jelinek <jakub@redhat.com>
23954
23955 [BZ #3268]
23956 * math/libm-test.inc (fma_test): Some new testcases.
23957 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23958 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23959 y and infinite z. Do multiplication by C already in long double.
23960 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23962 y and infinite z. Do bitwise or of inexact bit into u.d.
23963 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23964 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23965 * sysdeps/i386/fpu/s_fma.S: Removed.
23966 * sysdeps/i386/fpu/s_fmal.S: Removed.
23967
7c08a05c
JJ
239682010-10-16 Jakub Jelinek <jakub@redhat.com>
23969
23970 [BZ #3268]
23971 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23973 computation is not scheduled after fetestexcept. Fix value
23974 of minimum denormal long double.
23975
f3f7372d
JJ
239762010-10-14 Jakub Jelinek <jakub@redhat.com>
23977
23978 [BZ #3268]
23979 * math/libm-test.inc (fma_test): Add some more tests.
23980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23981 correctly.
23982
14d43591
AS
239832010-10-15 Andreas Schwab <schwab@redhat.com>
23984
23985 * scripts/data/localplt-s390-linux-gnu.data: New file.
23986 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23987
5e908464
JJ
239882010-10-13 Jakub Jelinek <jakub@redhat.com>
23989
23990 [BZ #3268]
23991 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23992 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23993 instead of dbl-64.
23994 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23995 inlines.
23996 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23998 if one of x and y is very large and the other is subnormal.
23999 * sysdeps/s390/fpu/s_fmaf.c: New file.
24000 * sysdeps/s390/fpu/s_fma.c: New file.
24001 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24002 * sysdeps/powerpc/fpu/s_fma.S: New file.
24003 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24004 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24005 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24006
240072010-10-12 Jakub Jelinek <jakub@redhat.com>
24008
24009 [BZ #3268]
24010 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24011 fma tests.
24012 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24013 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24014 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24015 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24016 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24017 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24019
b833d51f
UD
240202010-10-12 Ulrich Drepper <drepper@redhat.com>
24021
24022 [BZ #12078]
24023 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24024 * posix/bug-regex31.input: Add test case.
24025
1751705d
UD
240262010-10-11 Ulrich Drepper <drepper@gmail.com>
24027
e9b9cbf5
UD
24028 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24029 * posix/bug-regex31.input: New file.
24030
24031 [BZ #12078]
24032 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24033 (parse_sub_exp): Fix last change, use postorder.
24034
ef06edbe
UD
24035 * posix/bug-regex31.c: New file.
24036 * posix/Makefile: Add rules to build and run bug-regex31.
24037
a129c80d
UD
24038 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24039
24040 [BZ #12078]
24041 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24042
b76b818e
UD
24043 [BZ #12108]
24044 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24045 to have entries in sys_siglist.
24046
1751705d
UD
24047 [BZ #12093]
24048 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24049 be NULL.
24050
9ff8d36f
JJ
240512010-10-07 Jakub Jelinek <jakub@redhat.com>
24052
24053 [BZ #3268]
24054 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24055 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24056 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24057 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24058 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24059 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24060 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24061 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24062 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24063 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24064 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24065 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24066 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24067 * math/ftestexcept.c (fetestexcept): Likewise.
24068 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24069 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24070 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24071 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24072 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24073 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24074 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24075
af325969
UD
240762010-10-11 Ulrich Drepper <drepper@gmail.com>
24077
c579b202 24078 [BZ #12107]
af325969
UD
24079 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24080 newline.
24081
67a67b95
UD
240822010-10-06 Ulrich Drepper <drepper@gmail.com>
24083
24084 * string/bug-strstr1.c: New file.
24085 * string/Makefile: Add rules to build and run bug-strstr1.
24086
5fb308bc
EB
240872010-10-05 Eric Blake <eblake@redhat.com>
24088
24089 [BZ #12092]
24090 * string/str-two-way.h (two_way_long_needle): Always clear memory
24091 when skipping input due to the shift table.
24092
45db99c7
UD
240932010-10-03 Ulrich Drepper <drepper@gmail.com>
24094
3b111893
UD
24095 [BZ #12005]
24096 * malloc/mcheck.c: Handle large requests.
24097
45db99c7
UD
24098 [BZ #12077]
24099 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24100 for strncmp and strncasecmp.
24101 * string/stratcliff.c: Add tests for strcmp and strncmp.
24102 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24103
cf7a1eb8
NI
241042010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24105
24106 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24107 __set_fpscr.
24108
6484ba5e
AJ
241092010-09-30 Andreas Jaeger <aj@suse.de>
24110
24111 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24112 (CGROUP_SUPER_MAGIC): Define.
24113 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24114 Handle btrfs and cgroup file systems.
24115 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24116 Likewise.
24117
91c42559
LM
241182010-09-27 Luis Machado <luisgpm@br.ibm.com>
24119
24120 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24121 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24122
87a97932
AK
241232010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24124
24125 [BZ #12067]
24126 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24127 trying to locate the ELF header.
24128
c21cc9bc
AS
241292010-09-27 Andreas Schwab <schwab@redhat.com>
24130
24131 [BZ #11611]
24132 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24133 Mask out sign-bit copies when constructing f_fsid.
24134
315970f6
PB
241352010-09-24 Petr Baudis <pasky@suse.cz>
24136
24137 * debug/stack_chk_fail_local.c: Add missing licence exception.
24138 * debug/warning-nop.c: Likewise.
24139
1ac7a2c7
JM
241402010-09-15 Joseph Myers <joseph@codesourcery.com>
24141
24142 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24143 implementing getdents64 using getdents syscall, set d_type if
24144 __ASSUME_GETDENTS32_D_TYPE.
24145
56801c50
AS
241462010-09-16 Andreas Schwab <schwab@redhat.com>
24147
24148 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24149 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24150
dda51327
UD
241512010-09-21 Ulrich Drepper <drepper@redhat.com>
24152
24153 [BZ #12037]
24154 * posix/unistd.h: Undo change of feature selection for ftruncate from
24155 2010-01-11.
24156
8ffcee4a
UD
241572010-09-20 Ulrich Drepper <drepper@redhat.com>
24158
a545ecd9 24159 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24160 detection.
24161
e24f0a8b
AS
241622010-09-20 Andreas Schwab <schwab@redhat.com>
24163
24164 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24165 fanotify_mark.
24166 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24167
7291c56f
AS
241682010-09-14 Andreas Schwab <schwab@redhat.com>
24169
24170 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24171 variables after CHECK_SP call.
24172 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24173
bc5fb037
AS
241742010-09-13 Andreas Schwab <schwab@redhat.com>
24175 Ulrich Drepper <drepper@redhat.com>
24176
24177 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24178 re-relocationg ld.so.
24179 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24180 _dl_init_paths call.
24181 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24182 here anymore.
24183
e66e7419
UD
241842010-09-14 Ulrich Drepper <drepper@redhat.com>
24185
24186 * resolv/res_init.c (__res_vinit): Count the default server we added.
24187
c044aa75
CLT
241882010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24189 Ulrich Drepper <drepper@redhat.com>
24190
24191 [BZ #11968]
24192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24193 (____longjmp_chk): Use %ebx for saving value across system call.
24194 Add unwind info.
24195
32cf4069
AS
241962010-09-06 Andreas Schwab <schwab@redhat.com>
24197
24198 * manual/Makefile: Don't mix pattern rules with normal rules.
24199
817328ee
AS
242002010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24201
24202 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24203 operation.
24204 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24205 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24206 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24207 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24209 Likewise.
24210
29fddf61
UD
242112010-09-04 Ulrich Drepper <drepper@redhat.com>
24212
24213 [BZ #11979]
24214 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24215 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24216
0959ffc9
UD
242172010-09-02 Ulrich Drepper <drepper@redhat.com>
24218
24219 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24220 * sysdeps/x86_64/addmul_1.S: Likewise.
24221 * sysdeps/x86_64/lshift.S: Likewise.
24222 * sysdeps/x86_64/mul_1.S: Likewise.
24223 * sysdeps/x86_64/rshift.S: Likewise.
24224 * sysdeps/x86_64/sub_n.S: Likewise.
24225 * sysdeps/x86_64/submul_1.S: Likewise.
24226
ece29840
ST
242272010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24228
0959ffc9
UD
24229 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24230 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24231 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24232 * bits/sched.h [__need_schedparam]
ece29840 24233 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24234 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24235 (__defined_schedparam): Define to 1.
ece29840
ST
24236 (__sched_param): New structure, identical to sched_param.
24237 (__need_schedparam): Undefine.
24238
e53a31fe
MF
242392010-08-31 Mike Frysinger <vapier@gentoo.org>
24240
fdc0c10d
MF
24241 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24242 (epoll_create1): Declare.
24243
e53a31fe
MF
24244 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24245
a726d796
AS
242462010-08-31 Andreas Schwab <schwab@redhat.com>
24247
24248 [BZ #7066]
24249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24250 shifting retval into place.
24251
2f3e3dc7
UD
242522010-09-01 Ulrich Drepper <drepper@redhat.com>
24253
f2933da9
UD
24254 * nis/rpcsvc/nis.h: Update copyright notice.
24255 * nis/rpcsvc/nis.x: Likewise.
24256 * nis/rpcsvc/nis_callback.h: Likewise.
24257 * nis/rpcsvc/nis_callback.x: Likewise.
24258 * nis/rpcsvc/nis_object.x: Likewise.
24259 * nis/rpcsvc/nis_tags.h: Likewise.
24260 * nis/rpcsvc/yp.h: Likewise.
24261 * nis/rpcsvc/yp.x: Likewise.
24262 * nis/rpcsvc/ypupd.h: Likewise.
24263 * nis/yp_xdr.c: Likewise.
24264 * nis/ypupdate_xdr.c: Likewise.
24265
2f3e3dc7
UD
24266 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24267 mainly the body of pmap_getport. Add parameters to specify timeouts.
24268 (pmap_getport): Use __libc_rpc_getport.
24269 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24270 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24271 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24272
f3dcc2f9
AS
242732010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24274
24275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24276 fanotify_mark.
24277
6d34eb5b
RM
242782010-08-27 Roland McGrath <roland@redhat.com>
24279
24280 * sysdeps/i386/i686/multiarch/Makefile
24281 (CFLAGS-varshift.c): New variable.
24282
9ea3de11
UD
242832010-08-27 Ulrich Drepper <drepper@redhat.com>
24284
c96d23fc
UD
24285 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24286 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24287
9ea3de11
UD
24288 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24289
24290 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24291
623aac7f
L
242922010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24293
24294 * sysdeps/x86_64/strlen.S: Unroll the loop.
24295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24296 strlen-sse2 strlen-sse2-bsf.
24297 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24298 __strlen_no_bsf if bit_Slow_BSF is set.
24299 (__strlen_sse42): Removed.
24300 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24301 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24302
8b2b7715
RM
243032010-08-25 Roland McGrath <roland@redhat.com>
24304
24305 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24306 * sysdeps/x86_64/multiarch/varshift.c: New file.
24307 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24308 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24309 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24310 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24311
e73015f2
L
243122010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24313
24314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24315 strlen-sse2 strlen-sse2-bsf.
24316 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24317 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24318 (__strlen_sse2): Removed.
24319 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24320 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24322 bit_Slow_BSF for Atom.
24323 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24324 (index_Slow_BSF): Define.
24325 (HAS_SLOW_BSF): Define.
24326
df24a73e
UD
243272010-08-25 Ulrich Drepper <drepper@redhat.com>
24328
24329 [BZ #10851]
24330 * resolv/res_init.c (__res_vinit): When no server address at all
24331 is given default to loopback.
24332
f2ac4868
RM
243332010-08-24 Roland McGrath <roland@redhat.com>
24334
09055553
RM
24335 * configure.in: Remove config-name.h generation.
24336 * configure: Regenerated.
24337 * config-name.in: File removed.
24338 * scripts/config-uname.sh: New file.
24339 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24340 ($(objdir)config-name.h): New target.
24341
f2ac4868
RM
24342 * sunrpc/rpc_parse.h: Avoid nested comment.
24343
73f27d5e
RH
243442010-08-24 Richard Henderson <rth@redhat.com>
24345 Ulrich Drepper <drepper@redhat.com>
24346 H.J. Lu <hongjiu.lu@intel.com>
24347
24348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24350 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24351 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24352 _mm_alignr_epi8 with _mm_loadu_si128.
24353 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24354 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24355 (__m128i_shift_right): Removed.
24356 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24357 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24358 * sysdeps/x86_64/multiarch/varshift.h: New file.
24359 * sysdeps/x86_64/multiarch/varshift.S: New file.
24360
84b9230c
MF
243612010-08-21 Mike Frysinger <vapier@gentoo.org>
24362
24363 * configure.in: Move assembler checks to before sysdep dir checking.
24364
9bbd0ddc
PB
243652010-08-20 Petr Baudis <pasky@suse.cz>
24366
24367 * LICENSES: Sync the sunrpc license.
24368
9da4bb31
UD
243692010-08-19 Ulrich Drepper <drepper@redhat.com>
24370
a7ab6ec8
UD
24371 * sunrpc/auth_des.c: Update copyright notice once again.
24372 * sunrpc/auth_none.c: Likewise.
24373 * sunrpc/auth_unix.c: Likewise.
24374 * sunrpc/authdes_prot.c: Likewise.
24375 * sunrpc/authuxprot.c: Likewise.
24376 * sunrpc/bindrsvprt.c: Likewise.
24377 * sunrpc/clnt_gen.c: Likewise.
24378 * sunrpc/clnt_perr.c: Likewise.
24379 * sunrpc/clnt_raw.c: Likewise.
24380 * sunrpc/clnt_simp.c: Likewise.
24381 * sunrpc/clnt_tcp.c: Likewise.
24382 * sunrpc/clnt_udp.c: Likewise.
24383 * sunrpc/clnt_unix.c: Likewise.
24384 * sunrpc/des_crypt.c: Likewise.
24385 * sunrpc/des_soft.c: Likewise.
24386 * sunrpc/get_myaddr.c: Likewise.
24387 * sunrpc/getrpcport.c: Likewise.
24388 * sunrpc/key_call.c: Likewise.
24389 * sunrpc/key_prot.c: Likewise.
24390 * sunrpc/openchild.c: Likewise.
24391 * sunrpc/pm_getmaps.c: Likewise.
24392 * sunrpc/pm_getport.c: Likewise.
24393 * sunrpc/pmap_clnt.c: Likewise.
24394 * sunrpc/pmap_prot.c: Likewise.
24395 * sunrpc/pmap_prot2.c: Likewise.
24396 * sunrpc/pmap_rmt.c: Likewise.
24397 * sunrpc/rpc/auth.h: Likewise.
24398 * sunrpc/rpc/auth_unix.h: Likewise.
24399 * sunrpc/rpc/clnt.h: Likewise.
24400 * sunrpc/rpc/des_crypt.h: Likewise.
24401 * sunrpc/rpc/key_prot.h: Likewise.
24402 * sunrpc/rpc/netdb.h: Likewise.
24403 * sunrpc/rpc/pmap_clnt.h: Likewise.
24404 * sunrpc/rpc/pmap_prot.h: Likewise.
24405 * sunrpc/rpc/pmap_rmt.h: Likewise.
24406 * sunrpc/rpc/rpc.h: Likewise.
24407 * sunrpc/rpc/rpc_des.h: Likewise.
24408 * sunrpc/rpc/rpc_msg.h: Likewise.
24409 * sunrpc/rpc/svc.h: Likewise.
24410 * sunrpc/rpc/svc_auth.h: Likewise.
24411 * sunrpc/rpc/types.h: Likewise.
24412 * sunrpc/rpc/xdr.h: Likewise.
24413 * sunrpc/rpc_clntout.c: Likewise.
24414 * sunrpc/rpc_cmsg.c: Likewise.
24415 * sunrpc/rpc_common.c: Likewise.
24416 * sunrpc/rpc_cout.c: Likewise.
24417 * sunrpc/rpc_dtable.c: Likewise.
24418 * sunrpc/rpc_hout.c: Likewise.
24419 * sunrpc/rpc_main.c: Likewise.
24420 * sunrpc/rpc_parse.c: Likewise.
24421 * sunrpc/rpc_parse.h: Likewise.
24422 * sunrpc/rpc_prot.c: Likewise.
24423 * sunrpc/rpc_sample.c: Likewise.
24424 * sunrpc/rpc_scan.c: Likewise.
24425 * sunrpc/rpc_scan.h: Likewise.
24426 * sunrpc/rpc_svcout.c: Likewise.
24427 * sunrpc/rpc_tblout.c: Likewise.
24428 * sunrpc/rpc_util.c: Likewise.
24429 * sunrpc/rpc_util.h: Likewise.
24430 * sunrpc/rpcinfo.c: Likewise.
24431 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24432 * sunrpc/rpcsvc/key_prot.x: Likewise.
24433 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24434 * sunrpc/rpcsvc/mount.x: Likewise.
24435 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24436 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24437 * sunrpc/rpcsvc/rex.x: Likewise.
24438 * sunrpc/rpcsvc/rstat.x: Likewise.
24439 * sunrpc/rpcsvc/rusers.x: Likewise.
24440 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24441 * sunrpc/rpcsvc/spray.x: Likewise.
24442 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24443 * sunrpc/rtime.c: Likewise.
24444 * sunrpc/svc.c: Likewise.
24445 * sunrpc/svc_auth.c: Likewise.
24446 * sunrpc/svc_authux.c: Likewise.
24447 * sunrpc/svc_raw.c: Likewise.
24448 * sunrpc/svc_run.c: Likewise.
24449 * sunrpc/svc_simple.c: Likewise.
24450 * sunrpc/svc_tcp.c: Likewise.
24451 * sunrpc/svc_udp.c: Likewise.
24452 * sunrpc/svc_unix.c: Likewise.
24453 * sunrpc/svcauth_des.c: Likewise.
24454 * sunrpc/xcrypt.c: Likewise.
24455 * sunrpc/xdr.c: Likewise.
24456 * sunrpc/xdr_array.c: Likewise.
24457 * sunrpc/xdr_float.c: Likewise.
24458 * sunrpc/xdr_mem.c: Likewise.
24459 * sunrpc/xdr_rec.c: Likewise.
24460 * sunrpc/xdr_ref.c: Likewise.
24461 * sunrpc/xdr_sizeof.c: Likewise.
24462 * sunrpc/xdr_stdio.c: Likewise.
24463
9da4bb31
UD
24464 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24465 handling.
24466
bdaa77bc
AS
244672010-08-19 Andreas Schwab <schwab@redhat.com>
24468
24469 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24470
fe2f79db
LM
244712010-08-19 Luis Machado <luisgpm@br.ibm.com>
24472
24473 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24474 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24475 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24476 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24477 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24478 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24479 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24480 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24481 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24482 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24483 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24484 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24485 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24486 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24487
b9b42ee0
AB
244882010-07-26 Anton Blanchard <anton@samba.org>
24489
24490 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24491 * malloc/arena.c (heap_trim): Likewise.
24492
1c06ba31
UD
244932010-08-16 Ulrich Drepper <drepper@redhat.com>
24494
24495 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24496 here. Not...
24497 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24498 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24499
f8392f40
L
245002010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24501
24502 * sysdeps/i386/elf/Makefile: New file.
24503
3162f12e
AS
245042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24505
24506 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24507 from fanotify_init.
24508 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24510
28c90b2c
UD
245112010-08-15 Ulrich Drepper <drepper@redhat.com>
24512
24513 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24514 of strncasecmp_l.
1feccb6c 24515 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24516
ca6bb004
UD
245172010-08-14 Ulrich Drepper <drepper@redhat.com>
24518
e9f82e0d
UD
24519 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24520 strncase_l-nonascii.
24521 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24522 Add strncase_l-ssse3.
24523 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24524 * sysdeps/x86_64/strcmp.S: Likewise.
24525 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24526 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24527 * sysdeps/x86_64/strncase.S: New file.
24528 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24529 * sysdeps/x86_64/strncase_l.S: New file.
24530 * string/Makefile (strop-tests): Add strncasecmp.
24531 * string/test-strncasecmp.c: New file.
24532
24533 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24534 warning.
24535
ca6bb004
UD
24536 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24537 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24538
052fa7b3
AS
245392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24540
24541 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24542
962dba78
UD
245432010-08-12 Ulrich Drepper <drepper@redhat.com>
24544
24545 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24546 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24547 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24548
bebff237
AM
245492010-05-01 Alan Modra <amodra@gmail.com>
24550
24551 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24552 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24553 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24554 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24555 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24556 tidying. Don't tail-call __sigjmp_save for static lib.
24557 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24558 save location.
24559 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24560 (CALL_MCOUNT): Add eh info, and nop after bl.
24561 (TAIL_CALL_SYSCALL_ERROR): New macro.
24562 (PSEUDO_RET): Use it.
24563 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24564 Correct save location of integer regs and cr.
24565 (_dl_profile_resolve): Correct cr save location. Delete nops
24566 after bl when SHARED. Reduce cfi size a little by better
24567 placement of cfi directives.
24568 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24569 make a stack frame. Instead use parm save area as a temp.
24570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24571 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24573 Don't make a stack frame for parent, use parm save area.
24574 Increase child stack frame to 112 bytes. Don't save unused reg,
24575 and adjust reg usage. Set up cfi on error recovery and
24576 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24578 (__makecontext): Add dummy nop after jump to exit.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24580 Use correct parm save area and cr save, reduce stack frame.
24581 Correct cfi for possible PSEUDO_RET frame setup.
24582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24583 Branch to local label emitted by PSEUDO_RET rather than
24584 __syscall_error.
24585
02637374
AS
245862010-08-12 Andreas Schwab <schwab@redhat.com>
24587
24588 [BZ #11904]
24589 * locale/programs/locale.c (print_assignment): New function.
24590 (show_locale_vars): Use it.
24591
c3e2f19b
UD
245922010-08-11 Ulrich Drepper <drepper@redhat.com>
24593
3cdaa6ad
UD
24594 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24595 field.
24596 (struct statfs64): Likewise.
24597 (_STATFS_F_FLAGS): Define.
24598 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24599 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24600 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24601 (ST_VALID): Define locally.
24602 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24603 __statvfs_getflags, use the provided value.
24604 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24605 __ASSUME_STATFS_F_FLAGS.
24606
754f7da3
UD
24607 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24608
10b3bedc
UD
24609 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24610 Add sys/fanotify.h.
24611 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24612 fanotify_mask for GLIBC_2.13.
24613 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24614 fanotify_init and fanotify_mark.
24615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24616 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24617
c08fb0d7
UD
24618 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24619 Add prlimit.
24620 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24621 prlimit64 for GLIBC_2.13.
24622 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24623 prlimit64.
24624 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24625 syscall.
24626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24627 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24628 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24629 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24630 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24631 add prlimit alias.
24632 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24633
15bac72b
UD
24634 [BZ #11903]
24635 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24636 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24637
c3e2f19b
UD
24638 * nss/Makefile: Add rules to build and run tst-nss-test1.
24639 * shlib-versions: Add entry for libnss_test1.
24640 * nss/nss_test1.c: New file.
24641 * nss/tst-nss-test1.c: New file.
24642
24643 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24644 (__nss_configure_lookup): Set appropriate entry in
24645 __nss_configure_lookup to true.
24646 * nss/nsswitch.h: Define enum with indeces of databases in
24647 databases and __nss_database_custom arrays. Declare
24648 __nss_database_custom.
24649 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24650 to avoid using nscd when custom rules are installed.
24651 * nss/getXXbyYY_r.c: Likewise.
24652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24653
24654 * nss/nss_files/files-parse.c: Whitespace fixes.
24655
f15ce4d8
UD
246562010-08-09 Ulrich Drepper <drepper@redhat.com>
24657
24658 [BZ #11883]
24659 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24660 * posix/fnmatch_loop.c: Likewise.
24661
d22e4cc9
AK
246622010-07-17 Andi Kleen <ak@linux.intel.com>
24663
24664 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24665 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24666 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24667 * Versions.def [GLIBC_2.13]: Add.
24668
805bc17d
UD
246692010-08-06 Ulrich Drepper <drepper@redhat.com>
24670
24671 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24672 Also fail if tpwd after pwuid call is NULL.
24673
5a42321d
ST
246742010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24675
24676 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24677 when converting to ms.
24678
fd3ebeda
ST
246792010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24680
24681 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24682 EOPNOTSUPP errors with ENOTTY.
24683 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24684 EOPNOTSUPP errors with ENOTTY.
24685
73507d3a
UD
246862010-07-31 Ulrich Drepper <drepper@redhat.com>
24687
24688 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24689 Add strcasecmp_l-ssse3.
24690 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24691 strcasecmp.
24692 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24693 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24694 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24695
fe36dd02
UD
246962010-07-30 Ulrich Drepper <drepper@redhat.com>
24697
66f6765a
UD
24698 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24699
42e08a54
UD
24700 * string/Makefile (strop-tests): Add strcasecmp.
24701 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24702 strcasecmp_l-nonascii.
24703 (gen-as-const-headers): Add locale-defines.sym.
24704 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24705 * sysdeps/x86_64/strcasecmp.S: New file.
24706 * sysdeps/x86_64/strcasecmp_l.S: New file.
24707 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24708 * sysdeps/x86_64/locale-defines.sym: New file.
24709 * string/test-strcasecmp.c: New file.
24710
fe36dd02
UD
24711 * string/test-strcasestr.c: Test both ends of the range of characters.
24712 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24713
48cbc0d6
RM
247142010-07-29 Roland McGrath <roland@redhat.com>
24715
76e6d6bc 24716 [BZ #11856]
48cbc0d6
RM
24717 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24718
880113d9
UD
247192010-07-27 Ulrich Drepper <drepper@redhat.com>
24720
24721 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24722 for ld.so.
24723
deb9cabb
AS
247242010-07-27 Andreas Schwab <schwab@redhat.com>
24725
24726 * manual/memory.texi (Malloc Tunable Parameters): Document
24727 M_PERTURB.
24728
1c7570ff
RM
247292010-07-26 Roland McGrath <roland@redhat.com>
24730
24731 [BZ #11840]
24732 * configure.in (-fgnu89-inline check): Set and substitute
24733 gnu89_inline, not libc_cv_gnu89_inline.
24734 * configure: Regenerated.
24735 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24736
24fb0f88
UD
247372010-07-26 Ulrich Drepper <drepper@redhat.com>
24738
24739 * string/test-strnlen.c: New file.
24740 * string/Makefile (strop-tests): Add strnlen.
24741 * string/tester.c (test_strnlen): Add a few more test cases.
24742 * string/tst-strlen.c: Better error reporting.
24743
24744 * sysdeps/x86_64/strnlen.S: New file.
24745
8e96b93a
UD
247462010-07-24 Ulrich Drepper <drepper@redhat.com>
24747
24748 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24749 lower-latency instructions.
24750
dbc676d4
UD
247512010-07-23 Ulrich Drepper <drepper@redhat.com>
24752
24753 * string/test-strcasestr.c: New file.
24754 * string/test-strstr.c: New file.
24755 * string/Makefile (strop-tests): Add strstr and strcasestr.
24756 * string/str-two-way.h: Don't undefine MAX.
24757 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24758
f6a31e0e
AS
247592010-07-21 Andreas Schwab <schwab@redhat.com>
24760
24761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24762 strcasestr-nonascii.
24763 (CFLAGS-strcasestr-nonascii.c): Define.
24764 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24765 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24766 Remove unused attribute.
24767
5dbc3b6c
RM
247682010-07-20 Roland McGrath <roland@redhat.com>
24769
24770 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24771 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24772 ld.so.cache was broken. With it, there is no way to disable dsocaps
24773 like LD_HWCAP_MASK can disable hwcaps.
24774
23d101d8
EPM
247752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24776
24777 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24778
cc9f2e47
UD
247792010-07-16 Ulrich Drepper <drepper@redhat.com>
24780
24781 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24782 call in strcasestr.
24783 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24784 __strcasestr_sse42_nonascii.
24785 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24786 strcasestr-nonascii.c.
24787 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24788
77c1b069
LM
247892010-06-15 Luis Machado <luisgpm@br.ibm.com>
24790
24791 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24792 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24793 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24794 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24795
440566c3
UD
247962010-07-09 Ulrich Drepper <drepper@redhat.com>
24797
24798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24799 fcntl.
24800
5be9d05d
AS
248012010-07-06 Andreas Schwab <schwab@redhat.com>
24802
c30b7ee2 24803 [BZ #11577]
5be9d05d
AS
24804 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24805 dl_signal_cerror.
24806
8a492a67
UD
248072010-07-06 Ulrich Drepper <drepper@redhat.com>
24808
24809 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24810 _PC_PIPE_BUF using F_GETPIPE_SZ.
24811
713df3d5
RM
248122010-07-05 Roland McGrath <roland@redhat.com>
24813
24814 * manual/arith.texi (Rounding Functions): Fix rint description
24815 implicit in round description.
24816
702e8f14
UD
248172010-07-02 Ulrich Drepper <drepper@redhat.com>
24818
24819 * elf/Makefile: Fix linking for a few tests to make recent linker
24820 happy.
24821
52ed8be9
AS
248222010-06-30 Andreas Schwab <schwab@redhat.com>
24823
24824 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24825 $(common-objpfx)libc_nonshared.a.
24826
f47c9a11
LM
248272010-06-21 Luis Machado <luisgpm@br.ibm.com>
24828
24829 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24830 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24831 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24832 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24833 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24834 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24835 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24836 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24851 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24852 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24853 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24854 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24855 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24856 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24857 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24858 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24859 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24860 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24861 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24862 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24877
6fb8cbcb
L
248782010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24879
24880 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24881 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24882 * string/memmove.c (memmove): Renamed to ...
24883 (MEMMOVE): ...this. Default to memmove.
24884 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24885 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24886 (END_CHK): Define.
24887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24888 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24889 mempcpy-ssse3-back memmove-ssse3-back.
24890 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24891 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24892 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24893 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24894 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24895 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24896 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24897 * sysdeps/x86_64/multiarch/memmove.c: New file.
24898 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24899 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24900 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24901 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24902 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24903 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24904 Define.
24905 (index_Fast_Copy_Backward): Define.
24906 (HAS_ARCH_FEATURE): Define.
24907 (HAS_FAST_REP_STRING): Define.
24908 (HAS_FAST_COPY_BACKWARD): Define.
24909
4e733bac 249102010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24911
24912 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24913 Restore proper fallback handling.
24914
63c4ed22
UD
249152010-06-19 Ulrich Drepper <drepper@redhat.com>
24916
ac2b484c
UD
24917 [BZ #11701]
24918 * posix/group_member.c (__group_member): Correct checking loop.
24919
63c4ed22
UD
24920 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24921 OOM in getpwuid_r correctly. Return error number when the caller
24922 should return, otherwise -1.
24923 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24924 call returning > 0 value.
24925 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24926
765ade4b
AS
249272010-06-07 Andreas Schwab <schwab@redhat.com>
24928
24929 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24930 libc_nonshared.a from targets in modules-names.
24931
80da2e09
KS
249322010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24933
24934 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24935 requires it.
24936
158db122
LM
249372010-06-10 Luis Machado <luisgpm@br.ibm.com>
24938
24939 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24940 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24941 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24942 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24943
caa78cf8
AS
249442010-06-02 Andreas Schwab <schwab@redhat.com>
24945
24946 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24947
b2ef2c01
UD
249482010-06-14 Ulrich Drepper <drepper@redhat.com>
24949
24950 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24951 and F_GETPIPE_SZ.
24952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24953 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24956 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24957 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24958
fbd643b6
RM
249592010-06-14 Roland McGrath <roland@redhat.com>
24960
24961 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24962
f32f2869
JJ
249632010-06-07 Jakub Jelinek <jakub@redhat.com>
24964
24965 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24966 __REDIRECT followed by __THROW.
24967 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24968 * posix/getopt.h (getopt): Likewise.
24969
2a50c078
EPM
249702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24971
24972 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24973 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24974 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24975 in AT_FLAGS.
24976 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24977 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24978
eb5ad2eb
LM
249792010-05-28 Luis Machado <luisgpm@br.ibm.com>
24980
24981 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24982
3c88fe1e
L
249832010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24984
24985 [BZ #11640]
24986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24987 Properly check family and model.
24988
d2f73151
TY
249892010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24990
24991 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24992
ebd2e13d
LM
249932010-05-24 Luis Machado <luisgpm@br.ibm.com>
24994
24995 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24996
b32b8b45
UD
249972010-05-21 Ulrich Drepper <drepper@redhat.com>
24998
24999 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25000 symbol reference.
25001
9acbe24d
AS
250022010-05-19 Andreas Schwab <schwab@redhat.com>
25003
25004 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25005 symbol reference.
25006
f0ccf6ea
AS
250072010-05-21 Andreas Schwab <schwab@redhat.com>
25008
3d04ff3a
AS
25009 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25010 and internal_recvmmsg.
25011 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25012 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25013 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25014 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25015
f0ccf6ea
AS
25016 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25017 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25018 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25019
5b08ac57
AS
250202010-05-20 Andreas Schwab <schwab@redhat.com>
25021
25022 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25023
4828935d
LM
250242010-05-17 Luis Machado <luisgpm@br.ibm.com>
25025
25026 POWER7 optimizations.
25027 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25028 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25029
373d545e
UD
250302010-05-19 Ulrich Drepper <drepper@redhat.com>
25031
25032 * version.h: Update for 2.13 development version.
25033
21a2b1ae
AS
250342010-05-12 Andrew Stubbs <ams@codesourcery.com>
25035
25036 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25037 exceptions. Return 0.
25038
3f7dcb2b
RM
250392010-05-07 Roland McGrath <roland@redhat.com>
25040
25041 * elf/ldconfig.c (main): Add a const.
25042
5f24d53a 250432010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25044
a160f8d8
UD
25045 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25046 (args_options): Add no-idn option.
25047 (ahosts_keys_int): Add idn_flags to ai_flags.
25048 (parse_option): Handle 'i' option to clear idn_flags.
25049
5f24d53a
UD
25050 * malloc/malloc.c (_int_free): Possible race in the most recently
25051 added check. Only act on the data if no current modification
25052 happened.
265bb1ce
UD
25053
25054See ChangeLog.17 for earlier changes.