]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix a typo in the mremap comment.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3a09b620
RM
12013-02-11 Roland McGrath <roland@hack.frob.com>
2
3 * misc/sys/mman.h: Fix typo in mremap comment.
4
550a0b89
RM
52013-02-08 Roland McGrath <roland@hack.frob.com>
6
7 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8 the '\0' terminator.
9
a2da1673
JM
102013-02-08 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #13550]
13 * debug/segfault.c: Don't include <bp-checks.h>.
14 * sysdeps/generic/bp-checks.h: Remove file.
15 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16 (__GETDENTS): Don't use CHECK_N.
17 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19 (__getgroups): Don't use CHECK_N.
20 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21 (setgroups): Don't use CHECK_N.
22 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24 (__libc_msgrcv): Don't use CHECK_N.
25 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26 (__libc_msgsnd): Don't use CHECK_N.
27 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28 <bp-checks.h>.
29 (__libc_pread): Don't use CHECK_N.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31 include <bp-checks.h>.
32 (__libc_pread64): Don't use CHECK_N.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34 include <bp-checks.h>.
35 (__libc_pwrite): Don't use CHECK_N.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37 include <bp-checks.h>.
38 (__libc_pwrite64): Don't use CHECK_N.
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40 <bp-checks.h>.
41 (__libc_pread): Don't use CHECK_N.
42 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43 include <bp-checks.h>.
44 (__libc_pread64): Don't use CHECK_N.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46 include <bp-checks.h>.
47 (__libc_pwrite): Don't use CHECK_N.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49 include <bp-checks.h>.
50 (__libc_pwrite64): Don't use CHECK_N.
51 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52 (do_pread): Don't use CHECK_N.
53 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54 (do_pread64): Don't use CHECK_N.
55 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56 (do_pwrite): Don't use CHECK_N.
57 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58 (do_pwrite64): Don't use CHECK_N.
59 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60 (__libc_readv): Don't use CHECK_N.
61 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62 (semop): Don't use CHECK_N.
63 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64 <bp-checks.h>.
65 (semtimedop): Don't use CHECK_N.
66 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67 (__libc_pread): Don't use CHECK_N.
68 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69 <bp-checks.h>.
70 (__libc_pread64): Don't use CHECK_N.
71 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
72 <bp-checks.h>.
73 (__libc_pwrite): Don't use CHECK_N.
74 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
75 <bp-checks.h>.
76 (__libc_pwrite64): Don't use CHECK_N.
77 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
78 <bp-checks.h>.
79 (__libc_msgrcv): Don't use CHECK_N.
80 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
81 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
82 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
83 (__libc_writev): Don't use CHECK_N.
84
b84660a8
RM
852013-02-08 Roland McGrath <roland@hack.frob.com>
86
7f3e75f8
RM
87 * string/strcpy.c: Removed unused variable.
88
b84660a8
RM
89 * Makeconfig (+sysdep-includes): Define with := rather than =.
90 Use an existing include/ subdir of each sysdeps dir before it.
91
471514d3
CD
922013-02-08 Carlos O'Donell <carlos@redhat.com>
93
94 * nscd/connection.c (register_traced_file): Comment function.
95 [HAVE_INOTIFY] (union __inev): Define.
96 [HAVE_INOTIFY] (inotify_check_files): New function.
97 [HAVE_INOTIFY] (clear_db_cache): Likewise.
98 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
99 clear_db_cache.
100 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
101
b2d3c3be
CD
1022013-02-08 Carlos O'Donell <carlos@redhat.com>
103
104 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
105 loaded if not already and that a failure is permanent.
106
b39949d2
CD
1072013-02-08 Carlos O'Donell <carlos@redhat.com>
108
ddacd1db 109 [BZ #15006]
b39949d2
CD
110 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
111 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
112
b2c9eff4
JM
1132013-02-08 Joseph Myers <joseph@codesourcery.com>
114
f3aae3f3
JM
115 [BZ #13550]
116 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
117 (CHECK_1_NULL_OK): Likewise.
118 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
119 (__fxstat): Do not use CHECK_1.
120 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
121 <bp-checks.h>.
122 (___fxstat64): Do not use CHECK_1.
123 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
124 <bp-checks.h>.
125 (__fxstatat): Do not use CHECK_1.
126 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
127 <bp-checks.h>.
128 (__fxstatat64): Do not use CHECK_1.
129 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
130 <bp-checks.h>.
131 (__fxstat): Do not use CHECK_1.
132 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
133 <bp-checks.h>.
134 (__fxstatat): Do not use CHECK_1.
135 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
136 <bp-checks.h>.
137 (__getresgid): Do not use CHECK_1.
138 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
139 <bp-checks.h>.
140 (__getresuid): Do not use CHECK_1.
141 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
142 <bp-checks.h>.
143 (__lxstat): Do not use CHECK_1.
144 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
145 <bp-checks.h>.
146 (__old_msgctl): Do not use CHECK_1.
147 (__new_msgctl): Likewise.
148 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
149 <bp-checks.h>.
150 (__new_setrlimit): Do not use CHECK_1.
151 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
152 <bp-checks.h>.
153 (__old_shmctl): Do not use CHECK_1.
154 (__new_shmctl): Likewise.
155 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
156 <bp-checks.h>.
157 (__xstat): Do not use CHECK_1.
158 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
159 (__lxstat): Do not use CHECK_1.
160 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
161 <bp-checks.h>.
162 (___lxstat64): Do not use CHECK_1.
163 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
164 (__old_msgctl): Do not use CHECK_1.
165 (__new_msgctl): Likewise.
166 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
167 <bp-checks.h>.
168 (__gettimeofday): Do not use CHECK_1.
169 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
170 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
171 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
172 <bp-checks.h>.
173 (__gettimeofday): Do not use CHECK_1.
174 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
175 (__old_shmctl): Do not use CHECK_1_NULL_OK.
176 (__new_shmctl): Do not use CHECK_1.
177 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
178 <bp-checks.h>.
179 (do_sigtimedwait): Do not use CHECK_1.
180 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
181 <bp-checks.h>.
182 (do_sigwaitinfo): Do not use CHECK_1.
183 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
184 <bp-checks.h>.
185 (msgctl): Do not use CHECK_1.
186 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
187 <bp-checks.h>.
188 (shmctl): Do not use CHECK_1.
189 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
190 (ustat): Do not use CHECK_1.
191 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
192 <bp-checks.h>.
193 (__fxstat): Do not use CHECK_1.
194 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
195 <bp-checks.h>.
196 (__fxstatat): Do not use CHECK_1.
197 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
198 <bp-checks.h>.
199 (__lxstat): Do not use CHECK_1.
200 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
201 <bp-checks.h>.
202 (__xstat): Do not use CHECK_1.
203 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
204 (__xstat): Do not use CHECK_1.
205 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
206 (___xstat64): Do not use CHECK_1.
207
b2c9eff4
JM
208 [BZ #13550]
209 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
210 definitions.
211 (CHECK_BOUNDS_HIGH): Likewise.
212 * string/strcpy.c: Do not include <bp-checks.h>.
213 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
214
f1d70dad
RM
2152013-02-07 Roland McGrath <roland@hack.frob.com>
216
217 * nscd/nscd-client.h (__nscd_drop_map_ref):
218 Add __attribute__ ((unused)).
219 * nis/nss-nisplus.h (niserr2nss): Likewise.
220
221 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
222 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
223
224 * csu/libc-tls.c (init_static_tls, init_slotinfo):
225 Remove inline keyword.
226 * include/rounding-mode.h (round_away): Likewise.
227 * libio/wfileops.c (adjust_wide_data): Likewise.
228 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
229 (__m128i_strloadu_tolower): Likewise.
230 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
231 (__m128i_strloadu_tolower): Likewise.
232 * time/mktime.c (ydhms_diff): Likewise.
233 * locale/elem-hash.h (elem_hash): Likewise.
234 * locale/setlocale.c (setdata): Likewise.
235 * posix/regex_internal.h (re_string_char_size_at): Likewise.
236 (re_string_wchar_at): Likewise.
237 (bitset_not, bitset_merge, bitset_mask): Likewise.
238 [!(__GNUC__ > 3)] (inline): Remove macro.
239 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
240 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
241 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
242 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
243 * string/memcmp.c (memcmp_bytes): Likewise.
244 * locale/programs/locarchive.c (compute_hashval): Likewise.
245 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
246 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
247 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
248 * nss/getent.c (print_rpc, print_protocols): Likewise.
249 (print_passwd, print_group, print_aliases): Likewise.
250 * nis/nss-nisplus.h (niserr2nss): Likewise.
251 * nscd/connections.c (restart_p): Likewise.
252 Change return type to bool.
253
eab55bfb
RM
2542013-02-05 Roland McGrath <roland@hack.frob.com>
255
7bd642f5
RM
256 * Makeconfig (all-Depend-files): Add existing
257 $(sorted-subdirs:=/Depend) files.
258 (all-subdirs): Remove nss.
259 * sysdeps/unix/inet/Subdirs: Add it here instead.
260 * hesiod/Depend: New file.
261
573c29b2
RM
262 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
263 instead of calling alloca.
264
b2e25af0
RM
265 * io/lseek.c (__lseek): Rename to __libc_lseek.
266 Define __lseek as an alias.
267
eab55bfb
RM
268 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
269
9a0d1941
CD
2702013-02-04 Carlos O'Donell <carlos@redhat.com>
271
272 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
273 else clause and remove check for non-standard endianness.
274
b83bbec4
DM
2752013-02-04 David S. Miller <davem@davemloft.net>
276
277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
278
6277fdab
JM
2792013-02-04 Joseph Myers <joseph@codesourcery.com>
280
281 [BZ #13550]
282 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
283 (__ubp_memchr): Remove prototype.
284 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
285 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
286 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
287 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
288 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
289 Remove alias.
290 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
291 (__ubp_memchr): Likewise.
292 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
293 (__ubp_memchr): Likewise.
294 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
295 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
296 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
297 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
298 CHECK_STRING.
299 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
300 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
301 (__getcwd): Do not use CHECK_STRING.
302 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
303 <bp-checks.h>.
304 (__real_chown): Do not use CHECK_STRING.
305 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
306 <bp-checks.h>.
307 (fchownat): Do not use CHECK_STRING.
308 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
309 CHECK_STRING.
310 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
311 <bp-checks.h>.
312 (__lchown): Do not use CHECK_STRING.
313 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
314 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
315 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
316 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
318 include <bp-checks.h>.
319 (truncate64): Do not use CHECK_STRING.
320 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
321 <bp-checks.h>.
322 (__real_chown): Do not use CHECK_STRING.
323 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
324 <bp-checks.h>.
325 (__lchown): Do not use CHECK_STRING.
326 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
327 <bp-checks.h>.
328 (__chown): Do not use CHECK_STRING.
329 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
330 <bp-checks.h>.
331 (truncate64): Do not use CHECK_STRING.
332 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
333 Likewise.
334 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
335 (__xmknod): Do not use CHECK_STRING.
336 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
337 <bp-checks.h>.
338 (__xmknodat): Do not use CHECK_STRING.
339 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
340 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
341
903ae060
AS
3422013-02-04 Andreas Schwab <schwab@suse.de>
343
344 [BZ #14142]
345 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
346 * include/netdb.h: Likewise for h_errno.
347 * elf/tst-stackguard1.c: Include <tls.h>.
348
542f9466
JK
3492013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
350
351 * elf/link.h (struct link_map): Extend the l_addr comment.
352 * include/link.h (struct link_map): Likewise.
353
e782a927
JM
3542013-02-01 Joseph Myers <joseph@codesourcery.com>
355
356 [BZ #13550]
357 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
358 (BOUNDED_1): Remove macro.
359 * debug/backtrace.c: Don't include <bp-checks.h>.
360 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
361 (__backtrace): Likewise.
362 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
363 <bp-checks.h>.
364 (__backtrace): Don't use BOUNDED_1.
365 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
366 <bp-checks.h>.
367 (__backtrace): Don't use BOUNDED_1.
368 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
369 (__backtrace): Don't use BOUNDED_1.
370 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
371 (shmat): Don't use BOUNDED_N.
372
8cf28c5e
JM
3732013-01-31 Joseph Myers <joseph@codesourcery.com>
374
3a7ac8a0
JM
375 [BZ #13550]
376 * sysdeps/generic/bp-start.h: Remove file.
377 * csu/libc-start.c: Don't include <bp-start.h>.
378 (LIBC_START_MAIN): Set up __environ directly instead of using
379 INIT_ARGV_and_ENVIRON.
380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
381 <bp-start.h>.
382
f3499f95
JM
383 [BZ #13550]
384 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
385 definitions.
386 (CHECK_FCNTL): Likewise.
387 (CHECK_N_PAGES): Likewise.
388
32a45bea
JM
389 [BZ #13550]
390 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
391 definitions.
392 (CHECK_SIGSET_NULL_OK): Likewise.
393 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
394 <bp-checks.h>.
395 (sigpending): Don't use CHECK_SIGSET.
396 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
397 <bp-checks.h>.
398 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
399 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
400 <bp-checks.h>.
401 (do_sigsuspend): Don't use CHECK_SIGSET.
402 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
403 use CHECK_SIGSET.
404 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
405 (do_sigwait): Don't use CHECK_SIGSET.
406 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
407 use CHECK_SIGSET.
408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
409 include <bp-checks.h>.
410 (sigpending): Don't use CHECK_SIGSET.
411 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
412 include <bp-checks.h>.
413 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
414 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
415 <bp-checks.h>.
416 (sigpending): Don't use CHECK_SIGSET.
417 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
418 <bp-checks.h>.
419 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
420
2e8a5c8c
JM
421 [BZ #13550]
422 * sysdeps/generic/bp-semctl.h: Remove file.
423 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
424 <bp-checks.h> and <bp-semctl.h>.
425 (__old_semctl): Don't use CHECK_SEMCTL.
426 (__new_semctl): Likewise.
427 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
428 and <bp-semctl.h>.
429 (__old_semctl): Don't use CHECK_SEMCTL.
430 (__new_semctl): Likewise.
431 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
432 <bp-checks.h> and <bp-semctl.h>.
433 (__old_semctl): Don't use CHECK_SEMCTL.
434 (__new_semctl): Likewise.
435 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
436 <bp-checks.h> and <bp-semctl.h>.
437 (semctl): Don't use CHECK_SEMCTL.
438
c2d54929
JM
439 [BZ #13550]
440 * Makerules (elide-bp-thunks): Remove variable.
441 (elide-routines.oS): Don't use $(elide-bp-thunks).
442 (elide-routines.os): Likewise.
443 (elide-routines.o): Likewise.
444 (elide-routines.op): Likewise.
445 (elide-routines.og): Likewise.
446 (objects): Don't use $(bp-thunks).
447 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
448 include.
449 (common-generated): Do not add s-proto-bp.d.
450 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
451 (int): Likewise.
452 (typ): Likewise.
453 Do not generate makefile rules for bounded-pointer thunks.
454 * sysdeps/generic/bp-thunks.h: Remove file.
455 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
456 * sysdeps/unix/s-proto-bp.S: Likewise.
457
8cf28c5e
JM
458 [BZ #15062]
459 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
460 parts of result separately when argument is not close to line from
461 -i to i and one part of argument is small.
462 * math/k_casinhf.c (__kernel_casinhf): Likewise.
463 * math/k_casinhl.c (__kernel_casinhl): Likewise.
464 * math/libm-test.inc (cacos_test): Add more tests.
465 (casin_test): Likewise.
466 (casinh_test): Likewise.
467 * sysdeps/i386/fpu/libm-test-ulps: Update.
468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
469
c4e33b8d
DM
4702013-01-31 David S. Miller <davem@davemloft.net>
471
472 * po/de.po: Update from translation team.
473
3b60b421
MK
4742013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
475
476 * time/tzfile.c: Include stdint.h for SIZE_MAX.
477
bb931195
TS
4782013-01-25 Thomas Schwinge <thomas@codesourcery.com>
479
b5a5da23
TS
480 * configure.in (_AC_PROG_CC_C89): New definition.
481 * configure: Regenerate.
482
bb931195
TS
483 * configure.in (AC_PROG_CPP): New definition.
484 * configure: Regenerate.
485
8c53a12c
JM
4862013-01-23 Joseph Myers <joseph@codesourcery.com>
487
488 * debug/tst-backtrace.h: New file.
489 * debug/tst-backtrace2.c: Include tst-backtrace.h.
490 (ret): Remove variable.
491 (x): Likewise.
492 (FAIL): Remove macro.
493 (NO_INLINE): Likewise.
494 (fn1): Use match function instead of strstr.
495 * debug/tst-backtrace3.c: Include tst-backtrace.h.
496 (ret): Remove variable.
497 (x): Likewise.
498 (FAIL): Remove macro.
499 (NO_INLINE): Likewise.
500 (fn): Use match function instead of strstr.
501 * debug/tst-backtrace4.c: Include tst-backtrace.h.
502 (ret): Remove variable.
503 (x): Likewise.
504 (FAIL): Remove macro.
505 (NO_INLINE): Likewise.
506 (handle_signal): Use match function instead of strstr.
507 * debug/tst-backtrace5.c: Include tst-backtrace.h.
508 (ret): Remove variable.
509 (x): Likewise.
510 (FAIL): Remove macro.
511 (NO_INLINE): Likewise.
512 (handle_signal): Use match function instead of strstr.
513
4858fa2a
RM
5142013-01-23 Roland McGrath <roland@hack.frob.com>
515
516 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
517
bae8e7f5
DM
5182013-01-23 David S. Miller <davem@davemloft.net>
519
520 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
521 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
522 argument of CAS if possible.
523 * sysdeps/sparc/sparc64/bits/atomic.h
524 (__arch_compare_and_exchange_val_32_acq): Likewise.
525 (__arch_compare_and_exchange_val_64_acq): Likewise.
526
9cbbc4ae
PT
5272013-01-23 Pino Toscano <toscano.pino@tiscali.it>
528
529 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
530 * sysdeps/posix/ulimit.c: ... this.
92a601b8 531 Include <limits.h>.
67b3f58c 532 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 533
5655a0b5
AC
5342013-01-23 Adam Conrad <adconrad@0c3.net>
535
536 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
537 (LDFLAGS-tst-array5): Likewise.
538
052aff95
JM
5392013-01-23 Joseph Myers <joseph@codesourcery.com>
540
541 [BZ #15036]
542 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
543 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
544 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
545 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
546
7c1e01aa
DM
5472013-01-21 David S. Miller <davem@davemloft.net>
548
549 * sysdeps/sparc/backtrace.c: New file.
550 * sysdeps/sparc/sparc32/backtrace.h: New file.
551 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
552 * sysdeps/sparc/sparc64/backtrace.h: New file.
553 * sysdeps/sparc/sparc64/backtrace.c: Delete.
554 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
555 -funwind-tables.
556
ab087e0a
AS
5572013-01-21 Andreas Schwab <schwab@suse.de>
558
559 [BZ #15020]
560 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
561 closed its stdout.
562
ed689c2f
AS
5632013-01-20 Andreas Schwab <schwab@linux-m68k.org>
564
565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
566 "mpa2.h".
567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
568
31d470ac
JM
5692013-01-18 Joseph Myers <joseph@codesourcery.com>
570 Mark Mitchell <mark@codesourcery.com>
571 Tom de Vries <tom@codesourcery.com>
572 Paul Pluzhnikov <ppluzhnikov@google.com>
573
574 * debug/tst-backtrace2.c: New file.
575 * debug/tst-backtrace3.c: Likewise.
576 * debug/tst-backtrace4.c: Likewise.
577 * debug/tst-backtrace5.c: Likewise.
578 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
579 (CFLAGS-tst-backtrace3.c): Likewise.
580 (CFLAGS-tst-backtrace4.c): Likewise.
581 (CFLAGS-tst-backtrace5.c): Likewise.
582 (LDFLAGS-tst-backtrace2): Likewise.
583 (LDFLAGS-tst-backtrace3): Likewise.
584 (LDFLAGS-tst-backtrace4): Likewise.
585 (LDFLAGS-tst-backtrace5): Likewise.
586 (tests): Add new tests tst-backtrace2, tst-backtrace3,
587 tst-backtrace4 and tst-backtrace5.
588
90567f30 5892013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
590 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
591
592 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
593 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
594 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
595 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
597 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
598 "+r" and remove output regs list as redundant. Add explicit inline
599 asm to specify register of return val to work around compiler codegen
600 bug. Remove (int) cast on return value. Add return type parameter to
601 use in macro so that this macro does not truncate return value for
602 64-bit values.
603 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
604 pass to INTERNAL_VSYSCALL_NCS.
605 (INLINE_VSYSCALL): Add 'long int' as return type to
606 INTERNAL_VSYSCALL_NCS macro invocation.
607 (INTERNAL_VSYSCALL): Add 'long int' as return type to
608 INTERNAL_VSYSCALL_NCS macro invocation.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
610
d3b9ea61
SP
6112013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
612
0b57daeb
SP
613 [BZ #14496]
614 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
615 Fix application of SIMD FP exception mask.
616
caa99d06
SP
617 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
618 mp_no from a power of two.
619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
620 __mpexp_twomm1. Use __pow_mp.
621
d3b9ea61
SP
622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
623 multiplication.
624
1dbaee3c
DM
6252013-01-17 David S. Miller <davem@davemloft.net>
626
627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
628
728d7b43
JM
6292013-01-17 Joseph Myers <joseph@codesourcery.com>
630
631 [BZ #15023]
632 * include/complex.h: Condition contents on [!_COMPLEX_H].
633 (__kernel_casinhf): New prototype.
634 (__kernel_casinh): Likewise.
635 (__kernel_casinhl): Likewise.
636 * math/Makefile (libm_calls): Add k_casinh.
637 * math/k_casinh.c: New file.
638 * math/k_casinhf.c: Likewise.
639 * math/k_casinhl.c: Likewise.
640 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
641 finite nonzero arguments.
642 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
643 finite nonzero arguments.
644 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
645 finite nonzero arguments.
646 * math/s_casinh.c: Do not include <float.h>.
647 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
648 * math/s_casinhf.c: Do not include <float.h>.
649 (__casinhf): Move code for finite nonzero arguments to
650 k_casinhf.c.
651 * math/s_casinhl.c: Do not include <float.h>.
652 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
653 redefine.
654 (__casinhl): Move code for finite nonzero arguments to
655 k_casinhl.c.
656 * math/libm-test.inc (cacos_test): Add more tests.
657 * sysdeps/i386/fpu/libm-test-ulps: Update.
658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
659
2a26ef3a
PT
6602013-01-17 Pino Toscano <toscano.pino@tiscali.it>
661
662 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
663 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
664 [!HAVE_MREMAP]: Remove [defined linux] case.
665 * malloc/arena.c: Do not include <malloc-sysdep.h>.
666
a897655d
SP
6672013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
668
669 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
670
881ebe89 6712013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
672
673 * elf/elf.h (R_386_SIZE32): New relocation.
674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
675 R_386_SIZE32.
676 (elf_machine_rela): Likewise.
677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
678 R_X86_64_SIZE64 and R_X86_64_SIZE32.
679
59981e9b
JM
6802013-01-17 Joseph Myers <joseph@codesourcery.com>
681
682 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
683 (FP_FAST_FMA): Do not define.
684 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
685 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
686 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
687 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
688 !_SOFT_FLOAT]: Likewise.
689 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
690 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
691 value.
692 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
693 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
694 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
695 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
696 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
697 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
698 file.
699
cfa8054f
AS
7002013-01-16 Andreas Schwab <schwab@suse.de>
701
702 [BZ #14327]
703 * include/stdlib.h (__mktemp): Add declaration.
704 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
705 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
706
dd930cc5
SP
7072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
708
881ebe89
SP
709 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
710 definitions.
711 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
712 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
713 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
714 definitions here.
715 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
716 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
717 definitions.
718 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
719 and ONE.
720 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
721 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
722 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
723 definitions.
724 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
725 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
726 definitions.
727 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 728
dd930cc5
SP
729 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
730
c19a9f89
DM
7312013-01-15 David S. Miller <davem@davemloft.net>
732
1aa61767
DM
733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
734 trunc{,f} to libm-sysdep_routes.
735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
737 file.
738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
740 file.
741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
742 file.
743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
745 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
746 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
747 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
748 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
749 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
750 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
751
c42d5e98
DM
752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
753 nearbyint{,f} to libm-sysdep_routes.
754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
756 New file.
757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
758 file.
759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
760 New file.
761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
762 file.
763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
765 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
766 file.
767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
768 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
769 file.
770 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
771 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
772 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
773
c19a9f89
DM
774 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
775 libc_feholdexcept and libc_fesetenv.
776
357679d2
MF
7772013-01-15 Mike Frysinger <vapier@gentoo.org>
778
779 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
780
65a82e3d
DM
7812013-01-14 David S. Miller <davem@davemloft.net>
782
8b954ab9
DM
783 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
784 (SPARC_ASM_VIS2_IFUNC): Likewise.
785 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
787 use of 'siam' instruction.
788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
789 Likewise.
790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
791 Likewise.
792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
793 Likewise.
794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
799 file.
800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
801 file.
802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
803 file.
804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
805 file.
806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
811 new VIS2 routines.
812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
815 Likewise.
816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
821 routines to libm-sysdep_routines.
822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
823
65a82e3d
DM
824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
825 fdim/fdimf to libm-sysdep_routines.
826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
827 file.
828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
830 file.
831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
834 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
835 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
836 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
837 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
838
e34ab705
SP
8392013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
840
2a91b573
SP
841 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
842 to optimize copies.
843
1066a534
SP
844 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
847
e34ab705
SP
848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
849 local variable MPTWO.
850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
851 Likewise.
852
aba5e596
MF
8532013-01-13 Mike Frysinger <vapier@gentoo.org>
854
855 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
856 GLOB_NOESCAPE.
857
e557e9e5
MF
8582013-01-13 Mike Frysinger <vapier@gentoo.org>
859
860 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
861
0428cec9
MF
8622013-01-13 Mike Frysinger <vapier@gentoo.org>
863
864 * manual/pattern.texi (glob_t): Document gl_flags.
865 (glob64_t): Likewise.
866
8794a964
DM
8672013-01-11 David S. Miller <davem@davemloft.net>
868
66438c3f
RM
869 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
870 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
871 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
872 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
873 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
874 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
875 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
876 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
877 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
878 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
879 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
880 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
881 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
882
4ae4244d
DM
883 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
884 sparc V9 rather than using V8 code.
885 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
886 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
887
8794a964
DM
888 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
889 Move to...
890 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
891 Here.
892
6270516e
RM
8932013-01-11 Roland McGrath <roland@hack.frob.com>
894
895 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
896 not in the main loop.
897 * configure: Regenerated.
898
6a57d931
JM
8992013-01-11 Joseph Myers <joseph@codesourcery.com>
900
901 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
902 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
903 to just #else.
904 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
905 [!__GLIBC_HAVE_LONG_LONG] case.
906 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
907 condition to just #else.
908 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
909 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
910 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
911 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
912 unconditional.
913 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
914 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
915 #elif condition to just #else.
916 * sysdeps/unix/sysv/linux/sys/sysmacros.h
917 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
918 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
919 #elif condition to just #else.
920
0e8529e9
SE
9212013-01-11 Steve Ellcey <sellcey@mips.com>
922
923 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
924 (EF_MIPS_ARCH_64): Fix value.
925 (EF_MIPS_ARCH_32R2): New.
926 (EF_MIPS_ARCH_64R2): New.
927
740b3dbe
L
9282013-01-11 H.J. Lu <hongjiu.lu@intel.com>
929
930 * Makeconfig (+link-pie-before-libc): New.
931 (+link-pie-after-libc): Likewise.
932 (+link-pie-tests): Likewise.
933 (+link-pie): Rewritten.
934 (link-before-libc): Remove $(config-LDFLAGS).
935 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
936 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
937 (config-LDFLAGS): Renamed to ...
938 (rtld-LDFLAGS): This.
939 (rtld-tests-LDFLAGS): New macro.
940 (link-libc-rpath-link): Likewise.
941 (link-libc-tests-rpath-link): Likewise.
942 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
943 (link-libc): Prepand $(link-libc-rpath-link).
944 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
945 (test-program-prefix): New macro.
946 (test-via-rtld-prefix): Likewise.
947 (test-program-cmd): Likewise.
948 (host-test-program-cmd): Likewise.
949 * Makefile ($(common-objpfx)testrun.sh): Replace
950 $(run-program-prefix) with $(test-program-prefix).
951 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
952 $(rtld-LDFLAGS).
953 ($(common-objpfx)shlib.lds): Likewise.
954 (build-module-helper): Likewise.
955 ($(common-objpfx)format.lds): Likewise.
956 * Rules (binaries-pie-tests): New.
957 (binaries-pie-notests): Likewise.
958 (binaries-pie): Rewritten.
959 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
960 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
961 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
962 (make-test-out): Replace $(host-built-program-cmd) with
963 $(host-test-program-cmd).
964 * config.make.in (build-hardcoded-path-in-tests): New variable.
965 * configure.in (--enable-hardcoded-path-in-tests): New configure
966 option.
967 (hardcoded_path_in_tests): New AC_SUBST.
968 * configure: Regenerated.
969 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
970 $(built-program-cmd) with $(test-program-cmd).
971 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
972 (test_program_cmd): This.
973 * elf/Makefile ($(objpfx)order.out): Run test with
974 $(test-program-prefix).
975 ($(objpfx)order2.out): Likewise.
976 ($(objpfx)tst-initorder.out): Likewise.
977 ($(objpfx)tst-initorder2.out): Likewise.
978 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
979 $(test-program-cmd).
980 ($(objpfx)tst-array1-static.out): Likewise.
981 ($(objpfx)tst-array2.out): Likewise.
982 ($(objpfx)tst-array3.out): Likewise.
983 ($(objpfx)tst-array4.out): Likewise.
984 ($(objpfx)tst-array5.out): Likewise.
985 ($(objpfx)tst-array5-static.out): Likewise.
986 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
987 $(test-program-cmd).
988 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
989 $(run-program-prefix) with $(test-program-prefix).
990 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
991 (test_program_prefix): This.
992 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
993 $(run-program-prefix) with $(test-program-prefix).
994 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
995 (test_program_prefix): This.
996 * iconvdata/tst-tables.sh: Likewise.
997 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
998 $(run-program-prefix) with $(test-program-prefix).
999 ($(objpfx)tst-translit.out): Likewise.
1000 ($(objpfx)tst-gettext2.out): Likewise.
1001 ($(objpfx)tst-gettext4.out): Likewise.
1002 ($(objpfx)tst-gettext6.out): Likewise.
1003 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1004 (test_program_prefix): This.
1005 * intl/tst-gettext2.sh: Likewise.
1006 * intl/tst-gettext4.sh Likewise.
1007 * intl/tst-gettext6.sh: Likewise.
1008 * intl/tst-translit.sh: Likewise.
1009 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1010 with $(test-program-cmd).
1011 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1012 $(run-program-prefix) with $(test-program-prefix).
1013 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1014 (test_program_prefix): This.
1015 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1016 $(run-program-prefix) with $(test-program-prefix).
1017 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1018 (test_program_prefix): This.
1019 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1020 * posix/Makefile ($(objpfx)globtest.out): Replace
1021 $(run-via-rtld-prefix) and $(test-wrapper) with
1022 $(test-program-prefix) and $(test-via-rtld-prefix).
1023 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1024 $(test-program-prefix).
1025 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1026 $(host-test-program-cmd).
1027 (tst-spawn-ARGS): Likewise.
1028 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1029 $(test-program-prefix).
1030 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1031 (test_via_rtld_prefix): This.
1032 (test_wrapper): Renamed to ...
1033 (test_program_prefix): This.
1034 (run_program_prefix): Replaced by test_program_prefix.
1035 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1036 (test_program_prefix): This.
1037 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1038 with $(host-test-program-cmd).
1039 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1040 $(run-program-prefix) with $(test-program-prefix).
1041 ($(objpfx)tst-printf.out): Likewise.
1042 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1043 $(test-program-cmd).
1044 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1045 (test_program_prefix): This.
1046 * stdio-common/tst-unbputc.sh: Likewise.
1047 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1048 $(run-program-prefix) with $(test-program-prefix).
1049 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1050 (test_program_prefix): This.
1051 * string/Makefile ($(objpfx)tst-svc.out): Replace
1052 $(built-program-cmd) with $(test-program-cmd).
1053
c6fe55cf
AJ
10542013-01-11 Andreas Jaeger <aj@suse.de>
1055
1056 [BZ #15003]
1057 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1058 value. Sync with Linux 3.7.
1059
9e6919c8
DM
10602013-01-10 David S. Miller <davem@davemloft.net>
1061
1062 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1063 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1064 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1065
1c9f1a02
RM
10662013-01-10 Roland McGrath <roland@hack.frob.com>
1067
1068 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1069 never set.
1070 * configure: Regenerated.
1071
b9de2dde
DM
10722013-01-10 David S. Miller <davem@davemloft.net>
1073
1074 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1075 sparc V9 rather than using V8 code.
1076 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1077 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1078
e7f68ef4
RM
10792013-01-10 Roland McGrath <roland@hack.frob.com>
1080
1081 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1082 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1083 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1084 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1085 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1086 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1087 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1088 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1089 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1090 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1091 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1092 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1093 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1094 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1095 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1096 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1097 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1098 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1099 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1100 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1101 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1102 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1103 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1104 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1105 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1106 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1107 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1108
5a47cc9c
DM
11092013-01-10 David S. Miller <davem@davemloft.net>
1110
1111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1112
4cf8f209
L
11132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 * posix/Makefile (tests-static): New variable.
1116 (tests): Add $(tests-static).
1117 (tst-exec-static-ARGS): New variable.
1118 (tst-spawn-static-ARGS): Likewise.
1119 * posix/tst-exec-static.c: New file.
1120 * posix/tst-spawn-static.c: Likewise.
1121 * posix/tst-exec.c: Support run directly.
1122 * posix/tst-spawn.c: Likewise.
1123
fed0faa1
JM
11242013-01-10 Joseph Myers <joseph@codesourcery.com>
1125
828beb13
JM
1126 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1127 long.
1128 * math/bits/mathcalls.h (llrint): Likewise.
1129 (llround): Likewise.
1130 * stdlib/stdlib.h (struct drand48_data): Likewise.
1131 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1132 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1134 Likewise.
1135 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1136 Likewise.
1137 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1138 (elf_greg_t): Likewise.
1139 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1140 (__jmp_buf): Likewise.
1141 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1142 definitions.
1143 (llrint): Likewise, for all definitions.
1144 (llrintl): Likewise.
1145
fed0faa1
JM
1146 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1147 Remove [__GNUC__] condition.
1148 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1149 condition to just [__USE_ISOC99].
1150 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1151
1a20cb20
L
11522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 [BZ #14200]
1155 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1156 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1157 defined.
1158 (_POSIX_V6_ILP32_OFF32): Likewise.
1159 (_XBS5_ILP32_OFF32): Likewise.
1160 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1161 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1162
751b85f7
SP
11632013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1164
7490eb81
SP
1165 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1166
751b85f7
SP
1167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1168 doubles __mpexp_twomm1. Adjust usage.
1169 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1170 Remove.
1171
988197f0
AS
11722013-01-10 Andreas Schwab <schwab@suse.de>
1173
1174 [BZ #14964]
1175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1176 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1177
e83d7298
DM
11782013-01-09 David S. Miller <davem@davemloft.net>
1179
034ed64b 1180 [BZ #15003]
e83d7298
DM
1181 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1182 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1183 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1184 TCP_FASTOPEN): Define.
1185 (tcp_repair_opt): New structure.
1186 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1187 enum values.
1188 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1189 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1190 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1191 (tcp_cookie_transactions): New structure.
1192
d5e0b9bd
AB
11932013-01-09 Anton Blanchard <anton@samba.org>
1194
1195 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1196 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1197 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1198 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1199
0c07e3ea
JM
12002013-01-09 Joseph Myers <joseph@codesourcery.com>
1201
1202 * include/features.h (__USE_ANSI): Remove.
1203
232f7002
RM
12042013-01-09 Roland McGrath <roland@hack.frob.com>
1205
ad98e30c
RM
1206 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1207
232f7002
RM
1208 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1209
950c99ca
SP
12102013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1211
b5792741
SP
1212 * sysdeps/s390/fpu/libm-test-ulps: Update.
1213
47cf2278
SP
1214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1215
950c99ca
SP
1216 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1217 (__acr): Likewise.
1218 (__cpy): Likewise.
1219 (norm): Likewise.
1220 (denorm): Likewise.
1221 (__mp_dbl): Likewise.
1222 (__dbl_mp): Likewise.
1223 (add_magnitudes): Likewise.
1224 (sub_magnitudes): Likewise.
1225 (__add): Likewise.
1226 (__sub): Likewise.
1227 (__mul): Likewise.
1228 (__inv): Likewise.
1229 (__dvd): Likewise.
1230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1231 (__acr): Likewise.
1232 (__cpy): Likewise.
1233 (norm): Likewise.
1234 (denorm): Likewise.
1235 (__mp_dbl): Likewise.
1236 (__dbl_mp): Likewise.
1237 (add_magnitudes): Likewise.
1238 (sub_magnitudes): Likewise.
1239 (__add): Likewise.
1240 (__sub): Likewise.
1241 (__mul): Likewise.
1242 (__inv): Likewise.
1243 (__dvd): Likewise.
1244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1245 (__acr): Likewise.
1246 (__cpy): Likewise.
1247 (norm): Likewise.
1248 (denorm): Likewise.
1249 (__mp_dbl): Likewise.
1250 (__dbl_mp): Likewise.
1251 (add_magnitudes): Likewise.
1252 (sub_magnitudes): Likewise.
1253 (__add): Likewise.
1254 (__sub): Likewise.
1255 (__mul): Likewise.
1256 (__inv): Likewise.
1257 (__dvd): Likewise.
1258
eede9df9
JM
12592013-01-08 Joseph Myers <joseph@codesourcery.com>
1260
1261 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1262 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1263 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1264 2 && __USE_EXTERN_INLINES]: Likewise.
1265
c40ea3d9
AJ
12662013-01-08 Andreas Jaeger <aj@suse.de>
1267
1268 [BZ# 14985]
1269 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1270 Remove.
1271 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1272 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1273
2ccdea26
AB
12742013-01-07 Anton Blanchard <anton@samba.org>
1275
1276 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1277 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1278 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1279 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1280 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1281 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1282 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1283 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1285 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1287 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1288 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1289 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1290 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1291 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1292 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1295 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1296 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1297 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1299 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1300 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1301 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1302 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1303 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1305 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1306 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1308 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1309 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1310 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1313 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1319
a9708fed
JM
13202013-01-07 Joseph Myers <joseph@codesourcery.com>
1321
375607b9
JM
1322 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1323 (__MALLOC_PMT): Likewise.
1324 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1325 [__GNUC__], only on [_LIBC].
1326 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1327 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1328 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1329 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1330 forward declaration.
1331 (realloc_hook_ini): Likewise.
1332 (memalign_hook_ini): Likewise.
1333 (__libc_memalign): Do not use __MALLOC_PMT in variable
1334 declaration.
1335 (__libc_valloc): Likewise.
1336 (__libc_pvalloc): Likewise.
1337 (__libc_calloc): Likewise.
1338 (__posix_memalign): Likewise.
1339
a9708fed
JM
1340 [BZ #14996]
1341 * math/s_casinh.c: Include <float.h>.
1342 (__casinh): Do not do computation with squaring and square root
1343 for large arguments.
1344 * math/s_casinhf.c: Include <float.h>.
1345 (__casinhf): Do not do computation with squaring and square root
1346 for large arguments.
1347 * math/s_casinhl.c: Include <float.h>.
1348 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1349 (__casinhl): Do not do computation with squaring and square root
1350 for large arguments.
1351 * math/libm-test.inc (casin_test): Add more tests.
1352 (casinh_test): Likewise.
1353 * sysdeps/i386/fpu/libm-test-ulps: Update.
1354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1355
afec409a
L
13562013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1359 (__x86_64_raw_data_cache_size): Likewise.
1360 (__x86_64_data_cache_size_half): Likewise.
1361 (__x86_64_raw_data_cache_size_half): Likewise.
1362 (__x86_64_shared_cache_size): Likewise.
1363 (__x86_64_raw_shared_cache_size): Likewise.
1364 (__x86_64_shared_cache_size_half): Likewise.
1365 (__x86_64_raw_shared_cache_size_half): Likewise.
1366 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1367 to ...
1368 (__x86_data_cache_size): This.
1369 (__x86_64_raw_data_cache_size): Renamed to ...
1370 (__x86_raw_data_cache_size): This.
1371 (__x86_64_data_cache_size_half): Renamed to ...
1372 (__x86_data_cache_size_half): This.
1373 (__x86_64_raw_data_cache_size_half): Renamed to ...
1374 (__x86_raw_data_cache_size_half): This.
1375 (__x86_64_shared_cache_size): Renamed to ...
1376 (__x86_shared_cache_size): This.
1377 (__x86_64_raw_shared_cache_size): Renamed to ...
1378 (__x86_raw_shared_cache_size): This.
1379 (__x86_64_shared_cache_size_half): Renamed to ...
1380 (__x86_shared_cache_size_half): This.
1381 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1382 (__x86_raw_shared_cache_size_half): This.
1383 * sysdeps/x86_64/memcpy.S: Updated.
1384 * sysdeps/x86_64/memset.S: Likewise.
1385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1388
0b3986d0
DM
13892013-01-04 David S. Miller <davem@davemloft.net>
1390
1391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1392
e47686e9
AS
13932013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1394
d643bac1
AS
1395 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1396 1 to avoid redefinition warning.
1397 (__USE_GNU): Don't define.
1398 (init_signaling_nan): Protoize.
1399
e47686e9
AS
1400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1401
b18decba
SP
14022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1403
fffb407f
SP
1404 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1406 (__cpymn): Likewise.
1407 (norm): Remove commented code.
1408 (denorm): Likewise.
1409 (__mp_dbl): Likewise.
1410 (__inv): Likewise.
1411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1412 (__cpymn): Likewise.
1413 (norm): Remove commented code.
1414 (denorm): Likewise.
1415 (__mp_dbl): Likewise.
1416 (__inv): Likewise.
1417
b18decba
SP
1418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1419 mp_no value for 1.0 and 2.0.
1420 (norm): Use RADIXI instead of radixi.d.
1421 (denorm): Likewise.
1422 (__mul): Use 0.0 instead of zero.d.
1423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1424 mp_no value for 1.0 and 2.0.
1425 (norm): Use RADIXI instead of radixi.d.
1426 (denorm): Likewise.
1427 (__mul): Use 0.0 instead of zero.d.
1428
cdc1c96f
JM
14292013-01-04 Joseph Myers <joseph@codesourcery.com>
1430
1431 [BZ #14994]
1432 * math/s_casinh.c (__casinh): Reduce finite argument to first
1433 quadrant then set signs of results at the end.
1434 * math/s_casinhf.c (__casinhf): Likewise.
1435 * math/s_casinhl.c (__casinhl): Likewise.
1436 * math/libm-test.inc (casin_test): Add more tests.
1437 (casinh_test): Likewise.
1438 * sysdeps/i386/fpu/libm-test-ulps: Update.
1439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1440
302913e1
SP
14412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1442
6420d207
SP
1443 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1444
a9e48ab4
SP
1445 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1446
b7837264
SP
1447 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1448 declarations.
1449 (denorm): Likewise.
1450 (__mp_dbl): Likewise.
1451 (__inv): Likewise.
1452
f8af25d2
SP
1453 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1454 and adjust the header comment.
1455
302913e1
SP
1456 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1457 variable name from declaration.
1458
5d7dd1ca
L
14592013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1460
1461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1462 Initialize COMMON_CPUID_INDEX_7 element.
1463 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1464 (CPUID_RTM): Likewise.
1465 (HAS_RTM): Likewise.
1466 (COMMON_CPUID_INDEX_7): New enum.
1467
2f5f40f4
AS
14682013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1469
1470 [BZ #14981]
1471 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1472 size is zero, record memory as freed.
1473
4056f4a0
AJ
14742013-01-03 Andreas Jaeger <aj@suse.de>
1475
1476 * po/ia.po: Add new Interlingua translation.
1477
ab15736f 14782012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1479
1480 * locale/programs/localedef.c: Fix description of '--posix' flag.
1481
568035b7
JM
14822013-01-02 Joseph Myers <joseph@codesourcery.com>
1483
e6898b8d
JM
1484 * NEWS: Update dates in second copyright notice.
1485 * README: Update copyright dates in example.
1486 * manual/libc.texinfo: Update copyright dates.
1487 * scripts/test-installation.pl: Update copyright date in --version
1488 output.
1489
0e2f9562
JM
1490 * hurd/ctty-input.c: Fix copyright notice formatting.
1491 * hurd/ctty-output.c: Likewise.
1492 * hurd/dtable.c: Likewise.
1493 * hurd/hurd-raise.c: Likewise.
1494 * hurd/hurdprio.c: Likewise.
1495 * hurd/msgportdemux.c: Likewise.
1496 * misc/sys/file.h: Likewise.
1497 * misc/sys/ioctl.h: Likewise.
1498 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1499 * sysdeps/mach/hurd/chdir.c: Likewise.
1500 * sysdeps/mach/hurd/fchdir.c: Likewise.
1501 * sysdeps/mach/hurd/rename.c: Likewise.
1502 * sysdeps/mach/hurd/rmdir.c: Likewise.
1503 * sysdeps/mach/hurd/seekdir.c: Likewise.
1504 * sysdeps/mach/hurd/setsid.c: Likewise.
1505 * sysdeps/posix/wait3.c: Likewise.
1506
568035b7
JM
1507 * All files with FSF copyright notices: Update copyright dates
1508 using scripts/update-copyrights.
1509 * intl/plural.c: Regenerated.
1510 * locale/programs/charmap-kw.h: Likewise.
1511 * locale/programs/locfile-kw.h: Likewise.
1512
da08f647
SP
15132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1514
0f5477af
SP
1515 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1516 four values.
1517
44e0d4c2
SP
1518 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1519 calculation loop and add branch prediction.
1520
4d55b4e5
SP
1521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1522 check access beyond bounds of m1np.
1523
da08f647
SP
1524 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1525 MPTWO.
1526 (__inv): Remove local variable MPTWO to use the global
1527 constant.
1528 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1529 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1530 variable MPTWO.
1531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1532 MP3HALFS static const.
1533
8e051029
DM
15342013-01-01 David S. Miller <davem@davemloft.net>
1535
1536 * po/ca.po: Update from translation team.
1537
f4cf5f2d
JM
15382013-01-01 Joseph Myers <joseph@codesourcery.com>
1539
1540 * scripts/update-copyrights: New file.
1541 * Makeconfig: Reformat copyright notice.
1542 * ctype/ctype.h: Likewise.
1543 * debug/swprintf_chk.c: Likewise.
1544 * elf/dl-cache.c: Likewise.
1545 * elf/dl-debug.c: Likewise.
1546 * elf/dl-object.c: Likewise.
1547 * grp/initgroups.c: Likewise.
1548 * hurd/Makefile: Likewise.
1549 * hurd/hurd/signal.h: Likewise.
1550 * hurd/hurdfault.c: Likewise.
1551 * hurd/hurdioctl.c: Likewise.
1552 * hurd/hurdlookup.c: Likewise.
1553 * hurd/intr-msg.c: Likewise.
1554 * iconv/gconv_open.c: Likewise.
1555 * libio/swprintf.c: Likewise.
1556 * locale/lc-ctype.c: Likewise.
1557 * locale/nl_langinfo.c: Likewise.
1558 * mach/Machrules: Likewise.
1559 * mach/Makefile: Likewise.
1560 * malloc/obstack.h: Likewise.
1561 * manual/Makefile: Likewise.
1562 * manual/tsort.awk: Likewise.
1563 * misc/bits/stab.def: Likewise.
1564 * nis/nis_print_group_entry.c: Likewise.
1565 * nis/nis_table.c: Likewise.
1566 * nis/nss_compat/compat-pwd.c: Likewise.
1567 * nis/nss_compat/compat-spwd.c: Likewise.
1568 * po/Makefile: Likewise.
1569 * posix/fnmatch.c: Likewise.
1570 * posix/regex.h: Likewise.
1571 * resolv/Makefile: Likewise.
1572 * resolv/nss_dns/dns-network.c: Likewise.
1573 * resolv/res_hconf.c: Likewise.
1574 * scripts/gen-sorted.awk: Likewise.
1575 * soft-fp/soft-fp.h: Likewise.
1576 * stdio-common/printf.h: Likewise.
1577 * stdlib/monetary.h: Likewise.
1578 * stdlib/random.c: Likewise.
1579 * stdlib/random_r.c: Likewise.
1580 * sysdeps/generic/Makefile: Likewise.
1581 * sysdeps/gnu/Makefile: Likewise.
1582 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1610 * sysdeps/mach/hurd/errnos.awk: Likewise.
1611 * sysdeps/mach/hurd/fork.c: Likewise.
1612 * sysdeps/mach/hurd/getcwd.c: Likewise.
1613 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1614 * sysdeps/mach/hurd/mmap.c: Likewise.
1615 * sysdeps/mach/hurd/utimes.c: Likewise.
1616 * sysdeps/mach/hurd/xmknod.c: Likewise.
1617 * sysdeps/posix/profil.c: Likewise.
1618 * sysdeps/posix/readdir_r.c: Likewise.
1619 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1620 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1621 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1622 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1625 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1626 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1628 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1629 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1630 * sysdeps/pthread/lio_listio.c: Likewise.
1631 * sysdeps/sparc/dl-procinfo.h: Likewise.
1632 * sysdeps/unix/i386/sysdep.S: Likewise.
1633 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1634 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1635 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1636 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1638 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1639 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1640 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1641 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1642 * sysdeps/wordsize-32/divdi3.c: Likewise.
1643 * time/sys/time.h: Likewise.
1644 * wcsmbs/Makefile: Likewise.
1645
0549fbba
DM
16462013-01-01 David S. Miller <davem@davemloft.net>
1647
a141f1a7
DM
1648 * po/fr.po: Update from translation team.
1649
0549fbba
DM
1650 * catgets/gencat.c: Update copyright year.
1651 * csu/version.c: Likewise.
1652 * debug/catchsegv.sh: Likewise.
1653 * debug/pcprofiledump.c: Likewise.
1654 * debug/xtrace.sh: Likewise.
1655 * elf/ldconfig.c: Likewise.
1656 * elf/ldd.bash.in: Likewise.
1657 * elf/pldd.c: Likewise.
1658 * elf/sotruss.ksh: Likewise.
1659 * elf/sprof.c: Likewise.
1660 * iconv/iconv_prog.c: Likewise.
1661 * iconv/iconvconfig.c: Likewise.
1662 * locale/programs/locale.c: Likewise.
1663 * locale/programs/localedef.c: Likewise.
1664 * login/programs/pt_chown.c: Likewise.
1665 * malloc/memusage.sh: Likewise.
1666 * malloc/memusagestat.c: Likewise.
1667 * malloc/mtrace.pl: Likewise.
1668 * nscd/nscd.c: Likewise.
1669 * nss/getent.c: Likewise.
1670 * nss/makedb.c: Likewise.
1671 * posix/getconf.c: Likewise.
1672
18ea052c
SP
16732012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1674
1675 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1676 numbers.
1677
9c89fca6
MF
16782012-12-30 Mike Frysinger <vapier@gentoo.org>
1679
1680 * math/bits/mathcalls.h (modf): Use __nonnull.
1681
085ec079
SP
16822012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1683
1684 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1685 (split): Use macro CN instead of the bare value.
1686 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1687 could be used.
1688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1689 instead of the bare value.
1690 (power1): Likewise.
1691
6d9f97e1
SP
16922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1693
d63f73be
SP
1694 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1695 __ATAN_TWOM.
1696 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1697
6d9f97e1
SP
1698 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1699 their values.
1700 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1701 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1702 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1703 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1704
4c4febf5
AJ
17052012-12-28 Andreas Jaeger <aj@suse.de>
1706
af5843ef
AJ
1707 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1708 values are from Linux 3.7.
1709
4c4febf5
AJ
1710 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1711 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1712
99136f82
SP
17132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1714
2f216c3c 1715 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1716 TRUE case.
1717
99136f82
SP
1718 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1719 (norm): Likewise.
1720 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1721 variables with preprocessor constants.
1722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1723 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1724 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1725
7fffbdff
BH
17262012-12-27 Bruno Haible <bruno@clisp.org>
1727
1728 [BZ #14317]
1729 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1730 only if needed.
1731
b76eb5f0
SP
17322012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1733
31a7fe5c
SP
1734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1735 and use variable directly.
1736 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1737
b76eb5f0
SP
1738 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1739 MPONE.
1740 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1741 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1742 variable MPONE.
1743 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1745 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1746 include directive. Remove local variable MPONE.
1747 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1748 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1749 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1750
2c8bfe7d
DM
17512012-12-25 David S. Miller <davem@davemloft.net>
1752
1753 * version.h (RELEASE): Set to "development".
1754 (VERSION): Set to "2.17.90".
1755 * NEWS: Add 2.18 section.
1756
147d03b0
DM
17572012-12-21 David S. Miller <davem@davemloft.net>
1758
1759 * po/hr.po: Update from translation team.
1760
a8ebb2b9
AK
17612012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1762
1763 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1764
95b4f1b6
SE
17652012-12-19 Steve Ellcey <sellcey@mips.com>
1766
b2d94007 1767 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1768
cedb2a90
MS
17692012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1770
1771 * manual/contrib.texi (Contributors): Spelling correction.
1772
bbf527d6
DM
17732012-12-15 David S. Miller <davem@davemloft.net>
1774
1775 * po/ru.po: Update from translation team.
1776
bc38c906
DM
17772012-12-13 David S. Miller <davem@davemloft.net>
1778
85429b1a
DM
1779 * NEWS: Mention IFUNC testsuite enhancements.
1780
d283e353
DM
1781 * po/pl.po: Update from translation team.
1782 * po/bg.po: Likewise.
1783
bc38c906
DM
1784 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1785 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1786
a181b0d7
DM
17872012-12-11 David S. Miller <davem@davemloft.net>
1788
4641d57e
DM
1789 * po/sv.po: Update from translation team.
1790
f7bc6495
DM
1791 * po/vi.po: Update from translation team.
1792
6fc9048f
DM
1793 * po/cs.po: Update from translation team.
1794
a181b0d7
DM
1795 * po/de.po: Update from translation team.
1796 * po/eo.po: Likewise.
1797 * po/nl.po: Likewise.
1798
f70bfe80
SP
17992012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1800
3c8b4190
SP
1801 [BZ #14246]
1802 * manual/argp.texi (Argp Helper Functions): Move node to follow
1803 Argp Parsing State.
1804
f70bfe80
SP
1805 [BZ #14872]
1806 * manual/conf.texi (Limits on File System Capacity): Mention if
1807 terminating null is included in the max size.
1808
188f0adf
AJ
18092012-12-10 Andreas Jaeger <aj@suse.de>
1810
1811 * po/cs.po: Update from translation team.
1812
56e7d3ad
SP
18132012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1814
1815 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1816 void pointer and cast to uintptr_t.
1817 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1818 path.
1819 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1820 * sysdeps/s390/s390-64/memset.S: Likewise.
1821
76f2d2ea 18222012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1823
1824 [BZ #14833]
1825 * menual/message.texi (Message Translation): Fix typos.
1826 (Helper programs for gettext): Likewise.
1827
67cbf9a2
AS
18282012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1829
1830 [BZ #14898]
1831 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1832 Change to -1.
1833
682d0e9a
DM
18342012-12-07 David S. Miller <davem@davemloft.net>
1835
1836 * po/libc.pot: Update.
1837
573cd484
RH
18382012-12-07 Richard Henderson <rth@redhat.com>
1839
7e9da188 1840 [BZ #10114]
573cd484
RH
1841 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1842 normal/normal case to before the switch.
1843 (_FP_DIV): Likewise.
1844
e933a943
MF
18452012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1846 Mike Frysinger <vapier@gentoo.org>
1847
1848 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1849 check for __NR_fadvise64_64.
1850
82123268
CM
18512012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1852
1853 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1854 0, not just to plain "0" as a statement.
1855 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1856 with cw.
1857
d9814526
JM
18582012-12-06 Joseph Myers <joseph@codesourcery.com>
1859
1860 * NEWS: Use sourceware.org in Bugzilla URL.
1861
7728c574
SP
18622012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1863
f16946dd
SP
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1865 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1866
5704bbcb
SP
1867 * stdio-common/tst-put-error.c (do_test): Add newline to the
1868 padded test to ensure flush.
1869
17aa0516
JL
18702012-12-05 Jeff Law <law@redhat.com>
1871
1872 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1873
363313b5
JM
18742012-12-05 Joseph Myers <joseph@codesourcery.com>
1875
effbd42a
JM
1876 * README: Don't refer to ports add-on as distributed separately.
1877 Mention AArch64 in list of systems supported in the ports add-on.
1878
87600365
JM
1879 * LICENSES: Add more non-FSF copyright and license notices.
1880
a0d7066a
JM
1881 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1882 ((unused)).
1883
66ca5a5b
JM
1884 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1885
363313b5
JM
1886 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1887 10000 as width of padded output.
1888
b37984ad
JM
18892012-12-04 Joseph Myers <joseph@codesourcery.com>
1890
9003570a
JM
1891 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1892
b37984ad
JM
1893 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1894 variable LX with __attribute__ ((unused)).
1895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1896 Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1900 with __attribute__ ((unused)).
1901
c8df52ec
DM
19022012-12-04 David S. Miller <davem@abraco.davemloft.net>
1903
1904 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1905
b3b099af
JM
19062012-12-04 Joseph Myers <joseph@codesourcery.com>
1907
c33aa6e3
JM
1908 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1909 (CFLAGS-nldbl-acos.c): New variable.
1910 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1911 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1912 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1913 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1914 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1915 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1916 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1917 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1918 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1919 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1920 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1921 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1922 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1923 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1924 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1925 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1926 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1927 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1928 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1929 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1930 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1931 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1932 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1933 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1934 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1935 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1936 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1937 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1938 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1939 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1940 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1941 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1942 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1943 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1944 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1945 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1946 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1947 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1948 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1949 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1950 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1951 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1952 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1953 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1954 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1955 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1956 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1957 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1958 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1959 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1960 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1961 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1962 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1963 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1964 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1965 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1966 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1967 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1968 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1969 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1970 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1971 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1972 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1973 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1974 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1975 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1976 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1977 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1978 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1979 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1980 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1981 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1982 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1983 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1984 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1985 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1986 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1987 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1988 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1989 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1990 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1991 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1992 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1993 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1994 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1995 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1996 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1997 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1998 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1999 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2000 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2001 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2002 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2003 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2004 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2005 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2006 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2007
20f0018d
JM
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2009 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2010
b3b099af
JM
2011 [BZ #14914]
2012 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2013 whole low double instead of just low 47 bits when splitting values
2014 into two parts.
2015
029264d1
AM
20162012-12-03 Allan McRae <allan@archlinux.org>
2017
2018 * manual/stdio.texi (Predefined Printf Handlers): Remove
2019 @hsep and @vsep usage.
2020
c9d6789e
MF
20212012-12-03 Mike Frysinger <vapier@gentoo.org>
2022
2023 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2024 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2025
4b7634a5
JL
20262012-12-03 Jeff Law <law@redhat.com>
2027
2028 * time/sys/time.h (settimeofday): Do not mark TV argument
2029 as __nonnull.
2030
eb6cbd24
MF
20312012-12-01 Mike Frysinger <vapier@gentoo.org>
2032
2033 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2034 when currently writing and seek to current position when not.
2035 * libio/Makefile (tests): Remove bug-fclose1.
2036 * libio/bug-fclose1.c: Delete.
2037
f638872a
JM
20382012-12-01 Joseph Myers <joseph@codesourcery.com>
2039
2040 * manual/arith.texi (feenableexcept): Fix typo.
2041 (fedisableexcept): Likewise.
2042
48085d14
RM
20432012-11-30 Roland McGrath <roland@hack.frob.com>
2044
2045 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2046 second, differently-typed declaration, rather than a cast.
2047
1a538b9f
SP
20482012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2049
2050 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2051 * include/rpc/svc.h: ... here.
2052
d07f2ff1 20532012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2054
2055 [BZ #13013]
2056 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2057 depending n and resplen2 to catch cases where answer
2058 equals answerp2.
2059
c93ec1f0
CD
20602012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2061
2062 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2063 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2064
37db69de
MF
20652012-11-29 Mike Frysinger <vapier@gentoo.org>
2066
2067 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2068
e10c4e4f
RM
20692012-11-29 Roland McGrath <roland@hack.frob.com>
2070
2071 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2072
2af1b328
JL
20732012-11-28 Jeff Law <law@redhat.com>
2074
2075 [BZ #13761]
2076 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2077 dataset_temporary. Track alloca usage into alloca_used.
2078 If dataset is large allocate and release it via malloc/free.
2079
111db5b1
FW
20802012-06-04 Florian Weimer <fweimer@redhat.com>
2081
f06cc227 2082 [BZ #14197]
111db5b1
FW
2083 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2084
dd694abd
DM
20852012-11-28 David S. Miller <davem@davemloft.net>
2086
2087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2088
9984dd01
JM
20892012-11-28 Joseph Myers <joseph@codesourcery.com>
2090
2091 [BZ #14803]
2092 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2093 of pi/2 rounded to nearest to 64 bits.
2094 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2095 nearest to 64 bits.
2096 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2097 bits.
2098
14bc93a9
JL
20992012-11-28 Jeff Law <law@redhat.com>
2100 Martin Osvald <mosvald@redhat.com>
2101
2102 [BZ #14889]
2103 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2104 * sunrpc/svc.c: Include time.h.
2105 (__svc_accept_failed): New function.
2106 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2107 any reason other than EINTR, call __svc_accept_failed.
2108 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2109 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2110
e3c6aa3a
AS
21112012-11-28 Andreas Schwab <schwab@suse.de>
2112
2113 * scripts/abilist.awk: Also handle indirect functions in .opd
2114 section.
2115
1bead169
JM
21162012-11-28 Joseph Myers <joseph@codesourcery.com>
2117
2118 [BZ #13881]
2119 * sysdeps/x86/fpu/powl_helper.c: New file.
2120 * sysdeps/x86/fpu/Makefile: Likewise.
2121 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2122 (p3): New object.
2123 (__ieee754_powl): Use __powl_helper for finite arguments except
2124 integer exponents below 8.
2125 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2126 (p3): New object.
2127 (__ieee754_powl): Use __powl_helper for finite arguments except
2128 integer exponents below 8.
2129 * math/libm-test.inc (pow_test): Add more tests and enable some
2130 previously disabled tests.
2131 * sysdeps/i386/fpu/libm-test-ulps: Update.
2132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2133
0817d63d
SP
21342012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2135 Carlos O'Donell <carlos_odonell@mentor.com>
2136
2137 * nss/makedb.c (is_prime): Assert that input is odd and greater
2138 than 4. Note that fact in a comment too.
2139 (next_prime): Add 4 to input.
2140
de2fd463
SP
21412012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2142
2143 [BZ #11741]
2144 * libio/Makefile (tests): Add test case tst-fwrite-error.
2145 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2146 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2147 * libio/tst-fwrite-error.c: New test case.
2148
c515fb51
L
21492012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2150
2151 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2152 before casting to void *.
2153 * include/libc-internal.h (__pointer_type): New macro.
2154 (__integer_if_pointer_type_sub): Likewise.
2155 (__integer_if_pointer_type): Likewise.
2156 (cast_to_integer): Likewise.
2157 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2158 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2159 before casting to atomic64_t.
2160 (atomic_exchange_acq): Likewise.
2161 (__arch_exchange_and_add_body): Likewise.
2162 (__arch_add_body): Likewise.
2163 (atomic_add_negative): Likewise.
2164 (atomic_add_zero): Likewise.
2165
4cf77aa9
JM
21662012-11-26 Joseph Myers <joseph@codesourcery.com>
2167
2168 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2169 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2170 (add_fdes): Likewise.
2171 (linear_search_fdes): Likewise.
2172 (binary_search_unencoded_fdes): Likewise.
2173
d260b3b4
AS
21742012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2175
2176 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2177
67060746
AC
21782012-11-24 Adam Conrad <adconrad@0c3.net>
2179
2180 * configure.in: Autodetect C++ header directories.
2181 * configure: Regenerated.
2182
800938a1
MF
21832012-11-23 Mike Frysinger <vapier@gentoo.org>
2184
2185 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2186
4e6e34e6
AS
21872012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2188
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2190
7c7feb47
JM
21912012-11-22 Joseph Myers <joseph@codesourcery.com>
2192
7184dcdf
JM
2193 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2194 LDBL_MANT_DIG == 106]: Disable some tests.
2195 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2196 Likewise.
2197 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2198 Likewise.
2199
0a42601f
JM
2200 [BZ #14871]
2201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2202 input for small inputs. Return +/- pi/2 for large inputs.
2203 * math/libm-test.inc (atan_test): Add more tests.
2204
79c9b9fe
JM
2205 * sysdeps/generic/unwind-dw2-fde-glibc.c
2206 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2207 __attribute__ ((unused)).
2208
c60d3bf2
JM
2209 [BZ #14645]
2210 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2211 x * y if x and y are nonzero and z is zero.
2212
ef1e0867
JM
2213 [BZ #14811]
2214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2215 nonzero exponents with absolute value below 0x1p-117 to +/-
2216 0x1p-117.
2217
1468ded3
JM
2218 [BZ #14869]
2219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2220 up arguments below 2**-450, not just those below 2**-500.
2221 * math/libm-test.inc (hypot_test): Add another test.
2222
8e27e3cc
JM
2223 [BZ #14868]
2224 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2225 Return a+b for ratio over 2**120, not 2**60.
2226 * math/libm-test.inc (hypot_test): Add another test.
2227
c9c0279b
JM
2228 * math/libm-test.inc (clog_test): Use
2229 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2230 (clog10_test): Likewise.
2231
7c7feb47
JM
2232 [BZ #6778]
2233 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2234
fff1530e
AS
22352012-11-22 Andreas Schwab <schwab@suse.de>
2236
2237 * sysdeps/i386/fpu/libm-test-ulps: Update.
2238
94558d30
PT
22392012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2240
2241 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2242 printf output with newline.
2243
7e1be741
L
22442012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2245
6bfea974
L
2246 [BZ #14865]
2247 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2248 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2249 -z nodlopen, -z initfirst and -z execstack support.
2250 * configure: Regenerated.
2251
7e1be741
L
2252 * elf/elf.h (DF_1_NODIRECT): New macro.
2253 (DF_1_IGNMULDEF): Likewise.
2254 (DF_1_NOKSYMS): Likewise.
2255 (DF_1_NOHDR): Likewise.
2256 (DF_1_EDITED): Likewise.
2257 (DF_1_NORELOC): Likewise.
2258 (DF_1_SYMINTPOSE): Likewise.
2259 (DF_1_GLOBAUDIT): Likewise.
2260 (DF_1_SINGLETON): Likewise.
2261 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2262 DT_1_SUPPORTED_MASK bits.
2263 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2264
105ce2ce
CD
22652012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2266
2267 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2268
123be9de
TS
22692012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2270
d072f3f7
TS
2271 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2272 macro.
2273
123be9de
TS
2274 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2275 (sendmmsg): Move declarations...
2276 * socket/sys/socket.h: ... here.
2277 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2278 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2279 include it from...
2280 * socket/recvmmsg.c: ... this new file.
2281 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2282 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2283 definition of __sendmmsg hidden.
2284 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2285 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2286 Move ENOSYS stub into and include it from...
2287 * socket/sendmmsg.c: ... this new file.
2288 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2289 (sysdep_routines): Move recvmmsg and sendmmsg...
2290 * socket/Makefile (routines): ... here.
2291 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2292 (GLIBC_PRIVATE): Add __sendmmsg.
2293 * include/sys/socket.h (__sendmmsg): Add declarations.
2294 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2295 sendmmsg.
2296
cf9a5d18
JM
22972012-11-20 Joseph Myers <joseph@codesourcery.com>
2298
2299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2300 variable I1 with __attribute__ ((unused)).
2301 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2302
ecd4caf9
JM
23032012-11-19 Joseph Myers <joseph@codesourcery.com>
2304
be14d48f
JM
2305 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2306 DUMMY variables with __attribute__ ((unused)).
2307
ecd4caf9
JM
2308 * bits/byteswap.h: Include <bits/types.h>.
2309 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2310
986cab95
PT
23112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2312
2313 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2314 string_t. Do not manually set errno.
2315 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2316 length with __strnlen. Make sure to both set errno and return it on
2317 failure.
2318
6d33cc9d
DM
23192012-11-19 David S. Miller <davem@davemloft.net>
2320
2321 With help from Joseph Myers.
2322 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2323 very large arguments properly.
2324 * math/libm-test.inc (atan_test): New tests.
2325 (atan2_test): New tests.
2326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2328
ee663277
JM
23292012-11-19 Joseph Myers <joseph@codesourcery.com>
2330
877f2d8e
JM
2331 [BZ #14856]
2332 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2333 Define to 3.
2334
116fc08a
JM
2335 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2336 [POSIX] (EADDRNOTAVAIL): Likewise.
2337 [POSIX] (EAFNOSUPPORT): Likewise.
2338 [POSIX] (EALREADY): Likewise.
2339 [POSIX] (ECONNABORTED): Likewise.
2340 [POSIX] (ECONNREFUSED): Likewise.
2341 [POSIX] (ECONNRESET): Likewise.
2342 [POSIX] (EDESTADDRREQ): Likewise.
2343 [POSIX] (EDQUOT): Likewise.
2344 [POSIX] (EHOSTUNREACH): Likewise.
2345 [POSIX] (EIDRM): Likewise.
2346 [POSIX] (EISCONN): Likewise.
2347 [POSIX] (ELOOP): Likewise.
2348 [POSIX] (EMULTIHOP): Likewise.
2349 [POSIX] (ENETDOWN): Likewise.
2350 [POSIX] (ENETUNREACH): Likewise.
2351 [POSIX] (ENOBUFS): Likewise.
2352 [POSIX] (ENODATA): Likewise.
2353 [POSIX] (ENOLINK): Likewise.
2354 [POSIX] (ENOMSG): Likewise.
2355 [POSIX] (ENOPROTOOPT): Likewise.
2356 [POSIX] (ENOSR): Likewise.
2357 [POSIX] (ENOSTR): Likewise.
2358 [POSIX] (ENOTCONN): Likewise.
2359 [POSIX] (ENOTSOCK): Likewise.
2360 [POSIX] (EOPNOTSUPP): Likewise.
2361 [POSIX] (EOVERFLOW): Likewise.
2362 [POSIX] (EPROTO): Likewise.
2363 [POSIX] (EPROTONOSUPPORT): Likewise.
2364 [POSIX] (EPROTOTYPE): Likewise.
2365 [POSIX] (ESTALE): Likewise.
2366 [POSIX] (ETIME): Likewise.
2367 [POSIX] (ETXTBSY): Likewise.
2368 [POSIX] (EWOULDBLOCK): Likewise.
2369 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2370 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2371 [POSIX] (SEEK_CUR): Likewise.
2372 [POSIX] (SEEK_END): Likewise.
2373 [POSIX || UNIX98] (mode_t): Do not require.
2374 [POSIX] (off_t): Likewise.
2375 [POSIX] (pid_t): Likewise.
2376 [POSIX] (sys/stat.h): Do not allow header.
2377 [POSIX] (unistd.h): Likewise.
2378 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2379 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2380 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2381 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2382 require.
2383 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2384 sigevent): Specify elements.
2385 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2386 entry.
2387 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2388 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2389
a483863f
JM
2390 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2391 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2392 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2393 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2394 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2395 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2396 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2397 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2398 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2399 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2400 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2401 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2402 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2403 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2404 Likewise.
2405 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2406 Likewise.
2407 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2408 Likewise.
2409 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2410 Likewise.
2411 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2412 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2413 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2414 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2415 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2416 Specify lower bound on value.
2417 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2418 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2419 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2420 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2421 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2422 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2423 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2424 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2425 value.
2426 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2427 as optional.
2428 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2429 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2430 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2431 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2432 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2433 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2434 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2435 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2436 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2437 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2438 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2439 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2440 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2441 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2442 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2443 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2444 entry.
2445 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2446 optional.
2447 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2448 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2449 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2450 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2451 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2452 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2453 Likewise.
2454 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2455 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2456 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2457 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2458 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2459 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2460 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2461 as optional.
2462 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2463 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2464 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2465 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2466 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2467 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2468 specify as optional.
2469 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2470 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2471 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2472 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2473 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2474 [XPG3] (NL_LANGMAX): Likewise.
2475 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2476 [POSIX || XPG3] (NL_NMAX): Likewise.
2477 [POSIX || XPG3] (NL_SETMAX): Likewise.
2478 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2479 [XPG3] (NZERO): Likewise.
2480 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2481 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2482 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2483 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2484 (REG_ERANGE): Expect.
2485 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2486 optional-constant.
2487 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2488 Use (void) in prototype.
2489 [POSIX] (*_t): Allow.
2490 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2491 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2492 (WRDE_BADVAL): Expect.
2493
5ba924e3
JM
2494 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2495 expect.
2496 [XPG3 || XPG4] (O_RSYNC): Likewise.
2497 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2498 Likewise.
2499 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2500 [XPG3 || XPG4] (sigqueue): Likewise.
2501 [XPG3 || XPG4] (sigtimedwait): Likewise.
2502 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2503 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2504 [XPG3 || XPG4] (vsnprintf): Likewise.
2505 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2506 Likewise.
2507 [XPG3 || XPG4] (blksize_t): Likewise.
2508 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2509 Likewise.
2510 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2511 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2512 [XPG3 || XPG4] (struct itimerspec): Likewise.
2513 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2514 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2515 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2516 [XPG3 || XPG4] (clockid_t): Likewise.
2517 [XPG3 || XPG4] (timer_t): Likewise.
2518 [XPG3 || XPG4] (clock_getres): Likewise.
2519 [XPG3 || XPG4] (clock_gettime): Likewise.
2520 [XPG3 || XPG4] (clock_settime): Likewise.
2521 [XPG3 || XPG4] (nanosleep): Likewise.
2522 [XPG3 || XPG4] (timer_create): Likewise.
2523 [XPG3 || XPG4] (timer_delete): Likewise.
2524 [XPG3 || XPG4] (timer_gettime): Likewise.
2525 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2526 [XPG3 || XPG4] (timer_settime): Likewise.
2527 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2528 [XPG3 || XPG4] (getlogin_r): Likewise.
2529 [XPG3 || XPG4] (pread): Likewise.
2530 [XPG3 || XPG4] (pthread_atfork): Likewise.
2531 [XPG3 || XPG4] (pwrite): Likewise.
2532
ee663277
JM
2533 [BZ #14835]
2534 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2535 <bits/siginfo.h>.
2536
942caa16
PT
25372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2538
e19af380
PT
2539 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2540 finalizing MALLSTREAM.
2541
942caa16
PT
2542 * sysdeps/mach/hurd/syncfs.c: New file.
2543
cfde9b46
SP
25442012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2545
2546 [BZ #14719]
2547 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2548 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2549 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2550 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2551 (_nss_dns_gethostbyname4_r): Likewise.
2552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2553 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2554
f6da27e5
PH
25552012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2556
2557 [BZ #13763]
2558 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2559
6665d4a2
SM
25602012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2561
1f51ee92
SM
2562 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2563 * elf/cache.c (print_entry): Print ",AArch64" for
2564 FLAG_AARCH64_LIB64
2565
6665d4a2
SM
2566 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2567 * elf/cache.c (print_entry): Print ",hard-float" for
2568 FLAG_ARM_LIBHF.
2569
05b227bd
DM
25702012-11-18 David S. Miller <davem@davemloft.net>
2571
2572 With help from Joseph Myers.
2573 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2574 cutoff to 2**-13.
2575 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2576 cutoff to 2**-25.
2577 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2578 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2579 small.
2580 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2581 * math/libm-test.inc (y0_test): New tests.
2582 (y1_test): New tests.
2583 * sysdeps/i386/fpu/libm-test-ulps: Update.
2584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2586
786b0b67
AS
25872012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2588
2589 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2590 64-bit targets.
2591 * configure: Regenerated.
2592
8e18b86d
DM
25932012-11-17 David S. Miller <davem@davemloft.net>
2594
2595 [BZ #14811]
2596 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2597 nonzero exponents with absolute value below 0x1p-128 to +/-
2598 0x1p-128.
2599
531f1ae0
JM
26002012-11-17 Joseph Myers <joseph@codesourcery.com>
2601
12df29e2
JM
2602 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2603
150dc1a0
JM
2604 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2605
531f1ae0
JM
2606 * posix/getconf-speclist.c: New file.
2607 * posix/posix-envs.def: Likewise.
2608 * posix/confstr.c (START_ENV_GROUP): New macro.
2609 (END_ENV_GROUP): Likewise.
2610 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2611 (KNOWN_PRESENT_ENV_STRING): Likewise.
2612 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2613 (UNKNOWN_ENVIRONMENT): Likewise.
2614 (confstr): Include posix-envs.def instead of handling
2615 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2616 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2617 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2618 (END_ENV_GROUP): Likewise.
2619 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2620 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2621 (UNKNOWN_ENVIRONMENT): Likewise.
2622 (__sysconf): Include posix-envs.def instead of handling associated
2623 cases directly here.
2624 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2625 preprocessing getconf-speclist.c rather than running getconf or
2626 generating empty file.
2627
a93f9cbc
PT
26282012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2629
2630 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2631
d64d9f87
AL
26322012-11-16 Andrej Lajovic <natrij@gmail.com>
2633
2634 [BZ #14672]
2635 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2636
447885eb
DM
26372012-11-16 David S. Miller <davem@davemloft.net>
2638
2639 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2640 smaller than LDBL_EPSILON/2.0L, just return xm1.
2641
bcbf9830
L
26422012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 * elf/tst-array1.c (init): Set constructor priority to 1000.
2645 (fini): Set destructor priority to 1000.
2646 * elf/tst-array2dep.c: Likewise.
2647
2b766585
SP
26482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2649
2650 [BZ #11741]
2651 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2652 (_IO_new_file_xsputn): Also return EOF if none of the input
2653 data was written when overflow failed.
2654 * libio/iopadn.c (_IO_padn): Likewise.
2655 * libio/iowpadn.c (_IO_wpadn): Likewise.
2656 * stdio-common/tst-put-error.c: Add copyright notice.
2657 (do_test): Add case for printing padded string.
2658 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2659 _IO_padn returned error.
2660 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2661 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2662 return EOF.
2663
b1848fde
SP
26642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2665
2666 * libio/libioP.h: Add comment note that the references to C++
2667 bits are now obsolete.
2668
2fd89785
MS
26692012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2670
2671 * math/libm-test.inc (check_complex): Use asprintf.
2672
e3ea5409
JM
26732012-11-14 Joseph Myers <joseph@codesourcery.com>
2674
2675 * debug/pcprofiledump.c (print_version): Update copyright year.
2676 * malloc/memusagestat.c (print_version): Likewise.
2677
2e64d265
L
26782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2679
2680 [BZ #14831]
2681 * elf/Makefile (tests): Add tst-audit8.
2682 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2683 ($(objpfx)tst-audit8.out): New target.
2684 (tst-audit8-ENV): New variable.
2685 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2686 audit if l_reloc_result is NULL.
2687 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2688 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2689 * elf/tst-audit8.c: New file.
2690
c485e4d2
MS
26912012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2692
2693 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2694 * misc/Makefile (CFLAGS-select.c): Define.
2695 * posix/Makefile (CFLAGS-pause.c): Define.
2696
3a0d900a
DM
26972012-11-13 David S. Miller <davem@davemloft.net>
2698
2699 * crypt/Makefile: Move test targets after toplevel Rules
2700 inclusion. Grab any necessary sysdep routines when linking.
2701 * crypt/md5.c (md5_process_block): Remove define, we will always
2702 name it __md5_process_block.
2703 (md5_finish_ctx): Update md5_process_block call.
2704 (md5_stream): Likewise.
2705 (md5_process_bytes): Likewise.
2706 (md5_process_block): Rename to __md5_process_block and move to ...
2707 * crypt/md5-block.c: ... here.
2708 * crypt/sha256.c (sha256_process_block): Move to ...
2709 * crypt/sha256-block.c: ... here.
2710 * crypt/sha512.c (sha512_process_block): Move to ...
2711 * crypt/sha512-block.c: ... here.
2712 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2713 path.
2714 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2715 * sysdeps/sparc/sparc64/multiarch/Makefile
2716 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2717 crypt subdir.
2718 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2719 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2720 multiarch changes.
2721 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2722 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2723 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2724 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2725 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2726 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2727 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2728 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2729 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2730 file.
2731 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2732 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2733 file.
2734 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2735
8ca89318
JM
27362012-11-13 Joseph Myers <joseph@codesourcery.com>
2737
e27d476a
JM
2738 * timezone/tzselect.ksh: Update from tzcode git revision
2739 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2740 * timezone/zdump.c: Likewise.
2741 * timezone/zic.c: Likewise.
2742 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2743 in TZVERSION setting, not $(PKGVERSION).
2744 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2745 REPORT_BUGS_TO settings.
2746
8ca89318
JM
2747 [BZ #14838]
2748 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2749 macro.
2750
47594329
MS
27512012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2752
2753 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2754 detection to immediately after _FP_ROUND().
2755 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2756 bits are 0.
2757
640ac3f1
DM
27582012-11-11 David S. Miller <davem@davemloft.net>
2759
2760 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2761 inttypes.h
2762 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2763 __close rather than their public counterparts.
2764
3d2577bb
JM
27652012-11-10 Joseph Myers <joseph@codesourcery.com>
2766
2767 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2768 file.
2769 [UNIX98] (sem_timedwait): Do not expect.
2770 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2771 [XPG4 || UNIX98] (sockatmark): Do not expect.
2772 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2773 (clock_getcpuclockid): Do not expect.
2774 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2775 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2776 Do not expect.
2777 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2778 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2779 [UNIX98] (vwscanf): Likewise.
2780 [UNIX98] (vswscanf): Likewise.
2781
fb1ae1ee
JM
27822012-11-09 Joseph Myers <joseph@codesourcery.com>
2783
9ec6f8bd
JM
2784 * timezone/version.h: Remove file.
2785 * timezone/README: Do not refer to version.h.
2786 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2787 $(objpfx)version.h.
2788 ($(objpfx)zdump.o): Likewise.
c3f81911 2789 ($(objpfx)version.h): New target.
9ec6f8bd 2790
0aa8f8a1
JM
2791 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2792 2012i.
2793 * timezone/README: Don't mention modification to tzselect.ksh.
2794 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2795 work on unmodified tzselect.ksh. Substitute version numbers in
2796 tzselect.ksh.
2797
4e87147f
JM
2798 * Makefile (format-me): Remove.
2799 (INSTALL): Adjust indentation. Use commands directly instead of
2800 using $(format-me).
2801
8b748aed
JM
2802 * aclocal.m4 (ACX_PKGVERSION): New macro.
2803 (ACX_BUGURL): Likewise.
2804 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2805 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2806 (REPORT_BUGS_TO): Likewise.
2807 * configure: Regenerated.
2808 * config.h.in (PKGVERSION): New macro.
2809 (REPORT_BUGS_TO): Likewise.
2810 * config.make.in (PKGVERSION): New variable.
2811 (PKGVERSION_TEXI): Likewise.
2812 (REPORT_BUGS_TO): Likewise.
2813 (REPORT_BUGS_TEXI): Likewise.
2814 * Makefile (format-me): Use -I$(common-objpfx)manual.
2815 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2816 ($(common-objpfx)manual/%): New target.
2817 (manual/%): Remove target.
2818 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2819 (print_version): Use PKGVERSION.
2820 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2821 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2822 and REPORT_BUGS_TO.
2823 ($(objpfx)xtrace): Likewise.
2824 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2825 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2826 (print_version): Use PKGVERSION.
2827 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2828 (do_version): Use PKGVERSION.
2829 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2830 REPORT_BUGS_TO.
2831 (common-ldd-rewrite): Likewise.
2832 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2833 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2834 (print_version): Use PKGVERSION.
2835 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2836 * elf/pldd.c (argp_program_bug_address): Remove variable.
2837 (more_help): New function.
2838 (argp): Use more_help.
2839 (print_version): Use PKGVERSION.
2840 * elf/sln.c (main): Use PKGVERSION.
2841 (usage): Use REPORT_BUGS_TO.
2842 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2843 (top level): Use PKGVERSION.
2844 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2845 (print_version): Use PKGVERSION.
2846 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2847 (print_version): Use PKGVERSION.
2848 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2849 (print_version): Use PKGVERSION.
2850 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2851 (print_version): Use PKGVERSION.
2852 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2853 (print_version): Use PKGVERSION.
2854 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2855 (print_version): Use PKGVERSION.
2856 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2857 and BUGURL.
2858 ($(objpfx)memusage): Likewise.
2859 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2860 (do_version): Use PKGVERSION.
2861 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2862 (print_version): Use PKGVERSION.
2863 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2864 ($PKGVERSION): New variable.
2865 ($REPORT_BUGS_TO): Likewise.
2866 (usage): Use $REPORT_BUGS_TO.
2867 (top level): Use $PKGVERSION.
2868 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2869 ($(objpfx)pkgvers.texi): New rule.
2870 ($(objpfx)stamp-pkgvers): Likewise.
2871 * manual/install.texi: Include pkgvers.texi.
2872 (--with-pkgversion): Document new configure option.
2873 (--with-bugurl): Likewise.
2874 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2875 than necessarily for this particular distribution. Use
2876 REPORT_BUGS_TO for where to report bugs.
2877 * INSTALL: Regenerated.
2878 * manual/libc.texinfo: Include pkgvers.texi.
2879 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2880 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2881 (print_version): Use PKGVERSION.
2882 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2883 (print_version): Use PKGVERSION.
2884 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2885 (print_version): Use PKGVERSION.
2886 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2887 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2888 macro.
2889 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2890 (print_version): Use PKGVERSION.
2891 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2892 (print_version): Use PKGVERSION.
2893 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2894 and PKGVERSION.
2895
92e4b6a9
JM
2896 * timezone/checktab.awk: Update from tzcode 2012i.
2897 * timezone/ialloc.c: Likewise.
2898 * timezone/private.h: Likewise.
2899 * timezone/scheck.c: Likewise.
2900 * timezone/tzfile.h: Likewise.
2901 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2902 (TZVERSION): Hardcode tzcode version number.
2903 * timezone/zdump.c: Update from tzcode 2012i.
2904 * timezone/zic.c: Likewise.
2905 * timezone/version.h: New file.
2906 * timezone/README: Describe version.h. Update upstream location.
2907
9bde902c
JM
2908 [BZ #14824]
2909 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2910 (mktemp): Enable declaration.
2911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2915 Likewise.
2916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2917 Likewise.
2918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2919 Likewise.
2920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2921 Likewise.
2922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2923 Likewise.
2924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2925 Likewise.
2926
fb1ae1ee
JM
2927 [BZ #14821]
2928 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2929 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2930 for copies of such integer values.
2931 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2932 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2933
2c1adbcb
AJ
29342012-11-09 Andreas Jaeger <aj@suse.de>
2935
2936 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2937 definitions and declarations that are provided by
2938 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2939
d0f8457e
AK
29402012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2941
3a235abb 2942 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2943 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2944 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2945 definition.
2946
57241e26
MS
29472012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2948
2949 * elf/elf.h: Update comment before AArch64 relocations.
2950
60e8270d
DM
29512012-11-07 David S. Miller <davem@davemloft.net>
2952
2953 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2954 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2955 (__start_context): Declare.
2956 (__makecontext_ret): Delete.
2957 (__makecontext): Hook up __start_context instead of
2958 __makecontext_ret.
2959 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2960 (sysdep_routines): Add __start_context when in stdlib.
2961
0fbb0fbc
JM
29622012-11-07 Joseph Myers <joseph@codesourcery.com>
2963
2964 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2965 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2966 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2967 hardcoded "nm".
2968 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2969 (READELF): New variable. Use it instead of hardcoded "readelf".
2970
eb48db7e
L
29712012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2974 * sysdeps/x86/Makefile: Here.
2975 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2976 * sysdeps/x86/tst-xmmymm.sh: This.
2977
05bcf62a
JM
29782012-11-07 Joseph Myers <joseph@codesourcery.com>
2979
c4b6cf53
JM
2980 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2981 expectations.
2982 [UNIX98] (pthread_barrier_t): Do not expect.
2983 [UNIX98] (pthread_barrierattr_t): Likewise.
2984 [UNIX98] (pthread_spinlock_t): Likewise.
2985 [UNIX98] (pthread_barrier_destroy): Likewise.
2986 [UNIX98] (pthread_barrier_init): Likewise.
2987 [UNIX98] (pthread_barrier_wait): Likewise.
2988 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2989 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2990 [UNIX98] (pthread_barrierattr_init): Likewise.
2991 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2992 [UNIX98] (pthread_getcpuclockid): Likewise.
2993 [UNIX98] (pthread_mutex_timedlock): Likewise.
2994 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2995 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2996 [UNIX98] (pthread_sigmask): Likewise.
2997 [UNIX98] (pthread_spin_destroy): Likewise.
2998 [UNIX98] (pthread_spin_init): Likewise.
2999 [UNIX98] (pthread_spin_lock): Likewise.
3000 [UNIX98] (pthread_spin_trylock): Likewise.
3001 [UNIX98] (pthread_spin_unlock): Likewise.
3002 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3003 Do not expect.
3004 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3005 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3006 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3007 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3008 [XPG3 || XPG4] (pthread_key_t): Likewise.
3009 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3010 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3011 [XPG3 || XPG4] (pthread_once_t): Likewise.
3012 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3013 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3014 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3015 [XPG3 || XPG4] (pthread_t): Likewise.
3016
cbe6e120
JM
3017 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3018 not expect.
3019 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3020
1b126443
JM
3021 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3022 Change function return type to int.
3023
b961a573
JM
3024 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3025 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3026 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3027 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3028 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3029 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3030 [!POSIX] (posix_madvise): Likewise.
3031 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3032 && !UNIX98].
3033 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3034 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3035 (mode_t): Likewise.
3036 (posix_mem_offset): Likewise.
3037 (posix_typed_mem_get_info): Likewise.
3038 (posix_typed_mem_open): Likewise.
3039
9e188909
JM
3040 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3041 Change condition to [XOPEN2K8].
3042
05bcf62a
JM
3043 * conform/conformtest.pl: Preprocess allow-header data with -x c
3044 instead of from stdin.
3045 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3046 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3047 [C99-based standards] (cerfc): Likewise.
3048 [C99-based standards] (cexp2): Likewise.
3049 [C99-based standards] (cexpm1): Likewise.
3050 [C99-based standards] (clog10): Likewise.
3051 [C99-based standards] (clog1p): Likewise.
3052 [C99-based standards] (clog2): Likewise.
3053 [C99-based standards] (clgamma): Likewise.
3054 [C99-based standards] (ctgamma): Likewise.
3055 [C99-based standards] (cerff): Likewise.
3056 [C99-based standards] (cerfcf): Likewise.
3057 [C99-based standards] (cexp2f): Likewise.
3058 [C99-based standards] (cexpm1f): Likewise.
3059 [C99-based standards] (clog10f): Likewise.
3060 [C99-based standards] (clog1pf): Likewise.
3061 [C99-based standards] (clog2f): Likewise.
3062 [C99-based standards] (clgammaf): Likewise.
3063 [C99-based standards] (ctgammaf): Likewise.
3064 [C99-based standards] (cerfl): Likewise.
3065 [C99-based standards] (cerfcl): Likewise.
3066 [C99-based standards] (cexp2l): Likewise.
3067 [C99-based standards] (cexpm1l): Likewise.
3068 [C99-based standards] (clog10l): Likewise.
3069 [C99-based standards] (clog1pl): Likewise.
3070 [C99-based standards] (clog2l): Likewise.
3071 [C99-based standards] (clgammal): Likewise.
3072 [C99-based standards] (ctgammal): Likewise.
3073 * conform/data/inttypes.h-data [C99-based standards]: Include
3074 stdint.h-data. Remove all expectations for stdint.h contents.
3075 [C99-based standards] (PRI*): Do not allow.
3076 [C99-based standards] (SCN*): Likewise.
3077 [C99-based standards] (*_t): Likewise.
3078 [C99-based-standards] (PRId8): Expect macro.
3079 [C99-based-standards] (PRIi8): Likewise.
3080 [C99-based-standards] (PRIo8): Likewise.
3081 [C99-based-standards] (PRIu8): Likewise.
3082 [C99-based-standards] (PRIx8): Likewise.
3083 [C99-based-standards] (PRIX8): Likewise.
3084 [C99-based-standards] (SCNd8): Likewise.
3085 [C99-based-standards] (SCNi8): Likewise.
3086 [C99-based-standards] (SCNo8): Likewise.
3087 [C99-based-standards] (SCNu8): Likewise.
3088 [C99-based-standards] (SCNx8): Likewise.
3089 [C99-based-standards] (PRIdLEAST8): Likewise.
3090 [C99-based-standards] (PRIiLEAST8): Likewise.
3091 [C99-based-standards] (PRIoLEAST8): Likewise.
3092 [C99-based-standards] (PRIuLEAST8): Likewise.
3093 [C99-based-standards] (PRIxLEAST8): Likewise.
3094 [C99-based-standards] (PRIXLEAST8): Likewise.
3095 [C99-based-standards] (SCNdLEAST8): Likewise.
3096 [C99-based-standards] (SCNiLEAST8): Likewise.
3097 [C99-based-standards] (SCNoLEAST8): Likewise.
3098 [C99-based-standards] (SCNuLEAST8): Likewise.
3099 [C99-based-standards] (SCNxLEAST8): Likewise.
3100 [C99-based-standards] (PRIdFAST8): Likewise.
3101 [C99-based-standards] (PRIiFAST8): Likewise.
3102 [C99-based-standards] (PRIoFAST8): Likewise.
3103 [C99-based-standards] (PRIuFAST8): Likewise.
3104 [C99-based-standards] (PRIxFAST8): Likewise.
3105 [C99-based-standards] (PRIXFAST8): Likewise.
3106 [C99-based-standards] (SCNdFAST8): Likewise.
3107 [C99-based-standards] (SCNiFAST8): Likewise.
3108 [C99-based-standards] (SCNoFAST8): Likewise.
3109 [C99-based-standards] (SCNuFAST8): Likewise.
3110 [C99-based-standards] (SCNxFAST8): Likewise.
3111 [C99-based-standards] (PRId16): Likewise.
3112 [C99-based-standards] (PRIi16): Likewise.
3113 [C99-based-standards] (PRIo16): Likewise.
3114 [C99-based-standards] (PRIu16): Likewise.
3115 [C99-based-standards] (PRIx16): Likewise.
3116 [C99-based-standards] (PRIX16): Likewise.
3117 [C99-based-standards] (SCNd16): Likewise.
3118 [C99-based-standards] (SCNi16): Likewise.
3119 [C99-based-standards] (SCNo16): Likewise.
3120 [C99-based-standards] (SCNu16): Likewise.
3121 [C99-based-standards] (SCNx16): Likewise.
3122 [C99-based-standards] (PRIdLEAST16): Likewise.
3123 [C99-based-standards] (PRIiLEAST16): Likewise.
3124 [C99-based-standards] (PRIoLEAST16): Likewise.
3125 [C99-based-standards] (PRIuLEAST16): Likewise.
3126 [C99-based-standards] (PRIxLEAST16): Likewise.
3127 [C99-based-standards] (PRIXLEAST16): Likewise.
3128 [C99-based-standards] (SCNdLEAST16): Likewise.
3129 [C99-based-standards] (SCNiLEAST16): Likewise.
3130 [C99-based-standards] (SCNoLEAST16): Likewise.
3131 [C99-based-standards] (SCNuLEAST16): Likewise.
3132 [C99-based-standards] (SCNxLEAST16): Likewise.
3133 [C99-based-standards] (PRIdFAST16): Likewise.
3134 [C99-based-standards] (PRIiFAST16): Likewise.
3135 [C99-based-standards] (PRIoFAST16): Likewise.
3136 [C99-based-standards] (PRIuFAST16): Likewise.
3137 [C99-based-standards] (PRIxFAST16): Likewise.
3138 [C99-based-standards] (PRIXFAST16): Likewise.
3139 [C99-based-standards] (SCNdFAST16): Likewise.
3140 [C99-based-standards] (SCNiFAST16): Likewise.
3141 [C99-based-standards] (SCNoFAST16): Likewise.
3142 [C99-based-standards] (SCNuFAST16): Likewise.
3143 [C99-based-standards] (SCNxFAST16): Likewise.
3144 [C99-based-standards] (PRId32): Likewise.
3145 [C99-based-standards] (PRIi32): Likewise.
3146 [C99-based-standards] (PRIo32): Likewise.
3147 [C99-based-standards] (PRIu32): Likewise.
3148 [C99-based-standards] (PRIx32): Likewise.
3149 [C99-based-standards] (PRIX32): Likewise.
3150 [C99-based-standards] (SCNd32): Likewise.
3151 [C99-based-standards] (SCNi32): Likewise.
3152 [C99-based-standards] (SCNo32): Likewise.
3153 [C99-based-standards] (SCNu32): Likewise.
3154 [C99-based-standards] (SCNx32): Likewise.
3155 [C99-based-standards] (PRIdLEAST32): Likewise.
3156 [C99-based-standards] (PRIiLEAST32): Likewise.
3157 [C99-based-standards] (PRIoLEAST32): Likewise.
3158 [C99-based-standards] (PRIuLEAST32): Likewise.
3159 [C99-based-standards] (PRIxLEAST32): Likewise.
3160 [C99-based-standards] (PRIXLEAST32): Likewise.
3161 [C99-based-standards] (SCNdLEAST32): Likewise.
3162 [C99-based-standards] (SCNiLEAST32): Likewise.
3163 [C99-based-standards] (SCNoLEAST32): Likewise.
3164 [C99-based-standards] (SCNuLEAST32): Likewise.
3165 [C99-based-standards] (SCNxLEAST32): Likewise.
3166 [C99-based-standards] (PRIdFAST32): Likewise.
3167 [C99-based-standards] (PRIiFAST32): Likewise.
3168 [C99-based-standards] (PRIoFAST32): Likewise.
3169 [C99-based-standards] (PRIuFAST32): Likewise.
3170 [C99-based-standards] (PRIxFAST32): Likewise.
3171 [C99-based-standards] (PRIXFAST32): Likewise.
3172 [C99-based-standards] (SCNdFAST32): Likewise.
3173 [C99-based-standards] (SCNiFAST32): Likewise.
3174 [C99-based-standards] (SCNoFAST32): Likewise.
3175 [C99-based-standards] (SCNuFAST32): Likewise.
3176 [C99-based-standards] (SCNxFAST32): Likewise.
3177 [C99-based-standards] (PRId64): Likewise.
3178 [C99-based-standards] (PRIi64): Likewise.
3179 [C99-based-standards] (PRIo64): Likewise.
3180 [C99-based-standards] (PRIu64): Likewise.
3181 [C99-based-standards] (PRIx64): Likewise.
3182 [C99-based-standards] (PRIX64): Likewise.
3183 [C99-based-standards] (SCNd64): Likewise.
3184 [C99-based-standards] (SCNi64): Likewise.
3185 [C99-based-standards] (SCNo64): Likewise.
3186 [C99-based-standards] (SCNu64): Likewise.
3187 [C99-based-standards] (SCNx64): Likewise.
3188 [C99-based-standards] (PRIdLEAST64): Likewise.
3189 [C99-based-standards] (PRIiLEAST64): Likewise.
3190 [C99-based-standards] (PRIoLEAST64): Likewise.
3191 [C99-based-standards] (PRIuLEAST64): Likewise.
3192 [C99-based-standards] (PRIxLEAST64): Likewise.
3193 [C99-based-standards] (PRIXLEAST64): Likewise.
3194 [C99-based-standards] (SCNdLEAST64): Likewise.
3195 [C99-based-standards] (SCNiLEAST64): Likewise.
3196 [C99-based-standards] (SCNoLEAST64): Likewise.
3197 [C99-based-standards] (SCNuLEAST64): Likewise.
3198 [C99-based-standards] (SCNxLEAST64): Likewise.
3199 [C99-based-standards] (PRIdFAST64): Likewise.
3200 [C99-based-standards] (PRIiFAST64): Likewise.
3201 [C99-based-standards] (PRIoFAST64): Likewise.
3202 [C99-based-standards] (PRIuFAST64): Likewise.
3203 [C99-based-standards] (PRIxFAST64): Likewise.
3204 [C99-based-standards] (PRIXFAST64): Likewise.
3205 [C99-based-standards] (SCNdFAST64): Likewise.
3206 [C99-based-standards] (SCNiFAST64): Likewise.
3207 [C99-based-standards] (SCNoFAST64): Likewise.
3208 [C99-based-standards] (SCNuFAST64): Likewise.
3209 [C99-based-standards] (SCNxFAST64): Likewise.
3210 [C99-based-standards] (PRIdMAX): Likewise.
3211 [C99-based-standards] (PRIiMAX): Likewise.
3212 [C99-based-standards] (PRIoMAX): Likewise.
3213 [C99-based-standards] (PRIuMAX): Likewise.
3214 [C99-based-standards] (PRIxMAX): Likewise.
3215 [C99-based-standards] (PRIXMAX): Likewise.
3216 [C99-based-standards] (SCNdMAX): Likewise.
3217 [C99-based-standards] (SCNiMAX): Likewise.
3218 [C99-based-standards] (SCNoMAX): Likewise.
3219 [C99-based-standards] (SCNuMAX): Likewise.
3220 [C99-based-standards] (SCNxMAX): Likewise.
3221 [C99-based-standards] (PRIdPTR): Likewise.
3222 [C99-based-standards] (PRIiPTR): Likewise.
3223 [C99-based-standards] (PRIoPTR): Likewise.
3224 [C99-based-standards] (PRIuPTR): Likewise.
3225 [C99-based-standards] (PRIxPTR): Likewise.
3226 [C99-based-standards] (PRIXPTR): Likewise.
3227 [C99-based-standards] (SCNdPTR): Likewise.
3228 [C99-based-standards] (SCNiPTR): Likewise.
3229 [C99-based-standards] (SCNoPTR): Likewise.
3230 [C99-based-standards] (SCNuPTR): Likewise.
3231 [C99-based-standards] (SCNxPTR): Likewise.
3232 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3233 allow.
3234 * conform/data/stdint.h-data: Update comments to clarify
3235 requirements.
3236 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3237 type.
3238 [C99-based standards] (INT8_MAX): Likewise.
3239 [C99-based standards] (INT16_MIN): Likewise.
3240 [C99-based standards] (INT16_MAX): Likewise.
3241 [C99-based standards] (INT32_MIN): Likewise.
3242 [C99-based standards] (INT32_MAX): Likewise.
3243 [C99-based standards] (INT64_MIN): Likewise.
3244 [C99-based standards] (INT64_MAX): Likewise.
3245 [C99-based standards] (UINT8_MAX): Likewise.
3246 [C99-based standards] (UINT16_MAX): Likewise.
3247 [C99-based standards] (UINT32_MAX): Likewise.
3248 [C99-based standards] (UINT64_MAX): Likewise.
3249 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3250 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3251 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3252 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3253 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3254 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3255 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3256 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3257 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3258 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3259 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3260 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3261 [C99-based standards] (INT_FAST8_MIN): Likewise.
3262 [C99-based standards] (INT_FAST8_MAX): Likewise.
3263 [C99-based standards] (INT_FAST16_MIN): Likewise.
3264 [C99-based standards] (INT_FAST16_MAX): Likewise.
3265 [C99-based standards] (INT_FAST32_MIN): Likewise.
3266 [C99-based standards] (INT_FAST32_MAX): Likewise.
3267 [C99-based standards] (INT_FAST64_MIN): Likewise.
3268 [C99-based standards] (INT_FAST64_MAX): Likewise.
3269 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3270 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3271 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3272 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3273 [C99-based standards] (INTPTR_MIN): Likewise.
3274 [C99-based standards] (INTPTR_MAX): Likewise.
3275 [C99-based standards] (UINTPTR_MAX): Likewise.
3276 [C99-based standards] (INTMAX_MIN): Likewise.
3277 [C99-based standards] (INTMAX_MAX): Likewise.
3278 [C99-based standards] (UINTMAX_MAX): Likewise.
3279 [C99-based standards] (PTRDIFF_MIN): Likewise.
3280 [C99-based standards] (PTRDIFF_MAX): Likewise.
3281 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3282 [C99-based standards] (SIZE_MAX): Likewise.
3283 [C99-based standards] (WCHAR_MAX): Likewise.
3284 [C99-based standards] (WINT_MAX): Likewise.
3285 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3286 constraint on value.
3287 [C99-based standards] (WCHAR_MIN): Likewise.
3288 [C99-based standards] (WINT_MIN): Likewise.
3289 [C99-based standards] (*_t): Allow.
3290 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3291 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3292 Include math.h-data and complex.h-data. Remove all expectations
3293 of math.h and complex.h contents.
3294 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3295 at end of line.
3296 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3297 (struct tm): Expect tag.
3298 [C99-based-standards] (wcstof): Expect function.
3299 [C99-based-standards] (wcstold): Likewise.
3300 [C99-based-standards] (wcstoll): Likewise.
3301 [C99-based-standards] (wcstoull): Likewise.
3302 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3303 macro-int-constant. Specify type.
3304 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3305 constraint on value.
3306 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3307 Specify type.
3308 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3309 Specify value.
3310 [ISO C standards]: Do not allow headers.
3311 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3312 wcs[abcdefghijklmnopqrstuvwxyz]*.
3313 [ISO C standards] (*_t): Do not allow.
3314 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3315 Expect function.
3316 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3317 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3318 Specify type.
3319 [ISO C standards]: Do not allow headers.
3320 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3321 is[abcdefghijklmnopqrstuvwxyz]*.
3322 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3323 to[abcdefghijklmnopqrstuvwxyz]*.
3324 [ISO C standards] (*_t): Do not allow.
3325 * conform/data/stdalign.h-data: New file.
3326 * conform/data/stdbool.h-data: Likewise.
3327 * conform/data/stdnoreturn.h-data: Likewise.
3328
7514feb8
RM
33292012-11-07 Roland McGrath <roland@hack.frob.com>
3330
3331 [BZ #14815]
3332 * manual/filesys.texi (Directory Entries): Typo fix.
3333 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3334
19b2ecfc
MS
33352012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3336
3337 * elf/elf.h (EM_AARCH64): New macro.
3338 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3339 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3340 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3341 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3342 (R_AARCH64_TLSDESC): Likewise.
3343 (NT_ARM_TLS): Likewise.
3344 (NT_ARM_HW_BREAK): Likewise.
3345 (NT_ARM_HW_WATCH): Likewise.
3346
60e235ee
JM
33472012-11-07 Joseph Myers <joseph@codesourcery.com>
3348
3349 [BZ #14811]
3350 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3351 (__ieee754_powl): Saturate nonzero exponents with absolute value
3352 below 0x1p-79 to +/- 0x1p-79.
3353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3354 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3355 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3356 nonzero exponents with absolute value below 0x1p-32 to +/-
3357 0x1p-32.
3358 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3359 (__ieee754_powl): Saturate nonzero exponents with absolute value
3360 below 0x1p-79 to +/- 0x1p-79.
3361 * math/libm-test.inc (pow_test): Add more tests.
3362
0ab234b7
AK
33632012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3364
3365 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3366 _dl_s390_cap_flags with kernel. Increase string length.
3367 (_dl_s390_platforms): Add z196 and zEC12.
3368
45832f74
JM
33692012-11-07 Joseph Myers <joseph@codesourcery.com>
3370
3371 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3372 Change XOPEN21K to XOPEN2K.
3373
19218757
MK
33742012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3375
3376 * string/memmove.c: Use memcpy when possible.
3377
c5f45721
AJ
33782012-11-06 Andreas Jaeger <aj@suse.de>
3379
3380 * po/eo.po: Update from translation team.
3381
82477c28
JM
33822012-11-06 Joseph Myers <joseph@codesourcery.com>
3383
3384 [BZ #14793]
3385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3386 exponent and small x and y exponents, scale x or y up. Increase
3387 by 2 the exponent used in scaling up.
3388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3390 * math/libm-test.inc (fma_test): Add more tests.
3391 (fma_test_towardzero): Likewise.
3392 (fma_test_downward): Likewise.
3393 (fma_test_upward): Likewise.
3394
99252c8c
JM
33952012-11-05 Joseph Myers <joseph@codesourcery.com>
3396
acfa885f
JM
3397 [BZ #14805]
3398 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3399 fenv_t *.
3400
99252c8c
JM
3401 [BZ #14801]
3402 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3403 namespace for names of struct fields.
3404 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3405 fenv_t fields.
3406 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3407 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3408
d6d98dea
ST
34092012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3410
3411 [BZ #3665]
3412 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3413
e10bb107
TS
34142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3415
3416 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3417 PTR_DEMANGLE.
3418
3419 [BZ #5246]
3420 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3421 PTR_DEMANGLE.
3422
a0c2940d
JM
34232012-11-04 Joseph Myers <joseph@codesourcery.com>
3424
3425 [BZ #14797]
3426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3427 definitely overflow as x * y not x * y + z.
3428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3430 * math/libm-test.inc (fma_test): Add more tests.
3431 (fma_test_towardzero): Likewise.
3432 (fma_test_downward): Likewise.
3433 (fma_test_upward): Likewise.
3434
b830319d
TS
34352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3436
3437 [BZ #157]
3438
3439 * include/stub-tag.h: Remove file.
3440 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3441 '#include' of it.
3442 * manual/maint.texi (Porting): Don't reference it.
3443 * Makerules ($(objpfx)stubs): Likewise.
3444 * dirent/closedir.c: Don't include <stub-tag.h>.
3445 * dirent/dirfd.c: Likewise.
3446 * dirent/fdopendir.c: Likewise.
3447 * dirent/getdents.c: Likewise.
3448 * dirent/getdents64.c: Likewise.
3449 * dirent/opendir.c: Likewise.
3450 * dirent/readdir.c: Likewise.
3451 * dirent/readdir64.c: Likewise.
3452 * dirent/readdir64_r.c: Likewise.
3453 * dirent/readdir_r.c: Likewise.
3454 * dirent/rewinddir.c: Likewise.
3455 * dirent/seekdir.c: Likewise.
3456 * dirent/telldir.c: Likewise.
3457 * gmon/profil.c: Likewise.
3458 * grp/setgroups.c: Likewise.
3459 * inet/if_index.c: Likewise.
3460 * io/access.c: Likewise.
3461 * io/chdir.c: Likewise.
3462 * io/chmod.c: Likewise.
3463 * io/chown.c: Likewise.
3464 * io/close.c: Likewise.
3465 * io/dup.c: Likewise.
3466 * io/dup2.c: Likewise.
3467 * io/dup3.c: Likewise.
3468 * io/euidaccess.c: Likewise.
3469 * io/faccessat.c: Likewise.
3470 * io/fchdir.c: Likewise.
3471 * io/fchmod.c: Likewise.
3472 * io/fchmodat.c: Likewise.
3473 * io/fchown.c: Likewise.
3474 * io/fchownat.c: Likewise.
3475 * io/fcntl.c: Likewise.
3476 * io/flock.c: Likewise.
3477 * io/fstatfs.c: Likewise.
3478 * io/fstatfs64.c: Likewise.
3479 * io/fstatvfs.c: Likewise.
3480 * io/fstatvfs64.c: Likewise.
3481 * io/futimens.c: Likewise.
3482 * io/fxstat.c: Likewise.
3483 * io/fxstat64.c: Likewise.
3484 * io/fxstatat.c: Likewise.
3485 * io/fxstatat64.c: Likewise.
3486 * io/getcwd.c: Likewise.
3487 * io/isatty.c: Likewise.
3488 * io/lchmod.c: Likewise.
3489 * io/lchown.c: Likewise.
3490 * io/link.c: Likewise.
3491 * io/linkat.c: Likewise.
3492 * io/lseek.c: Likewise.
3493 * io/lseek64.c: Likewise.
3494 * io/lxstat64.c: Likewise.
3495 * io/mkdir.c: Likewise.
3496 * io/mkdirat.c: Likewise.
3497 * io/mkfifo.c: Likewise.
3498 * io/mkfifoat.c: Likewise.
3499 * io/open.c: Likewise.
3500 * io/open64.c: Likewise.
3501 * io/openat.c: Likewise.
3502 * io/openat64.c: Likewise.
3503 * io/pipe.c: Likewise.
3504 * io/pipe2.c: Likewise.
3505 * io/poll.c: Likewise.
3506 * io/posix_fadvise.c: Likewise.
3507 * io/posix_fadvise64.c: Likewise.
3508 * io/posix_fallocate.c: Likewise.
3509 * io/posix_fallocate64.c: Likewise.
3510 * io/read.c: Likewise.
3511 * io/readlink.c: Likewise.
3512 * io/readlinkat.c: Likewise.
3513 * io/rmdir.c: Likewise.
3514 * io/sendfile.c: Likewise.
3515 * io/sendfile64.c: Likewise.
3516 * io/statfs.c: Likewise.
3517 * io/statfs64.c: Likewise.
3518 * io/statvfs.c: Likewise.
3519 * io/statvfs64.c: Likewise.
3520 * io/symlink.c: Likewise.
3521 * io/symlinkat.c: Likewise.
3522 * io/ttyname.c: Likewise.
3523 * io/ttyname_r.c: Likewise.
3524 * io/umask.c: Likewise.
3525 * io/unlink.c: Likewise.
3526 * io/unlinkat.c: Likewise.
3527 * io/utime.c: Likewise.
3528 * io/utimensat.c: Likewise.
3529 * io/write.c: Likewise.
3530 * io/xmknod.c: Likewise.
3531 * io/xmknodat.c: Likewise.
3532 * io/xstat.c: Likewise.
3533 * io/xstat64.c: Likewise.
3534 * login/getpt.c: Likewise.
3535 * login/grantpt.c: Likewise.
3536 * login/unlockpt.c: Likewise.
3537 * math/e_acoshl.c: Likewise.
3538 * math/e_acosl.c: Likewise.
3539 * math/e_asinl.c: Likewise.
3540 * math/e_atan2l.c: Likewise.
3541 * math/e_atanhl.c: Likewise.
3542 * math/e_coshl.c: Likewise.
3543 * math/e_expl.c: Likewise.
3544 * math/e_fmodl.c: Likewise.
3545 * math/e_gammal_r.c: Likewise.
3546 * math/e_hypotl.c: Likewise.
3547 * math/e_j0l.c: Likewise.
3548 * math/e_j1l.c: Likewise.
3549 * math/e_jnl.c: Likewise.
3550 * math/e_lgammal_r.c: Likewise.
3551 * math/e_log10l.c: Likewise.
3552 * math/e_log2l.c: Likewise.
3553 * math/e_logl.c: Likewise.
3554 * math/e_powl.c: Likewise.
3555 * math/e_rem_pio2l.c: Likewise.
3556 * math/e_sinhl.c: Likewise.
3557 * math/e_sqrtl.c: Likewise.
3558 * math/fclrexcpt.c: Likewise.
3559 * math/fedisblxcpt.c: Likewise.
3560 * math/feenablxcpt.c: Likewise.
3561 * math/fegetenv.c: Likewise.
3562 * math/fegetexcept.c: Likewise.
3563 * math/fegetround.c: Likewise.
3564 * math/feholdexcpt.c: Likewise.
3565 * math/fesetenv.c: Likewise.
3566 * math/fesetround.c: Likewise.
3567 * math/feupdateenv.c: Likewise.
3568 * math/fgetexcptflg.c: Likewise.
3569 * math/fraiseexcpt.c: Likewise.
3570 * math/fsetexcptflg.c: Likewise.
3571 * math/ftestexcept.c: Likewise.
3572 * math/k_cosl.c: Likewise.
3573 * math/k_rem_pio2l.c: Likewise.
3574 * math/k_sinl.c: Likewise.
3575 * math/k_tanl.c: Likewise.
3576 * math/s_asinhl.c: Likewise.
3577 * math/s_atanl.c: Likewise.
3578 * math/s_cbrtl.c: Likewise.
3579 * math/s_erfl.c: Likewise.
3580 * math/s_expm1l.c: Likewise.
3581 * math/s_log1pl.c: Likewise.
3582 * math/s_tanhl.c: Likewise.
3583 * misc/acct.c: Likewise.
3584 * misc/brk.c: Likewise.
3585 * misc/chflags.c: Likewise.
3586 * misc/chroot.c: Likewise.
3587 * misc/fchflags.c: Likewise.
3588 * misc/fgetxattr.c: Likewise.
3589 * misc/flistxattr.c: Likewise.
3590 * misc/fremovexattr.c: Likewise.
3591 * misc/fsetxattr.c: Likewise.
3592 * misc/fsync.c: Likewise.
3593 * misc/ftruncate.c: Likewise.
3594 * misc/futimes.c: Likewise.
3595 * misc/futimesat.c: Likewise.
3596 * misc/getdomain.c: Likewise.
3597 * misc/getdtsz.c: Likewise.
3598 * misc/gethostid.c: Likewise.
3599 * misc/gethostname.c: Likewise.
3600 * misc/getloadavg.c: Likewise.
3601 * misc/getpagesize.c: Likewise.
3602 * misc/getsysstats.c: Likewise.
3603 * misc/getxattr.c: Likewise.
3604 * misc/gtty.c: Likewise.
3605 * misc/ioctl.c: Likewise.
3606 * misc/lgetxattr.c: Likewise.
3607 * misc/listxattr.c: Likewise.
3608 * misc/llistxattr.c: Likewise.
3609 * misc/lremovexattr.c: Likewise.
3610 * misc/lsetxattr.c: Likewise.
3611 * misc/lutimes.c: Likewise.
3612 * misc/madvise.c: Likewise.
3613 * misc/mincore.c: Likewise.
3614 * misc/mlock.c: Likewise.
3615 * misc/mlockall.c: Likewise.
3616 * misc/mmap.c: Likewise.
3617 * misc/mprotect.c: Likewise.
3618 * misc/msync.c: Likewise.
3619 * misc/munlock.c: Likewise.
3620 * misc/munlockall.c: Likewise.
3621 * misc/munmap.c: Likewise.
3622 * misc/preadv.c: Likewise.
3623 * misc/preadv64.c: Likewise.
3624 * misc/ptrace.c: Likewise.
3625 * misc/pwritev.c: Likewise.
3626 * misc/pwritev64.c: Likewise.
3627 * misc/readv.c: Likewise.
3628 * misc/reboot.c: Likewise.
3629 * misc/remap_file_pages.c: Likewise.
3630 * misc/removexattr.c: Likewise.
3631 * misc/revoke.c: Likewise.
3632 * misc/select.c: Likewise.
3633 * misc/setdomain.c: Likewise.
3634 * misc/setegid.c: Likewise.
3635 * misc/seteuid.c: Likewise.
3636 * misc/sethostid.c: Likewise.
3637 * misc/sethostname.c: Likewise.
3638 * misc/setregid.c: Likewise.
3639 * misc/setreuid.c: Likewise.
3640 * misc/setxattr.c: Likewise.
3641 * misc/sstk.c: Likewise.
3642 * misc/stty.c: Likewise.
3643 * misc/swapoff.c: Likewise.
3644 * misc/swapon.c: Likewise.
3645 * misc/sync.c: Likewise.
3646 * misc/syncfs.c: Likewise.
3647 * misc/syscall.c: Likewise.
3648 * misc/truncate.c: Likewise.
3649 * misc/ualarm.c: Likewise.
3650 * misc/usleep.c: Likewise.
3651 * misc/ustat.c: Likewise.
3652 * misc/utimes.c: Likewise.
3653 * misc/vhangup.c: Likewise.
3654 * misc/writev.c: Likewise.
3655 * posix/_exit.c: Likewise.
3656 * posix/alarm.c: Likewise.
3657 * posix/execve.c: Likewise.
3658 * posix/fexecve.c: Likewise.
3659 * posix/fork.c: Likewise.
3660 * posix/fpathconf.c: Likewise.
3661 * posix/getaddrinfo.c: Likewise.
3662 * posix/getegid.c: Likewise.
3663 * posix/geteuid.c: Likewise.
3664 * posix/getgid.c: Likewise.
3665 * posix/getgroups.c: Likewise.
3666 * posix/getlogin.c: Likewise.
3667 * posix/getlogin_r.c: Likewise.
3668 * posix/getpgid.c: Likewise.
3669 * posix/getpid.c: Likewise.
3670 * posix/getppid.c: Likewise.
3671 * posix/getresgid.c: Likewise.
3672 * posix/getresuid.c: Likewise.
3673 * posix/getsid.c: Likewise.
3674 * posix/getuid.c: Likewise.
3675 * posix/glob64.c: Likewise.
3676 * posix/nanosleep.c: Likewise.
3677 * posix/pathconf.c: Likewise.
3678 * posix/pause.c: Likewise.
3679 * posix/posix_madvise.c: Likewise.
3680 * posix/pread.c: Likewise.
3681 * posix/pread64.c: Likewise.
3682 * posix/pwrite.c: Likewise.
3683 * posix/pwrite64.c: Likewise.
3684 * posix/sched_getaffinity.c: Likewise.
3685 * posix/sched_getp.c: Likewise.
3686 * posix/sched_gets.c: Likewise.
3687 * posix/sched_primax.c: Likewise.
3688 * posix/sched_primin.c: Likewise.
3689 * posix/sched_rr_gi.c: Likewise.
3690 * posix/sched_setaffinity.c: Likewise.
3691 * posix/sched_setp.c: Likewise.
3692 * posix/sched_sets.c: Likewise.
3693 * posix/sched_yield.c: Likewise.
3694 * posix/setgid.c: Likewise.
3695 * posix/setlogin.c: Likewise.
3696 * posix/setpgid.c: Likewise.
3697 * posix/setresgid.c: Likewise.
3698 * posix/setresuid.c: Likewise.
3699 * posix/setsid.c: Likewise.
3700 * posix/setuid.c: Likewise.
3701 * posix/sleep.c: Likewise.
3702 * posix/spawni.c: Likewise.
3703 * posix/sysconf.c: Likewise.
3704 * posix/times.c: Likewise.
3705 * posix/wait.c: Likewise.
3706 * posix/wait3.c: Likewise.
3707 * posix/wait4.c: Likewise.
3708 * posix/waitpid.c: Likewise.
3709 * resolv/gai_sigqueue.c: Likewise.
3710 * resource/getpriority.c: Likewise.
3711 * resource/getrlimit.c: Likewise.
3712 * resource/getrusage.c: Likewise.
3713 * resource/nice.c: Likewise.
3714 * resource/setpriority.c: Likewise.
3715 * resource/setrlimit.c: Likewise.
3716 * resource/ulimit.c: Likewise.
3717 * rt/aio_cancel.c: Likewise.
3718 * rt/aio_fsync.c: Likewise.
3719 * rt/aio_read.c: Likewise.
3720 * rt/aio_sigqueue.c: Likewise.
3721 * rt/aio_suspend.c: Likewise.
3722 * rt/aio_write.c: Likewise.
3723 * rt/clock_getres.c: Likewise.
3724 * rt/clock_gettime.c: Likewise.
3725 * rt/clock_nanosleep.c: Likewise.
3726 * rt/clock_settime.c: Likewise.
3727 * rt/lio_listio.c: Likewise.
3728 * rt/mq_close.c: Likewise.
3729 * rt/mq_getattr.c: Likewise.
3730 * rt/mq_notify.c: Likewise.
3731 * rt/mq_open.c: Likewise.
3732 * rt/mq_receive.c: Likewise.
3733 * rt/mq_send.c: Likewise.
3734 * rt/mq_setattr.c: Likewise.
3735 * rt/mq_timedreceive.c: Likewise.
3736 * rt/mq_timedsend.c: Likewise.
3737 * rt/mq_unlink.c: Likewise.
3738 * rt/shm_open.c: Likewise.
3739 * rt/shm_unlink.c: Likewise.
3740 * rt/timer_create.c: Likewise.
3741 * rt/timer_delete.c: Likewise.
3742 * rt/timer_getoverr.c: Likewise.
3743 * rt/timer_gettime.c: Likewise.
3744 * rt/timer_settime.c: Likewise.
3745 * setjmp/__longjmp.c: Likewise.
3746 * setjmp/setjmp.c: Likewise.
3747 * signal/kill.c: Likewise.
3748 * signal/killpg.c: Likewise.
3749 * signal/raise.c: Likewise.
3750 * signal/sigaction.c: Likewise.
3751 * signal/sigaltstack.c: Likewise.
3752 * signal/sigblock.c: Likewise.
3753 * signal/sigignore.c: Likewise.
3754 * signal/sigintr.c: Likewise.
3755 * signal/signal.c: Likewise.
3756 * signal/sigpause.c: Likewise.
3757 * signal/sigpending.c: Likewise.
3758 * signal/sigqueue.c: Likewise.
3759 * signal/sigreturn.c: Likewise.
3760 * signal/sigset.c: Likewise.
3761 * signal/sigsetmask.c: Likewise.
3762 * signal/sigstack.c: Likewise.
3763 * signal/sigsuspend.c: Likewise.
3764 * signal/sigtimedwait.c: Likewise.
3765 * signal/sigvec.c: Likewise.
3766 * signal/sigwait.c: Likewise.
3767 * signal/sigwaitinfo.c: Likewise.
3768 * signal/sysv_signal.c: Likewise.
3769 * socket/accept.c: Likewise.
3770 * socket/accept4.c: Likewise.
3771 * socket/bind.c: Likewise.
3772 * socket/connect.c: Likewise.
3773 * socket/getpeername.c: Likewise.
3774 * socket/getsockname.c: Likewise.
3775 * socket/getsockopt.c: Likewise.
3776 * socket/isfdtype.c: Likewise.
3777 * socket/listen.c: Likewise.
3778 * socket/recv.c: Likewise.
3779 * socket/recvfrom.c: Likewise.
3780 * socket/recvmsg.c: Likewise.
3781 * socket/send.c: Likewise.
3782 * socket/sendmsg.c: Likewise.
3783 * socket/sendto.c: Likewise.
3784 * socket/setsockopt.c: Likewise.
3785 * socket/shutdown.c: Likewise.
3786 * socket/sockatmark.c: Likewise.
3787 * socket/socket.c: Likewise.
3788 * socket/socketpair.c: Likewise.
3789 * stdio-common/ctermid.c: Likewise.
3790 * stdio-common/cuserid.c: Likewise.
3791 * stdio-common/remove.c: Likewise.
3792 * stdio-common/rename.c: Likewise.
3793 * stdio-common/renameat.c: Likewise.
3794 * stdio-common/tempname.c: Likewise.
3795 * stdlib/getcontext.c: Likewise.
3796 * stdlib/makecontext.c: Likewise.
3797 * stdlib/setcontext.c: Likewise.
3798 * stdlib/swapcontext.c: Likewise.
3799 * stdlib/system.c: Likewise.
3800 * streams/fattach.c: Likewise.
3801 * streams/fdetach.c: Likewise.
3802 * streams/getmsg.c: Likewise.
3803 * streams/getpmsg.c: Likewise.
3804 * streams/putmsg.c: Likewise.
3805 * streams/putpmsg.c: Likewise.
3806 * sysdeps/unix/bsd/getpt.c: Likewise.
3807 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3808 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3811 Likewise.
3812 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3813 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3814 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3815 * sysvipc/msgctl.c: Likewise.
3816 * sysvipc/msgget.c: Likewise.
3817 * sysvipc/msgrcv.c: Likewise.
3818 * sysvipc/msgsnd.c: Likewise.
3819 * sysvipc/semctl.c: Likewise.
3820 * sysvipc/semget.c: Likewise.
3821 * sysvipc/semop.c: Likewise.
3822 * sysvipc/semtimedop.c: Likewise.
3823 * sysvipc/shmat.c: Likewise.
3824 * sysvipc/shmctl.c: Likewise.
3825 * sysvipc/shmdt.c: Likewise.
3826 * sysvipc/shmget.c: Likewise.
3827 * termios/tcdrain.c: Likewise.
3828 * termios/tcflow.c: Likewise.
3829 * termios/tcflush.c: Likewise.
3830 * termios/tcgetattr.c: Likewise.
3831 * termios/tcgetpgrp.c: Likewise.
3832 * termios/tcsendbrk.c: Likewise.
3833 * termios/tcsetattr.c: Likewise.
3834 * termios/tcsetpgrp.c: Likewise.
3835 * time/adjtime.c: Likewise.
3836 * time/clock.c: Likewise.
3837 * time/getitimer.c: Likewise.
3838 * time/gettimeofday.c: Likewise.
3839 * time/setitimer.c: Likewise.
3840 * time/settimeofday.c: Likewise.
3841 * time/stime.c: Likewise.
3842 * time/time.c: Likewise.
3843
38442012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3845
a20492cf
PT
3846 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3847 /usr/old/bin.
3848
72e182e3
PT
3849 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3850 instead of spaces.
3851 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3852
fbeafede
JM
38532012-11-03 Joseph Myers <joseph@codesourcery.com>
3854
5b5b04d6
JM
3855 [BZ #14796]
3856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3857 FE_TONEAREST before applying Dekker multiplication and Knuth
3858 addition. Clear inexact exceptions and check for exact zero
3859 results afterwards.
3860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3863 * math/libm-test.inc (fma_test): Add more tests.
3864 (fma_test_towardzero): Likewise.
3865 (fma_test_downward): Likewise.
3866 (fma_test_upward): Likewise.
3867 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3868 function.
3869 (libc_fesetround): New macro.
3870 (libc_fesetroundf): Likewise.
3871 (libc_fesetroundl): Likewise.
3872 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3873 function.
3874 (libc_fesetround_387): Likewise.
3875 (libc_fesetroundf): New macro.
3876 (libc_fesetround): Likewise.
3877 (libc_fesetroundl): Likewise.
3878 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3879 function.
3880 (libc_fesetroundf): New macro.
3881 (libc_fesetround): Likewise.
3882 (libc_fesetroundl): Likewise.
3883 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3884 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3885 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3886 libm_hidden_ver.
3887 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3888 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3889 libm_hidden_def.
3890 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3891 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3892 libm_hidden_ver.
3893 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3894 libm_hidden_def.
3895
fbeafede
JM
3896 [BZ #3439]
3897 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3898 integer constant usable in #if and use that to give value to enum
3899 constant.
3900 (FE_DIVBYZERO): Likewise.
3901 (FE_UNDERFLOW): Likewise.
3902 (FE_OVERFLOW): Likewise.
3903 (FE_INVALID): Likewise.
3904 (FE_INVALID_SNAN): Likewise.
3905 (FE_INVALID_ISI): Likewise.
3906 (FE_INVALID_IDI): Likewise.
3907 (FE_INVALID_ZDZ): Likewise.
3908 (FE_INVALID_IMZ): Likewise.
3909 (FE_INVALID_COMPARE): Likewise.
3910 (FE_INVALID_SOFTWARE): Likewise.
3911 (FE_INVALID_SQRT): Likewise.
3912 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3913 (FE_TONEAREST): Likewise.
3914 (FE_TOWARDZERO): Likewise.
3915 (FE_UPWARD): Likewise.
3916 (FE_DOWNWARD): Likewise.
3917 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3918 (FE_DIVBYZERO): Likewise.
3919 (FE_OVERFLOW): Likewise.
3920 (FE_UNDERFLOW): Likewise.
3921 (FE_INEXACT): Likewise.
3922 (FE_TONEAREST): Likewise.
3923 (FE_DOWNWARD): Likewise.
3924 (FE_UPWARD): Likewise.
3925 (FE_TOWARDZERO): Likewise.
3926 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3927 (FE_UNDERFLOW): Likewise.
3928 (FE_OVERFLOW): Likewise.
3929 (FE_DIVBYZERO): Likewise.
3930 (FE_INVALID): Likewise.
3931 (FE_TONEAREST): Likewise.
3932 (FE_TOWARDZERO): Likewise.
3933 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3934 (FE_OVERFLOW): Likewise.
3935 (FE_UNDERFLOW): Likewise.
3936 (FE_DIVBYZERO): Likewise.
3937 (FE_INEXACT): Likewise.
3938 (FE_TONEAREST): Likewise.
3939 (FE_TOWARDZERO): Likewise.
3940 (FE_UPWARD): Likewise.
3941 (FE_DOWNWARD): Likewise.
3942 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3943 (FE_DIVBYZERO): Likewise.
3944 (FE_OVERFLOW): Likewise.
3945 (FE_UNDERFLOW): Likewise.
3946 (FE_INEXACT): Likewise.
3947 (FE_TONEAREST): Likewise.
3948 (FE_DOWNWARD): Likewise.
3949 (FE_UPWARD): Likewise.
3950 (FE_TOWARDZERO): Likewise.
3951
105ca950
CM
39522012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3953
3954 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3955
a542b389
AS
39562012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3957
3958 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3959 commands. Quote $PWD.
3960 (blacklist_exports): Don't use remove_newlines. Replace "declare
3961 -x" by "export".
3962 (remove_newlines): Remove.
3963
f62c8abc
L
39642012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3967 * stdlib/stdlib.h (atof): Moved to ...
3968 * include/bits/stdlib-float.h: Here. New file.
3969 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3970 * stdlib/bits/stdlib-float.h: New file.
3971 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3972 -mno-sse -mno-mmx.
3973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3974 <xmmintrin.h>.
3975
0155d5b2
JM
39762012-11-02 Joseph Myers <joseph@codesourcery.com>
3977
a68d0680
JM
3978 * conform/conformtest.pl (@headers): Add fenv.h.
3979 * conform/data/fenv.h-data: New file.
3980 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3981 include of <math/fenv.h>.
3982
caf7f573
JM
3983 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3984 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3985 && !UNIX98]. Enables tests for XOPEN2K8.
3986 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3987 POSIX2008]: Likewise.
3988
6c073ad6
JM
3989 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3990 (struct rusage): Do not expect type or its members.
3991
0155d5b2
JM
3992 [BZ #3439]
3993 * math/math.h (FP_NAN): Define macro to integer constant usable in
3994 #if and use that to give value to enum constant.
3995 (FP_INFINITE): Likewise.
3996 (FP_ZERO): Likewise.
3997 (FP_SUBNORMAL): Likewise.
3998 (FP_NORMAL): Likewise.
3999
b5dcacb4
AS
40002012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4001
4002 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4003 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4004 arguments.
4005
f7934be8
RM
40062012-11-02 Roland McGrath <roland@hack.frob.com>
4007
4008 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4009 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4010 autoconf-time if not.
4011 * configure.in: Remove AC_PREREQ.
4012
d7d08bde
TMQMF
40132012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4014
4015 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4016 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4017 of the internal implementation.
4018
dcdae19a
JM
40192012-11-02 Joseph Myers <joseph@codesourcery.com>
4020
4021 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4022 except include of <misc/sys/syslog.h>.
4023
d6cffd3e
AS
40242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4025
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4027 function returns with a NULL context exit with zero.
4028
b3563932
TMQMF
40292012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4030
4031 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4032
b288a93d
L
40332012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4034
4035 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4036 (run_program_cmd): This.
4037 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4038 (tst_langinfo): New variable. Use it.
4039
a2421a68
SAS
40402012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4041
4042 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4043 floating point opcodes.
4044
6f796e1b
TS
40452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4046
7402596b
TS
4047 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4048 variable.
4049
d0d4f868
TS
4050 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4051
6f796e1b
TS
4052 * sysdeps/mach/hurd/powerpc: Remove directory.
4053 * sysdeps/mach/powerpc: Likewise.
4054
4da224a2
AS
40552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4056
4057 * scripts/check-local-headers.sh: Ignore c++ headers.
4058
341dd673
TS
40592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4060
4061 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4062 __libc_cleanup_region_start argument.
4063
473611b2
JM
40642012-11-01 Joseph Myers <joseph@codesourcery.com>
4065
4066 [BZ #14784]
4067 [BZ #14785]
4068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4069 x * y using scaling, not as x * y + z.
4070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4072 * math/libm-test.inc (fma_test): Add more tests.
4073 (fma_test_towardzero): Likewise.
4074 (fma_test_downward): Likewise.
4075 (fma_test_upward): Likewise.
4076
4078da3d
TS
40772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4078
4079 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4080
903252aa
JM
40812012-10-31 Joseph Myers <joseph@codesourcery.com>
4082
4083 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4084 New variable.
4085
cbc818d0
TS
40862012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4087
4088 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4089
5a03cb1e
AS
40902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4091
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4093 Fix sort order.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4095 Likewise.
4096
90aff2ff
TMQMF
40972012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4098
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4100 Fix the order of the list for glibc 2.17.
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4102 Likewise.
4103
1818fcb7
AS
41042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4105
4106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4107
ef82f4da
JM
41082012-10-31 Joseph Myers <joseph@codesourcery.com>
4109
16a0e2ec
JM
4110 [BZ #14610]
4111 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4112 for low part of x being zero before using __atanl (y).
4113 * math/libm-test.inc (atan2_test): Add another test.
4114
0eb69512
JM
4115 * manual/install.texi (Configuring and compiling): Document
4116 general use of test-wrapper and test-wrapper-env.
4117 * INSTALL: Regenerated.
4118
ef82f4da
JM
4119 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4120 (__fma): Do not extract and scale down low bits on after-rounding
4121 systems when result rounded to normal precision would have normal
4122 exponent.
4123 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4124 (__fmal): Do not extract and scale down low bits on after-rounding
4125 systems when result rounded to normal precision would have normal
4126 exponent.
4127 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4128 (__fmal): Do not extract and scale down low bits on after-rounding
4129 systems when result rounded to normal precision would have normal
4130 exponent.
4131 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4132 macro.
4133 (fma_test): Add more tests.
4134 (fma_test_towardzero): Likewise.
4135 (fma_test_downward): Likewise.
4136 (fma_test_upward): Likewise.
4137
954ef0d9
L
41382012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 * sysdeps/i386/tininess.h: Renamed to ...
4141 * sysdeps/x86/tininess.h: This.
4142 * sysdeps/x86_64/tininess.h: Removed.
4143
df61ffb2
JM
41442012-10-30 Joseph Myers <joseph@codesourcery.com>
4145
4146 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4147 input. Use $(build-program-cmd).
4148 ($(objpfx)tst-array1-static.out): Likewise.
4149 ($(objpfx)tst-array2.out): Likewise.
4150 ($(objpfx)tst-array3.out): Likewise.
4151 ($(objpfx)tst-array4.out): Likewise.
4152 ($(objpfx)tst-array5.out): Likewise.
4153 ($(objpfx)tst-array5-static.out): Likewise.
4154
01767843
CM
41552012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4156
47cc1490
CM
4157 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4158 if defined.
4159
01767843
CM
4160 * nss/nsswitch.h (nss_interface_function): Provide new
4161 macro for use with NSS functions.
4162 * grp/initgroups.c: Use new macro.
4163 * nss/getXXbyYY.c: Likewise.
4164 * nss/getXXbyYY_r.c: Likewise.
4165 * nss/getXXent.c: Likewise.
4166 * nss/getXXent_r.c: Likewise.
4167 * sysdeps/posix/getaddrinfo.c: Likewise.
4168
8321aa97
AJ
41692012-10-30 Andreas Jaeger <aj@suse.de>
4170
4171 * po/ru.po: Update Russion translation from translation project.
4172
2a27fd6d
JM
41732012-10-30 Joseph Myers <joseph@codesourcery.com>
4174
8627a232
JM
4175 [BZ #14152]
4176 [BZ #14783]
4177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4178 result and shift together with sticky bit instead of replicating
4179 round-to-nearest rounding.
4180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4182 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4183 missing underflow exceptions.
4184 (fma_test_towardzero): Add more tests.
4185 (fma_test_downward): Likewise.
4186 (fma_test_upward): Likewise.
4187
2a27fd6d
JM
4188 [BZ #14047]
4189 * sysdeps/generic/tininess.h: New file.
4190 * sysdeps/i386/tininess.h: Likewise.
4191 * sysdeps/sh/tininess.h: Likewise.
4192 * sysdeps/x86_64/tininess.h: Likewise.
4193 * stdlib/tst-strtod-underflow.c: Likewise.
4194 * stdlib/tst-tininess.c: Likewise.
4195 * stdlib/strtod_l.c: Include <tininess.h>.
4196 (round_and_return): Do not set errno for exact underflow cases.
4197 Force an underflow exception when setting errno for underflow.
4198 Determine underflow based on rounding to normal precision if
4199 TININESS_AFTER_ROUNDING.
4200 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4201 ERANGE for exact underflow cases.
4202 * stdlib/Makefile (tests): Add tst-tininess and
4203 tst-strtod-underflow.
4204 ($(objpfx)tst-tininess): Use $(link-libm).
4205 ($(objpfx)tst-strtod-underflow): Likewise.
4206
e7170363
AJ
42072012-10-30 Andreas Jaeger <aj@suse.de>
4208
e5088dc6
AJ
4209 [BZ#14767]
4210 * elf/Makefile (tests): Remove conditional for have-initfini-array
4211 since this is now always required and the variable does not exist
4212 anymore.
4213 (tests-static): Likewise.
4214 (modules-names): Likewise.
4215
e7170363 4216 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4217
4218 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4219 merged with constructor/destructor.
4220 (init_array): Likewise.
4221 * elf/tst-array2dep.c (fini_array): Likewise.
4222 (init_array): Likewise.
4223
60457d8a
MF
42242012-10-29 Mike Frysinger <vapier@gentoo.org>
4225
4226 * manual/message.texi: Delete @cartouche tags.
4227
8bece752
PT
42282012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4229
94ce799f
PT
4230 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4231 EOPNOTSUPP.
4232 * sysdeps/mach/hurd/fsync.c: Likewise.
4233
8bece752
PT
4234 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4235 [_POSIX_REALTIME_SIGNALS]: Change condition to
4236 [_POSIX_REALTIME_SIGNALS > 0].
4237
86ebe6b1
AJ
42382012-10-27 Andreas Jaeger <aj@suse.de>
4239
4240 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4241 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4243 [__WORDSIZE != 64]: Likewise.
4244
54399c08
L
42452012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4246
4247 * iconvdata/tst-table.sh: Remove ${SHELL}.
4248 * iconvdata/tst-tables.sh: Likewise.
4249
e2211bed
DM
42502012-10-25 David S. Miller <davem@davemloft.net>
4251
4252 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4253 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4254 of strtoull.
4255
f303f97c
DM
4256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4257 ifunc-impl-list.c
4258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4259 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4260 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4261 file.
4262
1e9d84cd
RM
42632012-10-25 Roland McGrath <roland@hack.frob.com>
4264
4265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4266 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4267 __getdirentries.
4268
df381762
JM
42692012-10-25 Joseph Myers <joseph@codesourcery.com>
4270 Jim Blandy <jimb@codesourcery.com>
4271
4272 * scripts/cross-test-ssh.sh: New file.
4273 * manual/install.texi (Configuring and compiling): Document use of
4274 cross-test-ssh.sh.
4275 * INSTALL: Regenerated.
4276
bff64913
PT
42772012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4278
4279 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4280 EOPNOTSUPP.
4281
25fe8932
JM
42822012-10-25 Joseph Myers <joseph@codesourcery.com>
4283
4284 * Makeconfig (run-program-prefix): Fix comment.
4285
cc1290d0
JM
42862012-10-24 Joseph Myers <joseph@codesourcery.com>
4287 Jim Blandy <jimb@codesourcery.com>
4288
4289 * Makeconfig (test-wrapper): New variable,
4290 (test-wrapper-env): Likewise.
4291 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4292 (run-built-tests): Define to yes.
4293 (run-program-prefix): Use $(test-wrapper).
4294 (built-program-cmd): Likewise.
4295 * Rules (make-test-out): Use $(test-wrapper-env) and
4296 $(host-built-program-cmd).
4297 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4298 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4299 tst-pathopt.sh.
4300 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4301 $(test-wrapper-env) to tst-rtld-load-self.sh.
4302 ($(objpfx)order2.out): Use $(test-wrapper).
4303 ($(objpfx)tst-initorder.out): Likewise.
4304 ($(objpfx)tst-initorder2.out): Likewise.
4305 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4306 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4307 (test_wrapper_env): New variable. Use it to run ld.so.
4308 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4309 Use it to run ld.so.
4310 (test_wrapper_env): Likewise.
4311 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4312 $(test-wrapper) to run-iconv-test.sh.
4313 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4314 (ICONV): Use $test_wrapper.
4315 * posix/Makefile ($(objpfx)globtest.out): Pass
4316 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4317 globtest.sh, not $(run-program-prefix).
4318 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4319 (test_wrapper): Likewise.
4320 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4321 set together with run_via_rtld_prefix.
4322 (run_program_prefix): Define in terms of test_wrapper and
4323 run_via_rtld_prefix.
4324
6e6249d0
RM
43252012-10-24 Roland McGrath <roland@hack.frob.com>
4326
4327 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4328 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4329 Targets removed.
4330
4331 [BZ #14743]
4332 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4333 Declare __clock_getres, __clock_gettime, __clock_settime,
4334 __clock_nanosleep, and __clock_getcpuclockid.
4335 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4336 Remove librt_hidden_def (clock_gettime).
4337 * sysdeps/unix/clock_gettime.c: Likewise.
4338 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4340 * rt/clock_getres.c: Define __clock_getres as an alias.
4341 * sysdeps/posix/clock_getres.c: Likewise.
4342 * rt/clock_settime.c: Define __clock_settime as an alias.
4343 * sysdeps/unix/clock_settime.c: Likewise.
4344 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4345 * sysdeps/unix/clock_nanosleep.c: Likewise.
4346 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4347 * rt/clock-compat.c: New file.
4348 * rt/Makefile (librt-routines): Add clock-compat and move
4349 $(clock-routines) to ...
4350 (routines): ... here, new variable.
4351 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4352 Don't add get_clockfreq here.
4353 * rt/Versions (libc: GLIBC_2.17): New version set.
4354 Add clock_* symbols here.
4355 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4356 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4357 (GLIBC_2.17): Add clock_* symbols.
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4362 Likewise.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4364 Likewise.
4365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4369 * NEWS: Mention the move.
4370
4371 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4372 Use __open, __read, __close rather than their public counterparts.
4373 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4374 (__get_clockfreq_via_cpuinfo): Likewise.
4375 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4376 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4377
4378 * config.h.in (HAVE_IFUNC): New #undef.
4379 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4380 was successful.
4381 * configure: Regenerated.
4382
0cae3f4b
MF
43832012-10-24 Mike Frysinger <vapier@gentoo.org>
4384
4385 * configure.in: Move READELF check to start of file.
4386 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4387 libc_cv_asm_gnu_indirect_function in the process.
4388 * configure: Regenerated.
4389
8175a253
MF
43902012-10-24 Mike Frysinger <vapier@gentoo.org>
4391
4392 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4393 send the output to /dev/null.
4394 (libc_cv_cc_with_libunwind): Likewise.
4395 (libc_cv_as_noexecstack): Likewise.
4396 * configure: Regenerate.
4397
0708a7d1
JM
43982012-10-24 Joseph Myers <joseph@codesourcery.com>
4399
10b40d85
JM
4400 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4401
0708a7d1
JM
4402 * posix/globtest.sh (TMPDIR): Do not set.
4403 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4404 (testout): Likewise.
4405
9fddec1a
AJ
44062012-10-24 Andreas Jaeger <aj@suse.de>
4407
3a8db22f
AJ
4408 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4409 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4410 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4411 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4412 posix_fadvise64, posix_fallocate64.
4413
9fddec1a
AJ
4414 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4415 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4416 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4417 Likewise.
4418 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4419 Likewise.
4420 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4421
4422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4423 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4424 <bits/fcntl-linux.h>.
4425 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4426
4427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4428 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4429 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4430 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4431 [__WORDSIZE != 64]: Likewise.
4432
ebfd1bbd
JM
44332012-10-23 Joseph Myers <joseph@codesourcery.com>
4434
03ac099f
JM
4435 * Makeconfig (run-built-tests): New variable.
4436 * Rules [$(cross-compiling) = yes]: Change condition to
4437 [$(run-built-tests) = no].
4438 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4439 to [$(run-built-tests) = yes].
4440 * elf/Makefile [$(cross-compiling) = no]: Likewise
4441 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4442 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4443 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4444 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4445 * io/Makefile [$(cross-compiling) = no]: Likewise.
4446 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4447 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4448 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4449 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4450 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4451 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4452 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4453 * string/Makefile [$(cross-compiling) = no]: Likewise.
4454
ebfd1bbd
JM
4455 * posix/Makefile ($(objpfx)globtest.out): Pass
4456 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4457 $(rtld-installed-name).
4458 * posix/globtest.sh (elf_objpfx): Remove variable.
4459 (rtld_installed_name): Likewise.
4460 (library_path): Likewise.
4461 (run_program_prefix): New variable. Use for running globtest
4462 binary.
4463
166bca24
JB
44642012-10-23 Jim Blandy <jimb@codesourcery.com>
4465 Joseph Myers <joseph@codesourcery.com>
4466
4467 * Makeconfig (host-built-program-cmd): New variable.
4468 * elf/Makefile (tst-stackguard1-ARGS): Use
4469 $(host-built-program-cmd).
4470 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4471 (tst-spawn-ARGS): Likewise.
4472 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4473
88866099
JM
44742012-10-23 Joseph Myers <joseph@codesourcery.com>
4475 Jim Blandy <jimb@codesourcery.com>
4476
4477 * Makeconfig (run-via-rtld-prefix): New variable.
4478 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4479 (built-program-cmd): Likewise.
4480
b4b4c296
AJ
44812012-10-22 Andreas Jaeger <aj@suse.de>
4482
4483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4484 __O_RSYNC if it exists, otherwise to O_SYNC.
4485
6fb54a22
JB
44862012-10-22 Jim Blandy <jimb@codesourcery.com>
4487 Joseph Myers <joseph@codesourcery.com>
4488
4489 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4490 /dev/null.
4491 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4492 from /dev/null
4493 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4494 /dev/null.
4495
481b90b9
AJ
44962012-10-22 Andreas Jaeger <aj@suse.de>
4497
2a0e2669
AJ
4498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4499 Define always.
4500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4501
76e38f9a
AJ
4502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4503 bits/fcntl-linux.h.
4504
7cd37b43
AJ
4505 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4506 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4507
481b90b9
AJ
4508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4509 to __O_LARGEFILE.
4510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4511 to __O_LARGEFILE.
4512
aba75984
JB
45132012-10-21 Jim Blandy <jimb@codesourcery.com>
4514 Joseph Myers <joseph@codesourcery.com>
4515
4516 * config.make.in (NM): New variable.
4517
88d4247f
AJ
45182012-10-21 Andreas Jaeger <aj@suse.de>
4519
4520 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4521 definitions and declarations that are provided by
4522 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4523
f2eed205
L
45242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 [BZ #14683]
4527 * elf/Makefile (tests-static): Add tst-leaks1-static.
4528 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4529 ($(objpfx)tst-leaks1-static): New rule.
4530 ($(objpfx)tst-leaks1-static-mem): Likewise.
4531 (tst-leaks1-static-ENV): New macro.
4532 * elf/dl-open.c (dl_open_worker): Check the main application
4533 only if SHARED is defined.
4534 * elf/tst-leaks1-static.c: New file.
4535
335e6931
AJ
45362012-10-20 Andreas Jaeger <aj@suse.de>
4537
4538 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4539 generic values for Linux.
4540 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4541 and declarations that are provided by <bits/fcntl-linux.h> and
4542 include <bits/fcntl-linux.h>.
4543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4545
ac5c94d3
RM
45462012-10-20 Roland McGrath <roland@hack.frob.com>
4547
4548 * io/fcntl.h: Move include of <bits/types.h> to the top and
4549 include it unconditionally.
4550
de54b33a
L
45512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4552
228cfb01
L
4553 * wcsmbs/Makefile (tests-ifunc): New variable.
4554 (tests): Add $(tests-ifunc).
4555 * wcsmbs/test-wcschr-ifunc.c: New file.
4556 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4557 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4558 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4559 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4560 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4561
69f07e5f
L
4562 * string/Makefile (tests-ifunc): New variable.
4563 (tests): Add $(tests-ifunc).
4564 * string/test-memccpy.c (TEST_NAME): New macro.
4565 * string/test-memchr.c (TEST_NAME): Likewise.
4566 * string/test-memcmp.c (TEST_NAME): Likewise.
4567 * string/test-memcpy.c (TEST_NAME): Likewise.
4568 * string/test-memmem.c (TEST_NAME): Likewise.
4569 * string/test-memmove.c (TEST_NAME): Likewise.
4570 * string/test-memset.c (TEST_NAME): Likewise.
4571 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4572 * string/test-stpcpy.c (TEST_NAME): Likewise.
4573 * string/test-stpncpy.c (TEST_NAME): Likewise.
4574 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4575 * string/test-strcasestr.c (TEST_NAME): Likewise.
4576 * string/test-strcat.c (TEST_NAME): Likewise.
4577 * string/test-strchr.c (TEST_NAME): Likewise.
4578 * string/test-strcmp.c(TEST_NAME): Likewise.
4579 * string/test-strcpy.c (TEST_NAME): Likewise.
4580 * string/test-strcspn.c (TEST_NAME): Likewise.
4581 * string/test-strlen.c (TEST_NAME): Likewise.
4582 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4583 * string/test-strncmp.c (TEST_NAME): Likewise.
4584 * string/test-strncpy.c (TEST_NAME): Likewise.
4585 * string/test-strnlen.c (TEST_NAME): Likewise.
4586 * string/test-strpbrk.c (TEST_NAME): Likewise.
4587 * string/test-strrchr.c (TEST_NAME): Likewise.
4588 * string/test-strspn.c (TEST_NAME): Likewise.
4589 * string/test-strstr.c (TEST_NAME): Likewise.
4590 * string/test-bcopy-ifunc.c: New file.
4591 * string/test-bzero-ifunc.c: Likewise.
4592 * string/test-memccpy-ifunc.c: Likewise.
4593 * string/test-memchr-ifunc.c: Likewise.
4594 * string/test-memcmp-ifunc.c: Likewise.
4595 * string/test-memcpy-ifunc.c: Likewise.
4596 * string/test-memmem-ifunc.c: Likewise.
4597 * string/test-memmove-ifunc.c: Likewise.
4598 * string/test-mempcpy-ifunc.c: Likewise.
4599 * string/test-memset-ifunc.c: Likewise.
4600 * string/test-rawmemchr-ifunc.c: Likewise.
4601 * string/test-stpcpy-ifunc.c: Likewise.
4602 * string/test-stpncpy-ifunc.c: Likewise.
4603 * string/test-strcasecmp-ifunc.c: Likewise.
4604 * string/test-strcasestr-ifunc.c: Likewise.
4605 * string/test-strcat-ifunc.c: Likewise.
4606 * string/test-strchr-ifunc.c: Likewise.
4607 * string/test-strchrnul-ifunc.c: Likewise.
4608 * string/test-strcmp-ifunc.c: Likewise.
4609 * string/test-strcpy-ifunc.c: Likewise.
4610 * string/test-strcspn-ifunc.c: Likewise.
4611 * string/test-strlen-ifunc.c: Likewise.
4612 * string/test-strncasecmp-ifunc.c: Likewise.
4613 * string/test-strncat-ifunc.c: Likewise.
4614 * string/test-strncmp-ifunc.c: Likewise.
4615 * string/test-strncpy-ifunc.c: Likewise.
4616 * string/test-strnlen-ifunc.c: Likewise.
4617 * string/test-strpbrk-ifunc.c: Likewise.
4618 * string/test-strrchr-ifunc.c: Likewise.
4619 * string/test-strspn-ifunc.c: Likewise.
4620 * string/test-strstr-ifunc.c: Likewise.
4621
de54b33a
L
4622 * debug/Makefile (tests-ifunc): New variable.
4623 (tests): Add $(tests-ifunc).
4624 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4625 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4626 * debug/test-stpcpy_chk-ifunc.c: New file.
4627 * debug/test-strcpy_chk-ifunc.c: Likewise.
4628
88481c16
SP
46292012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4630
4631 [BZ #13601]
4632 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4633 header is not read in.
4634
135948bd
JM
46352012-10-19 Joseph Myers <joseph@codesourcery.com>
4636
89f1c388
JM
4637 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4638 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4639 directly. Pass built executable to script as
4640 $(built-program-cmd).
4641 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4642 $testprogram without using LD_LIBRARY_PATH and $ldso.
4643
e40a0d21
JM
4644 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4645 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4646 $(rtld-installed-name).
4647 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4648 (rtld_installed_name): Likewise.
4649 (library_path): Likewise.
4650 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4651 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4652 $(run-program-prefix) to tst-tables.sh.
4653 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4654 it to run tst-table-from and tst-table-to.
4655 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4656 Pass it to tst-table.sh.
4657 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4658 $(run-program-prefix) to tst-gettext.sh.
4659 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4660 tst-translit.sh.
4661 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4662 tst-gettext2.sh.
4663 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4664 to run tst-gettext.
4665 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4666 to run tst-gettext2.
4667 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4668 to run tst-translit.
4669 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4670 $(run-program-prefix) to tst-mtrace.sh.
4671 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4672 to run tst-mtrace.
4673 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4674 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4675 $(rtld-installed-name).
4676 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4677 (rtld_installed_name): Likewise.
4678 (run_program_prefix): New variable. Use it to run wordexp-test.
4679
728e272a
JM
4680 * Makeconfig (ARCH): Remove all definitions.
4681 (machine): Likewise.
4682 [ARCH]: Remove conditional code.
4683 [!objdir]: Give error.
4684 [!objdir] (objpfx): Remove.
4685 [!objdir] (common-objpfx): Likewise.
4686 [!objdir] (common-objdir): Likewise.
4687 * configure.in (config_makefile): Remove. Hardcode Makefile in
4688 AC_CONFIG_FILES call.
4689 * configure: Regenerated.
4690
d528cdcf
JM
4691 [BZ #13888]
4692 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4693 or TMPDIR.
4694 (testout): Likewise.
4695
135948bd
JM
4696 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4697 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4698 $(rtld-installed-name).
4699 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4700 (rtld_installed_name): Likwise.
4701 (runit): Remove function.
4702 (run_getconf): New variable, Use it for running getconf binary.
4703
38c78296
L
47042012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4705
4706 [BZ #14716]
4707 * string/test-memmem.c (check_result): New function.
4708 (do_one_test): Use it.
4709 (check1): New function.
4710 (test_main): Use it.
4711
d077f65f
MT
47122012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4713
4714 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4715
ced52c71
JM
47162012-10-18 Joseph Myers <joseph@codesourcery.com>
4717
4718 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4719 (_G_LSEEK64): Likewise.
4720 (_G_MMAP64): Likewise.
4721 (_G_FSTAT64): Likewise.
4722 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4723 (_G_LSEEK64): Likewise.
4724 (_G_MMAP64): Likewise.
4725 (_G_FSTAT64): Likewise.
4726 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4727 unconditional. Call __mmap64 directly.
4728 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4729 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4730 __lseek64 directly.
4731 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4732 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4733 __mmap64 directly.
4734 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4735 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4736 __lseek64 directly.
4737 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4738 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4739 __lseek64 directly.
4740 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4741 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4742 __lseek64 directly.
4743 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4744 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4745 __fxstat64 directly.
4746 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4747 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4748 unconditional.
4749 (freopen64) [!_G_OPEN64]: Remove conditional code.
4750 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4751 unconditional.
4752 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4753 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4754 unconditional.
4755 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4756 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4757 unconditional.
4758 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4759 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4760 unconditional.
4761 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4762 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4763 unconditional.
4764 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4765 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4766 unconditional.
4767 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4768 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4769 unconditional.
4770 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4771
b741de23
SP
47722012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4773
4774 [BZ #12140]
4775 * manual/memory.texi (Malloc Tunable Parameters): Add note
4776 about free list pointers overwriting some perturb bytes.
4777 Wording suggested by Roland McGrath.
4778
f9b9d9c9
JM
47792012-10-17 Joseph Myers <joseph@codesourcery.com>
4780
4781 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4782 (lgamma_test): Likewise.
4783 (tgamma_test): Likewise.
4784
172a631a
FW
47852012-10-16 Florian Weimer <fweimer@redhat.com>
4786
4787 [BZ #14700]
4788 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4789 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4790
e9f37252
MK
47912012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4792
4793 * NEWS: Mention BZ #14716.
4794 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4795 when removing AVAILABLE1_USES_J macro.
4796
d394eb74
L
47972012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4798
4799 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4800 (__bswap_64): __uint64_t for unsigned 64-bit int.
4801
ca38dc17
AS
48022012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4803
4804 * include/string.h (memmem): Declare libc hidden alias.
4805 * string/memmem.c (memmem): Define libc hidden alias.
4806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4807 __read, __close instead of open, read, close.
4808
9a387d1f
L
48092012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4810
ac49ecaf
L
4811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4812 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4813 global and hidden.
4814 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4815 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4816 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4817 Likewise.
4818 (__rawmemchr_sse2): Likewise.
4819 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4820 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4821 (__strchr_sse2): Likewise.
4822 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4823 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4824 (__strcasecmp_sse2): Likewise.
4825 (__strncasecmp_sse2): Likewise.
4826 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4827 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4828 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4829 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4830 (__strrchr_sse2): Likewise.
4831 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4832 ifunc-impl-list.c.
4833 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4834 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4835 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4836 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4837 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4838 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4839 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4840 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4841 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4842 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4843 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4844 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4845 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4846 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4847 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4848 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4849 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4850 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4851 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4852 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4853 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4854 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4855 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4856 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4857 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4858 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4859 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4860 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4861 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4862 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4863
b090e8ea
L
4864 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4865 global and hidden.
4866 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4867 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4868 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4869 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4870 Likewise.
4871 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4872 Likewise.
4873 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4874 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4875 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4876 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4877 ifunc-impl-list.c.
4878 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4879 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4881 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4882 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4885 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4886 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4887 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4889 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4892 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4896 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4898 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4903 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4906 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4908 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4911 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4912 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4919
11dd4af6
L
4920 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4921 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4922 * include/ifunc-impl-list.h: New file.
4923 * misc/ifunc-impl-list.c: Likewise.
4924 * misc/Makefile (routines): Add ifunc-impl-list.
4925 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4926 * string/test-string.h: Include <ifunc-impl-list.h>.
4927 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4928 impl_array): New variables.
4929 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4930 are defined.
4931 (test_init): Call __libc_ifunc_impl_list to initialize
4932 func_list if TEST_IFUNC and TEST_NAME are defined.
4933
9a387d1f
L
4934 * string/Makefile (strop-tests): Add bcopy and bzero.
4935 * string/test-bcopy.c: New file.
4936 * string/test-bzero.c: Likewise.
4937 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4938 defined.
4939 * string/test-memset.c: Support bzero test if TEST_BZERO is
4940 defined.
4941 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4942 __libc_memmove.
4943 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4944 __libc_memset.
4945 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4946 of memset.
4947
472371b9
JM
49482012-10-10 Joseph Myers <joseph@codesourcery.com>
4949
1e4a9536
JM
4950 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4951 * configure: Regenerated.
4952
d173d12e
JM
4953 * Makeconfig (+link-static-before-libc): Don't include
4954 $(link-static-libc).
4955
472371b9
JM
4956 * libio/libio.h (_IO_pos_t): Remove.
4957
89a3ad0b
AO
49582012-10-10 Alexandre Oliva <aoliva@redhat.com>
4959
4960 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4961 McGrath.
4962
e7451425
AO
49632012-10-10 Alexandre Oliva <aoliva@redhat.com>
4964
4965 * crypt/crypt-entry.c: Include fips-private.h.
4966 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4967 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4968 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4969 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4970
4ba74a35
AO
49712012-10-10 Alexandre Oliva <aoliva@redhat.com>
4972
4973 * crypt/crypt-private.h: Include stdbool.h.
4974 (_ufc_setup_salt_r): Return bool.
4975 * crypt/crypt-entry.c: Include errno.h.
4976 (__crypt_r): Return NULL with EINVAL for bad salt.
4977 * crypt/crypt_util.c (bad_for_salt): New.
4978 (_ufc_setup_salt_r): Check that salt is long enough and within
4979 the specified alphabet.
4980 * crypt/badsalttest.c: New file.
4981 * crypt/Makefile (tests): Add it.
4982 ($(objpfx)badsalttest): New.
4983
f96f1242
MK
49842012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4985
4986 * NEWS: Add entry for BZ #14602.
4987
0e8e0c1c
JM
49882012-10-09 Joseph Myers <joseph@codesourcery.com>
4989
4990 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4991 type-generic.
4992 * math/libm-test.inc: Update comment listing what functions and
4993 macros are tested.
4994 (isgreater_test): New function.
4995 (isgreaterequal_test): Likewise.
4996 (isless_test): Likewise.
4997 (islessequal_test): Likewise.
4998 (islessgreater_test): Likewise.
4999 (isunordered_test): Likewise.
5000 (main): Call the new functions.
5001
273edc5e
RM
50022012-10-09 Roland McGrath <roland@hack.frob.com>
5003
b8493de0
RM
5004 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5005 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5006 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5007 * sysdeps/i386/configure: Regenerated.
5008 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5009 * sysdeps/mach/configure: Regenerated.
5010 * sysdeps/mach/hurd/configure: Regenerated.
5011 * sysdeps/powerpc/configure: Regenerated.
5012 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5013 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5014 * sysdeps/s390/s390-32/configure: Regenerated.
5015 * sysdeps/s390/s390-64/configure: Regenerated.
5016 * sysdeps/sh/configure: Regenerated.
5017 * sysdeps/sparc/configure: Regenerated.
5018 * sysdeps/unix/sysv/linux/configure: Regenerated.
5019 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5020 * sysdeps/x86_64/configure: Regenerated.
5021
273edc5e
RM
5022 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5023 defined. Don't check if MAP is NULL.
5024
c8450f70
JM
50252012-10-09 Joseph Myers <joseph@codesourcery.com>
5026
5027 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5028 (_G_stat64): Likewise.
5029 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5030 (_G_stat64): Likewise.
5031 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5032 instead of struct _G_stat64.
5033 * libio/fileops.c (mmap_remap_check): Likewise.
5034 (decide_maybe_mmap): Likewise.
5035 (_IO_new_file_seekoff): Likewise.
5036 (_IO_file_stat): Likewise.
5037 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5038 _G_off64_t.
5039 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5040 instead of struct _G_stat64.
5041 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5042
57e605ba
MK
50432012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5044
5045 [BZ #14602]
5046 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5047 Replace with ...
5048 (CHECK_EOL): New macro.
5049 (two_way_short_needle): Check beginning of haystack for EOL. Use
5050 CHECK_EOL.
5051 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5052 Replace with CHECK_EOL.
5053 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5054 Replace with CHECK_EOL.
5055
ef1bb361
JM
50562012-10-08 Joseph Myers <joseph@codesourcery.com>
5057
5058 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5059 type-generic.
5060 * math/libm-test.inc: Update comment listing what functions and
5061 macros are tested.
5062 (finite_test): New function.
5063 (isinf_test): Likewise.
5064 (isnan_test): Likewise.
5065 (fpclassify_test): Test subnormal input.
5066 (isfinite_test): Likewise.
5067 (isnormal_test): Likewise.
5068 (main): Call the new functions.
5069
55f11534
JN
50702012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5071
5072 [BZ #14660]
5073 * Makerules (%.dynsym): Force C locale when running
5074 $(OBJDUMP) --dynamic-syms.
5075
1ab29350
AS
50762012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5077
5078 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5079 <stdint.h>.
5080
f1ecb7ef
DM
50812012-10-06 David S. Miller <davem@davemloft.net>
5082
5083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5084 upper 32-bits of the length value in %o2 since we use branch-on-register
5085 tests which consider the entire 64-bit register.
5086
5d41d91a
L
50872012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5088
5089 * string/test-strstr.c (check2): Add a test for page boundary.
5090
3baddb72
DM
50912012-10-05 David S. Miller <davem@davemloft.net>
5092
5093 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5094 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5095 file.
5096 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5097 sysdep_routines.
5098 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5099 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5100 and bzero when HWCAP_SPARC_CRYPTO is present.
5101
9cee5585
L
51022012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5103
d7e0dab9
L
5104 [BZ #14602]
5105 * string/test-strstr.c (check2): New function.
5106 (test_main): Call check2.
5107
03759f47
L
5108 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5109 and bug-strchr1.
5110 * string/bug-strcasestr1.c (do_test): Moved to ...
5111 * string/test-strcasestr.c (check1): Here. New function.
5112 (do_one_test): Break out result checking code into ...
5113 (check_result): This. New function.
5114 (do_one_test): Call check_result.
5115 (test_main): Call check1.
5116 * string/bug-strchr1.c (do_test): Moved to ...
5117 * string/test-strchr.c (check1): Here. New function.
5118 (do_one_test): Break out result checking code into ...
5119 (check_result): This. New function.
5120 (do_one_test): Call check_result.
5121 (test_main): Call check1.
5122 * string/bug-strstr1.c (main): Moved to ...
046f153e 5123 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5124 (do_one_test): Break out result checking code into ...
5125 (check_result): This. New function.
5126 (do_one_test): Call check_result.
5127 (test_main): Call check1.
5128 * string/bug-strcasestr1.c: Removed.
5129 * string/bug-strchr1.c: Likewise.
5130 * string/bug-strstr1.c: Likewise.
5131
53cea63e
L
5132 * elf/Makefile (dl-routines): Add hwcaps.
5133 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5134 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5135 (_dl_important_hwcaps): Moved to ...
5136 * elf/dl-hwcaps.c: Here. New file.
5137 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5138
9cee5585 5139 [BZ #14557]
bb859b06
L
5140 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5141 if IS_IN_rtld isn't defined.
5142
9cee5585
L
5143 * elf/dl-support.c (_dl_sysinfo_map): New.
5144 Include "get-dynamic-info.h" and "setup-vdso.h".
5145 (_dl_non_dynamic_init): Call setup_vdso.
5146 * elf/dynamic-link.h: Don't include <assert.h>.
5147 (elf_get_dynamic_info): Moved to ...
5148 * elf/get-dynamic-info.h: Here. New file.
5149 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5150 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5151 * elf/setup-vdso.h: Here. New file.
5152 * elf/rtld.c: Include "setup-vdso.h".
5153 (dl_main): Call setup_vdso.
5154
23c31b76
JM
51552012-10-05 Joseph Myers <joseph@codesourcery.com>
5156
28234b07
JM
5157 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5158 creal in comment listing functions tested. List finite, isinf,
5159 isnan, isless, islessequal, isgreater, isgreaterequal,
5160 islessgreater, isunordered, lgamma_r and pow10 as functions and
5161 macros not tested. Mention which functions not tested are aliases
5162 for other functions. Fix typo. Note that signs of NaNs are not
5163 tested.
5164
23c31b76
JM
5165 * scripts/config.guess: Update from config.git.
5166 * scripts/config.sub: Likewise.
5167
9043e228
RM
51682012-10-04 Roland McGrath <roland@hack.frob.com>
5169
5170 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5171 * misc/madvise.c (madvise): Renamed to __madvise.
5172 Make madvise a weak alias.
5173 * include/sys/mman.h: Declare __madvise.
5174 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5175 * sysdeps/unix/syscalls.list
5176 (madvise): Make __madvise the strong name, and madvise a weak alias.
5177 * sysdeps/unix/sysv/linux/syscalls.list
5178 (madvise, mmap): Remove redundant entries.
5179 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5180 * malloc/malloc.c (mtrim): Likewise.
5181 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5182
f57f8055
RM
51832012-10-03 Roland McGrath <roland@hack.frob.com>
5184
5185 * sysdeps/mach/hurd/dl-cache.c: File removed.
5186 * config.h.in (USE_LDCONFIG): New #undef.
5187 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5188 * configure: Regenerated.
5189 * elf/Makefile (dl-routines): Add dl-cache only under
5190 [$(use-ldconfig) = yes].
5191 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5192 cache on [USE_LDCONFIG].
5193 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5194 [USE_LDCONFIG].
5195 * elf/rtld.c (dl_main): Likewise.
5196
5bb0c10a
PT
51972012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5198
5199 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5200 _SC_LEVEL4_CACHE_LINESIZE.
5201
010188c6
RM
52022012-10-03 Roland McGrath <roland@hack.frob.com>
5203
5204 * sysdeps/unix/bsd/confstr.h: File removed.
5205
b6c5ec07
AO
52062012-10-02 Alexandre Oliva <aoliva@redhat.com>
5207
5208 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5209 sys/sdt-config.h.
5210
408223d4
RM
52112012-10-02 Roland McGrath <roland@hack.frob.com>
5212
5213 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5214 Make 'mapoff' field ElfW(Off) rather than off_t.
5215
bb9510dc
DL
52162012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5217
fc997c6e
DL
5218 * nscd/Makefile: Remove nscd-cflags and all its users.
5219 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5220 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5221
bb9510dc
DL
5222 [BZ #10631]
5223 * malloc.c (malloc_printerr): Clarify error message.
5224
05699367
L
52252012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5226
5227 [BZ #14648]
5228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5229 Set bit_FMA_Usable if FMA is supported.
5230 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5231 macro.
5232 (bit_FMA4_Usable): Updated.
5233 (index_FMA_Usable): New macro.
5234 (CPUID_FMA): Likewise
5235 (HAS_FMA): Defined with bit_FMA_Usable.
5236
51367701
RM
52372012-10-01 Roland McGrath <roland@hack.frob.com>
5238
5239 * bits/types.h (__swblk_t): Type removed.
5240 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5241 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5243 (__SWBLK_T_TYPE): Likewise.
5244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5245 (__SWBLK_T_TYPE): Likewise.
5246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5247 (__SWBLK_T_TYPE): Likewise.
5248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5249 (__SWBLK_T_TYPE): Likewise.
5250
4d57bf63 52512012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5252 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5253
5254 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5255 (xdr_mapname): Use YPMAXMAP as maxsize.
5256 (xdr_peername): Use YPMAXPEER as maxsize.
5257 (xdr_keydat): Use YPAXRECORD as maxsize.
5258 (xdr_valdat): Use YPMAXRECORD as maxsize.
5259
93c65d43
RM
52602012-10-01 Roland McGrath <roland@hack.frob.com>
5261
497a03d6
RM
5262 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5263
93c65d43
RM
5264 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5265 * csu/init-first.c: ... here.
5266 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5267 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5268 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5270 * sysdeps/i386/init-first.c: File removed.
5271 * sysdeps/sh/init-first.c: File removed.
5272
bec749fd
JM
52732012-10-01 Joseph Myers <joseph@codesourcery.com>
5274
5275 [BZ #14645]
5276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5277 if x * y might underflow to zero and z is zero.
5278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5280 * math/libm-test.inc (min_subnorm_value): New variable.
5281 (fma_test): Add more tests.
5282 (fma_test_towardzero): Likewise.
5283 (fma_test_downward): Likewise
5284 (fma_test_upward): Likewise.
5285 (initialize): Set min_subnorm_value.
5286
8ec5b013
JM
52872012-09-29 Joseph Myers <joseph@codesourcery.com>
5288
5289 [BZ #14638]
5290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5291 0 + 0.
5292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5293 mode for addition resulting in exact zero.
5294 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5296 exact 0 + 0.
5297 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5298 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5299 * math/libm-test.inc (fma_test): Add more tests.
5300 (fma_test_towardzero): New function.
5301 (fma_test_downward): Likewise.
5302 (fma_test_upward): Likewise.
5303 (main): Call the new functions.
5304
b1fa802e
DM
53052012-09-28 David S. Miller <davem@davemloft.net>
5306
5307 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5308
d3b9fd9e
RM
53092012-09-28 Roland McGrath <roland@hack.frob.com>
5310
ea4d37b3
RM
5311 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5312 instead of SIGALRM.
5313
ac51c949
RM
5314 * sysdeps/gnu/_G_config.h: Moved to ...
5315 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5316 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5317 * sysdeps/generic/_G_config.h: ... here.
5318
28c195f7
RM
5319 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5320
848917f9
RM
5321 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5322
6bacf05b
RM
5323 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5324 Conditionalize target on [libnss_test1.so-version].
5325
91363dbb
RM
5326 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5327
cc87f7d8
RM
5328 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5329 (elfobjdir): Move out of conditionals.
5330
b1c608fe
RM
5331 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5332 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5333 (__nss_lookup_function): Conditionalize label remove_from_tree on
5334 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5335
1d9a6d96
DM
53362012-09-28 David S. Miller <davem@davemloft.net>
5337
5338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5339 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5340 file.
5341 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5342 sysdep_routines.
5343 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5345 when HWCAP_SPARC_CRYPTO is present.
5346
72581615
PT
53472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5348
5349 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5350
715a900c
JL
53512012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5352
5353 [BZ #6530]
5354 * stdio-common/vfprintf.c (process_string_arg): Revert
5355 2000-07-22 change.
5356
53572011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5358
5359 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5360 for testcase.
5361 * stdio-common/tst-sprintf.c: Include <locale.h>
5362 (main): Test sprintf's handling of incomplete multibyte
5363 characters.
5364
9bac1d86
L
53652012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5366
5367 * elf/dl-runtime.c (VERSYMIDX): Removed.
5368 * elf/dl-version.c (VERSYMIDX): Likewise.
5369 * elf/do-rel.h (VERSYMIDX): Likewise.
5370 (VALIDX): Likewise.
5371 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5372 * elf/rtld.c (VALIDX): Likewise.
5373 (ADDRIDX): Likewise.
9bac1d86
L
5374 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5375 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5376 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5377 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5378 (VALIDX): Likewise.
5379 (ADDRIDX): Likewise.
9bac1d86 5380
b31606c0
PT
53812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5382
5383 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5384
11541177
JL
53852012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5386
5387 [BZ #11438]
5388 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5389 to global scope.
5390 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5391 addresses are in the same scope as 192.0.2/24.
5392 * posix/gai.conf: Document new scope table defaults.
5393
adb26fae
SP
53942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5395
5396 [BZ #5298]
5397 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5398 for ftell. Compute offsets from write pointers instead.
5399 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5400
4573c6b0
SP
54012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5402
5403 [BZ #14543]
5404 * libio/Makefile (tests): New test case tst-fseek.
5405 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5406 combination works in wide mode.
5407 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5408 state when the external buffer state changes.
5409
aa9bbfe6
DM
54102012-09-27 David S. Miller <davem@davemloft.net>
5411
5412 [BZ #14376]
5413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5414 pass reloc->r_addend in as the 'high' argument to
5415 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5416
784421e7
DM
5417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5418
c39bc8b8
PT
54192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5420
5421 * rt/tst-aio2.c: Include <pthread.h>.
5422 * rt/tst-aio3.c: Likewise.
5423
1ccc2399
SE
54242012-09-27 Steve Ellcey <sellcey@mips.com>
5425
5426 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5427
31ed4153
L
54282012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5429
25f5f885
L
5430 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5431 contents on [SHARED].
31ed4153 5432
b7bfe116
MP
54332012-09-26 Marek Polacek <polacek@redhat.com>
5434
5435 [BZ #14530]
5436 [BZ #13741]
5437 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5438 for C++ and GCC <4.3 as well as for non GCC compilers.
5439
43c4edba
MT
54402012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5441
5442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5443
6a1bf82f
RM
54442012-09-25 Roland McGrath <roland@hack.frob.com>
5445
5446 * Makefile.in (all, install): Declare with .PHONY.
5447 Reported by Michael Hope <michael.hope@linaro.org>.
5448
8ad11b9a
TMQMF
54492012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5450
5451 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5452 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5453 system header.
5454 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5455 Likewise.
5456 (sydep_routines): Add the new and the internal functions.
5457 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5458 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5460 (GLIBC_2.17): Add the new function.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5462 (GLIBC_2.17): Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5464 (GLIBC_2.17): Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5466 (GLIBC_2.17): Likewise.
5467 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5468
7e2fca8d
AM
54692012-09-25 Alan Modra <amodra@gmail.com>
5470
5471 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5472 Add release barrier before setting once_control to say
5473 initialisation is done. Add hints on lwarx. Use macro in
5474 place of isync.
5475 (clear_once_control): Add release barrier.
5476
b87c4b24
JM
54772012-09-25 Joseph Myers <joseph@codesourcery.com>
5478
d032e0d2
JM
5479 [BZ #13629]
5480 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5481 specially.
5482 * math/s_clog10.c (__clog10): Likewise.
5483 * math/s_clog10f.c (__clog10f): Likewise.
5484 * math/s_clog10l.c (__clog10l): Likewise.
5485 * math/s_clogf.c (__clogf): Likewise.
5486 * math/s_clogl.c (__clogl): Likewise.
5487 * math/Makefile (libm-calls): Add x2y2m1.
5488 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5489 (__x2y2m1): Likewise.
5490 (__x2y2m1l): Likewise.
5491 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5492 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5495 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5497 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5498 * sysdeps/i386/fpu/libm-test-ulps: Update.
5499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5500
b87c4b24
JM
5501 [BZ #14621]
5502 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5503 int as type of variable DEPTH.
5504 (glob): Use size_t instead of int as type of variables NEWCOUNT
5505 and OLD_PATHC.
5506
6d3bf199
LD
55072012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5508
22bf5c17
LD
5509 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5510 Add s_sincosf-sse2.
5511 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5512 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5513 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5514 macros for using routine as __sincosf_ia32.
5515 Use macro for function declaration and weak_alias.
5516 * sysdeps/i386/fpu/libm-test-ulps: Update.
5517
5518 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5520
5521 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5522 subnormal argument.
5523 * math/s_cexpf.c (__cexpf): Likewise.
5524 * math/s_csinf.c (__csinf): Likewise.
5525 * math/s_csinhf.c (__csinhf): Likewise.
5526 * math/s_ctanf.c (__ctanf): Likewise.
5527 * math/s_ctanhf.c (__ctanhf): Likewise.
5528 * math/s_ccosh.c (__ccoshf): Likewise.
5529 * math/s_cexp.c (__cexpl): Likewise.
5530 * math/s_csin.c (__csin): Likewise.
5531 * math/s_csinh.c (__csinh): Likewise.
5532 * math/s_ctan.c (__ctan): Likewise.
5533 * math/s_ctanh.c (ctanh): Likewise.
5534 * math/s_ccoshl.c (__ccoshl): Likewise.
5535 * math/s_cexpl.c (__cexpl): Likewise.
5536 * math/s_csinl.c (__csinl): Likewise.
5537 * math/s_csinhl.c (__csinhl): Likewise.
5538 * math/s_ctanl.c (__ctanl): Likewise.
5539 * math/s_ctanhl.c (__ctanhl): Likewise.
5540
203e5603
JM
55412012-09-25 Joseph Myers <joseph@codesourcery.com>
5542
5543 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5544 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5545 (_IO_off_t): Define to __off_t, not _G_off_t.
5546 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5547 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5548 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5549 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5550 type of __dummy and __dummy2 fields.
5551 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5552 (_G_ssize_t): Likewise.
5553 (_G_off_t): Likewise.
5554 (_G_pid_t): Likewise.
5555 (_G_uid_t): Likewise.
5556 (_G_wchar_t): Likewise.
5557 (_G_wint_t): Likewise.
5558 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5559 (_G_ssize_t): Likewise.
5560 (_G_off_t): Likewise.
5561 (_G_pid_t): Likewise.
5562 (_G_uid_t): Likewise.
5563 (_G_wchar_t): Likewise.
5564 (_G_wint_t): Likewise.
5565 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5566 (_G_ssize_t): Likewise.
5567 (_G_off_t): Likewise.
5568 (_G_pid_t): Likewise.
5569 (_G_uid_t): Likewise.
5570 (_G_wchar_t): Likewise.
5571 (_G_wint_t): Likewise.
5572
9fab36eb
SP
55732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5574
5575 * malloc/arena.c: Include malloc-sysdep.h.
5576 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5577 is sufficient to shrink the heap or an unmap is needed.
5578 * sysdeps/generic/malloc-sysdep.h: New file. Define
5579 new function check_may_shrink_heap.
5580 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5581 new function check_may_shrink_heap.
5582
2b4f00d1
SP
55832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5584
5585 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5586 comments.
5587
9a9028b1
DL
55882012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5589
57c69bef
DL
5590 * catgets/test-gencat.sh: Add "set -e".
5591 * elf/tst-pathopt.sh: Likewise.
5592 * grp/tst_fgetgrent.sh: Likewise.
5593 * iconvdata/run-iconv-test.sh: Likewise.
5594 * intl/tst-gettext.sh: Likewise.
5595 * intl/tst-gettext2.sh: Likewise.
5596 * intl/tst-gettext4.sh: Likewise.
5597 * intl/tst-gettext6.sh: Likewise.
5598 * intl/tst-translit.sh: Likewise.
5599 * io/ftwtest-sh: Likewise.
5600 * libio/test-freopen.sh: Likewise.
5601 * malloc/tst-mtrace.sh: Likewise.
5602 * posix/globtest.sh: Likewise.
5603 * posix/tst-getconf.sh: Likewise.
5604 * posix/wordexp-tst.sh: Likewise.
5605 * stdio-common/tst-printf.sh: Likewise.
5606 * stdio-common/tst-unbputc.sh: Likewise.
5607 * stdlib/tst-fmtmsg.sh: Likewise.
5608 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5609 * catgets/Makefile: Do not specify -e option when running
5610 testsuite shell scripts.
5611 * elf/Makefile: Likewise.
5612 * grp/Makefile: Likewise.
5613 * iconvdata/Makefile: Likewise.
5614 * intl/Makefile: Likewise.
5615 * io/Makefile: Likewise.
5616 * libio/Makefile: Likewise.
5617 * malloc/Makefile: Likewise.
5618 * posix/Makefile: Likewise.
5619 * stdio-common/Makefile: Likewise.
5620 * stdlib/Makefile: Likewise.
5621 * sysdeps/x86_64/Makefile: Likewise.
5622
9a9028b1
DL
5623 * io/ftwtest-sh: Add copyright header.
5624 * posix/globtest.sh: Likewise.
5625 * posix/tst-getconf.sh: Likewise.
5626 * posix/wordexp-tst.sh: Likewise.
5627 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5628
ced6f16e
L
56292012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5630
94b32c39
L
5631 [BZ #13679]
5632 * Makeconfig (+link): Defined as $(+link-static) if
5633 $(build-shared) isn't yes.
5634 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5635 isn't yes.
5636 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5637
189e935b
L
5638 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5639
ced6f16e
L
5640 [BZ #14562]
5641 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5642 new chunk size with MALLOC_ALIGN_MASK.
5643
a9f8e53a
JM
56442012-09-24 Joseph Myers <joseph@codesourcery.com>
5645
5646 [BZ #5044]
5647 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5648 <rounding-mode.h>.
5649 (__printf_fphex): Determine rounding using get_rounding_mode and
5650 round_away.
5651 * stdio-common/tst-printf-round.c (struct hex_test): New
5652 structure.
5653 (hex_tests): New variable.
5654 (test_hex_in_one_mode): New function.
5655 (do_test): Also run tests for hex float output.
5656
43153109
JM
56572012-09-21 Joseph Myers <joseph@codesourcery.com>
5658
5659 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5660 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5661 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5662 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5663 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5664 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5665 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5666 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5667
8a26625d
JM
56682012-09-20 Joseph Myers <joseph@codesourcery.com>
5669
5670 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5671 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5672 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5673 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5674
f3fd569c
DL
56752012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5676
5677 [BZ #14579]
5678 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5679 mode only.
5680 * elf/tst-rtld-load-self.sh: New test.
5681 * elf/Makefile: Run it.
5682
63bbedd4
JM
56832012-09-18 Joseph Myers <joseph@codesourcery.com>
5684
5685 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5686 (tst-writev-ENV): Remove.
5687 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5688
626f8b6a
CM
56892012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5690
5691 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5692
b7aaa4d6
JM
56932012-09-17 Joseph Myers <joseph@codesourcery.com>
5694
5695 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5696 unconditional.
5697 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5698 Likewise.
5699 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5700 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5701 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5702 Likewise.
5703
65513990
L
57042012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5705
5706 [BZ #14587]
5707 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5708 * config.make.in (have-cpp-asm-debuginfo): Removed.
5709 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5710 * configure: Regenerated.
5711
784761be
JM
57122012-09-14 Joseph Myers <joseph@codesourcery.com>
5713
5714 [BZ #5044]
5715 * stdio-common/printf_fp.c: Include <stdbool.h> and
5716 <rounding-mode.h>.
5717 (___printf_fp): Determine rounding using get_rounding_mode and
5718 round_away.
5719 * stdio-common/tst-printf-round.c: New file.
5720 * stdio-common/Makefile (tests): Add tst-printf-round.
5721 (link-libm): New variable.
5722 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5723
9503345f
L
57242012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5725
5726 [BZ #14576]
5727 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5728 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5729 Likewise.
5730 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5731 Likewise.
5732
ad35fc00
JM
57332012-09-13 Joseph Myers <joseph@codesourcery.com>
5734
5735 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5736 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5737 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5738 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5739
6c9b0f68
JM
57402012-09-12 Joseph Myers <joseph@codesourcery.com>
5741
5742 [BZ #14518]
5743 * include/rounding-mode.h: New file.
5744 * sysdeps/generic/get-rounding-mode.h: Likewise.
5745 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5746 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5747 (MAX_VALUE): New macro.
5748 (MIN_VALUE): Likewise.
5749 (overflow_value): New function.
5750 (underflow_value): Likewise.
5751 (round_and_return): Use overflow_value and underflow_value to
5752 determine return values in overflow and underflow cases. Use
5753 round_away to determine rounding depending on rounding mode.
5754 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5755 determine return values in overflow and underflow cases.
5756 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5757 (struct test_results): New structure.
5758 (struct test): Use struct test_results to store expected results
5759 for all rounding modes.
5760 (TEST): Include expected results for all rounding modes.
5761 (test_in_one_mode): New function.
5762 (do_test): Use test_in_one_mode to compute and check results.
5763 Check results for all rounding modes.
5764 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5765 $(link-libm).
5766
19fcedd5
AM
57672012-12-09 Allan McRae <allan@archlinux.org>
5768
1e9d84cd 5769 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5770
8bbfd2f1
JM
57712012-09-11 Joseph Myers <joseph@codesourcery.com>
5772
5773 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5774 (_G_int32_t): Likewise.
5775 (_G_uint16_t): Likewise.
5776 (_G_uint32_t): Likewise.
5777 (_G_HAVE_BOOL): Likewise.
5778 (_G_HAVE_ATEXIT): Likewise.
5779 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5780 (_G_HAVE_IO_FILE_OPEN): Likewise.
5781 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5782 (_G_int32_t): Likewise.
5783 (_G_uint16_t): Likewise.
5784 (_G_uint32_t): Likewise.
5785 (_G_HAVE_BOOL): Likewise.
5786 (_G_HAVE_ATEXIT): Likewise.
5787 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5788 (_G_HAVE_IO_FILE_OPEN): Likewise.
5789 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5790 (_G_int32_t): Likewise.
5791 (_G_uint16_t): Likewise.
5792 (_G_uint32_t): Likewise.
5793 (_G_HAVE_BOOL): Likewise.
5794 (_G_HAVE_ATEXIT): Likewise.
5795 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5796 (_G_HAVE_IO_FILE_OPEN): Likewise.
5797
b1dc5912
L
57982012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5799
5800 * csu/libc-tls.c: Update copyright years.
5801
0e886ef9
JM
58022012-09-10 Joseph Myers <joseph@codesourcery.com>
5803
28361c5e
JM
5804 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5805 [!_G_USING_THUNKS]: Remove conditional code.
5806 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5807 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5808
0e886ef9
JM
5809 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5810 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5811 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5812 (_G_VTABLE_LABEL_PREFIX): Likewise.
5813 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5814 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5815 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5816 (_G_VTABLE_LABEL_PREFIX): Likewise.
5817 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5818 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5819 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5820 (_G_VTABLE_LABEL_PREFIX): Likewise.
5821 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5822
bcba7aa2
L
58232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5824
5825 * libio/Makefile: Include ../Makeconfig before tests.
5826 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5827 only if $(build-shared) is yes.
5828
06585ee8
L
5829 * iconv/gconv_db.c: Update copyright years.
5830
80ccd52c
LD
58312012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5832
5833 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5834 unwind info if defined PIC. Fix special cases description.
5835 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5836
5837 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5838 DP_HI_MASK entry.
5839 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5840
691bc9c1
L
58412012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5842
3d9b46b3
L
5843 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5844
de2139a9
L
5845 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5846 is NULL.
5847
5ca78dd0
L
5848 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5849 (LDLIBS-tst-chk4): This.
5850 (LDFLAGS-tst-chk5): Renamed to ...
5851 (LDLIBS-tst-chk5): This.
5852 (LDFLAGS-tst-chk6): Renamed to ...
5853 (LDLIBS-tst-chk6): This.
5854 (LDFLAGS-tst-lfschk4): Renamed to ...
5855 (LDLIBS-tst-lfschk4): This.
5856 (LDFLAGS-tst-lfschk5): Renamed to ...
5857 (LDLIBS-tst-lfschk5): This.
5858 (LDFLAGS-tst-lfschk6): Renamed to ...
5859 (LDLIBS-tst-lfschk6): This.
5860
691bc9c1
L
5861 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5862 on $(common-objpfx)soversions.mk.
5863
65cafb1c
JM
58642012-09-07 Joseph Myers <joseph@codesourcery.com>
5865
5866 [BZ #10014]
5867 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5868 example host name.
5869
c78ab094
SP
58702012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * malloc/arena.c (arena_get_retry): New function that gets
5873 another arena for the caller to try its request on.
5874 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5875 current arena cannot fulfill the request.
5876 (__libc_memalign): Likewise.
5877 (__libc_memalign): Likewise.
5878 (__libc_pvalloc): Likewise.
5879 (__libc_calloc): Likewise.
5880
01f49f59
JT
58812012-09-05 John Tobey <john.tobey@gmail.com>
5882
5883 [BZ #13542]
5884 * manual/arith.texi (Operations on Complex): Fix description
5885 of carg branch cut.
5886
4c23fed5
JM
58872012-09-06 Joseph Myers <joseph@codesourcery.com>
5888
1d3c8572
JM
5889 [BZ #10014]
5890 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5891 host name.
5892
4c23fed5
JM
5893 [BZ #10038]
5894 * manual/memory.texi (Memory): Make order of menu items match
5895 order of sections.
5896
04570aaa
L
58972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5898
5899 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5900 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5901 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5902
b80af2f4
L
59032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5904
5905 * csu/libc-tls.c (static_dtv): Renamed to ...
5906 (_dl_static_dtv): This. Make it global.
5907 (_dl_initial_dtv): Removed.
5908 (__libc_setup_tls): Updated.
5909 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5910 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5911 DL_INITIAL_DTV.
5912
2abe9f15
PM
59132012-09-06 Petr Machata <pmachata@redhat.com>
5914
5915 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5916 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5917 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5918 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5919
0948c3af
L
59202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5921
5922 [BZ #14545]
5923 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5924 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5925 freeing dtv[-1].
5926
a5055ad1
L
59272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5928
5929 [BZ #14544]
5930 * Makeconfig (link-static-before-libc): Replace $(+prector)
5931 with $(+prectorT).
5932 (link-static-after-libc): Replace $(+postctor) with
5933 $(+postctorT).
5934 (link-bounded): Replace $(+prector)/$(+postctor) with
5935 $(+prectorT)/$(+postctorT).
5936 (+prectorT): New macro.
5937 (+postctorT): Likewise.
5938
ed8c2ecd
JM
59392012-09-06 Joseph Myers <joseph@codesourcery.com>
5940
5941 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5942 (round_str): Handle values above the maximum for IBM long double
5943 as inexact.
5944 * stdlib/tst-strtod-round.c (tests): Regenerated.
5945
14c996c8
AK
59462012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5947
5948 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5949 assembler flag.
5950 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5951 zarch_nohighgprs around the zarch optimized routines.
5952 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5953 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5954 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5955 for zarch.
5956
430d6ce6
DM
59572012-09-05 David S. Miller <davem@davemloft.net>
5958
5959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5960
ff04dda4
DM
5961 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5962 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5963 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5964 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5965 entries.
5966
24d4e01b
AO
59672012-09-05 Alexandre Oliva <aoliva@redhat.com>
5968
5969 * malloc/arena.c: Fold copyright years.
5970 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5971
61d58174
AO
59722012-09-05 Alexandre Oliva <aoliva@redhat.com>
5973
5974 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5975
20196a5e
AO
59762012-09-05 Alexandre Oliva <aoliva@redhat.com>
5977
5978 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5979
5c447383
AO
59802012-09-05 Alexandre Oliva <aoliva@redhat.com>
5981
5982 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5983 change internal state upon failure.
5984
fad64255
AO
59852012-09-05 Alexandre Oliva <aoliva@redhat.com>
5986
5987 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5988 * malloc/memusage.c (mmap): Likewise.
5989 (mmap64, mremap): Likewise. Adjust name in comment.
5990
1ffb8c90
SP
59912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5992
5993 * libio/fileops.c: Fix typos in comments.
5994 * libio/oldfileops.c: Likewise.
5995 * libio/wfileops.c: Likewise.
5996
6ef9cc37
SP
59972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5998
5999 [BZ #1349]
6000 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6001 (tst-malloc-usable-ENV): Set environment for test case.
6002 * malloc/hooks.c (malloc_check_get_size): New function to get
6003 requested size.
6004 * malloc/malloc.c (musable): Use malloc_check_get_size.
6005 * malloc/tst-malloc-usable.c: New test case.
6006
4d038ae3
AS
60072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6008
6009 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6010
c4e85184
AM
60112012-09-05 Allan McRae <allan@archlinux.org>
6012
b9dafc56 6013 [BZ #13966]
c4e85184
AM
6014 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6015 determine header location.
6016 * configure: Regenerated.
6017
e1343020
AS
60182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6019
6020 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6021 float format.
6022 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6023 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6024 format.
e1343020
AS
6025 (test): Regenerate.
6026
0a9f1987
DM
60272012-09-04 David S. Miller <davem@davemloft.net>
6028
6029 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6030 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6032
29237804
FW
60332012-09-04 Florian Weimer <fweimer@redhat.com>
6034
6035 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6036 failures.
6037
edb3cb88
FW
6038 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6039
60160d83
JM
60402012-09-04 Joseph Myers <joseph@codesourcery.com>
6041
6042 [BZ #9914]
6043 * libio/iogetdelim.c: Include <limits.h>.
6044 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6045 + len + 1 would overflow.
6046
bcd6c8dc
AJ
60472012-09-03 Andreas Jaeger <aj@suse.de>
6048
6049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6050 * sysdeps/i386/fpu/libm-test-ulps: Update.
6051
4ffffbd2
LD
60522012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6053
6054 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6055 Add s_sinf-sse2, s_conf-sse2.
6056
6057 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6058 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6059 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6060 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6061
6062 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6063 for using routine as __sinf_ia32.
6064 Use macro for function declaration and weak_alias.
6065 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6066 for using routine as __cosf_ia32.
6067 Use macro for function declaration and weak_alias.
6068
6069 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6070 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6071
6072 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6073 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6075
6076 * math/libm-test.inc (cos_test): Add more test cases.
6077 (sin_test): Likewise.
6078 (sincos_test): Likewise.
6079
511fa286
AK
60802012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6081
6082 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6083 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6084 hidden.
6085 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6086
5f30cfec
L
60872012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6088
6089 [BZ #14538]
6090 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6091 first element of the GOT.
6092 (elf_machine_load_address): Return the difference between
6093 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6094
0786794f
AM
60952012-09-01 Allan McRae <allan@archlinux.org>
6096
5f30cfec
L
6097 [BZ #13412]
6098 * configure.in (AWK): Require gawk version 3.0 or later.
6099 * configure: Regenerated.
0786794f 6100
26889eac
JM
61012012-09-01 Joseph Myers <joseph@codesourcery.com>
6102
6103 * sysdeps/unix/sysv/linux/kernel-features.h
6104 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6105 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6106 [__NR_clock_getres]: Make code unconditional.
6107 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6108 (clock_getcpuclockid): Remove code left unreachable by removal of
6109 conditionals.
6110 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6111 code unconditional.
6112 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6113 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6114 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6115 Make code unconditional.
6116 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6117 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6118 * sysdeps/unix/sysv/linux/clock_settime.c
6119 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6120 conditional code.
6121 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6122 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6123
d22e28b0
L
61242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6125
6126 [BZ #14476]
6127 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6128 scripts/test-installation.pl.
6129
6130 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6131 and $ld_so_version if it is set.
6132
050af9c4
SP
61332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6134
6135 [BZ #14516]
6136 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6137 failure if reading from procfs failed.
6138 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6139
ad845c0b
JM
61402012-08-27 Joseph Myers <joseph@codesourcery.com>
6141
6142 * sysdeps/unix/sysv/linux/kernel-features.h
6143 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6144 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6145 Remove conditional code.
6146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6147 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6148 Remove conditional code.
6149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6150 * sysdeps/unix/sysv/linux/i386/fxstat.c
6151 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6153 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6154 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6156 * sysdeps/unix/sysv/linux/i386/lxstat.c
6157 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6159 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6160 Remove conditional code.
6161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6162 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6163 Remove conditional code.
6164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6165 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6166 <kernel-features.h>.
6167 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6168 Remove.
6169 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6170 Remove conditional code.
6171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6172 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6173 Remove conditional.
6174
5dbf56af
MF
61752012-08-27 Mike Frysinger <vapier@gentoo.org>
6176
6177 [BZ #5400]
6178 * NEWS: Add fixed bug number.
6179
d6e70f43
JM
61802012-08-27 Joseph Myers <joseph@codesourcery.com>
6181
7efb4737
JM
6182 [BZ #14519]
6183 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6184 underflowing exponent in case of negative sign.
6185 * stdlib/tst-strtod-round-data: Add more tests.
6186 * stdlib/tst-strtod-round.c (tests): Regenerated.
6187
af92131a
JM
6188 [BZ #3479]
6189 * stdlib/strtod_l.c (NDIG): Remove.
6190 (HEXNDIG): Likewise.
6191 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6192 smallest representable value.
6193 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6194 lie within an exact representation of 1/2 ulp of the result.
6195 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6196 unconditionally.
6197 (TENS_P9_IDX): Define unconditionally.
6198 (TENS_P9_SIZE): Likewise.
6199 (TENS_P10_IDX): Likewise.
6200 (TENS_P10_SIZE): Likewise.
6201 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6202 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6203 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6204 entries for 10^2^13 and 10^2^14.
6205 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6206 (TENS_P13_IDX): Define.
6207 (TENS_P13_SIZE): Likewise.
6208 (TENS_P14_IDX): Likewise.
6209 (TENS_P14_SIZE): Likewise.
6210 (_fpioconst_pow10): Change array size to
6211 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6212 unconditional.
6213 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6214 1024]: Add entries for 10^2^13 and 10^2^14.
6215 [LAST_POW10 > _LAST_POW10]: Remove #error.
6216 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6217 (_fpioconst_pow10): Change array size to
6218 FPIOCONST_POW10_ARRAY_SIZE.
6219 * stdlib/gen-fpioconst.c: New file.
6220 * stdlib/gen-tst-strtod-round.c: Likewise.
6221 * stdlib/tst-strtod-round-data: Likewise.
6222 * stdlib/tst-strtod-round.c: Likewise.
6223 * stdlib/Makefile (tests): Add tst-strtod-round.
6224
d6e70f43
JM
6225 [BZ #14459]
6226 * stdlib/strtod_l.c: Include <stdint.h>.
6227 (NDEBUG): Do not define.
6228 (round_and_return): Change EXPONENT parameter to type intmax_t.
6229 Rearrange calculations to avoid internal overflow possibilities.
6230 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6231 Rearrange calculations to avoid internal overflow possibilities.
6232 Assert that number fits inside MPNSIZE limbs.
6233 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6234 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6235 calculations and add assertions to avoid internal overflow
6236 possibilities. Add casts to avoid signed/unsigned operations.
6237 * stdlib/tst-strtod-overflow.c: New file.
6238 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6239
1f529f7d
MP
62402012-08-25 Marek Polacek <polacek@redhat.com>
6241
6242 * time/time.h: Fix some typos in comments.
6243
59a629f1
RM
62442012-08-23 Roland McGrath <roland@hack.frob.com>
6245
6246 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6247 * posix/tst-rfc3484-2.c: Likewise.
6248 * posix/tst-rfc3484-3.c: Likewise.
6249
d3bafbc9
SM
62502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6251
6252 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6253 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6254
4efcc022
JM
62552012-08-23 Joseph Myers <joseph@codesourcery.com>
6256
6257 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6258 #include of fxstatat64.c.
6259
3cc3ef96
RM
62602012-08-22 Roland McGrath <roland@hack.frob.com>
6261
f04e2132
RM
6262 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6263 * shadow/getspent_r.c: Likewise.
6264 * shadow/getspnam.c: Likewise.
6265 * shadow/getspnam_r.c: Likewise.
6266 * gshadow/getsgent.c: Likewise.
6267 * gshadow/getsgent_r.c: Likewise.
6268 * gshadow/getsgnam.c: Likewise.
6269 * gshadow/getsgnam_r.c: Likewise.
6270 * inet/getnetbyad.c: Likewise.
6271 * inet/getnetbyad_r.c: Likewise.
6272 * inet/getnetbynm.c: Likewise.
6273 * inet/getnetbynm_r.c: Likewise.
6274 * inet/getnetent.c: Likewise.
6275 * inet/getnetent_r.c: Likewise.
6276 * inet/getproto.c: Likewise.
6277 * inet/getproto_r.c: Likewise.
6278 * inet/getprtent.c: Likewise.
6279 * inet/getprtent_r.c: Likewise.
6280 * inet/getprtname.c: Likewise.
6281 * inet/getprtname_r.c: Likewise.
6282 * inet/getrpcbyname.c: Likewise.
6283 * inet/getrpcbyname_r.c: Likewise.
6284 * inet/getrpcbynumber.c: Likewise.
6285 * inet/getrpcbynumber_r.c: Likewise.
6286 * inet/getrpcent.c: Likewise.
6287 * inet/getrpcent_r.c: Likewise.
6288 * inet/getaliasent.c: Likewise.
6289 * inet/getaliasent_r.c: Likewise.
6290 * inet/getaliasname.c: Likewise.
6291 * inet/getaliasname_r.c: Likewise.
6292 * nscd/getgrgid_r.c: Likewise.
6293 * nscd/getgrnam_r.c: Likewise.
6294 * nscd/gethstbyad_r.c: Likewise.
6295 * nscd/gethstbynm3_r.c: Likewise.
6296 * nscd/getpwnam_r.c: Likewise.
6297 * nscd/getpwuid_r.c: Likewise.
6298 * nscd/getsrvbynm_r.c: Likewise.
6299 * nscd/getsrvbypt_r.c: Likewise.
6300 * nscd/gai.c: Likewise.
6301
c53d909c
RM
6302 * configure.in (build_nscd): New substituted variable, set
6303 by --disable-build-nscd and defaults to $use_nscd.
6304 * configure: Regenerated.
6305 * config.make.in (build-nscd): New substituted variable.
6306 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6307 Change conditional to require [$(build-nscd) = yes] as well.
6308 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6309
3cc3ef96
RM
6310 [BZ# 13696]
6311 * configure.in (use_nscd): New substituted variable, set by
6312 --disable-nscd. If enabled, define USE_NSCD.
6313 * configure: Regenerated.
6314 * config.h.in: Add USE_NSCD.
6315 * config.make.in (use-nscd): New substituted variable.
6316 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6317 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6318 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6319 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6320 (CFLAGS-getgrnam_r.c): Likewise.
6321 (CFLAGS-initgroups.c): Likewise.
6322 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6323 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6324 Variables removed.
6325 * inet/getnetgrent_r.c
6326 (nscd_setnetgrent): New function, broken out of ...
6327 (setnetgrent): ... here. Call it.
6328 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6329 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6330 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6331 * nscd/Makefile (routines, aux): Move definitions after include of
6332 Makeconfig. Conditionalize on [$(use-nscd) != no].
6333 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6334 Conditionalize on [USE_NSCD].
6335 (is_nscd, nscd_init_cb): Likewise.
6336 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6337 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6338 * nss/nss_db/db-init.c: Likewise.
6339 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6340 [USE_NSCD].
6341 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6342 (make_request): Use it.
6343 (cache_valid_p): New function.
6344 (__check_pf): Use it.
6345 * NEWS: Add item for --disable-nscd.
6346
07e51550
DL
63472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6348
6349 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6350 to support sed >= 4.2.1-20-ga9bf076.
6351 * configure: Regenerated.
6352
35a5b08b
RM
63532012-08-22 Roland McGrath <roland@hack.frob.com>
6354
6355 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6356 Conditionalize whole body on [IREL].
6357
8479f23a
JL
63582012-08-22 Jeff Law <law@redhat.com>
6359
6360 [BZ #14505]
6361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6362 if the family is PF_UNSPEC.
6363
48da0b21
MF
63642012-08-22 Mike Frysinger <vapier@gentoo.org>
6365
6366 * Makerules (lib-version): Rename from V.
6367 (install-lib-nosubdir): Change V to lib-version.
6368
15d0da8c
WS
63692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6370
6371 [BZ #14252]
6372 * powerpc32/power6/wcschr.c: New file.
6373 * powerpc32/power6/wcscpy.c: New file.
6374 * powerpc32/power6/wcsrchr.c: New file.
6375 * powerpc64/power6/wcschr.c: New file.
6376 * powerpc64/power6/wcscpy.c: New file.
6377 * powerpc64/power6/wcsrchr.c: New file.
6378
bcca0895
MK
63792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6380
6381 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6382 (two_way_short_needle): Use it.
5a4aaa33
RM
6383 * string/strstr.c (AVAILABLE1_USES_J): Define.
6384 * string/strcasestr.c: Likewise.
99677e57
MK
6385
6386 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6387 array references.
6388 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6389
400726de
MK
6390 [BZ #11607]
6391 * NEWS: Add an entry.
6392 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6393 define their defaults.
6394 (two_way_short_needle): Detect end-of-string on-the-fly.
6395 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6396 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6397 * string/bug-strcasestr1.c: New test.
6398 * string/Makefile: Run it.
6399
20a71f2c
MK
64002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6401
6402 [BZ #11607]
6403 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6404 the first character.
6405
21ad0558
RM
64062012-08-21 Roland McGrath <roland@hack.frob.com>
6407
6408 * csu/elf-init.c (__libc_csu_irel): Function removed.
6409 * csu/libc-start.c (apply_irel): New function.
6410 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6411
0e1d9911
JM
64122012-08-21 Joseph Myers <joseph@codesourcery.com>
6413
6414 * sysdeps/unix/sysv/linux/kernel-features.h
6415 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6416 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6417 <kernel-features.h>.
6418 [__NR_fadvise64_64]: Make code unconditional.
6419 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6420 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6421 !__NR_fadvise64_64)]: Likewise.
6422 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6423 !__NR_fadvise64_64))]: Likewise.
6424 [__NR_fadvise64]: Make code unconditional.
6425 [!__NR_fadvise64]: Remove conditional code.
6426 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6427 <kernel-features.h>.
6428 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6429 unconditional.
6430 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6431 conditional code.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6433 not include <kernel-features.h>.
6434 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6435 unconditional.
6436 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6437 conditional code.
6438 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6439 include <kernel-features.h>.
6440 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6441 unconditional.
6442 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6443 conditional code.
6444
14a50c9d
WS
64452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6446
6447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6448 slight instruction rearrangements per scrollpipe analysis.
6449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6450
c0f4faf0
RM
64512012-08-20 Roland McGrath <roland@hack.frob.com>
6452
696da859
RM
6453 * manual/syslog.texi (syslog; vsyslog, closelog):
6454 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6455 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6456
c0f4faf0
RM
6457 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6458 DSOCAPS to match condition on defining it.
6459
348363b2
JM
64602012-08-20 Joseph Myers <joseph@codesourcery.com>
6461
a35cbf28
JM
6462 * sysdeps/unix/sysv/linux/kernel-features.h
6463 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6465 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6466 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6468 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6469 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6471 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6472 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6473
445f7ecd
JM
6474 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6475 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6476
348363b2
JM
6477 * sysdeps/unix/sysv/linux/kernel-features.h
6478 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6479 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6480 unconditional.
6481 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6482 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6483 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6484 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6485 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6486 Make code unconditional.
6487 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6488 (__mmap64) [!__NR_mmap2]: Likewise.
6489 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6490 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6491 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6492 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6493 [__NR_mmap2]: Make code unconditional.
6494 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6495 (__mmap64) [!__NR_mmap2]: Likewise.
6496
bc5bc0e5
AK
64972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6498
6499 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6500
88d506de
AJ
65012012-08-18 Andreas Jaeger <aj@suse.de>
6502
6503 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6504
493387d2
MF
65052012-08-18 Mike Frysinger <vapier@gentoo.org>
6506
6507 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6508 * include/unistd.h (__have_sock_cloexec): Likewise.
6509 (__have_pipe2): Likewise.
6510 (__have_dup3): Likewise.
6511
a277af22
MF
65122012-08-18 Mike Frysinger <vapier@gentoo.org>
6513
6514 [BZ #9685]
6515 * include/unistd.h (__have_pipe2): Change define into an extern int.
6516 (__have_dup3): Likewise.
6517 * socket/have_sock_cloexec.c: Include fcntl.h.
6518 (__have_pipe2): New variable.
6519 (__have_dup3): Likewise.
6520
fdab8fd3
MF
65212012-08-17 Mike Frysinger <vapier@gentoo.org>
6522
6523 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6524
31035e80
MP
65252012-08-17 Marek Polacek <polacek@redhat.com>
6526
6527 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6528 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6529
3bd9e993
RM
65302012-08-17 Roland McGrath <roland@hack.frob.com>
6531
c91c505f
RM
6532 * configure.in: Add AC_SUBST for sysheaders.
6533 * configure: Regenerated.
6534 * config.make.in (sysheaders): New substituted variable.
6535
7c6f9d53
RM
6536 * sysdeps/unix/mkfifo.c: Moved ...
6537 * sysdeps/posix/mkfifo.c: ... here.
6538 * sysdeps/unix/mkfifoat.c: Moved ...
6539 * sysdeps/posix/mkfifoat.c: ... here.
6540
6541 * sysdeps/unix/utime.c: Moved ...
6542 * sysdeps/posix/utime.c: ... here.
6543
6544 * sysdeps/unix/time.c: Moved ...
6545 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6546 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6548
6549 * sysdeps/unix/nice.c: Moved ...
6550 * sysdeps/posix/nice.c: ... here.
6551
6552 * sysdeps/unix/alarm.c: Moved ...
6553 * sysdeps/posix/alarm.c: ... here.
6554
3bd9e993
RM
6555 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6556
d1f09384
JL
65572012-08-17 Jeff Law <law@redhat.com>
6558
6559 * intl/Makefile (codeset_mo): New variable.
6560 ($(codeset_mo)): New target.
6561 (tst-codeset.out): Depend on that. Remove explicit rule.
6562 (tst-gettext3.out, tst-gettext5.out): Likewise.
6563 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6564 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6565 * intl/tst-codeset.sh: Remove.
6566 * intl/tst-gettext3.sh: Likewise.
6567 * intl/tst-gettext5.sh: Likewise.
6568
2ae1ae5c
RM
65692012-08-17 Roland McGrath <roland@hack.frob.com>
6570
c31fdb83
RM
6571 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6572 * sysdeps/unix/syscalls.list: ... here.
6573
a0844057
RM
6574 * sysdeps/posix/getaddrinfo.c
6575 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6576 (gaiconf_init, gaiconf_reload): Use them.
6577 [!_STATBUF_ST_NSEC]
6578 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6579 Define using time_t rather than struct timespec.
6580
750c1f2a
RM
6581 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6582 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6583 Macros removed.
6584 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6585 [!NO_THREADS].
6586 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6587 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6588 Likewise.
6589
2ae1ae5c
RM
6590 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6591 __libc_cleanup_push argument.
6592
e66a42f5
RM
6593 * bits/param.h: New file.
6594 * misc/sys/param.h: New file.
6595 * include/sys/param.h: New file.
6596 * misc/Makefile (headers): Add bits/param.h.
6597 * sysdeps/generic/sys/param.h: File removed.
6598 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6599 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6600 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6601 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6602
b7c08a66
RM
6603 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6604 last change.
6605
b2e1c562
RM
6606 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6607 [_IO_MTSAFE_IO].
6608 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6609 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6610 New macros.
6611
c75ccd4c
RM
6612 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6613 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6614 rather than -D_IO_MTSAFE_IO conditionally.
6615 * stdio-common/Makefile (CPPFLAGS): Likewise.
6616 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6617 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6618 Use $(libio-mtsafe).
6619 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6620 of -D_IO_MTSAFE_IO.
6621 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6622 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6623 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6624 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6625 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6626 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6627 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6628 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6629 (CFLAGS-fread_u_chk.c): Likewise.
6630 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6631 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6632 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6633 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6634 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6635 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6636 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6637 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6638 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6639
6640 * libio/Makefile: Test [$(libc-reentrant) = yes]
6641 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6642
6643 * Makeconfig
6644 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6645 * sysdeps/pthread/configure: File removed.
6646 * sysdeps/pthread/Makeconfig: New file.
6647 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6648 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6649
d9195db8
GB
66502012-08-16 Gary Benson <gbenson@redhat.com>
6651
6652 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6653 unmapping the first object in a namespace.
6654
86466cd9
RM
66552012-08-16 Roland McGrath <roland@hack.frob.com>
6656
6657 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6658 (__internal_setnetgrent): ... this. Add internal_function to
6659 definition. Add libc_hidden_def.
6660 (setnetgrent): Update caller.
6661 (internal_endnetgrent): Renamed to ...
6662 (__internal_endnetgrent): ... this. Add internal_function to
6663 definition. Add libc_hidden_def.
6664 (endnetgrent): Update caller.
6665 (internal_getnetgrent_r): Renamed to ...
6666 (__internal_getnetgrent_r): ... this. Add internal_function to
6667 definition. Add libc_hidden_def.
6668 (__getnetgrent_r): Update caller.
6669 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6670
c3c8283c
JM
66712012-08-16 Joseph Myers <joseph@codesourcery.com>
6672
6673 * stdlib/longlong.h: Update from GCC.
6674
db1ee0a8
RM
66752012-08-16 Roland McGrath <roland@hack.frob.com>
6676
6677 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6678 on _QL, which is set by umul_ppmm but never used.
6679 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6680 variables, which are set by GMP macros but never used.
6681 * stdio-common/_itowa.c (_itowa): Likewise.
6682 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6683 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6684
30f69637
CD
66852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6686
6687 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6688 struct La_sh_regs is not constant.
6689 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6690 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6691 and struct La_sparc64_regs are not constant.
6692
93a78ac4
JM
66932012-08-16 Joseph Myers <joseph@codesourcery.com>
6694
6695 * sysdeps/unix/sysv/linux/kernel-features.h
6696 (__ASSUME_POSIX_TIMERS): Remove.
6697 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6699 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6700 Make code unconditional.
6701 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6702 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6703 Make code unconditional.
6704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6705 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6706 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6708 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6709 Make code unconditional.
6710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6711 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6712 (__libc_missing_posix_timers): Remove.
6713
dd924cd7
RM
67142012-08-15 Roland McGrath <roland@hack.frob.com>
6715
4b4f2771
RM
6716 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6717 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6718
601c888b
RM
6719 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6720
176790a7
RM
6721 * elf/dl-sym.c: Include <stdlib.h>.
6722
329bc018
RM
6723 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6724 constants, which avoids warnings in 32-bit builds.
6725
e04e272d
RM
6726 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6727 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6728
952bf94a
RM
6729 * misc/lseek.c: File moved to ...
6730 * io/lseek.c: ... here.
6731
7c99b50a
RM
6732 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6733
dd924cd7
RM
6734 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6735 shifting LEN more than 31 bits at once.
6736
b3f479a8
LD
67372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6738
6739 [BZ #14195]
8c4ae0d4
RM
6740 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6741 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6742 * string/test-strncasecmp.c (check1): Renamed to...
6743 (bz12205): ...this.
6744 (bz14195): Add new testcase for two empty input strings and N > 0.
6745 (test_main): Call new testcase, adapt for renamed function.
6746
9c55864e
AJ
67472012-08-15 Andreas Jaeger <aj@suse.de>
6748
6749 [BZ #14090]
6750 * crypt/md5test2.c: New test, based on test supplied by Serge
6751 Belyshev <belyshev@depni.sinp.msu.ru>.
6752 * crypt/Makefile (xtests): Add md5test-giant..
6753 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6754
02dcb6c5
PE
67552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6756
6757 [BZ #14090]
6758 * crypt/md5.c (md5_process_block): Don't assume the buffer
6759 length is less than 2**32.
6760 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6761 length is less than 2**64.
6762
a3f95dcc
RM
67632012-08-15 Roland McGrath <roland@hack.frob.com>
6764
be75d758
RM
6765 * string/str-two-way.h: Include <sys/param.h>.
6766 (MAX): Macro removed.
6767
7312ca90
RM
6768 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6769 Move #define and #undef of memmove to just before and after
6770 including <string.h>.
6771
9a0a5486
RM
6772 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6773 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6774 and after including <string.h>. Move declarations of
6775 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6776 to before #include "string/memmove.c".
6777
67cc348d
RM
6778 * include/dirent.h: Declare __getdirentries.
6779
a3f95dcc
RM
6780 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6781 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6782
ca98e171
MF
67832012-08-14 Mike Frysinger <vapier@gentoo.org>
6784
6785 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6786 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6787 * sysdeps/i386/configure: Regenerated.
6788 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6789 STABS_CURRENT_FILE, and STABS_FUN.
6790 (END): Remove call to STABS_FUN_END.
6791 (STABS_CURRENT_FILE1): Delete.
6792 (STABS_CURRENT_FILE): Likewise.
6793 (STABS_FUN): Likewise.
6794 (STABS_FUN_END): Likewise.
6795 (STABS_FUN2): Likewise.
6796 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6797 * sysdeps/x86_64/configure: Regenerated.
6798
5908bf46
RM
67992012-08-14 Roland McGrath <roland@hack.frob.com>
6800
6801 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6802 * elf/dl-lookup.c: Likewise.
5908bf46 6803
f2c05b9e
JM
68042012-08-14 Joseph Myers <joseph@codesourcery.com>
6805
6806 * sysdeps/unix/sysv/linux/kernel-features.h
6807 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6808 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6809 unconditionally.
6810 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6811 unconditionally.
6812 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6813 condition on __ASSUME_CLONE_THREAD_FLAGS.
6814
e11f5155
AJ
68152012-08-14 Andreas Jaeger <aj@suse.de>
6816
6817 * sysdeps/i386/fpu/libm-test-ulps: Update.
6818
51a9ba86
MK
68192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6820
2fdd4f78
AJ
6821 * include/atomic.h (atomic_exchange_and_add): Split into ...
6822 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6823 New atomic macros.
51a9ba86 6824
ba6cba9e
MT
68252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6826
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6828
42443a47
JL
68292012-08-13 Jeff Law <law@redhat.com>
6830
6831 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6832 null byte in the output string.
6833
121dce05
JM
68342012-08-10 Joseph Myers <joseph@codesourcery.com>
6835
6836 * sysdeps/unix/sysv/linux/kernel-features.h
6837 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6838 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6839 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6840 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6841 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6842 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6843 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6844
bf51f568
JL
68452012-08-09 Jeff Law <law@redhat.com>
6846
6847 [BZ #13939]
6848 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6849 When avoid_arena is set, don't retry in the that arena. Pick the
6850 next one, whatever it might be.
6851 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6852 (arena_lock): Pass in new parameter to arena_get2.
6853 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6854 arena_get2.
6855 (__libc_malloc): Unify retrying after main arena failure with
6856 __libc_memalign version.
6857 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6858
f85fa270
L
68592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6860
6861 [BZ #14166]
6862 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6863 to __redirect_strstr.
6864 (__strstr_sse42): Use typeof __redirect_strstr.
6865 (__strstr_ia32): Likewise.
6866 (__libc_strstr): New prototype.
6867 (strstr): Renamed to ...
6868 (__libc_strstr): This.
6869 (strstr): New strong alias of __libc_strstr.
6870 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6871 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6872 __redirect_time.
6873 Include <time.h>.
6874 (__libc_time): New prototype.
6875 (time_ifunc): Replace time with __libc_time.
6876 (time): New strong alias and hidden definition of __libc_time.
6877 (__GI_time): Remove strong alias.
6878 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6879 Include <stddef.h>.
6880 (memmove): Redefined to __redirect_memmove.
6881 (__memmove_sse2): Use typeof __redirect_memmove.
6882 (__memmove_ssse3): Likewise.
6883 (__memmove_ssse3_back): Likewise.
6884 (__libc_memmove): New prototype.
6885 (memmove): Renamed to ...
6886 (__libc_memmove): This.
6887 (memmove): New strong alias of __libc_memmove.
6888
33b4a91e
MS
68892012-08-08 Mark Salter <msalter@redhat.com>
6890
6891 * elf/elf.h
6892 (R_MN10300_TLS_GD): Define.
6893 (R_MN10300_TLS_LD): Likewise.
6894 (R_MN10300_TLS_LDO): Likewise.
6895 (R_MN10300_TLS_GOTIE): Likewise.
6896 (R_MN10300_TLS_IE): Likewise.
6897 (R_MN10300_TLS_LE): Likewise.
6898 (R_MN10300_TLS_DTPMOD): Likewise.
6899 (R_MN10300_TLS_DTPOFF): Likewise.
6900 (R_MN10300_TLS_TPOFF): Likewise.
6901 (R_MN10300_SYM_DIFF): Likewise.
6902 (R_MN10300_ALIGN): Likewise.
6903 (R_MN10300_NUM): Update.
6904
b36137f1
JM
69052012-08-08 Joseph Myers <joseph@codesourcery.com>
6906
6907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6908 Remove.
6909
cdd915fd
RM
69102012-08-08 Roland McGrath <roland@hack.frob.com>
6911
a2433aac
RM
6912 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6913
cdd915fd
RM
6914 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6915 sysdeps/unix -> sysdeps/posix move.
6916 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6917
bf9b740a
AM
69182012-08-07 Allan McRae <allan@archlinux.org>
6919
6920 [BZ #14303]
6921 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6922 (SUNOS_CPP): Likewise.
6923 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6924 not found.
6925 (open_input): Call CPP using execvp.
6926
93df14ee
JM
69272012-08-07 Joseph Myers <joseph@codesourcery.com>
6928
6929 * sysdeps/unix/sysv/linux/kernel-features.h
6930 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6931 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6932 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6933 (__ASSUME_WAITID_SYSCALL): Likewise.
6934 * sysdeps/unix/sysv/linux/dl-execstack.c
6935 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6936 code unconditional.
6937 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6938 conditional code.
6939 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6940 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6941 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6942 code.
6943 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6944 unconditional.
6945 [__ASSUME_WAITID_SYSCALL]: Likewise.
6946 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6947
d34689de
RM
69482012-08-07 Roland McGrath <roland@hack.frob.com>
6949
a281decc
RM
6950 * sysdeps/unix/closedir.c: Renamed to ...
6951 * sysdeps/posix/closedir.c: ... here.
6952 * sysdeps/unix/dirfd.c: Renamed to ...
6953 * sysdeps/posix/dirfd.c: ... here.
6954 * sysdeps/unix/dirstream.h: Renamed to ...
6955 * sysdeps/posix/dirstream.h: ... here.
6956 * sysdeps/unix/fdopendir.c: Renamed to ...
6957 * sysdeps/posix/fdopendir.c: ... here.
6958 * sysdeps/unix/opendir.c: Renamed to ...
6959 * sysdeps/posix/opendir.c: ... here.
6960 * sysdeps/unix/readdir.c: Renamed to ...
6961 * sysdeps/posix/readdir.c: ... here.
6962 * sysdeps/unix/readdir_r.c: Renamed to ...
6963 * sysdeps/posix/readdir_r.c: ... here.
6964 * sysdeps/unix/rewinddir.c: Renamed to ...
6965 * sysdeps/posix/rewinddir.c: ... here.
6966 * sysdeps/unix/seekdir.c: Renamed to ...
6967 * sysdeps/posix/seekdir.c: ... here.
6968 * sysdeps/unix/telldir.c: Renamed to ...
6969 * sysdeps/posix/telldir.c: ... here.
6970 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6971 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6972 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6973 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6974
22895b47
RM
6975 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6976 * bits/fcntl.h: ... here.
6977
707a53b6
RM
6978 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6979 not 0.
6980 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6981 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6982 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6983 (struct flock): Move l_start, l_len to the beginning.
6984 Use __pid_t for l_pid.
6985 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6986 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6987 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6988 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6989 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6990 [__USE_LARGEFILE64] (struct flock64): New type.
6991 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6992
f0bd3e25
RM
6993 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6994 * bits/dirent.h: ... here.
6995
d34689de
RM
6996 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6997 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6998
6dad2c06
JM
69992012-08-07 Joseph Myers <joseph@codesourcery.com>
7000
7001 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7002 Change from 2.6.0 to 2.6.16.
7003 * sysdeps/unix/sysv/linux/configure: Regenerated.
7004 * sysdeps/unix/sysv/linux/kernel-features.h
7005 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7006 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7007 version.
7008 (__ASSUME_UTIMES): Likewise.
7009 (__ASSUME_CLONE_STOPPED): Remove.
7010 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7011 architectures, not kernel version.
7012 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7013 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7014 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7015 (__ASSUME_WAITID_SYSCALL): Likewise.
7016 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7017 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7018 * README: State 2.6.16 as minimum Linux kernel version. Do not
7019 refer to older versions.
7020
03af9520
RM
70212012-08-06 Roland McGrath <roland@hack.frob.com>
7022
8e49df1d
RM
7023 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7024 Define alphasort64 as an alias.
7025 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7026 Define versionsort64 as an alias.
7027 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7028 Define scandir64 as an alias.
7029 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7030 Define scandirat64 as an alias.
7031 * dirent/alphasort64.c (alphasort64):
7032 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7033 * dirent/versionsort64.c: Likewise.
7034 * dirent/scandir64.c: Likewise.
7035 * dirent/scandirat64.c: Likewise.
7036 * sysdeps/wordsize-64/alphasort.c: File removed.
7037 * sysdeps/wordsize-64/alphasort64.c: File removed.
7038 * sysdeps/wordsize-64/scandir.c: File removed.
7039 * sysdeps/wordsize-64/scandir64.c: File removed.
7040 * sysdeps/wordsize-64/scandirat.c: File removed.
7041 * sysdeps/wordsize-64/scandirat64.c: File removed.
7042 * sysdeps/wordsize-64/versionsort.c: File removed.
7043 * sysdeps/wordsize-64/versionsort64.c: File removed.
7044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7046 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7048 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7050 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7051 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7052
7053 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7054 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7055 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7056 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7057 [defined __arch64__ || defined __sparcv9]
7058 (__INO_T_MATCHES_INO64_T): New macro.
7059 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7060 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7061 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7062 * sysdeps/unix/sysv/linux/bits/dirent.h
7063 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7064 (_DIRENT_MATCHES_DIRENT64): New macro.
7065
03af9520
RM
7066 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7067 Define lockf64 as an alias.
7068 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7069 Define fseeko64 as an alias.
7070 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7071 Define ftello64 as an alias.
7072 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7073 Define _IO_fgetpos64 and fgetpos64 as aliases.
7074 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7075 Define _IO_fsetpos64 and fsetpos64 as aliases.
7076 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7077 Conditionalize body on this.
7078 * libio/fseeko64.c: Likewise.
7079 * libio/ftello64.c: Likewise.
7080 * libio/iofgetpos64.c: Likewise.
7081 * libio/iofsetpos64.c: Likewise.
7082 * sysdeps/wordsize-64/lockf.c: File removed.
7083 * sysdeps/wordsize-64/lockf64.c: File removed.
7084 * sysdeps/wordsize-64/fseeko.c: File removed.
7085 * sysdeps/wordsize-64/fseeko64.c: File removed.
7086 * sysdeps/wordsize-64/ftello.c: File removed.
7087 * sysdeps/wordsize-64/ftello64.c: File removed.
7088 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7089 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7090 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7091 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7098 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7099 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7100 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7101 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7102
7103 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7105 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7107 [defined __arch64__ || defined __sparcv9]
7108 (__OFF_T_MATCHES_OFF64_T): New macro.
7109 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7110 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7112 (__OFF_T_MATCHES_OFF64_T): New macro.
7113
c5757acd
L
71142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * stdlib/secure-getenv.c (__secure_getenv): Replace
7117 GLIBC_2_16 with GLIBC_2_17.
7118
3a31811e
L
71192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7120
7121 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7122 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7123
faa2bccb
DM
71242012-08-03 David S. Miller <davem@davemloft.net>
7125
7126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7127
85fe1997
JM
71282012-08-03 Joseph Myers <joseph@codesourcery.com>
7129
7130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7131 Remove.
7132 (__ASSUME_CORRECT_SI_PID): Likewise.
7133 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7134 (__ASSUME_TMPFS_NAME): Likewise.
7135 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7136 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7137 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7138 (HAVE_AUX_SECURE): Make definition unconditional.
7139 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7140 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7141
4f75b7a0
RM
71422012-08-03 Roland McGrath <roland@hack.frob.com>
7143
7144 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7145 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7146 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7147 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7148 __eloop_threshold instead of SYMLOOP_MAX.
7149
7150 * sysdeps/generic/eloop-threshold.h: New file.
7151 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7152 of MAXSYMLINKS.
7153 * elf/chroot_canon.c (chroot_canon): Likewise.
7154
7aab07e4
JM
71552012-08-03 Joseph Myers <joseph@codesourcery.com>
7156
7157 [BZ #13717]
7158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7159 Change to 2.6.0 everywhere.
7160 * sysdeps/unix/sysv/linux/configure: Regenerated.
7161 * sysdeps/unix/sysv/linux/kernel-features.h
7162 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7163 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7164 kernel versions.
7165 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7166 (__ASSUME_FUTEX_REQUEUE): Remove.
7167 (__ASSUME_STATFS64): Define unconditionally.
7168 (__ASSUME_AT_SECURE): Likewise.
7169 (__ASSUME_CORRECT_SI_PID): Likewise.
7170 (__ASSUME_TGKILL): Define without depending on kernel version for
7171 i386.
7172 (__ASSUME_UTIMES): Likewise.
7173 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7174 kernel version.
7175 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7176 (__ASSUME_TMPFS_NAME): Likewise.
7177 * README: Update reference to Linux kernel versions.
7178
b67e9372
MP
71792012-08-02 Marek Polacek <polacek@redhat.com>
7180
1f529f7d 7181 [BZ# 14150]
b67e9372
MP
7182 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7183 libc_cv_asm_type_prefix with %.
7184 * configure: Regenerated.
d2441631
RM
7185 * include/libc-symbols.h: Remove comment about
7186 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7187 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7188 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7189 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7190 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7191 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7192 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7193 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7194 * elf/tst-unique2mod1.c: Likewise.
7195 * elf/tst-unique1mod2.c: Likewise.
7196 * elf/tst-unique1mod1.c: Likewise.
7197 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7198 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7199 Replace ASM_TYPE_DIRECTIVE with .type.
7200 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7201 * sysdeps/i386/sysdep.h: Likewise.
7202 * sysdeps/x86_64/sysdep.h: Likewise.
7203 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7205 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7206 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7207 * sysdeps/powerpc/powerpc32/sysdep.h:
7208 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7209 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7210 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7211 * sysdeps/i386/fpu/e_powf.S: Likewise.
7212 * sysdeps/i386/fpu/e_expl.S: Likewise.
7213 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7214 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7215 * sysdeps/i386/fpu/e_pow.S: Likewise.
7216 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7217 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7218 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7219 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7220 * sysdeps/i386/fpu/e_log2.S: Likewise.
7221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7222 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7223 * sysdeps/i386/fpu/e_powl.S: Likewise.
7224 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7225 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7226 * sysdeps/i386/fpu/e_logl.S: Likewise.
7227 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7228 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7229 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7230 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7231 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7232 * sysdeps/i386/fpu/e_log.S: Likewise.
7233 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7234 * sysdeps/i386/fpu/e_logf.S: Likewise.
7235 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7236 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7237 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7238 * sysdeps/i386/fpu/e_log10.S: Likewise.
7239 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7241 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7242 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7243 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7244 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7245 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7246 * sysdeps/i386/i686/strtok.S: Likewise.
7247 * sysdeps/i386/i386-mcount.S: Likewise.
7248 * sysdeps/i386/strtok.S: Likewise.
7249 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7253 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7254 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7255 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7256 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7258 * sysdeps/x86_64/_mcount.S: Likewise.
7259 * sysdeps/x86_64/strtok.S: Likewise.
7260 * sysdeps/sh/_mcount.S: Likewise.
7261
2747bf9a
RM
72622012-08-01 Roland McGrath <roland@hack.frob.com>
7263
7264 * libio/iofopen.c: Include <fcntl.h>.
7265 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7266 (_IO_fopen64, fopen64): Define as aliases.
7267 * libio/iofopen64.c: Include <fcntl.h>.
7268 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7269 Conditionalize body on this.
7270 * sysdeps/wordsize-64/iofopen.c: File removed.
7271 * sysdeps/wordsize-64/iofopen64.c: File removed.
7272
3fb791b8
MP
72732012-08-01 Marek Polacek <polacek@redhat.com>
7274
7275 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7276 Use dlfcn directly instead of a variable.
7277 (binfmt-subdir): Do not define.
7278 (dlfcn): Likewise.
7279
a9f1039f
JM
72802012-08-01 Joseph Myers <joseph@codesourcery.com>
7281
23bddc06
JM
7282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7283 Remove all definitions.
7284 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7285 <kernel-features.h>.
7286 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7287 (miss_F_GETOWN_EX): Remove all definitions.
7288 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7289 macro definition.
7290 [!__ASSUME_FCNTL64]: Remove conditional code.
7291 [__ASSUME_FCNTL64]: Make code unconditional.
7292 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7293 <kernel-features.h>.
7294 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7295 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7296 (lockf64) [__NR_fcntl64]: Make code unconditional.
7297 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7298
a9f1039f
JM
7299 * sysdeps/unix/sysv/linux/kernel-features.h
7300 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7301 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7302 Make code unconditional.
7303 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7304 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7306 [__NR_vfork]: Make code unconditional.
7307 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7308 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7310 [__NR_vfork]: Make code unconditional.
7311 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7312 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7313
09c0ee5f
RM
73142012-08-01 Roland McGrath <roland@hack.frob.com>
7315
48aec5b9
RM
7316 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7317 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7318
cd97c966
RM
7319 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7320 Define mkstemp64 as an alias.
3f55550c
RM
7321 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7322 Define mkstemps64 as an alias.
cd97c966
RM
7323 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7324 Define mkostemp64 as an alias.
b8625cfc
RM
7325 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7326 Define mkostemps64 as an alias.
cd97c966
RM
7327 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7328 Conditionalize body on this.
7329 * misc/mkostemp64.c: Likewise.
b8625cfc 7330 * misc/mkostemps64.c: Likewise.
3f55550c 7331 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7332 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7333 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7334 * sysdeps/wordsize-64/mkostemp.c: File removed.
7335 * sysdeps/wordsize-64/mkstemp.c: File removed.
7336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7337 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7338 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7339 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7340
09c0ee5f
RM
7341 [BZ #14138]
7342 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7343 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7344 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7345 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7346
7347 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7348 compat_symbol macros from <shlib-compat.h> rather than the underlying
7349 default_symbol_version and symbol_version macros, so that DEFAULT
7350 lines in shlib-versions are respected.
7351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7352
7e66ee51
FW
73532012-08-01 Florian Weimer <fweimer@redhat.com>
7354
7355 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7356 Declare with warn_unused_result.
7357 (setgid, setregid, setegid, setresgid): Likewise.
7358 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7359 Likewise.
7360 * WUR-REPORT: Remove set*id functions.
7361
d2a54255
PT
73622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7363
7364 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7365
7ecdb005
RM
73662012-07-31 Roland McGrath <roland@hack.frob.com>
7367
789bd351
RM
7368 * include/sys/socket.h (__libc_accept, __libc_accept4):
7369 Add attribute_hidden.
7370 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7371
40ce302d
RM
7372 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7373 use of PTR_MANGLE.
7374 * inet/getnetgrent_r.c (setup): Likewise.
7375
7ecdb005
RM
7376 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7377
e2eabb2c
DM
73782012-07-31 David S. Miller <davem@davemloft.net>
7379
7380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7381
d0419dbf
JM
73822012-07-31 Joseph Myers <joseph@codesourcery.com>
7383
7384 [BZ #13629]
7385 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7386 value between 1.0 and 2.0 and smaller part has absolute value less
7387 than 1.0.
7388 * math/s_clog10.c (__clog10): Likewise.
7389 * math/s_clog10f.c (__clog10f): Likewise.
7390 * math/s_clog10l.c (__clog10l): Likewise.
7391 * math/s_clogf.c (__clogf): Likewise.
7392 * math/s_clogl.c (__clogl): Likewise.
7393 * math/libm-test.inc (clog_test): Add more tests.
7394 (clog10_test): Likewise.
7395 * sysdeps/i386/fpu/libm-test-ulps: Update.
7396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7397
2bc13872
FW
73982012-07-31 Florian Weimer <fweimer@redhat.com>
7399
7400 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7401 Exit with zero in case no suitable GID is found, and write a
7402 message to standard error.
7403
bea9b193
RM
74042012-07-30 Roland McGrath <roland@hack.frob.com>
7405
7406 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7407 rather than to 1.
7408 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7409 (MAXPATHLEN): Removed.
7410 (NOGROUP, NODEV): New macros.
7411 (setbit, clrbit, isset, isclr): New macros.
7412 (howmany, roundup, powerof2): New macros.
7413 (DEV_BSIZE): New macro.
7414
7415 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7416 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7417
7418 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7419 definition on [!__NO_LONG_DOUBLE_MATH].
7420
7421 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7422 PTR_MANGLE and PTR_DEMANGLE.
7423
7424 * socket/accept4.c (accept4): Rename to __libc_accept4.
7425 Define accept4 as a weak alias.
7426
7427 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7428 on [_DIRENT_HAVE_D_TYPE].
7429 * io/ftw.c (ftw_dir): Likewise.
7430
7431 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7432
7433 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7434
7435 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7436 Use the BSD numbers rather than the arbitrary ones we had.
7437 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7438 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7439 (SIGXCPU, SIGXFSZ): New macros.
7440 (_NSIG): Now 32.
7441
7442 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7443 initializer on [_LIBC_REENTRANT].
7444
7445 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7446 definitions inside [_POSIX_MAPPED_FILES].
7447
7448 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7449
7450 * dirent/opendir.c: Include <fcntl.h>.
7451
7452 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7453 (__libc_getspecific): Likewise.
7454 (__libc_key_create): Likewise.
7455
7456 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7457 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7458 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7459 (tmpfile64): Define as alias.
7460 * sysdeps/wordsize-64/tmpfile.c: File removed.
7461 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7462 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7464
7465 * stdio-common/vfscanf.c: Include <stdbool.h>.
7466 * nss/makedb.c: Likewise.
7467 * stdio-common/_i18n_number.h: Likewise.
7468 * argp/argp-help.c: Likewise.
7469 * posix/wordexp.c: Likewise.
7470 * sysdeps/posix/spawni.c: Likewise.
7471 * nss/nss_files/files-initgroups.c: Likewise.
7472 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7473 * nss/nss_files/files-initgroups.c: Likewise.
7474 * nss/nss_db/db-netgrp.c: Likewise.
7475 * nss/nss_db/db-initgroups.c: Likewise.
7476 * io/fchmodat.c: Include <sys/stat.h>.
7477
7478 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7479 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7480
7481 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7482 [HAVE_MMAP].
7483
7484 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7485 Add multiple inclusion protection.
7486
e5abc686
DM
74872012-07-27 David S. Miller <davem@davemloft.net>
7488
7489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7490
815e6fa3
GB
74912012-07-27 Gary Benson <gbenson@redhat.com>
7492
7493 [BZ #14298]
7494 * elf/rtld.c: Include <stap-probe.h>.
7495 (dl_main): Added static probes "init_start" and "init_complete".
7496 * elf/dl-load.c: Include <stap-probe.h>.
7497 (lose): Take new parameter "nsid".
7498 Added static probe "map_failed".
7499 (_dl_map_object_from_fd): Pass namespace id to lose.
7500 Added static probe "map_start".
7501 (open_verify): Pass namespace id to lose.
7502 * elf/dl-open.c: Include <stap-probe.h>.
7503 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7504 and "reloc_complete".
7505 * elf/dl-close.c: Include <stap-probe.h>.
7506 (_dl_close_worker): Added static probes "unmap_start" and
7507 "unmap_complete".
7508 * elf/rtld-debugger-interface.txt: New file documenting the above.
7509
9f98c16c
RM
75102012-07-26 Roland McGrath <roland@hack.frob.com>
7511
7512 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7513 rather than a string variable.
7514 * sunrpc/rpc_main.c (h_output): Likewise.
7515 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7516
f3c22df3
PT
75172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7518
7519 * inet/check_native.c: New file.
7520
3129cfc6
JM
75212012-07-26 Joseph Myers <joseph@codesourcery.com>
7522
da865e95
JM
7523 [BZ #13629]
7524 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7525 if larger part has absolute value 1.0.
7526 * math/s_clog10.c (__clog10): Likewise.
7527 * math/s_clog10f.c (__clog10f): Likewise.
7528 * math/s_clog10l.c (__clog10l): Likewise.
7529 * math/s_clogf.c (__clogf): Likewise.
7530 * math/s_clogl.c (__clogl): Likewise.
7531 * math/libm-test.inc (clog_test): Add more tests.
7532 (clog10_test): Likewise.
7533 * sysdeps/i386/fpu/libm-test-ulps: Update.
7534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7535
3129cfc6
JM
7536 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7537 (pltexit): Likewise.
7538 (La_regs): Likewise.
7539 (La_retval): Likewise.
7540 (int_retval): Likewise.
7541 Update #error for removed macros to refer only to definitions in
7542 tst-audit.h.
7543 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7544 macro.
7545 (pltexit): Likewise.
7546 (La_regs): Likewise.
7547 (La_retval): Likewise.
7548 (int_retval): Likewise.
7549 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7550 macro.
7551 (pltexit): Likewise.
7552 (La_regs): Likewise.
7553 (La_retval): Likewise.
7554 (int_retval): Likewise.
7555 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7556 macro.
7557 (pltexit): Likewise.
7558 (La_regs): Likewise.
7559 (La_retval): Likewise.
7560 (int_retval): Likewise.
7561 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7562 macro.
7563 (pltexit): Likewise.
7564 (La_regs): Likewise.
7565 (La_retval): Likewise.
7566 (int_retval): Likewise.
7567 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7568 macro.
7569 (pltexit): Likewise.
7570 (La_regs): Likewise.
7571 (La_retval): Likewise.
7572 (int_retval): Likewise.
7573 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7574 macro.
7575 (pltexit): Likewise.
7576 (La_regs): Likewise.
7577 (La_retval): Likewise.
7578 (int_retval): Likewise.
7579 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7580 macro definitions in tst-audit.h.
7581 * sysdeps/i386/tst-audit.h: New file.
7582 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7583 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7584 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7585 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7586 * sysdeps/sh/tst-audit.h: Likewise.
7587 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7588 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7589 * sysdeps/x86_64/tst-audit.h: Likewise.
7590
bfc07087
AJ
75912012-07-26 Andreas Jaeger <aj@suse.de>
7592
b1b2aaf8
AJ
7593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7594 ptrace.
7595
7596 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7597 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7598 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7599 PTRACE_O_MASK.
7600 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7601 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7602 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7603
bfc07087
AJ
7604 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7605 value.
7606
7607 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7608 _sigsys.
7609 (si_call_addr, si_syscall, si_arch): Define new macro.
7610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7611 _sigsys.
7612 (si_call_addr, si_syscall, si_arch): Define new marcro.
7613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7614 _sigsys.
7615 (si_call_addr, si_syscall, si_arch): Define new macro.
7616 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7617 _sigsys.
7618 (si_call_addr, si_syscall, si_arch): Define new macro.
7619
89b4b02f
JM
76202012-07-25 Joseph Myers <joseph@codesourcery.com>
7621
7622 [BZ #13717]
7623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7624 Change to 2.4.21 where previously 2.4.1.
7625 * sysdeps/unix/sysv/linux/configure: Regenerated.
7626 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7627 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7628 Linux kernel version.
7629 (__ASSUME_STD_AUXV): Remove.
7630 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7631 kernel version.
7632 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7633 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7634 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7635 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7636 (__ASSUME_NETLINK_SUPPORT): Likewise.
7637 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7638 (__no_netlink_support): Remove conditional definition.
7639 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7640 Remove.
7641 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7642 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7644 (if_nameindex_ioctl): Remove.
7645 (if_nameindex_netlink): Do not handle __no_netlink_support.
7646 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7647 code.
7648 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7649 Remove conditional code.
7650 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7651 code.
7652 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7653 unconditional.
7654 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7655 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7656 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7657 Remove.
7658 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7659 [!__ASSUME_STD_AUXV]: Remove conditional code.
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7661 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7662 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7664 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7665 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7666 code.
7667 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7669 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7670 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7671 conditional code.
7672 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7674 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7675 code.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7677 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7678 conditional code.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7680 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7681 code unconditional.
7682 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7683 conditional code.
7684 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7685 unconditional.
7686 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7687 conditional code.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7689 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7690 unconditional.
7691 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7692 conditional code.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7694 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7695 code unconditional.
7696 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7697 conditional code.
7698 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7699 unconditional.
7700 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7701 conditional code.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7703 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7704 code unconditional.
7705 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7706 conditional code.
7707 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7708 unconditional.
7709 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7710 conditional code.
7711
842a39cd
AS
77122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7713
7714 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7715 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7716 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7717 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7718 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7719 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7720 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7721 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7722 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7723 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7724 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7725 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7726 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7727 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7728 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7729 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7730 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7731 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7732 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7734 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7735 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7736 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7737
84b3fd84
FW
77382012-07-25 Florian Weimer <fweimer@redhat.com>
7739
7740 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7741 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7742 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7743 Introduce __libc_secure_getenv.
0c7936d5
FW
7744 * stdlib/Versions (2.17): Add secure_getenv
7745 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7746 * stdlib/secure-getenv.c: Rename __secure_getenv to
7747 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7748 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7749 * stdlib/tst-secure-getenv.c: New.
7750 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7751 * manual/startup.texi (Environment Access): Document
7752 secure_getenv.
84b3fd84
FW
7753 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7754 __libc_secure_getenv.
7755 * inet/ruserpass.c (ruserpass): Likewise.
7756 * malloc/mtrace.c (mtrace): Likewise.
7757 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7758 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7759 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7760 * sysdeps/posix/tempname.c: Likewise. Evaluate
7761 HAVE_SECURE_GETENV.
7762 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7763 __secure_getenv to __libc_secure_getenv.
84b3fd84 7764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7766 Likewise.
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7768 Likewise.
7769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7776
56e49b71
JM
77772012-07-25 Joseph Myers <joseph@codesourcery.com>
7778
7779 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7780 (struct La_i86_retval): Likewise.
7781 (struct La_x86_64_regs): Likewise.
7782 (struct La_x86_64_retval): Likewise.
7783 (struct La_x32_regs): Likewise.
7784 (struct La_x32_retval): Likewise.
7785 (struct La_ppc32_regs): Likewise.
7786 (struct La_ppc32_retval): Likewise.
7787 (struct La_ppc64_regs): Likewise.
7788 (struct La_ppc64_retval): Likewise.
7789 (struct La_sh_regs): Likewise.
7790 (struct La_sh_retval): Likewise.
7791 (struct La_s390_32_regs): Likewise.
7792 (struct La_s390_32_retval): Likewise.
7793 (struct La_s390_64_regs): Likewise.
7794 (struct La_s390_64_retval): Likewise.
7795 (struct La_sparc32_regs): Likewise.
7796 (struct La_sparc32_retval): Likewise.
7797 (struct La_sparc64_regs): Likewise.
7798 (struct La_sparc64_retval): Likewise.
7799 (struct audit_ifaces): Remove architecture-specific pltenter and
7800 pltexit members.
7801 * sysdeps/i386/ldsodefs.h: New file.
7802 * sysdeps/powerpc/ldsodefs.h: Likewise.
7803 * sysdeps/s390/ldsodefs.h: Likewise.
7804 * sysdeps/sh/ldsodefs.h: Likewise.
7805 * sysdeps/sparc/ldsodefs.h: Likewise.
7806 * sysdeps/x86_64/ldsodefs.h: Likewise.
7807
354691b7
MP
78082012-07-25 Marek Polacek <polacek@redhat.com>
7809
7810 [BZ #6808]
7811 * math/libm-test.inc (yn_test): Add another test.
7812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7813 to ERANGE when the result is +-Inf.
7814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7815 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7816 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7817 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7818
bf9e2071
JM
78192012-07-24 Joseph Myers <joseph@codesourcery.com>
7820
7821 * conform/data/time.h-data (NULL): Use macro-constant. Require
7822 equal to 0.
7823 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7824 clock_t.
7825 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7826
57633811
TS
78272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7828
7829 * configure.in <sysdeps resolving>: Correct printing
7830 Implies_before.
7831 * configure: Regenerate.
7832
c23c33b0
TS
78332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7834
7835 * math/w_ilogb.c: Include <limits.h>.
7836 * math/w_ilogbl.c: Likewise.
7837
b5982523
JM
78382012-07-20 Joseph Myers <joseph@codesourcery.com>
7839
7840 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7841 va_copy. Document allowing for unavailable va_copy only as
7842 pre-C99 compatibility.
7843 * manual/string.texi (Copying and Concatenation): Use va_copy
7844 instead of __va_copy in concat example.
7845
ac4ea442
PT
78462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7847
7848 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7849 (__sendto): Use create_address_port. Initialize APORT and deallocate
7850 it if not null.
7851
f98eafbd
PT
7852 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7853 with O_NOLINK passed to __file_name_lookup.
7854
898c7aab
PT
7855 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7856 with O_NOLINK passed to __file_name_lookup.
7857
0ced335a
PT
7858 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7859 negative N or less than NGIDS.
7860
b3404dbd
PT
7861 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7862 type to string_t. Set ERANGE as errno and return it if NAME is not big
7863 enough. Use memcpy instead of strncpy.
7864
0f48659e
JM
78652012-07-20 Joseph Myers <joseph@codesourcery.com>
7866
7867 * elf/Makefile (check-data): Remove.
7868 (localplt.data): New vpath directive.
7869 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7870 instead of $(check-data).
7871 * scripts/data/localplt-generic.data: Move to ...
7872 * sysdeps/generic/localplt.data: ... here.
7873 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7874 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7875 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7877 ... here.
7878 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7880 ... here.
7881 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7883 ... here.
7884 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7886 ... here.
7887 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7889 ... here.
7890 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7892 ... here.
7893
d37cbdaa
AZ
78942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7895
7896 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7897 PPC32 and PPC64 files.
7898 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7899 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7900
46f85fc2
AK
79012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7902
7903 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7904 __makecontext_ret to ...
7905 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7906 ... here and call exit if uc_link is NULL. New file.
7907 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7908 __makecontext_ret.S.
7909 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7910 __makecontext_ret to ...
7911 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7912 ... here and call exit if uc_link is NULL. New file.
7913 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7914 __makecontext_ret.S.
7915
08f43f9b
AK
79162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7917
7918 * elf/elf.h (R_390_IRELATIVE): New definition.
7919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7920 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7921 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7922 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7923 (elf_machine_lazy_rel): Likewise.
7924 * sysdeps/s390/dl-irel.h: New file.
7925 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7926 * sysdeps/s390/s390-64/memset.S: New asm code.
7927 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7928 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7929 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7930 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7931 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7932 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7933 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7934 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7935 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7936 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7937 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7938 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7939 * sysdeps/s390/s390-32/memset.S: New asm code.
7940 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7941
3b05db33
MP
79422012-07-17 Marek Polacek <polacek@redhat.com>
7943
7944 [BZ #14349]
7945 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7946 * sysdeps/s390/s390-64/configure.in: Likewise.
7947 * sysdeps/sparc/configure.in: Likewise.
7948 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7949 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7950 * sysdeps/i386/configure.in: Likewise.
7951 * sysdeps/x86_64/configure.in: Likewise.
7952 * sysdeps/sh/configure.in: Likewise.
7953 * sysdeps/s390/s390-32/configure: Regenerated.
7954 * sysdeps/s390/s390-64/configure: Likewise.
7955 * sysdeps/x86_64/configure: Likewise.
7956 * sysdeps/sh/configure: Likewise.
7957 * sysdeps/powerpc/powerpc64/configure: Likewise.
7958 * sysdeps/powerpc/powerpc32/configure: Likewise.
7959 * sysdeps/sparc/configure: Likwise.
7960 * sysdeps/i386/configure: Likewise.
7961
a66877c6
MP
7962 * elf/dl-open.c: Comment fixes.
7963
cfc82fd8
JM
79642012-07-17 Joseph Myers <joseph@codesourcery.com>
7965
bd29910a
JM
7966 * Makefile [CXX] (check-data): Remove.
7967 [CXX] (c++-types.data): New vpath directive.
7968 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7969 vpath. Do not allow for C++ type data being missing.
7970 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7971 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7972 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7973 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7974 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7975 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7976 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7978 ... here.
7979 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7981 ... here.
7982 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7984 ... here.
7985 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7987 ... here.
7988 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7990 ... here.
7991 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7993 ... here.
7994 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7996 ... here.
7997 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7999
cfc82fd8
JM
8000 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8001 definitions to architecture-specific files.
8002 (TLS_IE): Likewise.
8003 (TLS_LD): Likewise.
8004 (TLS_GD): Likewise.
8005 * sysdeps/i386/tls-macros.h: New file.
8006 * sysdeps/powerpc/tls-macros.h: Likewise.
8007 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8008 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8009 * sysdeps/sh/tls-macros.h: Likewise.
8010 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8011 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8012 * sysdeps/x86_64/tls-macros.h: Likewise.
8013
f7db3170
TS
80142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8015
07cbfc23
TS
8016 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8017 zero value for regular exit case.
8018
f7db3170
TS
8019 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8020 (__start_context): Preserve zero value for regular exit case.
8021
dc97c227
TS
80222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8023 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8024
8025 * manual/setjmp.texi (setcontext): Clarify normal process
8026 termination when uc_link is the null pointer.
8027 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8028 exit call.
8029
d0cd7d02
AS
80302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8031
8032 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8033 preprocessor. Test for each exception mask separately.
8034
dd318934
AJ
80352012-07-16 Andreas Jaeger <aj@suse.de>
8036
8037 * po/ru.po: Update from translation team.
8038
8048311a
JM
80392012-07-15 Joseph Myers <joseph@codesourcery.com>
8040
8041 * conform/data/string.h-data (NULL): Use macro-constant. Require
8042 equal to 0.
8043 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8044 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8045 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8046 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8048
b637d46e
AJ
80492012-07-13 Andreas Jaeger <aj@suse.de>
8050
8051 * po/fr.po: Update from translation team.
8052
541428fe
MP
80532012-07-12 Marek Polacek <polacek@redhat.com>
8054
8055 [BZ #14173]
8056 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8057 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8058 loop condition.
8059
ec332e94
JM
80602012-07-12 Joseph Myers <joseph@codesourcery.com>
8061
8062 [BZ #13717]
8063 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8064 Change to 2.4.1 where previously 2.4.0.
8065 * sysdeps/unix/sysv/linux/configure: Regenerated.
8066 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8067 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8068 version.
8069 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8070 (__ASSUME_AT_CLKTCK): Remove.
8071 (__ASSUME_AT_PAGESIZE): Likewise.
8072 (__ASSUME_AT_XID): Likewise.
8073 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8074 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8075 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8076 unconditionally.
8077 (HAVE_AUX_PAGESIZE): Likewise.
8078 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8079 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8080 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8081
7b6e99be
JB
80822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8083
8084 [BZ #14307]
8085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8086 the temporary buffer used to invoke __gethostbyname2_r,
8087 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8088 host_data / struct gaih_addrtuple.
8089 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8090 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8091 header file nss/nsswitch.h.
8092 * nss/nsswitch.h (global scope): Add definition of implementation
8093 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8094 resolv/nss_dns/dns-host.c).
8095
608404eb
AJ
80962012-07-11 Andreas Jaeger <aj@suse.de>
8097
8098 * po/fr.po: Update from translation team.
8099
71220aca
AJ
8100 * po/sv.po: Update from translation team
8101 * po/fr.po: Another update from translation team.
8102
28cfe843
AZ
81032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8104
8105 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8106 for subnormals or multiply small sinh result by itself.
8107 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8109
6b90f981
DM
81102012-07-11 David S. Miller <davem@davemloft.net>
8111
8112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8113
c6825772
AS
81142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8115
8116 [BZ #14347]
8117 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8118 (INTERNAL_MARK): Shift it here.
8119
7b8e0d49
MP
81202012-07-10 Marek Polacek <polacek@redhat.com>
8121
8122 [BZ #14151]
8123 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8124 libc_cv_asm_global_directive with .globl.
8125 * configure: Regenerated.
8126 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8127 with .globl.
8128 * sysdeps/i386/configure: Regenerated.
8129 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8130 with .globl.
8131 * sysdeps/x86_64/configure: Regenerated.
8132 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8133 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8134 * elf/tst-unique2mod2.c: Likewise.
8135 * elf/tst-unique2mod1.c: Likewise.
8136 * elf/tst-unique1mod2.c: Likewise.
8137 * elf/tst-unique1mod1.c: Likewise.
8138 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8139 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8141 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8142 * sysdeps/mach/sysdep.h: Likewise.
8143 * sysdeps/i386/sysdep.h: Likewise.
8144 * sysdeps/i386/i386-mcount.S: Likewise.
8145 * sysdeps/x86_64/_mcount.S: Likewise.
8146 * sysdeps/x86_64/sysdep.h: Likewise.
8147 * sysdeps/sh/_mcount.S: Likewise.
8148 * sysdeps/sh/sysdep.h: Likewise.
8149 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8150 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8151 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8152 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8153 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8154 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8155 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8156 * locale/localeinfo.h: Likewise.
8157 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8158 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8159
6c55cda3
RM
81602012-07-09 Roland McGrath <roland@hack.frob.com>
8161
8162 [BZ #14336]
8163 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8164 system".
8165 * manual/message.texi (The Uniforum approach): Likewise.
8166 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8167 (glibc iconv Implementation): Likewise.
8168
638a572e
JM
81692012-07-09 Joseph Myers <joseph@codesourcery.com>
8170
8171 [BZ #14337]
8172 * math/s_clog.c (__clog): Avoid scaling a value down where that
8173 could result in underflow.
8174 * math/s_clog10.c (__clog10): Likewise.
8175 * math/s_clog10f.c (__clog10f): Likewise.
8176 * math/s_clog10l.c (__clog10l): Likewise.
8177 * math/s_clogf.c (__clogf): Likewise.
8178 * math/s_clogl.c (__clogl): Likewise.
8179 * math/libm-test.inc (clog_test): Add more tests.
8180 (clog10_test): Likewise.
8181 * sysdeps/i386/fpu/libm-test-ulps: Update.
8182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183
261f4859
AS
81842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8185
0abaf3e4
AS
8186 [BZ #14283]
8187 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8188 by 7 not 8 to examine high bit of fractional part.
8189
261f4859
AS
8190 [BZ #14042]
8191 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8192 for call to __mcount_internal.
8193 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8194 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8195 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8196
f17ac40d
JM
81972012-07-06 Joseph Myers <joseph@codesourcery.com>
8198
9ad63c23
JM
8199 [BZ #14154]
8200 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8201 approximation for values within 0x1p-13f of an odd multiple of
8202 pi/4.
8203 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8204 exception. Add more tests.
8205 * sysdeps/i386/fpu/libm-test-ulps: Update.
8206
f17ac40d
JM
8207 [BZ #6778]
8208 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8209 inputs and return -1 for them. Do not check for +Inf in case not
8210 reachable for +Inf.
8211 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8212 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8214 and return -1 for them. Do not check for +Inf in case not
8215 reachable for +Inf.
8216 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8217 define.
8218 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8219 and return -1 for them. Do not check for +Inf in case not
8220 reachable for +Inf.
8221 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8222 spurious underflow.
8223 * sysdeps/i386/fpu/libm-test-ulps: Update.
8224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8225
fb21f89b
MF
82262012-07-06 Mike Frysinger <vapier@gentoo.org>
8227
8228 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8229
cdfe2c5e
JM
82302012-07-05 Joseph Myers <joseph@codesourcery.com>
8231
8232 [BZ #14157]
8233 [BZ #14331]
8234 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8235 could result in spurious underflow. Scale down values above
8236 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8237 * math/s_csqrtf.c (__csqrtf): Likewise.
8238 * math/s_csqrtl.c (__csqrtl): Likewise.
8239 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8240 spurious underflow.
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8243
70d35b67
AS
82442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8245
704bc459
AS
8246 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8247 xopen-msg.sed.
8248 * catgets/xopen-msg.awk: New file.
8249 * catgets/xopen-msg.sed: Removed.
8250
70d35b67
AS
8251 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8252 po2text.sed.
8253 * intl/po2test.awk: New file.
8254 * intl/po2test.sed: Removed.
8255
ca61cf32
JM
82562012-07-04 Joseph Myers <joseph@codesourcery.com>
8257
8258 [BZ #14328]
8259 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8260 or multiply small sinh result by itself.
8261 * math/s_ctanf.c (__ctanf): Likewise.
8262 * math/s_ctanh.c (__ctanh): Likewise.
8263 * math/s_ctanhf.c (__ctanhf): Likewise.
8264 * math/s_ctanhl.c (__ctanhl): Likewise.
8265 * math/s_ctanl.c (__ctanl): Likewise.
8266 * math/libm-test.inc (ctan_test_tonearest): New function.
8267 (ctan_test_towardzero): Likewise.
8268 (ctan_test_downward): Likewise.
8269 (ctan_test_upward): Likewise.
8270 (ctanh_test_tonearest): Likewise.
8271 (ctanh_test_towardzero): Likewise.
8272 (ctanh_test_downward): Likewise.
8273 (ctanh_test_upward): Likewise.
8274 (main): Call these new functions.
8275 * sysdeps/i386/fpu/libm-test-ulps: Update.
8276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8277
ca48a46a
MF
82782012-07-03 Mike Frysinger <vapier@gentoo.org>
8279
8280 * .gitignore: Delete /ports entry.
8281
9d63d37d
AJ
82822012-07-03 Andreas Jaeger <aj@suse.de>
8283
8284 * po/bg.po: Update from translation team.
8285 * po/cs.po: Likewise.
8286 * po/de.po: Likewise.
8287 * po/hr.po: Likewise.
8288 * po/nl.pl: Likewise.
8289 * po/pl.po: Likewise.
8290 * po/vi.po: Likewise.
8291
370ca3d2
JM
82922012-07-03 Joseph Myers <joseph@codesourcery.com>
8293
95f5a9a8
JM
8294 * Makeconfig [!+link] (+link-before-libc): New variable.
8295 [!+link] (+link-after-libc): Likewise.
8296 [!+link] (+link-tests): Likewise.
8297 [!+link] (+link): Define in terms of $(+link-before-libc) and
8298 $(+link-after-libc).
8299 [!+link-static] (+link-static-before-libc): New variable.
8300 [!+link-static] (+link-static-after-libc): Likewise.
8301 [!+link-static] (+link-static-tests): Likewise.
8302 [!+link-static] (+link-static): Define in terms of
8303 $(+link-static-before-libc) and $(+link-static-after-libc).
8304 [build-shared] (link-libc-before-gnulib): New variable.
8305 [build-shared] (link-libc-tests): Likewise.
8306 [build-shared] (link-libc): Define in terms of
8307 $(link-libc-before-gnulib).
8308 [!build-shared] (link-libc-tests): New variable.
8309 (link-libc-static-tests): New variable.
8310 [!gnulib] (gnulib-arch): New variable.
8311 [!gnulib] (gnulib-tests): Likewise.
8312 [!gnulib] (static-gnulib-arch): Likewise.
8313 [!gnulib] (static-gnulib-tests): Likewise.
8314 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8315 Define with "=" instead of ":=".
8316 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8317 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8318 * Rules (binaries-all-notests): New variable.
8319 (binaries-all-tests): Likewise.
8320 (binaries-static-notests): Likewise.
8321 (binaries-static-tests): Likewise.
8322 (binaries-all): Define using $(binaries-all-notests) and
8323 $(binaries-all-tests).
8324 (binaries-static): Define using $(binaries-static-notests) and
8325 $(binaries-static-tests).
8326 (binaries-shared-tests): New variable.
8327 (binaries-shared-notests): Likewise.
8328 (binaries-shared): Remove variable.
8329 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8330 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8331 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8332 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8333 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8334 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8335 * elf/Makefile (sln-modules): New variable.
8336 (extra-objs): Add $(sln-modules:=.o).
8337 (ldconfig-modules): Add static-stubs.
8338 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8339 * elf/static-stubs.c: New file.
8340
7a845b2c
JM
8341 [BZ #14283]
8342 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8343 by 7 not 8 to examine high bit of fractional part. Use volatile
8344 variables when splitting into final array of floats if
8345 __FLT_EVAL_METHOD__ != 0.
8346 * math/libm-test.inc (cos_test): Add another test.
8347 (sin_test): Likewise.
8348 * sysdeps/i386/fpu/libm-test-ulps: Update.
8349
e2283f38
JM
8350 [BZ #14273]
8351 * math/libm-test.inc (cosh_test): Add more tests.
8352
370ca3d2
JM
8353 * version.h (RELEASE): Set to "development".
8354 (VERSION): Set to "2.16.90".
8355
ee9247c3
CD
83562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8357
8358 * NEWS: Update copyright. Remove last-updated date.
8359 Mention math library bug fixes and timezone data changes.
8360 * README: Mention GNU/Hurd, x32, and HPPA support status.
8361
4648c381
TS
83622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8363
8364 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8365
aac78a43
AJ
83662012-06-27 Andreas Jaeger <aj@suse.de>
8367
8368 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8369
ed3dbfad
AJ
83702012-06-25 Andreas Jaeger <aj@suse.de>
8371
8372 * sysdeps/s390/fpu/libm-test-ulps: Update.
8373
4d0ee855
AS
83742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8375 Thomas Schwinge <thomas@codesourcery.com>
8376
8377 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8378 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8379 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8380 fanotify_mark.
8381
af1bce34
TS
83822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8383
a9fa33ba
TS
8384 * sysdeps/mach/start.c: Remove file.
8385 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8386 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8387 * sysdeps/sh/init-first.c: Likewise.
8388
58f902b8
TS
8389 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8390 registers for frame unwinding purposes, add CFI directives.
8391 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8392 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8393 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8394 Likewise.
8395
1518f58b
TS
8396 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8397 __fortify_fail returning.
8398 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8399
db9b5059
TS
8400 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8401 sysdeps/sh/____longjmp_chk.S.
8402 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8403 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8404 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8405 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8406
967705fe
TS
8407 * sysdeps/sh/abort-instr.h: New file.
8408 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8409 process in case exit returns.
8410
a9def8c4
TS
8411 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8412 initialize the GOT register before use.
8413
2a649725
TS
8414 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8415 calculation of ARGC > 4.
8416
af1bce34
TS
8417 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8418 meaningful names to some local labels.
8419
d230f50a
KK
84202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8421 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8422
8423 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8424 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8425 (__arch_compare_and_exchange_val_16_acq): Likewise.
8426 (__arch_compare_and_exchange_val_32_acq): Likewise.
8427 (atomic_exchange_and_add): Fix gUSA sequence.
8428 (atomic_add): Likewise.
8429 (atomic_add_negative): Likewise.
8430 (atomic_add_zero): Likewise.
8431 (atomic_bit_test_set): Likewise.
8432
0479b305
AS
84332012-06-22 Andreas Schwab <schwab@redhat.com>
8434
8435 [BZ #13579]
8436 * include/link.h (struct link_map): Add l_free_initfini.
8437 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8438 l_initfini.
8439 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8440 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8441 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8442 set.
8443
0e3933b9
CD
84442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8445
8446 * configure.in: Use AC_LANG_SOURCE.
8447 * configure: Regenerate.
8448
4248b1b1
RM
84492012-06-22 Roland McGrath <roland@hack.frob.com>
8450
8451 * configure.in (libc_cv_localstatedir): New substituted variable.
8452 * configure: Regenerated.
8453 * config.make.in (localstatedir): New variable, substituted from
8454 libc_cv_localstatedir.
8455 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8456 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8457 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8458 * sysdeps/gnu/configure: Regenerated.
8459
006dd861
JL
84602012-06-21 Jeff Law <law@redhat.com>
8461
8462 [BZ #14277]
8463 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8464 free. Simplify list management for _LIBC case.
8465
79662d42
JM
84662012-06-21 Joseph Myers <joseph@codesourcery.com>
8467
b7abb4bf
JM
8468 [BZ #14273]
8469 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8470 Clear sign bit of 64-bit integer value before comparing against
8471 overflow value.
8472
79662d42
JM
8473 * sysdeps/mach/configure: Regenerated.
8474
1f150908
L
84752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 [BZ #14278]
8478 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8479
28363bbf
JL
84802012-06-21 Jeff Law <law@redhat.com>
8481
8482 [BZ #13882]
8483 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8484 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8486 * elf/dl-open.c (dl_open_worker): Likewise.
8487
09615db4
CD
84882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8489
8490 * scripts/list-sources.sh: Scan PORTS for translations.
8491 * po/libc.pot: Regenerated.
8492
2174c6dd
AJ
84932012-06-21 Andreas Jaeger <aj@suse.de>
8494
8495 [BZ #12194]
8496 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8497 warning.
8498 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8499 * bits/byteswap-16.h (__bswap_16): Likewise.
8500 * bits/byteswap.h (__bswap_constant_16): Likewise.
8501
3ee947b1
L
85022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 [BZ #14117]
a2f34833
L
8505 * sysdeps/i386/fpu_control.h: Removed.
8506 * sysdeps/x86_64/fpu_control.h: Moved to ...
8507 * sysdeps/x86/fpu_control.h: Here.
8508
3ee947b1
L
8509 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8510 (_FPU_SETCW): Likewise.
8511
ed1825f8
L
85122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8513
25f1282a
L
8514 [BZ #14117]
8515 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8516 * sysdeps/x86/fpu/bits/mathinline.h: This.
8517 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8518
ed1825f8
L
8519 [BZ #14050]
8520 [BZ #14117]
8521 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8522 functions if __x86_64__ is defined.
8523
36d54b74
CLT
85242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8525
8526 * string/endian.h: Add !__ASSEMBLER__ condition for including
8527 conversion interfaces.
8528
10285c21
JM
85292012-06-15 Joseph Myers <joseph@codesourcery.com>
8530
8531 [BZ #14241]
8532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8533 of ABS(x) in calculating zero to negative powers other than odd
8534 integers.
8535 * math/libm-test.inc (pow_test): Add more tests.
8536
06c5abbd
AJ
85372012-06-15 Andreas Jaeger <aj@suse.de>
8538
8539 * manual/contrib.texi (Contributors): Update entry of Liubov
8540 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8541 Machado Filho.
8542
a3aeac40
CH
85432012-06-15 Cyril Hrubis <metan@ucw.cz>
8544
8545 * string/string.h: Add __wur to GNU version of strerror_r.
8546
49bdf4c1
L
85472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 [BZ #14229]
8550 * string/Makefile (tests): Add tst-strtok_r.
8551 * string/tst-strtok_r.c: New file.
8552 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8553 RAX_LP/RDX_LP on SAVE_PTR.
8554
834f9b8d
RM
85552012-06-14 Roland McGrath <roland@hack.frob.com>
8556
8557 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8558
75fa1921
JM
85592012-06-14 Joseph Myers <joseph@codesourcery.com>
8560
8561 * libm_test.inc (csqrt_test): Allow more spurious underflow
8562 exceptions.
8563 (j0_test): Likewise.
8564 (j1_test): Likewise.
8565 (y0_test): Likewise.
8566 (y1_test): Likewise.
8567
771766df
CD
85682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8569
8570 * po/Makefile (libc.pot): Use UTF-8 charset.
8571
ceb9e56b
PP
85722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8573
8574 [BZ #14210]
8575 Suppress sign-conversion warning from FD_SET.
8576 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8577 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8578 not unsigned long int.
8579 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8580
ddb28975
L
85812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8582
8583 [BZ #14050]
8584 [BZ #14117]
8585 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8586 __extern_always_inline instead of __extern_inline.
8587 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8588 (__signbit): Likewise.
8589 (__signbitl): Support C++ namespace.
8590 (lrintf): New inline function.
8591 (lrint): Likewise.
8592 (llrintf): Likewise.
8593 (llrint): Likewise.
8594 (fmaxf): Likewise.
8595 (fmax): Likewise.
8596 (fminf): Likewise.
8597 (fmin): Likewise.
8598 (rint): Likewise.
8599 (rintf): Likewise.
8600 (ceil): Likewise.
8601 (ceilf): Likewise.
8602 (floor): Likewise.
8603 (floorf): Likewise.
8604 (nearbyint): Likewise.
8605 (nearbyintf): Likewise.
8606
d7b4fb26
TS
86072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8608
8609 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8610 non-default versions.
8611
eb55f5c2
RM
86122012-06-11 Roland McGrath <roland@hack.frob.com>
8613
8614 [BZ #14218]
8615 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8616
366af02c
TS
86172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8618
99ff6e5c
TS
8619 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8620 (FE_UPWARD, FE_DOWNWARD): Don't define.
8621 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8622 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8623
366af02c
TS
8624 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8625 reading it.
8626 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8627 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8628
793ea851
KK
86292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8630
8631 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8633 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8634 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8635
a728a38f
L
86362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8637
8638 [BZ #14117]
c08010c7
L
8639 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8640 * sysdeps/i386/fpu/Implies: New file.
8641 * sysdeps/x86_64/fpu/Implies: Likewise.
8642 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8643 * sysdeps/x86/fpu/bits/fenv.h: This.
8644
a728a38f
L
8645 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8646 __SSE_MATH__.
8647
6e230d11
SP
86482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8649
8650 [BZ #14134]
8651 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8652 character 0xffff that matches the last element of the
8653 conversion table.
8654
1b671feb
AZ
86552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8656
8657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8658 fmodl commit.
8659
6043738b
AZ
86602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8661
8662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8663 values higher than 25.6283.
8664
34ae0b32
AZ
86652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8666
8667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8668 subnormal exponent extraction and add some __builtin_expect.
8669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8670 Fix for subnormal mantissa calculation.
8671
1214ec8f
MF
86722012-06-04 Mike Frysinger <vapier@gentoo.org>
8673
8674 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8675 cpu2 is -1 and errno is not ENOSYS.
8676
f3d1f93c
L
86772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8678
8679 [BZ #14117]
0e4a3cd7
L
8680 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8681 * sysdeps/x86/bits/string.h: This.
8682 * sysdeps/x86_64/bits/string.h: Removed.
8683
6704c645
L
8684 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8685 if not compiling for x86-64, but compiling for >= i486.
8686
48495318
L
8687 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8688 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8689
14adcbfc
L
8690 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8691 New macro from Linux kernel 3.4.0.
8692 (FP_XSTATE_MAGIC2): Likewise.
8693 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8694 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8695 (struct _fpx_sw_bytes): New struct.
8696 (struct _xsave_hdr): Likewise.
8697 (struct _ymmh_state): Likewise.
8698 (struct _xstate): Likewise.
8699
68e408ab
L
8700 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8701 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8702 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8703 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8704 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8705 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8706
f3d1f93c
L
8707 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8709 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8710 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8711 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8712 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8713
d9dc34cd
TMQMF
87142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8715
8716 [BZ #13743]
8717 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8718 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8719 (sysdep_headers): Include sys/platform/ppc.h.
8720 * sysdeps/powerpc/test-gettimebase.c: Test for
8721 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8722 * manual/Makefile (appendices): Include platform.texi.
8723 * manual/contrib.texi (Contributors): Update @node pointers.
8724 * manual/maint.texi (Maintenance): Likewise.
8725 (Platform): New node.
8726 * manual/platform.texi: New file. Document the new features.
8727
4af3879c
SP
87282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8729 Jakub Jelinek <jakub@redhat.com>
8730
8731 [BZ #14188]
8732 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8733 where __builtin_expect is unavailable.
8734
2fd6ff13
DM
87352012-06-03 David S. Miller <davem@davemloft.net>
8736
8737 * stdlib/longlong.h: Updated from GCC.
8738
173f7220
AS
87392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8740
8741 [BZ #14042]
8742 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8743 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8744 __mcount_internal.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8746 (GLIBC_2.16): Likewise.
8747
f34a1c6f
L
87482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8749
8750 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8751
88a4576f
JM
87522012-06-01 Joseph Myers <joseph@codesourcery.com>
8753
ea32bcdd
JM
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8755 (default-abi): New variable.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8757 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8758 variable.
8759 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8760 Likewise.
8761 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8762 Likewise.
8763 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8764 Likewise.
8765
88a4576f
JM
8766 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8767 definition. Document in comment.
8768
402fe938
DM
87692012-06-01 David S. Miller <davem@davemloft.net>
8770
8771 * stdlib/longlong.h: Updated from GCC.
8772
3553723f
L
87732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 [BZ #14117]
3bd872c4
L
8776 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8777 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8778 sys/debugreg.h sys/io.h here.
8779 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8780 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8781 sys/io.h.
8782 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8783 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8784 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8785 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8786 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8787 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8788
3553723f
L
8789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8790 Define only if __x86_64__ is defined.
8791
4842e4fe
JM
87922012-06-01 Joseph Myers <joseph@codesourcery.com>
8793
c5bfe3d5
JM
8794 [BZ #14048]
8795 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8796 Use int64_t for variable i.
8797 * math/libm-test.inc (fmod_test): Add more tests.
8798
4842e4fe
JM
8799 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8800 z computation is not scheduled after fetestexcept.
8801 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8802 Use math_force_eval instead of asm to ensure calculation scheduled
8803 before exception test.
8804 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8805 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8806
efb73488
AJ
88072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8808
8809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8810 computation is not scheduled after fetestexcept.
8811
29bcce7c
L
88122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8813
8814 [BZ #14117]
8815 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8816 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8817
73a68f94
AZ
88182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8819
8820 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8821 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8822
67b6df78
L
88232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8824
edf2933a 8825 [BZ #14117]
ebc64a18
L
8826 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8827 <bits/wordsize.h>.
8828 (__WCHAR_MIN): Support __WORDSIZE == 64.
8829 (__WCHAR_MAX): Likewise.
8830
edf2933a
L
8831 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8832 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8833
57c6cf40
L
8834 [BZ #14183]
8835 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8836 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8837
67b6df78 8838 [BZ #14117]
8eb6281e
L
8839 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8841
aac639f4
L
8842 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8843 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8844
67b6df78
L
8845 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8846 Defined to 1 if __x86_64__ isn't defined.
8847 (_STAT_VER_LINUX_OLD): New.
8848 (st_atime): Remove duplicate.
8849 (st_mtime): Likewise.
8850 (st_ctime): Likewise.
8851
1c2cfe81
DM
88522012-05-31 David S. Miller <davem@davemloft.net>
8853
8854 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8855 entries.
8856
5be8418c
AS
88572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8858
e7725326
AS
8859 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8860 gen-libm-test.pl.
8861
5be8418c
AS
8862 [BZ #14132]
8863 * elf/dl-reloc.c: Include <_itoa.h>.
8864 (_dl_reloc_bad_type): Remove use of INTUSE.
8865 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8866 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8867 * stdio-common/psiginfo.c (psiginfo): Likewise.
8868 * stdio-common/psignal.c (psignal): Likewise.
8869 * string/strsignal.c (strsignal): Likewise.
8870 * include/signal.h (_sys_siglist): Declare hidden proto.
8871 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8872 INTVARDEF with libc_hidden_data_def.
8873 * stdio-common/itoa-udigits.c: Likewise.
8874 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8875 (_itoa_lower_digits_internal): Remove declaration.
8876 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8877 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8878 (_sys_sigabbrev_internal): Remove aliases.
8879 (_sys_siglist): Define hidden alias.
8880
507352f1
MT
88812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8882
8883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8884 bits/sysctl.h.
8885
42bbb1c3
L
88862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8887
8888 [BZ #14117]
6bd784b6
L
8889 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8890 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8891
8bca20f0
L
8892 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8893 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8894 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8895 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8897 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8898
f9e890a9
L
8899 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8900 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8901 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8902
471101a1
L
8903 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8904 with __addr.
8905 (insw): Likewise.
8906 (insl): Likewise.
8907 (outsb): Likewise.
8908 (outsw): Likewise.
8909 (outsl): Likewise.
8910
6451c862
L
8911 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8912 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8913 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8914
a254b8c9
L
8915 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8916 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8917 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8918 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8919 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8920 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8921
b8dfdd92
L
8922 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8923 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8924
578cd270
L
8925 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8926 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8927
de662f5f
L
8928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8930 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8931
25653439
L
8932 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8933 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8934 to ...
8935 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8936
6bad24a0
L
8937 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8938 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8939 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8940
42bbb1c3
L
8941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8942 for x86-64.
8943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8944
2d10d547
JM
89452012-05-31 Joseph Myers <joseph@codesourcery.com>
8946
8947 * math/math.h (M_El): Use two more decimal places.
8948 (M_LOG2El): Likewise.
8949 (M_LOG10El): Likewise.
8950 (M_LN2l): Likewise.
8951 (M_LN10l): Likewise.
8952 (M_PIl): Likewise.
8953 (M_PI_2l): Likewise.
8954 (M_PI_4l): Likewise.
8955 (M_1_PIl): Likewise.
8956 (M_2_PIl): Likewise.
8957 (M_2_SQRTPIl): Likewise.
8958 (M_SQRT2l): Likewise.
8959 (M_SQRT1_2l): Likewise.
8960
f230c29b
DM
89612012-05-31 David S. Miller <davem@davemloft.net>
8962
8963 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8964 values between float registers.
8965 * sysdeps/sparc/sparc64/memset.S: Likewise.
8966 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8967
fed806c3
MF
89682012-05-31 Mike Frysinger <vapier@gentoo.org>
8969
8970 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8971 -D_FORTIFY_SOURCE=1.
8972 (CPPFLAGS-tst-longjmp_chk.c): Define.
8973 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8974 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8975 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8976 CFLAGS-tst-wchar-h.c.
8977
30917259
MP
89782012-05-31 Marek Polacek <polacek@redhat.com>
8979
8980 [BZ #14132]
8981 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8982 __endmntent_internal): Remove declaration.
8983 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8984 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8985 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8986
1c58d5dc
DM
89872012-05-30 David S. Miller <davem@davemloft.net>
8988
8989 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8990 (___Q_simulate_exceptions): Use real FP ops rather than writing
8991 into the %fsr.
8992 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8993 Likewise.
8994
7dc00e0d
L
89952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8996
8997 [BZ #14117]
0bd53985
L
8998 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8999 * sysdeps/x86/bits/xtitypes.h: This.
9000
3a257e66
L
9001 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9002 * sysdeps/x86/bits/wordsize.h: This.
9003
62f62904
L
9004 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9005 * sysdeps/x86/bits/huge_vall.h: This.
9006
404fe9d9
L
9007 * sysdeps/i386/bits/select.h: Removed.
9008 * sysdeps/x86_64/bits/select.h: Renamed to ...
9009 * sysdeps/x86/bits/select.h: This.
9010
d48d0446
L
9011 * sysdeps/i386/bits/setjmp.h: Removed.
9012 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9013 * sysdeps/x86/bits/setjmp.h: This.
9014
7dc00e0d
L
9015 * sysdeps/i386/bits/mathdef.h: Removed.
9016 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9017 * sysdeps/x86/bits/mathdef.h: This.
9018
03277f8f
AS
90192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9020
9021 [BZ #14132]
9022 * include/sys/socket.h (__connect_internal)
9023 (__libc_sa_len_internal): Remove declaration.
9024 (__connect, __libc_sa_len): Declare hidden_proto.
9025 (SA_LEN): Remove use of INTUSE.
9026 * socket/connect.c: Add libc_hidden_def.
9027 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9028 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9029 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9030 alias.
9031 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9032 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9033 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9034 of adding _internal alias.
9035
13764867
L
90362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9037
9038 [BZ #14117]
6bd97696
L
9039 * sysdeps/i386/bits/link.h: Removed.
9040 * sysdeps/i386/bits/linkmap.h: Likewise.
9041 * sysdeps/x86_64/bits/link.h: Renamed to ...
9042 * sysdeps/x86/bits/link.h: This.
9043 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9044 * sysdeps/x86/bits/linkmap.h: This.
9045
f726f0bb
L
9046 * sysdeps/i386/bits/endian.h: Removed.
9047 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9048 * sysdeps/x86/bits/endian.h: This.
9049
13764867
L
9050 * sysdeps/i386/bits/byteswap.h: Removed.
9051 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9052 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9053 * sysdeps/x86/bits/byteswap.h: This.
9054 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9055 * sysdeps/x86/bits/byteswap-16.h: This.
9056 * sysdeps/i386/Implies: Add x86.
9057 * sysdeps/x86_64/Implies: Likewise.
9058
ae251b0b
DM
90592012-05-30 David S. Miller <davem@davemloft.net>
9060
9061 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9062 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9063 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9064 (FP_TRAPPING_EXCEPTIONS): Define.
9065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9066 (FP_TRAPPING_EXCEPTIONS): Define.
9067 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9068 subnormals only when inexact has been signalled or underflow
9069 exceptions are enabled.
9070 (_FP_PACK_CANONICAL): Likewise.
9071
d5c90867
L
90722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9073
9074 [BZ #14183]
9075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9076 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9077
63f1549e
RH
90782012-05-30 Richard Henderson <rth@twiddle.net>
9079
8d8f2279
RH
9080 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9081 with #ifndef NOT_IN_libc.
9082
63f1549e
RH
9083 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9084 marked to avoid plt entry.
9085
0ab0291b
L
90862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9087
9088 [BZ #14112]
9089 * Makeconfig (default-abi): New macro.
9090 (abi-includes): Likewise.
9091 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9092 $(abi-$(default-abi)-lib-soname) for soname if defined.
9093 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9094 abi-variants.
9095 * Makefile (installed-stubs): Likewise.
9096 * include/stubs-biarch.h: Removed.
9097 * scripts/lib-names.awk: Only handle one library at a time.
9098 * scripts/soversions.awk: Remove WORDSIZE support.
9099 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9100 entries.
9101 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9102 Removed.
9103 (syscall-list-default-condition): Likewise.
9104 (syscall-list-default-condition): Likewise.
9105 (syscall-list-includes): Likewise.
9106 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9107 syscall-list-* with abi-*. Handle undefined abi-variants.
9108 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9109 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9110 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9111 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9112 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9113 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9114 Removed.
9115 (syscall-list-32-options): Likewise.
9116 (syscall-list-32-condition): Likewise.
9117 (syscall-list-64-options): Likewise.
9118 (syscall-list-64-condition): Likewise.
9119 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9120 macro.
9121 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9122 Renamed to ...
9123 (abi-*): This.
9124 (abi-64-ld-soname): New macro.
9125 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9126 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9127 Renamed to ...
9128 (abi-*): This.
9129 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9130 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9131
4da0431d
JM
91322012-05-30 Joseph Myers <joseph@codesourcery.com>
9133
3a85279c
JM
9134 * sysdeps/unix/sysv/linux/kernel-features.h
9135 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9136 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9137 include <kernel-features.h>.
9138 [!__NR_ftruncate64]: Remove conditional code.
9139 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9140 [__NR_ftruncate64]: Make code unconditional.
9141 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9142 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9143 include <kernel-features.h>.
9144 [!__NR_ftruncate64]: Remove conditional code.
9145 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9146 [__NR_ftruncate64]: Make code unconditional.
9147 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9149 include <kernel-features.h>.
9150 [!__NR_ftruncate64]: Remove conditional code.
9151 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9152 [__NR_ftruncate64]: Make code unconditional.
9153 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9155 include <kernel-features.h>.
9156 [!__NR_ftruncate64]: Remove conditional code.
9157 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9158 [__NR_ftruncate64]: Make code unconditional.
9159 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9160
4da0431d
JM
9161 * configure.in (libc_cv_fpie): Weaken to a compile test using
9162 LIBC_TRY_CC_OPTION.
9163 * configure: Regenerated.
9164
11ef492c
AK
91652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9166
9167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9171 Refreshed.
9172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9178 Refreshed.
9179
d66ef399
DM
91802012-05-27 David S. Miller <davem@davemloft.net>
9181
9182 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9183 (___Q_zero): New.
9184 (__Q_simulate_exceptions): Return void. Change to simulate
9185 exceptions by writing into the %fsr.
9186 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9187 (__Qp_handle_exceptions): Likewise.
9188 (numbers): Delete.
9189 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9190 __Qp_handle_exceptions.
9191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9192 __Qp_handle_exceptions.
9193 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9194 as unused and give dummy FP_RND_NEAREST initializer.
9195 (FP_INHIBIT_RESULTS): Define.
9196 (___Q_simulate_exceptions): Update declaration.
9197 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9198 formatting.
9199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9200 as unused and give dummy FP_RND_NEAREST initializer.
9201 (__Qp_handle_exceptions): Update declaration.
9202 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9203 formatting.
9204
04fb54b5
TS
92052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9206
9207 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9208 the temporary FPU control word.
9209 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9210 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9211 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9212 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9213 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9214 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9215 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9216 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9217 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9218 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9219 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9220
3f99608f
KK
92212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9222
9223 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9224 fields.
9225
65a4de4e
CLT
92262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9227
9228 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9229 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9230 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9231 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9232 Likewise.
9233 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9234 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9235 Likewise.
9236
15749d40
UD
92372012-05-27 Ulrich Drepper <drepper@gmail.com>
9238
9239 * po/h.po: Update from translation team.
9240
25dbcb27
AS
92412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9242
3d3f8e55
AS
9243 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9244
25dbcb27
AS
9245 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9246 handling of denormals.
9247 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9248 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9249 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9250 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9252 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9254 Likewise.
9255
7ad47a80 92562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9257
9258 [BZ #14152]
9259 * math/libm-test.inc (fma_test): Don't always expect underflow
9260 exception.
9261
9c6ea9fa
SP
92622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9263
9264 [BZ #12416]
9265 * elf/tst-execstack.c: Include stackinfo.h.
9266 (do_test): Adjust test case to ensure that pthread_getattr_np
9267 behaviour remains the same after marking stack executable.
9268
a8239222
JM
92692012-05-25 Joseph Myers <joseph@codesourcery.com>
9270
9271 * sysdeps/unix/sysv/linux/kernel-features.h
9272 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9273 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9274 kernel-features.h.
9275 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9276 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9277 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9278 kernel-features.h.
9279 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9280 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9281
918b5606
L
92822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9283
9284 * configure.in: Define the default includes to being none.
9285 * configure: Regenerated.
9286
3a097cc7
RM
92872012-05-25 Roland McGrath <roland@hack.frob.com>
9288
8422c9a5
RM
9289 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9290 * sysdeps/x86_64/setjmp.S: Likewise.
9291 * sysdeps/i386/bsd-setjmp.S: Likewise.
9292 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9293 * sysdeps/i386/setjmp.S: Likewise.
9294 * sysdeps/i386/__longjmp.S: Likewise.
9295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9296 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9297
3a097cc7
RM
9298 * include/stap-probe.h: New file.
9299 * configure.in: Handle --enable-systemtap.
9300 * configure: Regenerated.
9301 * config.h.in (USE_STAP_PROBE): New #undef.
9302 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9303 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9304 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9305
21708942
JM
93062012-05-25 Joseph Myers <joseph@codesourcery.com>
9307
9308 [BZ #13717]
9309 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9310 to 2.4.0 where earlier.
9311 * sysdeps/unix/sysv/linux/configure: Regenerated.
9312 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9313 <kernel-features.h>.
9314 [__ASSUME_32BITUIDS]: Make code unconditional.
9315 [!__ASSUME_32BITUIDS]: Remove conditional code.
9316 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9317 <kernel-features.h>.
9318 [__ASSUME_32BITUIDS]: Make code unconditional.
9319 [!__ASSUME_32BITUIDS]: Remove conditional code.
9320 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9321 [__ASSUME_32BITUIDS]: Make code unconditional.
9322 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9323 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9324 <kernel-features.h>.
9325 [__ASSUME_32BITUIDS]: Make code unconditional.
9326 [!__ASSUME_32BITUIDS]: Remove conditional code.
9327 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9328 <kernel-features.h>.
9329 [__ASSUME_32BITUIDS]: Make code unconditional.
9330 [!__ASSUME_32BITUIDS]: Remove conditional code.
9331 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9332 <kernel-features.h>.
9333 [__ASSUME_32BITUIDS]: Make code unconditional.
9334 [!__ASSUME_32BITUIDS]: Remove conditional code.
9335 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9336 <kernel-features.h>.
9337 [__ASSUME_32BITUIDS]: Make code unconditional.
9338 [!__ASSUME_32BITUIDS]: Remove conditional code.
9339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9340 <kernel-features.h>.
9341 [__ASSUME_32BITUIDS]: Make code unconditional.
9342 [!__ASSUME_32BITUIDS]: Remove conditional code.
9343 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9344 <kernel-features.h>.
9345 [__ASSUME_32BITUIDS]: Make code unconditional.
9346 [!__ASSUME_32BITUIDS]: Remove conditional code.
9347 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9348 <kernel-features.h>.
9349 [__ASSUME_32BITUIDS]: Make code unconditional.
9350 [!__ASSUME_32BITUIDS]: Remove conditional code.
9351 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9352 <kernel-features.h>.
9353 [__ASSUME_32BITUIDS]: Make code unconditional.
9354 [!__ASSUME_32BITUIDS]: Remove conditional code.
9355 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9356 <kernel-features.h>.
9357 [__ASSUME_32BITUIDS]: Make code unconditional.
9358 [!__ASSUME_32BITUIDS]: Remove conditional code.
9359 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9360 <kernel-features.h>.
9361 [__ASSUME_32BITUIDS]: Make code unconditional.
9362 [!__ASSUME_32BITUIDS]: Remove conditional code.
9363 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9364 <kernel-features.h>.
9365 [__NR_setresgid] (__setresgid): Do not declare.
9366 [__ASSUME_32BITUIDS]: Make code unconditional.
9367 [!__ASSUME_32BITUIDS]: Remove conditional code.
9368 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9369 <kernel-features.h>.
9370 [__NR_setresuid] (__setresuid): Do not declare.
9371 [__ASSUME_32BITUIDS]: Make code unconditional.
9372 [!__ASSUME_32BITUIDS]: Remove conditional code.
9373 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9374 <kernel-features.h>.
9375 [__ASSUME_32BITUIDS]: Make code unconditional.
9376 [!__ASSUME_32BITUIDS]: Remove conditional code.
9377 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9378 <kernel-features.h>.
9379 [__ASSUME_32BITUIDS]: Make code unconditional.
9380 [!__ASSUME_32BITUIDS]: Remove conditional code.
9381 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9382 <kernel-features.h>.
9383 [__ASSUME_32BITUIDS]: Make code unconditional.
9384 [!__ASSUME_32BITUIDS]: Remove conditional code.
9385 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9386 <kernel-features.h>.
9387 [__ASSUME_32BITUIDS]: Make code unconditional.
9388 [!__ASSUME_32BITUIDS]: Remove conditional code.
9389 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9390 <kernel-features.h>.
9391 [__ASSUME_32BITUIDS]: Make code unconditional.
9392 [!__ASSUME_32BITUIDS]: Remove conditional code.
9393 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9394 <kernel-features.h>.
9395 [__ASSUME_32BITUIDS]: Make code unconditional.
9396 [!__ASSUME_32BITUIDS]: Remove conditional code.
9397 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9398 <kernel-features.h>.
9399 [__ASSUME_32BITUIDS]: Make code unconditional.
9400 [!__ASSUME_32BITUIDS]: Remove conditional code.
9401 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9402 <kernel-features.h>.
9403 [__ASSUME_32BITUIDS]: Make code unconditional.
9404 [!__ASSUME_32BITUIDS]: Remove conditional code.
9405 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9406 <kernel-features.h>.
9407 [__ASSUME_32BITUIDS]: Make code unconditional.
9408 [!__ASSUME_32BITUIDS]: Remove conditional code.
9409 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9410 <kernel-features.h>.
9411 [__ASSUME_32BITUIDS]: Make code unconditional.
9412 [!__ASSUME_32BITUIDS]: Remove conditional code.
9413 * sysdeps/unix/sysv/linux/kernel-features.h
9414 (__ASSUME_SETRESUID_SYSCALL): Remove.
9415 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9416 (__ASSUME_32BITUIDS): Likewise.
9417 (__ASSUME_LDT_WORKS): Likewise.
9418 (__ASSUME_O_DIRECTORY): Likewise.
9419 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9420 architecture but not kernel version.
9421 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9422 (__ASSUME_MMAP2_SYSCALL): Likewise.
9423 (__ASSUME_STAT64_SYSCALL): Likewise.
9424 (__ASSUME_IPC64): Likewise.
9425 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9426 <kernel-features.h>.
9427 [__ASSUME_32BITUIDS]: Make code unconditional.
9428 [!__ASSUME_32BITUIDS]: Remove conditional code.
9429 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9430 <kernel-features.h>.
9431 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9432 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9433 132096]: Remove conditional code.
9434 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9435 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9436 <kernel-features.h>.
9437 [__ASSUME_32BITUIDS]: Make code unconditional.
9438 [!__ASSUME_32BITUIDS]: Remove conditional code.
9439 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9440 <kernel-features.h>.
9441 [__ASSUME_32BITUIDS]: Make code unconditional.
9442 [!__ASSUME_32BITUIDS]: Remove conditional code.
9443 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9444 <kernel-features.h>.
9445 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9446 unconditional.
9447 (__setresgid): Do not declare.
9448 [__ASSUME_32BITUIDS]: Make code unconditional.
9449 [!__ASSUME_32BITUIDS]: Remove conditional code.
9450 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9451 <kernel-features.h>.
9452 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9453 unconditional.
9454 (__setresuid): Do not declare.
9455 [__ASSUME_32BITUIDS]: Make code unconditional.
9456 [!__ASSUME_32BITUIDS]: Remove conditional code.
9457 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9458 <kernel-features.h>.
9459 [__ASSUME_32BITUIDS]: Make code unconditional.
9460 [!__ASSUME_32BITUIDS]: Remove conditional code.
9461 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9462 <kernel-features.h>.
9463 [__ASSUME_32BITUIDS]: Make code unconditional.
9464 [!__ASSUME_32BITUIDS]: Remove conditional code.
9465
a386f1cc
RH
94662012-05-25 Richard Henderson <rth@twiddle.net>
9467
9468 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9469 dl_hwcap to ifunc resolver.
9470 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9471 elf_ifunc_invoke.
9472 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9473 dl_hwcap to ifunc resolver.
9474 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9475
b6550497
JM
94762012-05-24 Joseph Myers <joseph@codesourcery.com>
9477
9478 [BZ #14153]
9479 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9480 for |x| <= 2**-26, not 2**-57.
9481 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9482 exception.
9483
b0bc23a1
JL
94842012-05-24 Jeff Law <law@redhat.com>
9485
9486 * stdio-common/Makefile (tests): Add bug25.
9487 * stdio-common/bug25.c: New test.
9488
347c92e9
L
94892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9490
9491 [BZ #13576]
9492 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9493 multiple of MALLOC_ALIGNMENT in size.
9494 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9495
6bcc8b3f
JM
94962012-05-24 Joseph Myers <joseph@codesourcery.com>
9497
9498 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9499 Require >= 256.
9500 (FILENAME_MAX): Use macro-int-constant.
9501 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9502 (_IOFBF): Use macro-int-constant.
9503 (_IOLBF): Likewise.
9504 (_IONBF): Likewise.
9505 (SEEK_CUR): Likewise.
9506 (SEEK_END): Likewise.
9507 (SEEK_SET): Likewise.
9508 (TMP_MAX): Likewise.
9509 (EOF): Use macro-int-constant. Require < 0.
9510 (NULL): Use macro-constant. Require == 0.
9511 (stdin): Require type to be FILE *.
9512 (stdout): Likewise.
9513 (stderr): Likewise.
9514 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9515 macro-int-constant.
9516 (EXIT_SUCCESS): Likewise.
9517 (NULL): Use macro-constant. Require == 0.
9518 (RAND_MAX): Use macro-int-constant.
9519 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9520 [C99-based standards] (strtof): Require function.
9521 [C99-based standards] (strtold): Likewise.
9522 [C99-based standards] (strtoll): Likewise.
9523 [C99-based standards] (strtoull): Likewise.
9524 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9525 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9526 [ISO || ISO99 || ISO11] (math.h): Likewise.
9527 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9528 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9530
d18ea0c5
AS
95312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9532
9533 [BZ #14132]
56d25bb8
AS
9534 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9535 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9536 * intl/dgettext.c (DCGETTEXT): Likewise.
9537 * intl/gettext.c (DCGETTEXT): Likewise.
9538 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9539 * posix/regex_internal.h (gettext): Likewise.
9540 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9541 Remove declaration.
9542 * include/argz.h (__argz_count_internal)
9543 (__argz_stringify_internal): Remove declaration.
9544 (__argz_count, __argz_stringify): Declare hidden proto.
9545 * intl/dcgettext.c: Remove use of INTDEF.
9546 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9547 * string/argz-stringify.c: Likewise.
9548 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9549 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9550 Declare hidden proto.
d18ea0c5
AS
9551 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9552 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9553 Declare hidden proto.
9554 * include/stdio.h (__asprintf_internal): Don't declare.
9555 (__asprintf): Don't define as macro. Declare hidden proto.
9556 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9557 (__fsetlocking): Declare hidden proto.
9558 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9559 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9560 hidden proto.
9561 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9562 (_IO_setlinebuf): Remove use of INTUSE.
9563 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9564 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9565 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9566 Remove declaration.
9567 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9568 (_IO_do_flush): Remove use of INTUSE.
9569 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9570 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9571 (_IO_adjust_column, _IO_least_wmarker)
9572 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9573 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9574 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9575 (_IO_default_doallocate, _IO_wdefault_doallocate)
9576 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9577 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9578 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9579 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9580 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9581 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9582 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9583 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9584 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9585 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9586 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9587 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9588 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9589 proto.
9590 (_IO_flush_all_internal, _IO_adjust_column_internal)
9591 (_IO_default_uflow_internal, _IO_default_finish_internal)
9592 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9593 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9594 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9595 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9596 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9597 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9598 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9599 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9600 (_IO_file_close_internal, _IO_file_close_it_internal)
9601 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9602 (_IO_file_init_internal, _IO_file_attach_internal)
9603 (_IO_file_fopen_internal, _IO_file_read_internal)
9604 (_IO_file_sync_internal, _IO_file_seek_internal)
9605 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9606 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9607 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9608 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9609 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9610 (_IO_list_all_internal, _IO_link_in_internal)
9611 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9612 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9613 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9614 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9615 (_IO_do_write_internal, _IO_padn_internal)
9616 (_IO_getline_info_internal, _IO_getline_internal)
9617 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9618 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9619 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9620 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9621 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9622 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9623 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9624 with libc_hidden_ver, remove use of INTUSE.
9625 * libio/genops.c: Likewise.
9626 * libio/freopen.c: Likewise.
9627 * libio/freopen64.c: Likewise.
9628 * libio/iofclose.c: Likewise.
9629 * libio/iofdopen.c: Likewise.
9630 * libio/iofflush.c: Likewise.
9631 * libio/iofflush_u.c: Likewise.
9632 * libio/iofgets.c: Likewise.
9633 * libio/iofgets_u.c: Likewise.
9634 * libio/iofopen.c: Likewise.
9635 * libio/iofopncook.c: Likewise.
9636 * libio/iofread.c: Likewise.
9637 * libio/iofread_u.c: Likewise.
9638 * libio/ioftell.c: Likewise.
9639 * libio/iofwrite.c: Likewise.
9640 * libio/iogetline.c: Likewise.
9641 * libio/iogets.c: Likewise.
9642 * libio/iogetwline.c: Likewise.
9643 * libio/iopadn.c: Likewise.
9644 * libio/iopopen.c: Likewise.
9645 * libio/ioseekoff.c: Likewise.
9646 * libio/ioseekpos.c: Likewise.
9647 * libio/iosetbuffer.c: Likewise.
9648 * libio/iosetvbuf.c: Likewise.
9649 * libio/ioungetc.c: Likewise.
9650 * libio/ioungetwc.c: Likewise.
9651 * libio/iovdprintf.c: Likewise.
9652 * libio/iovsprintf.c: Likewise.
9653 * libio/iovsscanf.c: Likewise.
9654 * libio/memstream.c: Likewise.
9655 * libio/obprintf.c: Likewise.
9656 * libio/oldfileops.c: Likewise.
9657 * libio/oldiofclose.c: Likewise.
9658 * libio/oldiofdopen.c: Likewise.
9659 * libio/oldiofopen.c: Likewise.
9660 * libio/oldiopopen.c: Likewise.
9661 * libio/oldstdfiles.c: Likewise.
9662 * libio/putc.c: Likewise.
9663 * libio/setbuf.c: Likewise.
9664 * libio/setlinebuf.c: Likewise.
9665 * libio/stdfiles.c: Likewise.
9666 * libio/strops.c: Likewise.
9667 * libio/vasprintf.c: Likewise.
9668 * libio/vscanf.c: Likewise.
9669 * libio/vsnprintf.c: Likewise.
9670 * libio/vswprintf.c: Likewise.
9671 * libio/wfiledoalloc.c: Likewise.
9672 * libio/wfileops.c: Likewise.
9673 * libio/wgenops.c: Likewise.
9674 * libio/wmemstream.c: Likewise.
9675 * libio/wstrops.c: Likewise.
9676 * libio/__fpurge.c: Likewise.
9677 * libio/__fsetlocking.c: Likewise.
9678 * assert/assert.c: Likewise.
9679 * debug/fgets_chk.c: Likewise.
9680 * debug/fgets_u_chk.c: Likewise.
9681 * debug/fread_chk.c: Likewise.
9682 * debug/fread_u_chk.c: Likewise.
9683 * debug/gets_chk.c: Likewise.
9684 * debug/obprintf_chk.c: Likewise.
9685 * debug/vasprintf_chk.c: Likewise.
9686 * debug/vdprintf_chk.c: Likewise.
9687 * debug/vsnprintf_chk.c: Likewise.
9688 * debug/vsprintf_chk.c: Likewise.
9689 * malloc/mtrace.c: Likewise.
9690 * misc/error.c: Likewise.
9691 * misc/syslog.c: Likewise.
9692 * stdio-common/asprintf.c: Likewise.
9693 * stdio-common/fxprintf.c: Likewise.
9694 * stdio-common/getw.c: Likewise.
9695 * stdio-common/isoc99_fscanf.c: Likewise.
9696 * stdio-common/isoc99_scanf.c: Likewise.
9697 * stdio-common/isoc99_vfscanf.c: Likewise.
9698 * stdio-common/isoc99_vscanf.c: Likewise.
9699 * stdio-common/isoc99_vsscanf.c: Likewise.
9700 * stdio-common/printf-prs.c: Likewise.
9701 * stdio-common/printf_fp.c: Likewise.
9702 * stdio-common/printf_fphex.c: Likewise.
9703 * stdio-common/printf_size.c: Likewise.
9704 * stdio-common/putw.c: Likewise.
9705 * stdio-common/scanf.c: Likewise.
9706 * stdio-common/sprintf.c: Likewise.
9707 * stdio-common/tmpfile.c: Likewise.
9708 * stdio-common/vfprintf.c: Likewise.
9709 * stdio-common/vfscanf.c: Likewise.
9710 * stdlib/strfmon_l.c: Likewise.
9711 * sunrpc/openchild.c: Likewise.
9712 * sunrpc/xdr_stdio.c: Likewise.
9713 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9714 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9715
d6c33fda
RM
97162012-05-24 Roland McGrath <roland@hack.frob.com>
9717
c1487492
RM
9718 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9719
9720 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9721 in the third column, to generate for the shared library an IFUNC
9722 that uses _dl_vdso_vsym.
9723 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9724 * Makeconfig (object-suffixes-noshared): New variable.
9725
9726 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9727 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9728 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9729 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9730
d6c33fda
RM
9731 [BZ #14132]
9732 * include/sys/time.h (__gettimeofday): Remove macro.
9733 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9734 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9735 Remove INTDEF.
9736 (__gettimeofday): Add libc_hidden_def.
9737 (gettimeofday): Add libc_hidden_weak.
9738 * sysdeps/mach/gettimeofday.c: Likewise.
9739 * sysdeps/posix/gettimeofday.c: Likewise.
9740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9741 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9742 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9743 (__gettimeofday_internal): Remove strong_alias.
9744 (__gettimeofday): Add libc_hidden_def.
9745 (gettimeofday): Add libc_hidden_weak.
9746 * sysdeps/unix/syscalls.list (gettimeofday):
9747 Remove __gettimeofday_internal alias.
9748
b5a2bbe6
L
97492012-05-24 Daniel Jacobowitz <drow@false.org>
9750 H.J. Lu <hongjiu.lu@intel.com>
9751
9752 [BZ #12495]
9753 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9754 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9755 (largebin_index_32_big): New.
9756 (largebin_index): Use it for 16-byte alignment.
9757 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9758 correction with front_misalign.
9759
cfba4fda
L
97602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9761
7f907421
L
9762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9764 Likewise.
9765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9766 Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9768 Likewise.
9769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9770 Likewise.
9771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9772 Likewise.
9773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9774 Likewise.
9775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9776 Likewise.
9777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9778 Likewise.
9779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9780 Likewise.
9781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9782 Likewise.
9783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9784 Likewise.
9785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9786 Likewise.
9787
cfba4fda
L
9788 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9789 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9790
80bad0cc
JM
97912012-05-24 Joseph Myers <joseph@codesourcery.com>
9792
7a25eb06
JM
9793 [BZ #10846]
9794 [BZ #14036]
9795 * math/libm-test.inc (exp_test): Add test from bug 14036.
9796 (pow_test): Add test from bug 10846.
9797
795405f9
JM
9798 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9799 and other flags.
9800 (special_function): Do not include flags in test name.
9801 (parse_args): Likewise.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9804 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9805 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9807
80bad0cc
JM
9808 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9809 exceptions.
9810 * math/libm-test.inc ("Philosophy"): Update comment about
9811 exception testing.
9812 (UNDERFLOW_EXCEPTION): New macro.
9813 (UNDERFLOW_EXCEPTION_OK): Likewise.
9814 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9815 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9816 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9817 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9818 (INVALID_EXCEPTION_OK): Update value.
9819 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9820 (OVERFLOW_EXCEPTION_OK): Likewise.
9821 (IGNORE_ZERO_INF_SIGN): Likewise.
9822 (test_exceptions): Handle underflow exceptions.
9823 (acos_test): Update for underflow exception expectations.
9824 (cexp_test): Likewise.
9825 (clog_test): Likewise.
9826 (clog10_test): Likewise.
9827 (csqrt_test): Likewise.
9828 (ctan_test): Likewise.
9829 (ctanh_test): Likewise.
9830 (exp_test): Likewise.
9831 (exp10_test): Likewise.
9832 (exp2_test): Likewise.
9833 (expm1_test): Likewise.
9834 (fma_test): Likewise.
9835 (j0_test): Likewise.
9836 (jn_test): Likewise.
9837 (nexttoward_test): Likewise.
9838 (pow_test): Likewise.
9839 (scalbn_test): Likewise.
9840 (scalbln_test): Likewise.
9841 (tan_test): Likewise.
9842 (y1_test): Likewise.
9843 * sysdeps/i386/fpu/libm-test-ulps: Update.
9844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9845
9e0e3d0b
DM
98462012-05-23 David S. Miller <davem@davemloft.net>
9847
9848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9849 (__libc_sigaction): Remove unused local variables.
9850
ccd0a08f
L
98512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9852
9853 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9854
62bdf9a6
PE
98552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9856
f8591f80
PE
9857 mktime: avoid signed integer overflow
9858 * time/mktime.c (__mktime_internal): Do not mishandle the case
9859 where diff == INT_MIN.
9860
94c7d826
PE
9861 mktime: simplify computation of average
9862 * time/mktime.c (ranged_convert): Use new time_t_avg function
9863 instead of rolling our own (probably-slower) code.
9864
ce73d683
PE
9865 mktime: do not assume signed right shift propagates sign bit
9866 * time/mktime.c (isdst_differ): New static function.
9867 (__mktime_internal): No need to normalize tm_isdst now.
9868 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9869 tm_isdst values.
9870
72a22e59
PE
9871 mktime: merge another wrapv change from gnulib
9872 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9873 from some compilers.
9874
68605433
PE
9875 mktime: remove incorrect attempt at unusual arithmetics
9876 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9877 The code didn't really work on such machines anyway.
9878 (TYPE_MINIMUM): Assume two's complement.
9879 (twos_complement_arithmetic): Verify that long_int and time_t
9880 are two's complement (or unsigned, in the latter case).
9881
03cf7fe3
PE
9882 mktime: check signed shifts on long_int and time_t, too
9883 * time/mktime.c (SHR): Check that shifts work as desired
9884 on the types long_int and time_t too, as SHR is used on
9885 such types.
9886
f04dfbc2
PE
9887 mktime: do not assume 'long' is wide enough
9888 * time/mktime.c (verify): Move decl up.
9889 (long_int): New type.
9890 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9891 to remove assumption in the code that 'long' is wide enough to
9892 store year values. This assumption is not true on x32 and on
9893 some non-glibc platforms.
9894
62bdf9a6
PE
9895 mktime: merge wrapv change from gnulib
9896 * time/mktime.c (WRAPV): New macro.
9897 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9898 (guess_time_tm, __mktime_internal): Do not assume that signed
9899 integer overflow wraps around; modern compilers generate code
9900 where this assumption is no longer valid.
9901
5e292e4f
L
99022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9903
9904 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9905 Replace "jmp L(pseudo_end)" with "ret".
9906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9907 Likewise.
9908
8caf8c87
AJ
99092012-05-23 Andreas Jaeger <aj@suse.de>
9910
9911 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9912 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9913
1a09dc56
AJ
99142012-05-23 Andreas Jaeger <aj@suse.de>
9915 Maximilian Attems <max@stro.at>
9916
9917 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9918 New macros.
9919
1c87aba0
L
99202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9921
9922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9923 code so that pseudo_end is just ret and the stack pointer is
9924 correct also for static library in error case.
9925
40e45bd5
JM
99262012-05-23 Joseph Myers <joseph@codesourcery.com>
9927
c2670533
JM
9928 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9929 move to syscalls.list.
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9934
40e45bd5
JM
9935 * manual/install.texi (Running make install): Do not mention Linux
9936 kernel version for which pt_chown is not needed.
9937 (Linux): Do not mention problems with nscd with 2.0 kernels.
9938 * INSTALL: Regenerated.
9939
be08eda5
AJ
99402012-05-23 Andreas Jaeger <aj@suse.de>
9941
9942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9943 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9944 macro.
9945 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9946 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9947 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9948 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9949 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9950 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9952 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9953 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9954 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9955 * sysdeps/unix/sysv/linux/bits/in.h
9956 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9957
a6a056bb
RM
99582012-05-22 Roland McGrath <roland@hack.frob.com>
9959
9960 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9961 (PREPARE_VERSION): Just use assert instead, it will be elided
9962 under [NDEBUG] anyway.
9963
c9009328
L
99642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9965
9966 * sysdeps/unix/sysv/linux/Makefile: Include
9967 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9968 (sysdep_routines): Remove sysctl.
c9009328
L
9969 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9970 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9971 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9972 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9973 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9974
73338355
AJ
99752012-05-22 Andreas Jaeger <aj@suse.de>
9976
9977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9978 that pseudo_end is just ret and the stack pointer is correct also
9979 for static library in error case.
9980
d44638b0
PP
99812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9982
9983 [BZ #14122]
9984 * nss/nsswitch.c (defconfig_entries): New variable.
9985 (__nss_database_lookup): Don't leak defconfig entries.
9986 (nss_parse_service_list): Don't leak on error paths.
9987 (free_database_entries): New function.
9988 (free_defconfig): New function.
9989 (free_mem): Move common code to free_database_entries.
9990
31a39bd8
L
99912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9992
da0331a8
L
9993 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9994 Add arch_prctl.
9995 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9996
31a39bd8
L
9997 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9998 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10000 New macro.
10001 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10002 (INTERNAL_SYSCALL_TYPES): Likewise.
10003 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10004 (LOAD_REGS_TYPES_[1-6]): Likewise.
10005 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10006 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10007
45470df3
AZ
100082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10009
10010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10011 copysignl for GLIBC_2_0.
10012 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10013 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10014 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10015 logbl for GLIBC_2_0.
10016 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10017 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10018
98a61bcb
L
100192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10020
a4f6e481
L
10021 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10022 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10023
f63d5db6
L
10024 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10025 Use "neg %eax".
10026
98a61bcb
L
10027 * time/mktime.c: Update copyright years.
10028
95770f14
PE
100292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10030
6226efbd
PE
10031 mktime: merge comment-quoting-style change from gnulib
10032 * time/mktime.c: Quote 'like this' in comments.
10033 The GNU coding standards suggest that we no longer quote `like this',
10034 as "`" and "'" are typically rendered asymmetrically nowadays.
10035 The typical gnulib style is to quote 'like this' when quoting
10036 code, and "like this" when quoting English.
10037
b99e4f78
PE
10038 * time/mktime.c (compile-command): Add "-I.".
10039
643e01e6
PE
10040 mktime: merge mktime-internal.h change from gnulib
10041 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10042
2554247d
PE
10043 mktime: merge time_r change from gnulib
10044 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10045
826dd0ab
PE
10046 mktime: merge DEBUG change from gnulib
10047 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10048 case system <time.h> has a #define.
10049
bd83aabe
PE
10050 mktime: merge <sys/types.h> change from gnulib
10051 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10052 since <time.t> is now guaranteed to define time_t.
10053
95770f14
PE
10054 mktime: merge HAVE_CONFIG_H change from gnulib
10055 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10056
5e1a27a9
L
100572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10058
0e44a77e
L
10059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10060 Use "neg %eax".
10061
5e1a27a9
L
10062 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10063 __rlim_t cast.
10064 (struct rusage): Use anonymous union to pad each field to
10065 __syscall_slong_t.
10066
46259bec
DM
100672012-05-21 David S. Miller <davem@davemloft.net>
10068
10069 * Makefules (o-iterator): Remove .s cases.
10070 (compile-command.s): Delete.
10071 (COMPILE.s): Delete.
10072 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10073
59f0c22e
JM
100742012-05-21 Joseph Myers <joseph@codesourcery.com>
10075
10076 * configure.in (libc_cv_predef_stack_protector): Only consider
10077 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10078 * configure: Regenerated.
10079
20c07380
L
100802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10081
bbb3154b
L
10082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10083 New macro. Use R*LP on int and pointer.
10084 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10085 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10086 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10087 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10088
20c07380
L
10089 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10090 [__WORDSIZE_TIME64_COMPAT32] instead of
10091 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10092 (struct utmp): Likewise.
10093 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10094 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10095 Renamed to ...
10096 (__WORDSIZE_TIME64_COMPAT32): This.
10097 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10098 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10099 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10100 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10101 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10102 (__WORDSIZE_TIME64_COMPAT32): New macro.
10103
d8d1017e
AJ
101042012-05-21 Andreas Jaeger <aj@suse.de>
10105
10106 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10107 only if [SHARED]. Add prototype for __wcschr_ia32.
10108
6c7fb145
RM
101092012-05-21 Roland McGrath <roland@hack.frob.com>
10110
10111 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10112 of %rbp unmolested in the jmp_buf while mangling the low bits.
10113 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10114 unmolested high bits of %rbp while demangling the low bits.
10115 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10116
66274218
AJ
101172012-05-21 Andreas Jaeger <aj@suse.de>
10118
07c58f8f
AJ
10119 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10120 * sunrpc/svc_simple.c: Use it for registerrpc.
10121 * sunrpc/xcrypt.c: Use it for passwd2des.
10122
66274218
AJ
10123 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10124
61f65140
L
101252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10126
10127 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10128 Don't define if [__SYSCALL_WORDSIZE != 32].
10129 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10130 New macro.
10131
5fefb436
AJ
101322012-05-21 Bruno Haible <bruno@clisp.org>
10133 Andreas Jaeger <aj@suse.de>
10134
10135 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10136 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10137 inptr and inend for must_buffer_ch.
10138 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10139 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10140 * stdio-common/Makefile (tests): Remove bug15.
10141 (bug15-ENV): Remove macro.
10142 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10143 anymore.
10144
d8e272ab
AJ
101452012-05-19 Andreas Jaeger <aj@suse.de>
10146 Roland McGrath <roland@hack.frob.com>
10147
10148 * manual/contrib.texi: Completely rewritten. It contains now an
10149 alphabetical list of contributors and their contributions.
10150
4a56a162
RH
101512012-05-21 Richard Henderson <rth@twiddle.net>
10152
10153 * misc/getauxval.c (__getauxval): Use unsigned long int.
10154 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10155 (getauxval): Use unsigned long int.
10156
d024d23c
L
101572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10158
10159 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10160
cbc00a03
RM
101612012-05-21 Roland McGrath <roland@hack.frob.com>
10162
10163 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10164 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10165 __alignof__ (long double).
10166
478143fa
AZ
101672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10168
10169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10170
c7683a6d
RH
101712012-05-20 Richard Henderson <rth@twiddle.net>
10172
10173 * misc/getauxval.c: New file.
10174 * misc/sys/auxv.h: New file.
10175 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10176 (routines): Add getauxval.
10177 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10179 * elf/dl-sysdep.c (_dl_auxv): Remove.
10180 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10181 * elf/dl-support.c (_dl_auxv): New variable.
10182 (_dl_aux_init): Initialize it.
10183 * manual/startup.texi (Auxiliary Vector): New node.
10184 * sysdeps/generic/bits/hwcap.h: New file.
10185 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10186 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10187 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10188 * sysdeps/sparc/sysdep.h: ... here. Include it.
10189 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10192 Update.
c7683a6d
RH
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10196 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10201
a6f1845d
AZ
102022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10203
10204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10205
cbcbe830
DM
102062012-05-19 David S. Miller <davem@davemloft.net>
10207
10208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10209
e0b16cc2
JM
102102012-05-19 Joseph Myers <joseph@codesourcery.com>
10211
10212 [BZ #14123]
10213 * math/s_ccosh.c: Include <float.h>
10214 (__ccosh): Avoid internal overflow calculating sinh and cosh
10215 values before multiplying by sin and cos values.
10216 * math/s_ccoshf.c: Likewise.
10217 * math/s_ccoshl.c: Likewise.
10218 * math/s_csin.c: Likewise.
10219 * math/s_csinf.c: Likewise.
10220 * math/s_csinl.c: Likewise.
10221 * math/s_csinh.c: Likewise.
10222 * math/s_csinhf.c: Likewise.
10223 * math/s_csinhl.c: Likewise.
10224 * math/libm-test.inc (ccos_test): Add more tests.
10225 (ccosh_test): Likewise.
10226 (csin_test): Likewise.
10227 (csinh_test): Likewise.
10228 * sysdeps/i386/fpu/libm-test-ulps: Update.
10229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10230
6ad13e08
L
102312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10232
f66f0ce8
L
10233 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10234 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10235
6ad13e08
L
10236 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10237
b1d072a7
JM
102382012-05-19 Joseph Myers <joseph@codesourcery.com>
10239
10240 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10241 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10242 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10243 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10244 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10245 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10246 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10247 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10248 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10249 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10250 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10251 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10252 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10253 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10254 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10255 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10256 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10257 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10258 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10259 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10260 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10261 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10262 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10263 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10264 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10265 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10266 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10267 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10268 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10269 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10270 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10271
9eae47cb
AJ
102722012-05-18 Andreas Jaeger <aj@suse.de>
10273
10274 * csu/.gitignore: Delete.
10275
bb07f69f
L
102762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10279 (timex): Use __syscall_slong_t.
10280
e6bdb741
AJ
102812012-05-18 Andreas Jaeger <aj@suse.de>
10282 Carlos O'Donell <carlos_odonell@mentor.com>
10283
10284 * manual/install.texi (Configuring and compiling): Update
10285 description about files modified in the source directory.
d6c33fda 10286 * INSTALL: Regenerated.
e6bdb741 10287
1b74487e
L
102882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10289
10290 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10291 value. Use "or" to set return value to -1.
10292 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10293 negate return value.
10294
a88b64b9
TMQMF
102952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10296
10297 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10298 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10299 failure if the compiler has Graphite support disabled.
10300 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10301 Likewise.
10302 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10303 CFLAGS-memmove.c): Likewise.
10304 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10305 Likewise.
10306
3707636e
L
103072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10308
610b8622
L
10309 * sysdeps/x86_64/x32/_itoa.h: New file.
10310
7cd195df
L
10311 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10312 getdents system call only if kernel and user dirents have the
10313 same d_ino and d_off.
10314
94b07d20
L
10315 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10316 LLONG_MAX != LONG_MAX.
10317 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10318 (_fitoa_word): Likewise.
10319
18298070
L
10320 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10321 years.
10322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10323 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10325
553c7ea4
L
10326 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10327 include <bits/wordsize.h>. Check __x86_64__ instead of
10328 __WORDSIZE.
10329 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10330 if __x86_64__ is defined. Use anonymous union on fpstate.
10331
3707636e
L
10332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10333 anonymous union.
10334
b53ef01a
AS
103352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10336
37fb1dc0
AS
10337 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10338 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10339 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10340 Refer to _rtld_local_ro instead of _rtld_global_ro.
10341 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10342 Likewise.
10343 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10344 Likewise.
10345 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10346 Likewise.
10347 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10348 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10349 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10350
b53ef01a
AS
10351 * sysdeps/powerpc/powerpc32/dl-machine.c
10352 (__elf_machine_runtime_setup) [PROF]: Don't reference
10353 _dl_prof_resolve.
10354
7a185db2
AJ
103552012-05-18 Andreas Jaeger <aj@suse.de>
10356
10357 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10358 function only available for GCCs before 3.4 since GCC 3.4
10359 introduced a builtin.
10360 (lrint): Likewise.
10361 (llrintf): Likewise.
10362 (llrint): Likewise.
10363 (fmaxf): Likewise.
10364 (fmax): Likewise.
10365 (fminf): Likewise.
10366 (fmin): Likewise.
10367 (rint): Likewise.
10368 (rintf): Likewise.
10369 (nearbyint): Likewise.
10370 (nearbyintf): Likewise.
10371 (ceil): Likewise.
10372 (ceilf): Likewise.
10373 (floor): Likewise.
10374 (floorf): Likewise.
10375
3e5aef87
L
103762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10377
428bd707
L
10378 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10379 on both fields and cast pointer to __syscall_ulong_t.
10380
3e5aef87
L
10381 * bits/types.h (__fsword_t): New type.
10382 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10383 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10385 (__FSWORD_T_TYPE): Likewise.
10386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10387 (__FSWORD_T_TYPE): Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10389 (__FSWORD_T_TYPE): Likewise.
10390 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10391 (__FSWORD_T_TYPE): Likewise.
10392 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10393 __SWORD_TYPE with __fsword_t.
10394 (statfs64): Likewise.
10395
1ba7c3dc
DM
103962012-05-17 David S. Miller <davem@davemloft.net>
10397
10398 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10399
59910343
AJ
104002012-05-17 Andreas Jaeger <aj@suse.de>
10401
10402 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10403 warning.
10404
2e4c1e9e
L
104052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10406
10407 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10408
de7f5ce7
AJ
104092012-05-17 Andreas Jaeger <aj@suse.de>
10410
10411 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10412 when it is used.
10413
286abc3d
CM
104142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10415
10416 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10417
477cc68e
L
104182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10419
10420 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10421 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10422
1a0994f5
CD
104232012-05-17 Andreas Jaeger <aj@suse.de>
10424 Carlos O'Donell <carlos_odonell@mentor.com>
10425
10426 [BZ #14059]
10427 * sysdeps/x86_64/multiarch/init-arch.h
10428 (bit_YMM_Usable): Rename to...
10429 (bit_AVX_Usable): ... this.
10430 (bit_FMA4_Usable): New macro.
10431 (bit_XMM_state): New macro.
10432 (bit_YMM_state): New macro.
10433 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10434 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10435 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10436 (CPUID_OSXSAVE): New macro.
10437 (CPUID_AVX): New macro.
10438 (CPUID_FMA4): New macro.
10439 (index_YMM_Usable): Rename to...
10440 (index_AVX_Usable): ... this.
10441 (HAS_AVX): Use HAS_ARCH_FEATURE.
10442 (HAS_FMA4): Likewise.
10443 (HAS_YMM_USABLE): Remove.
10444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10445 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10446 are present.
10447 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10448 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10449 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10450 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10451 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10452
0af797de
CM
104532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10454
10455 * math/libm-test.c: Support platforms without multiple rounding modes.
10456 * math/bug-nextafter.c: Support platforms without FP exceptions.
10457 * math/bug-nexttoward.c: Likewise.
10458 * math/test-fenv.c: Likewise.
10459 * math/test-misc.c: Likewise.
10460 * stdlib/bug-getcontext.c: Likewise.
10461
e39745ff
AJ
104622012-05-17 Andreas Jaeger <aj@suse.de>
10463
10464 * manual/examples/search.c (critter_cmp): Change signature to
10465 avoid warnings.
10466 * manual/string.texi (Collation Functions): Likewise.
10467
48970aba
L
104682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * bits/types.h: Fold copyright years.
10471 * bits/typesizes.h: Likewise.
10472 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10473 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10476 * time/time.h: Likewise.
10477
bedee953
PP
104782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10479
10480 [BZ #208]
10481 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10482 in instead of returning them. Return void.
10483 (__libc_mallinfo): Accumulate over all arenas.
10484 (__malloc_stats): Adjust for change in int_mallinfo interface.
10485
61653dfb
RM
104862012-05-16 Roland McGrath <roland@hack.frob.com>
10487
30b99d79
RM
10488 [BZ #10375]
10489 * configure.in (NM): Add AC_CHECK_TOOL for it.
10490 (libc_extra_cflags): New substituted variable.
10491 Check for -fstack-protector being used implicitly.
10492 * configure: Regenerated.
10493 * config.make.in (config-extra-cflags): New variable,
10494 gets @libc_extra_cflags@.
10495 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10496
61653dfb
RM
10497 [BZ #10375]
10498 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10499 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10500 * configure: Regenerated.
10501 * config.make.in (CPPUNDEFS): New substituted variable.
10502 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10503 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10504 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10505
661768bb
L
105062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10507
10508 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10509 (mq_attr): Use __syscall_slong_t.
10510
d4261567
L
105112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10512
10513 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10514 Check __x86_64__ instead of __WORDSIZE.
10515 (_STAT_VER_LINUX): Likewise.
10516 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10517 __syscall_ulong_t and __syscall_slong_t.
10518 (stat64): Likewise.
10519
cf3ff365
L
105202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10521
10522 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10523
76cf3e4d
L
105242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10527
a637753a
L
105282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10529
10530 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10531 __syscall_ulong_t.
10532
d5e05119
L
10533 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10534 include <bits/wordsize.h>. Check __x86_64__ instead of
10535 __WORDSIZE.
10536 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10537 defined.
10538 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10539
f62ee380
L
10540 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10541 include <bits/wordsize.h>. Check __x86_64__ instead of
10542 __WORDSIZE.
10543 (user_regs_struct): Use "__extension__ unsigned long long"
10544 instead of "unsigned long" if __x86_64__ is defined.
10545 (user): Likewise. Pad after pointer field if __ILP32__ is
10546 defined.
10547
4e124ced
JM
105482012-05-16 Joseph Myers <joseph@codesourcery.com>
10549
6a3951a0
JM
10550 * configure.in (makeinfo): Require version 4.5 or later. Allow
10551 versions 5 to 9.
10552 * configure: Regenerated.
10553 * manual/install.texi (texinfo): Increase version requirement to
10554 4.5 or later.
10555 * INSTALL: Regenerated.
10556
4e124ced
JM
10557 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10558
953ca31a
L
105592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10560
10561 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10562
617aca05
L
10563 * sysdeps/x86_64/x32/ffs.c: New file.
10564
5762f7ae
L
10565 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10566 __syscall_ulong_t.
10567 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10568 defined. Use __syscall_ulong_t.
10569 (shminfo): Use __syscall_ulong_t.
10570 (shm_info): Likewise.
10571
a26b6856
L
10572 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10573 __syscall_ulong_t.
10574
cb2b9ef7
L
10575 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10576 <bits/wordsize.h>.
10577 (msgqnum_t): Use __syscall_ulong_t.
10578 (msglen_t): Likewise.
10579 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10580 __syscall_ulong_t.
10581
34683bb0
L
10582 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10583 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10584
84a68786
L
10585 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10586
48baa5f1
L
10587 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10588 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10589
180be88b
L
10590 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10591 __syscall_slong_t.
10592
5e90c8ad
L
10593 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10594 include <bits/wordsize.h>. Check __x86_64__ instead of
10595 __WORDSIZE.
10596
23dfb58b
L
10597 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10598 "unsigned long long int" if __x86_64__ is defined.
10599 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10600
ce5d54b0
L
10601 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10602 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10603 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10604
13dc9eac
L
10605 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10606 <stdint.h>.
10607 (GET_PC): Cast to uintptr_t first.
10608 (GET_FRAME): Likewise.
10609 (GET_STACK): Likewise.
10610
a7895d15
L
10611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10613 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10615 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10617 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10618 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10619 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10621 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10624 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10625 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10628 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10630 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10632 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10633 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10634 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10635 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10636 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10637 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10638 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10640
656416c9
AS
106412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10642
5bd66283
AS
10643 * Makerules (+depfiles): Also collect depfiles from .oS in
10644 $(extra-objs).
10645 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10646 .oS, $(libnldbl-routines)).
10647
656416c9
AS
10648 * Makerules (native-compile-mkdep-flags): Define.
10649 * sunrpc/Makefile (extra-objs): Add $(addprefix
10650 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10651 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10652 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10653 calling $(make-target-directory).
10654
a46f2169
L
106552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10656
10657 * bits/types.h (__snseconds_t): Removed.
10658 * time/time.h (struct timespec): Replace __snseconds_t with
10659 __syscall_slong_t.
10660 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10661 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10662 Likewise.
10663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10664 (__SNSECONDS_T_TYPE): Likewise.
10665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10666 (__SNSECONDS_T_TYPE): Likewise.
10667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10668 (__SNSECONDS_T_TYPE): Likewise.
10669
6af6528b
L
106702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10671
10672 * sysdeps/mach/hurd/bits/typesizes.h
10673 (__SYSCALL_SLONG_TYPE): New macro.
10674 (__SYSCALL_ULONG_TYPE): Likewise.
10675
de986b56
L
106762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10677
10678 * bits/types.h (__syscall_slong_t): New type.
10679 (__syscall_ulong_t): Likewise.
10680
10681 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10682 (__SYSCALL_ULONG_TYPE): Likewise.
10683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10684 (__SYSCALL_SLONG_TYPE): Likewise.
10685 (__SYSCALL_ULONG_TYPE): Likewise.
10686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10687 (__SYSCALL_SLONG_TYPE): Likewise.
10688 (__SYSCALL_ULONG_TYPE): Likewise.
10689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10690 (__SYSCALL_SLONG_TYPE): Likewise.
10691 (__SYSCALL_ULONG_TYPE): Likewise.
10692
85736dc7
L
106932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10694
10695 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10696 Add sigaltstack-offsets.sym.
10697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10698 <sigaltstack-offsets.h>.
10699 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10700 longjmp_msg pointer.
10701 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10702 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10703 signal stack.
10704 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10705
cc03b296
JM
107062012-05-15 Joseph Myers <joseph@codesourcery.com>
10707
a9538892
JM
10708 * elf/stackguard-macros.h: Remove file.
10709 * sysdeps/generic/stackguard-macros.h: New file.
10710 * sysdeps/i386/stackguard-macros.h: Likewise.
10711 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10712 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10713 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10714 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10715 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10716 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10717 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10718 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10719 <elf/stackguard-macros.h>.
10720
cc03b296
JM
10721 [BZ #14109]
10722 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10723 __aligned__ in attribute.
10724 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10725 (gregset_t): Likewise.
10726
93171016
L
107272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10728
10729 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10730 * sysdeps/x86_64/64/Implies-after: Here. New file.
10731 * sysdeps/x86_64/x32/Implies-after: New file.
10732
d86813a0
L
107332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10736 and access return value for _dl_profile_fixup. Use R10_LP to
10737 load frame size.
10738
2953ec75
L
107392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10742
3b550e9e
L
107432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10744
10745 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10746 * sysdeps/x86_64/x32/sysdep.h: New file.
10747
eda41706
L
107482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10749
10750 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10751 * sysdeps/x86_64/setjmp.S: Likewise.
10752
9ea01d93
AZ
107532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10754
10755 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10756 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10757 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10758 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10759 remove unused global constant.
10760
02a91938
CM
107612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10762
10763 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10764 include of <not-cancel.h>.
10765
6540185f
RM
107662012-05-15 Roland McGrath <roland@hack.frob.com>
10767
10768 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10769
509072a0
AJ
107702012-05-15 Jeff Law <law@redhat.com>
10771 Andreas Jaeger <aj@suse.de>
10772
10773 [BZ #13594]
10774 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10775 out from...
10776 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10777 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10778 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10779 code changing __hst_map_handle.map.
10780
ba75122d
RM
107812012-05-15 Roland McGrath <roland@hack.frob.com>
10782
10783 * configure.in (sysnames): Look for Implies-before and Implies-after
10784 files.
10785 * configure: Regenerated.
10786
890d8bd8
L
107872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10788
10789 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10790 8-byte data alignment with LP_SIZE alignment.
10791
f6ee6623
L
107922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10793
10794 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10795 into R10_LP.
10796
ea2626f6
L
107972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10800
085f715e
L
108012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10802
10803 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10804 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10805 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10806 Likewise.
10807 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10808
be8498fc
L
108092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10810
10811 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10812 (stackinfo_sub_sp): Likewise.
10813
70bc83b9
L
108142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10815
10816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10817 RAX_LP.
10818
9bc0b730
L
108192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10820
10821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10822 into R*_LP.
10823
6d2850e7
L
108242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10825
10826 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10827 sizes into R*_LP.
10828
3cb84561
L
108292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10830
10831 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10832
54e2ed81
L
108332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10834
10835 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10836 into R11_LP and load __x86_64_shared_cache_size_half into
10837 R8_LP.
10838
8a17f349
L
108392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10840
10841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10842 R8_LP.
10843
777b1eea
AZ
108442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10845
10846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10847 logb for POWER7.
10848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10849 logbf for POWER7.
10850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10851 logbl for POWER7.
10852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10853 powerpc32/power7/fpu/s_logb.c via #include.
10854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10855 powerpc32/power7/fpu/s_logbf.c via #include.
10856 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10857 powerpc32/power7/fpu/s_logbl.c via #include.
10858
d20d4ac2
JM
108592012-05-15 Joseph Myers <joseph@codesourcery.com>
10860
10861 * README.libm: Remove file.
10862
6cdef1ab
L
108632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10864
10865 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10866 count for x32. Use R*_LP and omit operand-size suffix.
10867
0b254d8f
L
108682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10869
10870 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10871 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10872 * sysdeps/x86_64/x32/shlib-versions: New file.
10873
ceb809dc
RM
108742012-05-14 Roland McGrath <roland@hack.frob.com>
10875
10876 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10877 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10878 Use _dl_fatal_printf instead.
10879
37f1abd4
JM
108802012-05-14 Joseph Myers <joseph@codesourcery.com>
10881
10882 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10883 set if not set by the user. Do not allow for being unset.
10884 * sysdeps/unix/sysv/linux/configure: Regenerated.
10885
11de3a33
L
108862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10887
10888 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10889 the `q' suffix from lea and replace .quad with ASM_ADDR.
10890
e02f153a
L
108912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10892
10893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10894 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10895 instead of $17.
10896 (PTR_DEMANGLE): Likewise.
10897
520ae0fd
L
108982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10899
10900 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10901 (LP_OP): Likewise.
10902 (ASM_ADDR): Likewise.
10903 (RAX_LP): Likewise.
10904 (RBP_LP): Likewise.
10905 (RBX_LP): Likewise.
10906 (RCX_LP): Likewise.
10907 (RDI_LP): Likewise.
10908 (RSI_LP): Likewise.
10909 (RSP_LP): Likewise.
10910 (R8_LP): Likewise.
10911 (R9_LP): Likewise.
10912 (R10_LP): Likewise.
10913 (R10_LP): Likewise.
10914 (R11_LP): Likewise.
10915 (R12_LP): Likewise.
10916 (R13_LP): Likewise.
10917 (R14_LP): Likewise.
10918 (R15_LP): Likewise.
10919
b985be81
L
109202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10921
10922 * sysdeps/x86_64/x32/dl-machine.h: New file.
10923
6a4888ff
AJ
109242012-05-14 Andreas Jaeger <aj@suse.de>
10925
10926 * manual/Makefile (subdir): Remove export of subdir.
10927 (all): Remove target.
10928 (.PHONY): Remove all from list.
10929 (mkinstalldirs): Remove.
10930 (.PHONY): Remove installdirs from list.
10931 ($(inst_infodir)/libc.info): Use make-target-directory.
10932 (installdirs): Remove.
10933 (subdir_%): Remove.
10934 (glibc-targets): Remove.
10935 (lib): Remove.
10936 (stubs): Remove.
10937 ($(objpfx)stubs ../po/manual.pot): Remove.
10938 ($(objpfx)stamp%): Remove.
10939 (make-target-directory): Remove.
10940 (subdir_install): Remove.
10941 (routines): Remove.
10942 (aux): Remove.
10943 (sources): Remove.
10944 (objects): Remove.
10945 (headers): Remove.
10946
10947 [BZ #13750]
10948 * manual/.gitignore: Remove, it's not needed anymore.
10949 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10950 all files in it.
10951 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10952 directory.
10953 (texis): Renamed to $(objpfx)texis.
10954 (texis-path): New, contains path to generated files.
10955 (chapters.%): Use texis-path for complete path, add extra argument
10956 libc-texinfo.sh.
10957 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10958 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10959 (summary,texi, stamp-summary): Use complete path of
10960 files. Generate files in build dir.
10961 (dir-add.texi): Build in build dir.
10962 (libm-err.texi,stamp-libm-err): Likewise.
10963 (version.texi, stamp-version): Likewise.
10964 (.%c.texi): Likewise.
10965 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10966 (mostlyclean): Remove target.
10967 (realclean): Remove target.
10968 (generated): Add new variable with contents from mostlyclean and
10969 realclean, remove entries duplicated in common-mostlyclean, add
10970 stamp-libm-err and stamp-version.
10971 (generated-dirs): Add libc directory.
10972 ($(inst_infodir)/libc.info): Install files from build dir.
10973
10974 * manual/install.texi (Configuring and compiling): Adjust since
10975 the info files are not part of the tar ball anymore.
10976
7ac77294
AJ
109772012-05-14 Andreas Jaeger <aj@suse.de>
10978
10979 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10980 variable.
10981
ffb7875d
JM
109822012-05-14 Joseph Myers <joseph@codesourcery.com>
10983
10984 [BZ #13717]
10985 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10986 to 2.2.0 where earlier.
10987 * sysdeps/unix/sysv/linux/configure: Regenerated.
10988 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10989 Remove conditional code.
10990 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10991 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10992 Remove conditional code.
10993 [!__NR_lchown]: Likewise.
10994 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10995 [__NR_lchown]: Likewise.
10996 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10997 comment referencing __ASSUME_LCHOWN_SYSCALL.
10998 * sysdeps/unix/sysv/linux/i386/sigaction.c
10999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11001 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11002 Remove conditional code.
11003 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11004 (__protocol_available): Remove #if 0 code.
11005 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11006 conditional code.
11007 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11008 * sysdeps/unix/sysv/linux/kernel-features.h
11009 (__ASSUME_GETCWD_SYSCALL): Don't define.
11010 (__ASSUME_REALTIME_SIGNALS): Likewise.
11011 (__ASSUME_PREAD_SYSCALL): Likewise.
11012 (__ASSUME_PWRITE_SYSCALL): Likewise.
11013 (__ASSUME_POLL_SYSCALL): Likewise.
11014 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11015 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11016 non-SPARC.
11017 (__ASSUME_SIOCGIFNAME): Don't define.
11018 (__ASSUME_MSG_NOSIGNAL): Likewise.
11019 (__ASSUME_SENDFILE): Define unconditionally.
11020 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11021 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11022 conditional code.
11023 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11024 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11025 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11026 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11027 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11028 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11029 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11031 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11034 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11037 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11043 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11046 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11049 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11052 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11054 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11055 Remove conditional code.
11056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11057 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11058 Remove conditional code.
11059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11060 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11061 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11062 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11063 Remove conditional code.
11064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11065 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11066 Remove conditional code.
11067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11068 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11069 Remove conditional code.
11070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11071 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11072 Remove conditional code.
11073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11074 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11075 Remove conditional code.
11076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11077 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11078 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11080 * sysdeps/unix/sysv/linux/sigaction.c
11081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11083 * sysdeps/unix/sysv/linux/sigpending.c
11084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11086 * sysdeps/unix/sysv/linux/sigprocmask.c
11087 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11088 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11089 * sysdeps/unix/sysv/linux/sigsuspend.c
11090 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11091 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11092 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11093 (__libc_missing_rt_sigs): Remove.
11094 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11095 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11096 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11097 Remove conditional code.
11098 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11099 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11100 return 1.
11101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11102 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11103 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11104 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11105
1bfb7291
AJ
111062012-05-14 Andreas Jaeger <aj@suse.de>
11107
caae5a81
AJ
11108 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11109 it's not used in glibc.
11110 (__coshm1): Likewise.
11111 (__acosh1p): Likewise.
11112 (__sgn): Likewise.
11113
1bfb7291
AJ
11114 * manual/string.texi (Copying and Concatenation): Add missing
11115 variable in concat example.
11116 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11117
c044d724
L
111182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11119
144c5467 11120 [BZ #14103]
c044d724
L
11121 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11122 __builtin_clzl with __builtin_clzll.
11123
2523c62b
L
111242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11125
11126 [BZ #14104]
11127 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11128 libc_freeres_ptr.
11129
d7bb4c42
LD
111302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11131
11132 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11133 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11134 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11135 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11136
9dc4e1fb
MF
111372012-05-14 Mike Frysinger <vapier@gentoo.org>
11138
11139 * NEWS: Update ia64 info.
11140
c7df0112
AS
111412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11144 used as bcopy.
11145
dc70356c
TS
111462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11147
11148 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11149 * sysdeps/unix/syscalls.list (dup3): Likewise.
11150 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11151 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11152
9fb1a21f
L
111532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11154
11155 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11156 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11157
4822a2a5
L
111582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11159
11160 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11161 thread pointer.
11162 (TLS_IE): Use mov/add instead of movq/addq to load thread
11163 pointer.
11164 (TLS_GD_PREFIX): New.
11165 (TLS_GD): Use it.
11166
842b81d6
DM
111672012-05-11 David S. Miller <davem@davemloft.net>
11168
11169 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11170 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11171 (_FPU_SETCW): Likewise.
11172
1cf463cd
L
111732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11174
11175 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11176 is 32-byte aligned.
11177
60cc4a18
AS
111782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11179
11180 [BZ #11837]
11181 * iconvdata/gb18030.c: Update tables.
11182 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11183 characters specially.
11184 (BODY for TO_LOOP): Add encoding of missing ranges.
11185
febb44a4
TS
111862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11187
11188 [BZ #13673]
11189 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11190 * sysdeps/mach/hurd/dup3.c: Likewise.
11191 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11192 * sysdeps/powerpc/memmove.c:: Likewise.
11193
0a10fb9e
L
111942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11195
11196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11197 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11198
df8a552f
L
111992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11200
11201 * elf/elf.h (R_X86_64_RELATIVE64): New.
11202 (R_X86_64_NUM): Updated.
11203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11204 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11205 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11206 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11207 tst-quad1pie tst-quad2pie
11208 (modules-names): Add tst-quadmod1 tst-quadmod2.
11209 ($(objpfx)tst-quad1): New dependency.
11210 ($(objpfx)tst-quad2): Likewise.
11211 ($(objpfx)tst-quad1pie): Likewise.
11212 ($(objpfx)tst-quad2pie): Likewise.
11213 * sysdeps/x86_64/tst-quad1.c: New file.
11214 * sysdeps/x86_64/tst-quad1pie.c: New file.
11215 * sysdeps/x86_64/tst-quad2.c: Likewise.
11216 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11217 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11218 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11219 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11220 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11221
f34d6f84
ST
112222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11223
f42d41d1
ST
11224 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11225 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11226 * streams/stropts.h (t_scalar_t): Define type.
11227
3c3571fc
ST
11228 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11229 (_PATH_PRESERVE): Set to "/var/lib".
11230 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11231
61f06bd3
ST
11232 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11233 instead of int.
11234
918d4d71
ST
11235 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11236 if __dir_mkfile succeeded.
11237
f34d6f84
ST
11238 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11239 checking for _hurd_dtablesize. Unlock it right after having
11240 finished _hurd_dtable allocation.
11241
10589b4a
TS
112422012-05-10 Thomas Schwinge <thomas@schwinge.name>
11243
674cdbc7
TS
11244 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11245 * sysdeps/mach/hurd/configure: Regenerated.
11246 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11247 special-casing to...
11248 * sysdeps/gnu/configure.in: ... this new file.
11249 * sysdeps/unix/sysv/linux/configure: Regenerated.
11250 * sysdeps/gnu/configure: New generated file.
11251
8e41b99f
TS
11252 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11253 for Linux: use nsec instead of usec, as well as:
11254 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11255 members of type struct timespec.
11256 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11257 New macros.
11258 (struct stat64): Likewise.
11259 (_STATBUF_ST_NSEC): New macro.
11260 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11261
10589b4a
TS
11262 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11263 __strtoul_internal rather than strtoul.
11264
63643c85
PT
112652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11266
11267 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11268 and reject them.
11269
3faebe6a
ST
112702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11271
11272 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11273 which preserves existing values.
11274 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11275
c6474b07
PT
112762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11277
11278 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11279 TIMEOUT values. Return EINVAL for NFDS values either negative or
11280 greater than FD_SETSIZE.
11281
1043890b
ST
112822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11283
11284 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11285 allocated, call __vm_protect to finish enabling the existing space, and
11286 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11287 allocate the remainder.
11288
37ed8b9b
PT
112892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11290
11291 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11292 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11293
db653660
ST
112942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11295
37ed8b9b
PT
11296 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11297 sysdeps/mach/hurd/readlink.c.
b29d4053 11298
db653660
ST
11299 * posix/tst-sysconf.c (posix_options): Only use
11300 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11301 _POSIX_SYNCHRONIZED_IO when they are defined
11302 * sysdeps/mach/hurd/bits/posix_opt.h:
11303 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11304 (_XOPEN_REALTIME): Undefine macro.
11305 (_XOPEN_REALTIME_THREADS): Undefine macro.
11306 (_XOPEN_SHM): Undefine macro.
11307 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11308 macro to -1.
11309 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11310 macro to -1.
11311 (_POSIX_ASYNC_IO): Undefine macro.
11312 (_POSIX_PRIORITIZED_IO): Undefine macro.
11313 (_POSIX_SPIN_LOCKS): Define macro to -1.
11314
ee16e894
ST
11315 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11316 SA_NODEFER, SA_RESETHAND.
11317 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11318 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11319 F_DUPFD_CLOEXEC.
11320
6103ae3b
TS
113212012-05-10 Thomas Schwinge <thomas@schwinge.name>
11322
11323 * elf/Makefile (pldd-modules): Define unconditionally.
11324
80b4e5f3
TS
113252012-05-10 Thomas Schwinge <thomas@schwinge.name>
11326
11327 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11328
edadcbd6
ST
113292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11330
11331 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11332 Return ENOENT when name is empty.
11333 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11334
80694780
TS
113352012-05-10 Thomas Schwinge <thomas@schwinge.name>
11336
1792c087
TS
11337 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11338
80694780
TS
11339 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11340
6b645f0d
ST
113412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11342
80694780
TS
11343 Fix mlock in all cases except non-readable pages.
11344 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11345 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11346
6b645f0d
ST
11347 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11348 (__mkdir): When path is `/', just fail with EEXIST.
11349 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11350
e468f8a3
TS
113512012-05-10 Thomas Schwinge <thomas@schwinge.name>
11352
11353 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11354 <sys/uio.h> (for writev).
11355 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11356 and <sys/param.h> (for MIN).
11357
a4186cff
PT
113582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11359
11360 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11361 REQUESTED_TIME. Properly set the remaining time and return EINTR
11362 if interrupted.
11363
510bbf14
TS
113642012-05-10 Thomas Schwinge <thomas@schwinge.name>
11365
11366 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11367 Depend on against $(link-rpcuserlibs).
11368
5d5722e8
ST
113692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11370
a4186cff
PT
11371 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11372 (__libc_stack_end): Do not use attribute_relro.
11373 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11374 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11375 to libthread-provided value.
a4186cff
PT
11376 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11377 attribute_relro.
5d5722e8 11378
37233df9
TS
113792012-05-10 Thomas Schwinge <thomas@schwinge.name>
11380
be971a2b
TS
11381 [BZ #3748]
11382 * bits/libc-lock.h (__libc_once_get): New macro.
11383 * sysdeps/mach/bits/libc-lock.h: Likewise.
11384 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11386 instead of using implementation details.
11387
37233df9
TS
11388 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11389 * libio/freopen.c: Likewise.
11390 * libio/freopen64.c: Likewise.
11391 * misc/syslog.c: Likewise.
11392 * nscd/connections.c: Likewise.
11393 * nscd/netgroupcache.c: Likewise.
11394 * sysdeps/posix/getcwd.c: Likewise.
11395
38de94a5
RM
113962012-05-10 Roland McGrath <roland@hack.frob.com>
11397
11398 * math/w_ilogbf.c: Add #include <limits.h>.
11399
67530489
ST
114002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11401
a4186cff 11402 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11403 path instead of returning without unlocking.
11404
67530489
ST
11405 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11406 immediate-write ioctls.
11407 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11408
5aa3a74a
TS
114092012-05-10 Thomas Schwinge <thomas@schwinge.name>
11410
18bad2ae
TS
11411 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11412 __builtin_frame_address instead of making assumptions about the
11413 location of the return address relative to DATA. Force early load of
11414 the return address.
11415 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11416 __builtin_frame_address.
11417
5aa3a74a
TS
11418 dup3 for GNU Hurd.
11419 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11420 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11421 implement dup3 and do some further code clean-ups.
11422 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11423 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11424
ecd0de9a
ST
114252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11426
cd9fa985
ST
11427 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11428
a4186cff
PT
11429 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11430 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11431 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11432 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11433 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11434 d->port.lock.
802ca5a5 11435
a4186cff
PT
11436 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11437 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11438 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11439
bcf55240
TS
114402012-05-10 Thomas Schwinge <thomas@schwinge.name>
11441
6960eb42
TS
11442 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11443 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11444 definitions.
11445
eb43375f
TS
11446 accept4 for GNU Hurd.
11447 * include/sys/socket.h (__libc_accept4): New prototype.
11448 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11449 to implement __libc_accept4.
11450 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11451 __libc_accept4.
11452 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11453
bcf55240
TS
11454 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11455 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11456 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11457 signal-defines.sym.
11458
6178c55b
ST
114592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11460
a4186cff 11461 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11462
6f080c2f
TS
114632012-05-10 Thomas Schwinge <thomas@schwinge.name>
11464
11465 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11466 assertion on O_CLOEXEC flag.
11467 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11468 * hurd/intern-fd.c: Likewise.
11469 * hurd/port2fd.c: Likewise.
11470
bcfe3a54
ST
114712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11472
11473 [BZ #3906]
11474 * bits/in.h (IPV6_PKTINFO): Define new macro.
11475 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11476
89c9aa49
AZ
114772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11478
11479 [BZ #13954]
11480 [BZ #13955]
11481 [BZ #13956]
11482 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11483 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11484 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11485 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11486 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11487 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11488 * math/libm-test.inc (logb_test) : Additional logb tests.
11489
021db4be
AJ
114902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11491 Andreas Jaeger <aj@suse.de>
11492
11493 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11494 * configure: Regenerated.
11495 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11496 * config.make.in (link-obsolete-rpc): New substituted variable.
11497 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11498 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11499 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11500 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11501 so that libc.a contains the symbols.
11502 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11503 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11504 * sunrpc/auth_none.c: Likewise.
11505 * sunrpc/auth_unix.c: Likewise.
11506 * sunrpc/authdes_prot.c: Likewise.
11507 * sunrpc/authuxprot.c: Likewise.
11508 * sunrpc/clnt_gen.c: Likewise.
11509 * sunrpc/clnt_perr.c: Likewise.
11510 * sunrpc/clnt_raw.c: Likewise.
11511 * sunrpc/clnt_simp.c: Likewise.
11512 * sunrpc/clnt_tcp.c: Likewise.
11513 * sunrpc/clnt_udp.c: Likewise.
11514 * sunrpc/clnt_unix.c: Likewise.
11515 * sunrpc/des_crypt.c: Likewise.
11516 * sunrpc/des_soft.c: Likewise.
11517 * sunrpc/get_myaddr.c: Likewise.
11518 * sunrpc/key_call.c: Likewise.
11519 * sunrpc/key_prot.c: Likewise.
11520 * sunrpc/netname.c: Likewise.
11521 * sunrpc/pm_getmaps.c: Likewise.
11522 * sunrpc/pm_getport.c: Likewise.
11523 * sunrpc/pmap_clnt.c: Likewise.
11524 * sunrpc/pmap_prot.c: Likewise.
11525 * sunrpc/pmap_prot2.c: Likewise.
11526 * sunrpc/pmap_rmt.c: Likewise.
11527 * sunrpc/publickey.c: Likewise.
11528 * sunrpc/rpc_cmsg.c: Likewise.
11529 * sunrpc/rpc_common.c: Likewise.
11530 * sunrpc/rpc_dtable.c: Likewise.
11531 * sunrpc/rpc_prot.c: Likewise.
11532 * sunrpc/rpc_thread.c: Likewise.
11533 * sunrpc/rtime.c: Likewise.
11534 * sunrpc/svc.c: Likewise.
11535 * sunrpc/svc_auth.c: Likewise.
11536 * sunrpc/svc_raw.c: Likewise.
11537 * sunrpc/svc_run.c: Likewise.
11538 * sunrpc/svc_tcp.c: Likewise.
11539 * sunrpc/svc_udp.c: Likewise.
11540 * sunrpc/svc_unix.c: Likewise.
11541 * sunrpc/svcauth_des.c: Likewise.
11542 * sunrpc/xcrypt.c: Likewise.
11543 * sunrpc/xdr.c: Likewise.
11544 * sunrpc/xdr_array.c: Likewise.
11545 * sunrpc/xdr_float.c: Likewise.
11546 * sunrpc/xdr_intXX_t.c: Likewise.
11547 * sunrpc/xdr_mem.c: Likewise.
11548 * sunrpc/xdr_rec.c: Likewise.
11549 * sunrpc/xdr_ref.c: Likewise.
11550 * sunrpc/xdr_sizeof.c: Likewise.
11551 * sunrpc/xdr_stdio.c: Likewise.
11552
b5c086a2
RM
115532012-05-10 Roland McGrath <roland@hack.frob.com>
11554
11555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11556 change. Update copyright years.
11557
6d74dd09
JM
115582012-05-10 Joseph Myers <joseph@codesourcery.com>
11559
11560 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11561
28e72501
MK
115622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11563 Joseph Myers <joseph@codesourcery.com>
11564 Paul Pluzhnikov <ppluzhnikov@google.com>
11565
11566 [BZ #14012]
11567 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11568 requiring rpcgen.
11569 [cross-compiling] (extra-libs): Likewise.
11570 [cross-compiling] (extra-libs-others): Likewise.
11571 [cross-compiling] (librpcsvc-routines): Likewise.
11572 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11573 [cross-compiling] (omit-deps): Likewise.
11574 (sunrpc-CPPFLAGS): New variable.
11575 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11576 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11577 (cross-rpcgen-objs): New variable.
11578 (extra-objs): Append $(cross-rpcgen-objs).
11579 ($(cross-rpcgen-objs)): New rule.
11580 ($(objpfx)cross-rpcgen): Likewise.
11581 (rpcgen-cmd): Define to use $(built-program-file). Expand
11582 comment.
11583 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11584 ($(objpfx)x%.stmp): Likewise.
11585 * sunrpc/proto.h [IS_IN_build] (_): Define.
11586 [IS_IN_build] (_libc_intl_domainname): Likewise.
11587
c8c59454
L
115882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11589
11590 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11591 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11592 and R_X86_64_TPOFF64.
11593
6f27cd16
JM
115942012-05-10 Joseph Myers <joseph@codesourcery.com>
11595
11596 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11597 sysdeps/unix/sysv/syscalls.list.
11598 (stime): Likewise.
11599 (utime): Likewise.
11600 * sysdeps/unix/sysv/syscalls.list: Remove file.
11601
02467e1c
PE
116022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11603
11604 [BZ #3440]
11605 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11606 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11607 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11608 (__LC_IDENTIFICATION): Make these macros useful in #if
11609 expressions, as required by C99.
11610
da392631
AS
116112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11614 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11615 after this.
11616
8115f29b
L
116172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11618
11619 * stdlib/longlong.h: Updated from GCC.
11620
bdd74070
AJ
116212012-05-09 Andreas Jaeger <aj@suse.de>
11622
edfe0dbe
AJ
11623 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11624 default is first entry.
11625 (run_mode): Set type.
11626 (main): Remove informal message about syslog.
11627 (options): Fix typo.
11628
bcfe3a54
ST
11629 [BZ #14053]
11630 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11631 to asm.
bcfe3a54
ST
11632 (lrint): Likewise.
11633 (llrintf): Likewise.
11634 (llrint): Likewise.
11635 (rint): Likewise.
11636 (rintf): Likewise.
11637 (nearbyint): Likewise.
11638 (nearbyintf): Likewise.
bdd74070 11639
91d8d69e
AJ
116402012-05-09 Andreas Jaeger <aj@suse.de>
11641 Pedro Alves <palves@redhat.com>
11642
11643 * nscd/nscd.c (run_mode): Use enum.
11644 (main): Cleanup coding style issue.
11645
bb90b80b
AJ
116462012-05-09 Alexandre Oliva <aoliva@redhat.com>
11647 Andreas Jaeger <aj@suse.de>
11648
bcfe3a54
ST
11649 * nscd/nscd.c (go_background): Replaced with...
11650 (run_mode): ... this.
bb90b80b 11651 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11652 (options): Add -F --foreground.
11653 (main): Implement it.
11654 (parse_opt): Parse it.
bb90b80b 11655
1a4b75a1
AJ
116562012-05-09 Andreas Jaeger <aj@suse.de>
11657
11658 [BZ #14083]
11659 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11660 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11661 -Wconversion warning.
11662 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11663 Likewise.
11664
b1cc2472
JM
116652012-05-09 Joseph Myers <joseph@codesourcery.com>
11666
11667 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11668 == 0.
11669 (LC_ALL): Use macro-int-constant.
11670 (LC_COLLATE): Likewise.
11671 (LC_CTYPE): Likewise.
11672 (LC_MESSAGES): Likewise.
11673 (LC_MONETARY): Likewise.
11674 (LC_NUMERIC): Likewise.
11675 (LC_TIME): Likewise.
11676 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11677 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11679 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11680 Specify type.
11681 [C99-based standards] (float_t): Expect type.
11682 [C99-based standards] (double_t): Expect type.
11683 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11684 type.
11685 [C99-based standards] (HUGE_VALL): Likewise.
11686 [C99-based standards] (INFINITY): Likewise.
11687 [C99-based standards] (NAN): Likewise.
11688 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11689 [C99-based standards] (FP_NAN): Likewise.
11690 [C99-based standards] (FP_NORMAL): Likewise.
11691 [C99-based standards] (FP_SUBNORMAL): Likewise.
11692 [C99-based standards] (FP_ZERO): Likewise.
11693 [C99-based standards] (FP_FAST_FMA): Use
11694 optional-macro-int-constant. Specify type. Require == 1.
11695 [C99-based standards] (FP_FAST_FMAF): Likewise.
11696 [C99-based standards] (FP_FAST_FMAL): Likewise.
11697 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11698 [C99-based standards] (FP_ILOGBNAN): Likewise.
11699 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11700 Specify type.
11701 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11702 [C99-based standards] (math_errhandling): Specify type.
11703 [ISO99 || ISO11] (signgam): Do not allow.
11704 [non-C99-based standards] (copysignf): Do not allow.
11705 [non-C99-based standards] (exp2f): Likewise.
11706 [non-C99-based standards] (log2f): Likewise.
11707 [non-C99-based standards] (modff): Allow.
11708 [non-C99-based standards] (erff): Do not allow.
11709 [non-C99-based standards] (erfcf): Likewise.
11710 [non-C99-based standards] (gammaf): Likewise.
11711 [non-C99-based standards] (hypotf): Likewise.
11712 [non-C99-based standards] (j0f): Likewise.
11713 [non-C99-based standards] (j1f): Likewise.
11714 [non-C99-based standards] (jnf): Likewise.
11715 [non-C99-based standards] (lgammaf): Likewise.
11716 [non-C99-based standards] (tgammaf): Likewise.
11717 [non-C99-based standards] (y0f): Likewise.
11718 [non-C99-based standards] (y1f): Likewise.
11719 [non-C99-based standards] (ynf): Likewise.
11720 [non-C99-based standards] (isnanf): Likewise.
11721 [non-C99-based standards] (acoshf): Likewise.
11722 [non-C99-based standards] (asinhf): Likewise.
11723 [non-C99-based standards] (atanhf): Likewise.
11724 [non-C99-based standards] (cbrtf): Likewise.
11725 [non-C99-based standards] (expm1f): Likewise.
11726 [non-C99-based standards] (ilogbf): Likewise.
11727 [non-C99-based standards] (log1pf): Likewise.
11728 [non-C99-based standards] (logbf): Likewise.
11729 [non-C99-based standards] (nextafterf): Likewise.
11730 [non-C99-based standards] (remainderf): Likewise.
11731 [non-C99-based standards] (rintf): Likewise.
11732 [non-C99-based standards] (scalbf): Likewise.
11733 [non-C99-based standards] (copysignl): Likewise.
11734 [non-C99-based standards] (exp2l): Likewise.
11735 [non-C99-based standards] (log2l): Likewise.
11736 [non-C99-based standards] (modfl): Allow.
11737 [non-C99-based standards] (erfl): Do not allow.
11738 [non-C99-based standards] (erfcl): Likewise.
11739 [non-C99-based standards] (gammal): Likewise.
11740 [non-C99-based standards] (hypotl): Likewise.
11741 [non-C99-based standards] (j0l): Likewise.
11742 [non-C99-based standards] (j1l): Likewise.
11743 [non-C99-based standards] (jnl): Likewise.
11744 [non-C99-based standards] (lgammal): Likewise.
11745 [non-C99-based standards] (tgammal): Likewise.
11746 [non-C99-based standards] (y0l): Likewise.
11747 [non-C99-based standards] (y1l): Likewise.
11748 [non-C99-based standards] (ynl): Likewise.
11749 [non-C99-based standards] (isnanl): Likewise.
11750 [non-C99-based standards] (acoshl): Likewise.
11751 [non-C99-based standards] (asinhl): Likewise.
11752 [non-C99-based standards] (atanhl): Likewise.
11753 [non-C99-based standards] (cbrtl): Likewise.
11754 [non-C99-based standards] (expm1l): Likewise.
11755 [non-C99-based standards] (ilogbl): Likewise.
11756 [non-C99-based standards] (log1pl): Likewise.
11757 [non-C99-based standards] (logbl): Likewise.
11758 [non-C99-based standards] (nextafterl): Likewise.
11759 [non-C99-based standards] (remainderl): Likewise.
11760 [non-C99-based standards] (rintl): Likewise.
11761 [non-C99-based standards] (scalbl): Likewise.
11762 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11763 [non-C99-based standards] (FP_*): Do not allow.
11764 [C99-based standards] (FP_*): Change to
11765 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11766 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11767 allow.
11768 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11769 (SIG_ERR): Likewise.
11770 [X/Open-based standards] (SIG_HOLD): Likewise.
11771 (SIG_IGN): Likewise.
11772 (SIGABRT): Use macro-int-constant. Specify type. Require
11773 positive value.
11774 (SIGFPE): Likewise.
11775 (SIGILL): Likewise.
11776 (SIGINT): Likewise.
11777 (SIGSEGV): Likewise.
11778 (SIGTER): Likewise.
11779 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11780 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11781 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11782 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11783 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11784 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11785 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11786 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11787 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11788 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11789 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11790 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11791 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11792 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11793 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11794 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11795 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11796 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11797 [X/Open-based standards] (SIGTRAP): Likewise.
11798 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11799 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11800 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11801 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11802 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11803 allow.
11804
b9f1922d
IW
118052012-05-08 Ian Wienand <ianw@vmware.com>
11806
11807 [BZ #14080]
11808 * time/tzset.c (__tzset_parse_tz): Update default rules for
11809 daylight time changes in the Energy Policy Act of 2005.
11810
1db86e88
AJ
118112012-05-09 Andreas Jaeger <aj@suse.de>
11812
11813 [BZ #13983]
11814 * elf/ldconfig.c (parse_conf): Change string to make clear that
11815 ldconfig only issued a warning if ld.so.conf does not exist.
11816
dee4a4e3
DM
118172012-05-08 David S. Miller <davem@davemloft.net>
11818
ee0db190
DM
11819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11820 movxtod instead of popping the value on the stack.
11821
dee4a4e3
DM
11822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11823
6a43ec98
CD
118242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11825
11826 * config.h.in: Add HAVE_ARM_PCS_VFP.
11827
05c2c961
RMG
118282012-05-08 Roland Mc Grath <roland@hack.frob.com>
11829
bcfe3a54
ST
11830 [BZ #13979]
11831 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11832 checking but the checks are disabled for any reason.
05c2c961 11833
4b30f61a
L
118342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11837 and ELF64_R_TYPE with ELFW(R_TYPE).
11838
eee2bc67
JM
118392012-05-08 Joseph Myers <joseph@codesourcery.com>
11840
7ea5391a
JM
11841 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11842 (ulimit): Likewise.
11843
eee2bc67
JM
11844 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11845 (settimeofday): Likewise.
11846
abb66a67
MF
118472012-05-08 Mike Frysinger <vapier@gentoo.org>
11848
11849 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11850 a struct th_u2 inside the union, and move tu_block/tu_code into
11851 a new th_u3 union of tu_block/tu_code inside of that. Move
11852 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11853 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11854 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11855 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11856 (th_stuff): Change to th_u1.tu_stuff.
11857 (th_data): Define.
11858 (th_msg): Change to th_u1.th_u2.tu_data.
11859
7f18b530
DM
118602012-05-07 David S. Miller <davem@davemloft.net>
11861
05760585
DM
11862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11863
7f18b530
DM
11864 [BZ #14074]
11865 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11866 (SETUP_PIC_REG): Use it.
11867 (SETUP_PIC_REG_LEAF): Use it.
11868
495fd99f
JM
118692012-05-07 Joseph Myers <joseph@codesourcery.com>
11870
11871 [BZ #13885]
11872 [BZ #13923]
11873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11874 USE_AS_EXPM1L.
11875 (EXPL_FINITE): Likewise.
11876 (FLDLOG): Likewise.
11877 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11878 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11879 e_expl.S.
11880 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11881 USE_AS_EXPM1L.
11882 (EXPL_FINITE): Likewise.
11883 (FLDLOG): Likewise.
11884 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11885 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11886 e_expl.S.
11887 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11888 test of -max_value argument for long double.
11889 * sysdeps/i386/fpu/libm-test-ulps: Update.
11890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11891
6693d694
DM
118922012-05-06 David S. Miller <davem@davemloft.net>
11893
11894 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11895 quad soft-float symbols whose references which are compiler
11896 generated.
11897 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11898
6c23e11c
JM
118992012-05-06 Joseph Myers <joseph@codesourcery.com>
11900
d8b82cad
JM
11901 [BZ #13884]
11902 [BZ #13914]
11903 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11904 USE_AS_EXP10L.
11905 (EXPL_FINITE): Likewise.
11906 (FLDLOG): Likewise.
11907 (c0): Likewise.
11908 (c1): Likewise.
11909 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11910 Adjust comments for base varying.
11911 (__expl_finite): Change alias to EXPL_FINITE.
11912 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11913 e_expl.S.
11914 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11915 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11917 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11919 USE_AS_EXP10L.
11920 (EXPL_FINITE): Likewise.
11921 (FLDLOG): Likewise.
11922 (c0): Likewise.
11923 (c1): Likewise.
11924 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11925 Adjust comments for base varying.
11926 (__expl_finite): Change alias to EXPL_FINITE.
11927 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11928 tests for bugs.
11929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11930
6c23e11c
JM
11931 [BZ #14064]
11932 * math/libm-test.inc (check_float_internal): Correct ulp
11933 calculation for subnormal expected results.
11934
29ba805c
AJ
119352012-05-06 Andreas Jaeger <aj@suse.de>
11936
11937 * Makeconfig (+math-flags): New, set to -frounding-math.
11938 (+cflags): Add +math-flags so that all of glibc gets compiled with
11939 it.
11940
11941 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11942
7b17aeda
JM
119432012-05-05 Joseph Myers <joseph@codesourcery.com>
11944
5779f134
JM
11945 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11946 Disable one test.
11947
41498f4d
JM
11948 [BZ #13787]
11949 [BZ #13922]
11950 [BZ #14036]
11951 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11952 (__ieee754_expl): Allow for and saturate large arguments.
11953 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11954 (u_threshold): Likewise.
11955 (__exp): Call __ieee754_exp before checking for overflow and
11956 underflow.
11957 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11958 (u_threshold): Likewise.
11959 (__expf): Call __ieee754_expf before checking for overflow and
11960 underflow.
11961 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11962 (u_threshold): Likewise.
11963 (__expl): Call __ieee754_expl before checking for overflow and
11964 underflow.
11965 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11966 (__ieee754_expl): Allow for and saturate large arguments.
11967 * math/libm-test.inc (exp_test): Add another test. Do not allow
11968 missing overflow exception on overflow.
11969 (expm1_test): Do not allow missing overflow exception on overflow.
11970
6698b8bf
JM
11971 * sysdeps/i386/fpu/e_expl.c: Move to ...
11972 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11973 rather than using inline asm.
11974 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11975 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11976 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11977
7b17aeda
JM
11978 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11979 (nice): Likewise.
11980 (poll): Likewise.
11981 (signal): Likewise.
11982 (time): Likewise.
11983 (times): Likewise.
11984
f7c85819
JM
119852012-05-04 Joseph Myers <joseph@codesourcery.com>
11986
11987 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11988 sysdeps/unix/common/syscalls.list.
11989 (fchmod): Likewise.
11990 (fchown): Likewise.
11991 (ftruncate): Likewise.
11992 (getrusage): Likewise.
11993 (gettimeofday): Likewise.
11994 (setpgid): Likewise.
11995 (setregid): Likewise.
11996 (setreuid): Likewise.
11997 (sigaction): Likewise.
11998 (truncate): Likewise.
11999 (vhangup): Likewise.
12000 * sysdeps/unix/common/syscalls.list: Remove file.
12001 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12002 * sysdeps/unix/sysv/linux/Implies: Likewise.
12003
336270d0
L
120042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12005
12006 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12008 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12009 Moved to ...
12010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12011 Here.
12012 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12013 to ...
12014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12015 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12016 to ...
12017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12018 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12019 to ...
12020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12021 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12022 to ...
12023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12025 to ...
12026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12027 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12028 to ...
12029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12030 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12031 to ...
12032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12033 Here.
12034 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12035 to ...
12036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12037 Here.
12038 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12039 to ...
12040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12041 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12042 Moved to ...
12043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12044 Here.
12045 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12046 to ...
12047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12048
d128e450
JM
120492012-05-04 Joseph Myers <joseph@codesourcery.com>
12050
fa8ee516
JM
12051 * sysdeps/unix/common/bits/dirent.h: Remove file.
12052 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12053
d128e450
JM
12054 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12055 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12056 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12057 * sysdeps/unix/bsd/isatty.c: Likewise.
12058 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12059 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12060 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12061
ff8faaf0 120622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12063
62881be4 12064 [BZ #13563]
31dc8730
AZ
12065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12066 long double comparison inaccuracies.
12067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12069
6fef930c
AS
120702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12071
12072 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12074
8f203e6c
JM
120752012-05-04 Joseph Myers <joseph@codesourcery.com>
12076
12077 [BZ #14049]
12078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12079 nonzero digits before rounding a hex value.
12080 * stdlib/tst-strtod.c (tests): Add another test.
12081
5197d9c2
AK
120822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12083
12084 * sysdeps/s390/fpu/libm-test-ulps: Update.
12085
f0c1dedf
AJ
120862012-05-03 Andreas Jaeger <aj@suse.de>
12087
12088 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12089 does not get optimized out.
12090 (malloc_opt_barrier): New.
12091
a65ef2ae 120922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12093 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12094
2b942cb7 12095 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12096 intermediate file deletion.
2b942cb7 12097 (generated): Add .symlist files.
a65ef2ae 12098
54b71e02
JM
120992012-05-03 Joseph Myers <joseph@codesourcery.com>
12100
12101 [BZ #13775]
12102 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12103 Redirect under this condition.
12104 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12105 [__USE_GNU] (__dprintf_chk): Not under this condition.
12106 [__USE_GNU] (__vdprintf_chk): Likewise.
12107 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12108 under this condition.
12109 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12110 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12111 [__USE_XOPEN2K8] (vdprintf): Likewise.
12112 [__USE_GNU] (__dprintf_chk): Not under this condition.
12113 [__USE_GNU] (__vdprintf_chk): Likewise.
12114 [__USE_GNU] (dprintf): Likewise.
12115 [__USE_GNU] (vdprintf): Likewise.
12116
d3dfcc41
RM
121172012-05-03 Roland McGrath <roland@hack.frob.com>
12118
12119 * elf/Makefile (common-generated): Set this instead of generated for
12120 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12121 $(all-built-dso)-derived lists.
12122
7ac30cc5
AJ
121232012-05-03 Andreas Jaeger <aj@suse.de>
12124
0c51e550
AJ
12125 * sysdeps/i386/fpu/libm-test-ulps: Update.
12126
7ac30cc5
AJ
12127 * FAQ: Removed.
12128 * FAQ.in: Likewise.
12129 * scripts/gen-FAQ.pl: Likewise.
12130 * manual/install.texi (Installation): Point to online location of
12131 FAQ.
12132 * Makefile (files-for-dist): Remove FAQ.
12133 (FAQ): Remove.
12134
d4c2917f
AM
121352012-05-02 Allan McRae <allan@archlinux.org>
12136
12137 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12138 (LDFLAGS-reldepmod5.so): Likewise.
12139 (LDFLAGS-reldep6mod1.so): Likewise.
12140 (LDFLAGS-reldep6mod4.so): Likewise.
12141 (LDFLAGS-reldep8mod3.so): Likewise.
12142 (LDFLAGS-unload4mod1.so): Likewise.
12143 (LDFLAGS-unload4mod2.so): Likewise.
12144 (LDFLAGS-tst-initorder): Likewise.
12145 (LDFLAGS-tst-initordera2.so): Likewise.
12146 (LDFLAGS-tst-initordera3.so): Likewise.
12147 (LDFLAGS-tst-initordera4.so): Likewise.
12148 (LDFLAGS-tst-initorderb2.so): Likewise.
12149 (LDFLAGS-noload): Likewise.
12150 (LDFLAGS-next): Likewise.
12151 (LDFLAGS-order2mod1.so): Likewise.
12152 (LDFLAGS-order2mod2.so): Likewise.
12153 (LDFLAGS-tst-initorder2): Likewise.
12154 (LDFLAGS-tst-initorder2a.so): Likewise.
12155 (LDFLAGS-tst-initorder2b.so): Likewise.
12156 (LDFLAGS-tst-initorder2c.so): Likewise.
12157 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12158
d77f993f
DM
121592012-05-02 David S. Miller <davem@davemloft.net>
12160
12161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12162
171a70b4
PP
121632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12164
12165 [BZ #14055]
12166 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12167
0be196ad
AJ
121682012-05-02 Andreas Jaeger <aj@suse.de>
12169
12170 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12171 since we manipulate rounding mode.
12172 (CPPFLAGS-test-idouble.c): Likewise.
12173 (CPPFLAGS-test-ifloat.c): Likewise.
12174 (CFLAGS-test-ldouble.c): Likewise.
12175 (CFLAGS-test-double.c): Likewise.
12176 (CFLAGS-test-float.c): Likewise.
12177 (CFLAGS-test-misc.c): Likewise.
12178 (CFLAGS-test-test-fenv.c): Likewise.
12179
4f9d04aa
AZ
121802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12181
2b942cb7
RM
12182 [BZ #2550]
12183 [BZ #2570]
12184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12185 comparisons to determine direction to adjust input.
4f9d04aa 12186
82a79e7d
RM
121872012-05-01 Roland McGrath <roland@hack.frob.com>
12188
f5a01ca9
RM
12189 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12190 output to the target.
12191
90fe4186
RM
12192 * scripts/localplt.awk: New file.
12193 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12194 (check-localplt-CFLAGS): Variable removed.
12195 ($(all-built-dso:=.jmprel)): New static pattern rule.
12196 (generated): Add those targets.
12197 (localplt-built-dso): New variable.
12198 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12199
12200 * elf/check-localplt.c: File removed.
12201
82397ed6
RM
12202 * scripts/check-execstack.awk: New file.
12203 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12204 (check-execstack-CFLAGS): Variable removed.
12205 ($(objpfx)check-execstack.h): Target removed.
12206 ($(objpfx)execstack-default): New target.
12207 (generated): Add that instead of check-execstack.h.
12208 ($(all-built-dso:=.phdr)): New static pattern rule.
12209 (generated): Add those targets.
12210 * elf/check-execstack.c: File removed.
12211
82a79e7d
RM
12212 * scripts/check-textrel.awk: New file.
12213 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12214 (check-textrel-CFLAGS): Variable removed.
12215 (all-built-dso): Use := to define.o
12216 ($(all-built-dso:=.dyn)): New static pattern rule.
12217 (generated): Add those targets.
12218 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12219 * config.make.in (READELF): New substituted variable.
12220 * elf/check-textrel.c: File removed.
12221
62fde54f 122222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12223
615605c9
JM
12224 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12225 allow.
12226 * conform/data/ctype.h-data [C99-based standards] (isblank):
12227 Expect function.
12228 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12229 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12231 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12232 Specify type. Require positive value.
12233 (EILSEQ): Likewise.
12234 (ERANGE): Likewise.
12235 [ISO || POSIX] (EILSEQ): Do not expect.
12236 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12237 Specify type. Require positive value.
12238 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12239 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12240 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12241 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12242 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12243 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12244 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12245 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12246 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12247 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12248 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12249 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12250 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12251 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12252 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12253 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12254 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12255 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12256 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12257 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12258 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12259 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12260 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12261 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12262 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12263 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12264 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12265 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12266 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12267 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12268 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12269 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12270 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12271 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12272 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12273 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12274 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12275 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12276 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12277 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12278 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12279 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12280 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12281 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12282 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12283 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12284 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12285 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12286 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12287 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12288 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12289 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12290 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12291 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12292 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12293 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12294 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12295 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12296 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12297 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12298 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12299 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12300 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12301 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12302 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12303 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12304 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12305 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12306 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12307 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12308 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12309 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12310 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12311 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12312 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12313 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12314 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12315 Require >= 2.
12316 (FLT_ROUNDS): Expect as macro, not constant.
12317 (FLT_MANT_DIG): Use macro-int-constant.
12318 (DBL_MANT_DIG): Likewise.
12319 (LDBL_MANT_DIG): Likewise.
12320 (FLT_DIG): Likewise.
12321 (DBL_DIG): Likewise.
12322 (LDBL_DIG): Likewise.
12323 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12324 (DBL_MIN_EXP): Likewise.
12325 (LDBL_MIN_EXP): Likewise.
12326 (FLT_MAX_EXP): Use macro-int-constant.
12327 (DBL_MAX_EXP): Likewise.
12328 (LDBL_MAX_EXP): Likewise.
12329 (FLT_MAX_10_EXP): Likewise.
12330 (DBL_MAX_10_EXP): Likewise.
12331 (LDBL_MAX_10_EXP): Likewise.
12332 (FLT_MAX): Use macro-constant.
12333 (DBL_MAX): Likewise.
12334 (LDBL_MAX): Likewise.
12335 (FLT_EPSILON): Use macro-constant. Give upper bound.
12336 (DBL_EPSILON): Likewise.
12337 (LDBL_EPSILON): Likewise.
12338 (FLT_MIN): Likewise.
12339 (DBL_MIN): Likewise.
12340 (LDBL_MIN): Likewise.
12341 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12342 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12343 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12344 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12345 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12346 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12347 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12348 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12349 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12350 [ISO11] (FLT_TRUE_MIN): Likewise.
12351 [ISO11] (LDBL_TRUE_MIN): Likewise.
12352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12353 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12354 (SCHAR_MIN): Use macro-int-constant. Specify type.
12355 (SCHAR_MAX): Likewise.
12356 (UCHAR_MAX): Likewise.
12357 (CHAR_MIN): Likewise.
12358 (CHAR_MAX): Likewise.
12359 (MB_LEN_MAX): Use macro-int-constant.
12360 (SHRT_MIN): Use macro-int-constant. Specify type.
12361 (SHRT_MAX): Likewise.
12362 (USHRT_MAX): Likewise.
12363 (INT_MAX): Likewise.
12364 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12365 bound negative.
12366 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12367 bound with "U".
12368 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12369 bound with "L".
12370 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12371 bound negative. Suffix upper bound with "L".
12372 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12373 bound with "UL".
12374 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12375 Specify type.
12376 [C99-based standards] (LLONG_MAX): Likewise.
12377 [C99-based standards] (ULLONG_MAX): Likewise.
12378 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12379 == 0.
12380 [ISO11] (max_align_t): Require type.
12381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12382
c9140a62
JM
12383 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12384 from $CFLAGS, without defining away __attribute__ calls.
12385 (checknamespace): Use $CFLAGS_namespace.
12386
9af0bf29
JM
12387 * conform/conformtest.pl (@keywords): Only include C99 keywords
12388 for standards based on C99 or C11.
12389
343222a2
JM
12390 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12391 Disable tests.
12392 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12393 UNIX98]: Likewise.
12394
661f8cf0
JM
12395 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12396 usability of symbols in #if.
12397
ee74b9cb
JM
12398 * conform/conformtest.pl: If macro or constant types start
12399 "promoted:", expect the symbol to be of the following type
12400 promoted by the integer promotions.
62fde54f 12401
aafc49b3
JM
12402 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12403 in one place. Also handle "macro-constant".
12404
fefdf574
JM
12405 * conform/conformtest.pl: Only accept expected macro values with
12406 "==". Parse all "macro" lines in one place.
12407 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12408
f2d922fe
JM
12409 * conform/conformtest.pl: Handle braced types on "constant" lines
12410 instead of handling "typed-constant".
12411 * conform/data/signal.h-data: Use "constant" instead of
12412 "typed-constant".
12413
d22956c9
JM
12414 * conform/conformtest.pl: Handle "optional-" at start of lines in
12415 one place rather than duplicating several cases. Handle each
12416 format of "macro" line with initial "optional-".
12417
028e2e38
JM
12418 * conform/conformtest.pl: Only accept expected constant or
12419 optional-constant values with "==". Parse all "constant" lines in
12420 one place. Parse all "optional-constant" lines in one place.
12421 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12422 * conform/data/fmtmsg.h-data: Likewise.
12423 * conform/data/netinet/in.h-data: Likewise.
12424 * conform/data/tar.h-data: Likewise.
12425 * conform/data/limits.h-data: Use "==" form on "constant" and
12426 "optional-constant" lines.
12427
1b8f2850
JM
12428 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12429 Use -std=c99 for XOPEN2K.
12430 (@knownproblems): Remove.
12431 (newtoken): Don't check %isknown.
12432
a05a144b
JM
12433 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12434 Do not expect macro.
12435 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12436 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12437 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12438 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12439 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12440 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12441 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12442 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12443 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12444 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12445 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12446 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12447 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12448 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12449 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12450 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12451 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12452 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12453 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12454 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12455 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12456 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12457 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12458 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12459 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12460 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12461 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12462 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12463 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12464 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12465 [XPG3] (acosh): Likewise.
12466 [XPG3] (asinh): Likewise.
12467 [XPG3] (atanh): Likewise.
12468 [XPG3] (cbrt): Likewise.
12469 [XPG3] (expm1): Likewise.
12470 [XPG3] (ilogb): Likewise.
12471 [XPG3] (log1p): Likewise.
12472 [XPG3] (logb): Likewise.
12473 [XPG3] (nextafter): Likewise.
12474 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12475 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12476 [XPG3] (remainder): Likewise.
12477 [XPG3] (rint): Likewise.
12478 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12479 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12480 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12481 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12482 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12483 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12484 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12485 [UNIX98 || XOPEN2K] (scalb): Expect.
12486 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12487 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12488 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12489 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12490 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12491 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12492 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12493 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12494 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12495 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12496 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12497 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12498 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12499 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12500 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12501 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12502 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12503 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12504 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12505 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12506 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12507 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12508 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12509 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12510 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12511 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12512 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12513 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12514 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12515 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12516 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12517 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12518 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12519 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12520 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12521 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12522 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12523 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12524 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12525 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12526 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12527 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12528 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12529 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12530 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12531 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12532 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12533 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12534 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12535 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12536 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12537 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12538 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12539 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12540 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12541 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12542 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12543 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12544 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12545 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12546 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12547 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12548 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12549 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12550 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12551 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12552 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12553 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12554 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12555 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12556 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12557 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12558 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12559 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12560 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12561 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12562 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12563 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12564 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12565 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12566 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12567 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12568 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12569 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12570 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12571 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12572 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12573 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12574 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12575 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12576 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12577 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12580 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12581 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12582 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12583 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12584 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12585 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12586 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12587 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12588 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12589 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12590 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12591 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12592 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12599 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12600 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12601 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12602 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12603 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12604 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12605 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12606 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12607 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12608 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12609 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12610 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12611 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12613 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12614 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12615 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12616 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12617 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12618 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12619 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12620 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12621 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12622 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12623
73c5ebe3
JM
12624 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12625 _XOPEN_SOURCE_EXTENDED for XPG4.
12626
39c33b6c
JM
12627 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12628
62fde54f
JM
12629 * Makeconfig (localtime): Remove variable.
12630 (inst_localtime-file): Likewise.
12631
0741d64c
AS
126322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12633
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12635 Update.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12637 Update.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12639 Update.
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12641 Update.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12643 Update.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12645 Update.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12647 Update.
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12649 Update.
12650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12651 Update.
12652
7cb029ee
JM
126532012-05-01 Joseph Myers <joseph@codesourcery.com>
12654
12655 [BZ #2550]
12656 [BZ #2570]
12657 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12658 comparisons to determine direction to adjust input.
12659 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12660 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12661 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12662 Likewise.
12663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12664 Likewise.
12665 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12666 Likewise.
12667 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12668 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12669 Likewise.
12670 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12671 Likewise.
12672 * math/libm-test.inc (nexttoward_test): Add more tests.
12673
412bd966
AS
126742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12675
12676 [BZ #14040]
12677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12678 in version GLIBC_2.1, not GLIBC_2.0.
12679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12680 Likewise.
12681
9568c0c2
JM
126822012-04-30 Joseph Myers <joseph@codesourcery.com>
12683
adfbc8ac
JM
12684 [BZ #13942]
12685 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12686 (1 - x) * (1 + x).
12687 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12688 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12689 * math/libm-test.inc (acos_test): Add more tests.
12690 (asin_test): Likewise.
12691 * sysdeps/i386/fpu/libm-test-ulps: Update.
12692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12693
5ba3cc69
JM
12694 [BZ #14034]
12695 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12696 of square root.
12697 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12698 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12699 * math/libm-test.inc (acos_test_tonearest): New function.
12700 (acos_test_towardzero): Likewise.
12701 (acos_test_downward): Likewise.
12702 (acos_test_upward): Likewise.
12703 (asin_test_tonearest): Likewise.
12704 (asin_test_towardzero): Likewise.
12705 (asin_test_downward): Likewise.
12706 (asin_test_upward): Likewise.
12707 (main): Call the new functions.
12708 * sysdeps/i386/fpu/libm-test-ulps: Update.
12709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12710
9568c0c2
JM
12711 [BZ #13884]
12712 [BZ #13924]
12713 * math/e_exp10.c: Include <float.h>.
12714 (__ieee754_exp10): Handle underflow here rather than multiplying
12715 large negative argument by M_LN10.
12716 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12717 of __ieee754_expf.
12718 * math/e_exp10l.c: Include <float.h>.
12719 (__ieee754_exp10l): Handle underflow here rather than multiplying
12720 large negative argument by M_LN10l.
12721 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12722 spurious overflow exception on underflow.
12723
5ac3ea17
MP
127242012-04-29 Marek Polacek <polacek@redhat.com>
12725
12726 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12727 (__fortify_function): New macro.
12728 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12729 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12730 __extern_always_inline.
12731 * libio/bits/stdio2.h: Likewise.
12732 * libio/bits/stdio.h: Likewise.
12733 * string/string.h: Likewise.
12734 * string/bits/string3.h: Likewise.
12735 * include/stdio.h: Likewise.
12736 * stdlib/bits/stdlib.h: Likewise.
12737 * stdlib/stdlib.h: Likewise.
12738 * rt/bits/mqueue2.h: Likewise.
12739 * rt/mqueue.h: Likewise.
12740 * posix/bits/unistd.h: Likewise.
12741 * posix/unistd.h: Likewise.
12742 * io/bits/poll2.h: Likewise.
12743 * io/bits/fcntl2.h: Likewise.
12744 * io/fcntl.h: Likewise.
12745 * io/sys/poll.h: Likewise.
12746 * misc/bits/syslog.h: Likewise.
12747 * misc/bits/syslog-ldbl.h: Likewise.
12748 * misc/sys/syslog.h: Likewise.
12749 * socket/bits/socket2.h: Likewise.
12750 * socket/sys/socket.h: Likewise.
12751 * debug/tst-chk1.c: Likewise.
12752 * wcsmbs/bits/wchar2.h: Likewise.
12753 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12754 * wcsmbs/wchar.h: Likewise.
12755
ecf0ebfb
AJ
127562012-04-29 Andreas Jaeger <aj@suse.de>
12757
12758 * Makerules (tests): Remove enable-check-abi protection.
12759 (check-abi-warn): Remove.
12760 (check-abi-%): Remove check-abi-warn usage.
12761
12762 * configure.in: Remove check-abi configure option.
12763 * configure: Regenerated.
12764 * config.make.in (enable-check-abi): Remove.
12765
6d5c57fa
AS
127662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12767
24c5d07e 12768 [BZ #14033]
ded5180a
AS
12769 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12770 double functions to double *_finite functions.
12771
7e0d315d
AS
12772 [BZ #13941]
12773 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12774 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12775 LDBL_MIN_EXP.
12776 * stdio-common/Makefile (tests): Add tst-sprintf3.
12777 * stdio-common/tst-sprintf3.c: New file.
12778
6d5c57fa
AS
12779 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12780 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12781
0749ff8b
JM
127822012-04-28 Joseph Myers <joseph@codesourcery.com>
12783
12784 * conform/conformtest.pl: Remove duplicate typed-constant
12785 handling.
12786
8dbd5d7b
DM
127872012-04-28 David S. Miller <davem@davemloft.net>
12788
12789 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12790 (check-abi-%): Remove AWK script prerequisite and explicit
12791 abilist directory.
12792 (check-abi): Rewrite to just diff the symlist with the abilist.
12793 (config-tls, config-abi-config): Delete, no longer used.
12794 (update-abi-%): Remove AWK script and explicit abilist directory.
12795 (update-abi): Rewrite to simply compare and conditionally copy the
12796 symlist and the sysdep abilist file. Remove update-abi-config
12797 checks.
12798 * abilist/ld.abilist: Remove.
12799 * abilist/libBrokenLocale.abilist: Remove.
12800 * abilist/libanl.abilist: Remove.
12801 * abilist/libcrypt.abilist: Remove.
12802 * abilist/libdl.abilist: Remove.
12803 * abilist/librt.abilist: Remove.
12804 * abilist/libthread_db.abilist: Remove.
12805 * abilist/libutil.abilist: Remove.
12806 * scripts/extract-abilist.awk: Remove.
12807 * scripts/merge-abilist.awk: Remove.
12808 * sysdeps/generic/libcidn.abilist: New file.
12809 * sysdeps/generic/libnss_compat.abilist: New file.
12810 * sysdeps/generic/libnss_db.abilist: New file.
12811 * sysdeps/generic/libnss_dns.abilist: New file.
12812 * sysdeps/generic/libnss_files.abilist: New file.
12813 * sysdeps/generic/libnss_hesiod.abilist: New file.
12814 * sysdeps/generic/libnss_nis.abilist: New file.
12815 * sysdeps/generic/libnss_nisplus.abilist: New file.
12816 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12817 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12818 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12819 file.
12820 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12821 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12822 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12823 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12824 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12825 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12826 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12827 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12828 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12829 file.
12830 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12831 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12832 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12833 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12834 file.
12835 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12836 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12837 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12838 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12839 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12840 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12841 file.
12842 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12843 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12844 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12845 file.
12846 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12848 New file.
12849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12850 New file.
12851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12852 New file.
12853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12854 New file.
12855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12856 New file.
12857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12858 New file.
12859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12860 New file.
12861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12862 New file.
12863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12864 New file.
12865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12866 New file.
12867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12868 New file.
12869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12870 New file.
12871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12872 New file.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12874 file.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12876 New file.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12878 New file.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12880 file.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12882 New file.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12884 New file.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12886 file.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12888 New file.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12890 New file.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12892 New file.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12894 New file.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12896 New file.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12898 New file.
12899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12901 file.
12902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12903 New file.
12904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12905 file.
12906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12907 file.
12908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12909 file.
12910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12911 file.
12912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12913 file.
12914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12915 New file.
12916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12917 file.
12918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12919 file.
12920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12921 New file.
12922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12923 file.
12924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12926 file.
12927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12928 New file.
12929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12930 file.
12931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12932 file.
12933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12934 file.
12935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12936 file.
12937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12938 file.
12939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12940 New file.
12941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12942 file.
12943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12944 file.
12945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12946 New file.
12947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12948 file.
12949 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12950 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12951 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12952 file.
12953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12954 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12955 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12956 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12957 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12958 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12959 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12960 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12961 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12962 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12965 file.
12966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12967 New file.
12968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12969 file.
12970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12971 file.
12972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12973 file.
12974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12975 file.
12976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12977 file.
12978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12979 New file.
12980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12981 New file.
12982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12983 file.
12984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12985 New file.
12986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12987 file.
12988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12990 file.
12991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12992 New file.
12993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12994 file.
12995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12996 file.
12997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12998 file.
12999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13000 file.
13001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13002 file.
13003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13004 New file.
13005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13006 New file.
13007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13008 file.
13009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13010 New file.
13011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13012 file.
13013
41d73a1b
JM
130142012-04-28 Joseph Myers <joseph@codesourcery.com>
13015
13016 * conform/conformtest.pl: Fix typo in handling typed-constant from
13017 allow-header.
13018
28aeeda4
JM
130192012-04-27 Joseph Myers <joseph@codesourcery.com>
13020
adae8f5e
JM
13021 * README: Cut down references to pre-2.6 Linux kernels and
13022 Linuxthreads. Update lists of configurations in libc and ports
13023 and sort alphabetically. Say "or newer" with Linux kernel version
13024 requirements.
13025
28aeeda4
JM
13026 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13027
a462cb63
RA
130282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13029
13030 [BZ #887]
13031 * math/libm-test.inc (logb_test_downward): New test to expose
13032 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13033 rounding mode.
13034
6ad3493e
JM
130352012-04-27 Joseph Myers <joseph@codesourcery.com>
13036
13037 [BZ #14027]
13038 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13039 to be done.
13040 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13041 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13042
2ce4f015
JM
130432012-04-26 Joseph Myers <joseph@codesourcery.com>
13044
5aeb141a
JM
13045 * sysdeps/unix/i386/brk.S: Remove file.
13046 * sysdeps/unix/i386/dl-brk.S: Likewise.
13047 * sysdeps/unix/i386/pipe.S: Likewise.
13048 * sysdeps/unix/i386/sigreturn.S: Likewise.
13049 * sysdeps/unix/i386/syscall.S: Likewise.
13050 * sysdeps/unix/i386/vfork.S: Likewise.
13051 * sysdeps/unix/i386/wait.S: Likewise.
13052
7143acae
JM
13053 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13054 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13055
2ce4f015
JM
13056 * configure.in (arm*-none*): Do not allow without
13057 --enable-hacker-mode.
13058 (netbsd*): Remove case setting base_os.
13059 (386bsd*): Likewise.
13060 (freebsd*): Likewise.
13061 (bsdi*): Likewise.
13062 (osf*): Likewise.
13063 (sunos*): Likewise.
13064 (ultrix*): Likewise.
13065 (newsos*): Likewise.
13066 (dynix*): Likewise.
13067 (*bsd*): Likewise.
13068 (sysv*): Likewise.
13069 (isc*): Likewise.
13070 (esix*): Likewise.
13071 (sco*): Likewise.
13072 (minix*): Likewise.
13073 (irix4*): Likewise.
13074 (irix6*): Likewise.
13075 (solaris[2-9]*): Likewise.
13076 (none): Likewise.
13077 * configure: Regenerated.
13078
0ac229c8
AZ
130792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13080
13081 [BZ #11521]
13082 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13083 overflow or cancellation in calculating denominator.
13084 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13085 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13086 down expression to avoid unexpected rounding in newer GCCs.
13087 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13088
33f244f4
DM
130892012-04-26 David S. Miller <davem@davemloft.net>
13090
13091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13092 long-double compat symbols.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13106
cfa1f3e8
DM
131072012-04-25 David S. Miller <davem@davemloft.net>
13108
13109 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13110 HWCAP_* values only after the memory barriers have been defined.
13111 (atomic_full_barrier): Define.
13112 (atomic_read_barrier): Define.
13113 (atomic_write_barrier): Define.
13114
6e236b92
SP
131152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13116
13117 * shlib-versions: Add libgcc_s version information.
13118 * sysdeps/generic/libgcc_s.h: Remove.
13119 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13120 libgcc_s.h.
13121 * sysdeps/gnu/unwind-resume.c: Likewise.
13122 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13123
aab39a09
DM
131242012-04-25 David S. Miller <davem@davemloft.net>
13125
13126 * sysdeps/unix/sparc/brk.S: Delete.
13127 * sysdeps/unix/sparc/dl-brk.S: Delete.
13128 * sysdeps/unix/sparc/pipe.S: Delete.
13129 * sysdeps/unix/sparc/sysdep.S: Delete.
13130 * sysdeps/unix/sparc/sysdep.h: Delete.
13131 * sysdeps/unix/sparc/vfork.S: Delete.
13132 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13133 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13134 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13135 ret_ERRVAL, r0, r1, MOVE): Define.
13136 (JUMPTARGET): Remove.
13137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13138 sysdeps/unix/sparc/sysdep.h
13139 (ENTRY, END): Remove.
13140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13141
a3cc4f48
JM
131422012-04-25 Joseph Myers <joseph@codesourcery.com>
13143
2ed8cda2
JM
13144 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13145 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13146 -DIS_IN_build.
13147
35d76d59
JM
13148 * timezone/README: Update upstream location and email address for
13149 tzcode and tzdata.
13150 * timezone/zdump.c: Update from tzcode 2012b.
13151 * timezone/zic.c: Likewise.
13152
a3cc4f48
JM
13153 * configure.in (libc_cv_as_needed): Remove test.
13154 * configure: Regenerated.
13155 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13156 conditional definition.
13157 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13158 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13159 * config.make.in (have-as-needed): Remove variable.
13160
ceab42c3
SP
131612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13162 Paul Pluzhnikov <ppluzhnikov@google.com>
13163
13164 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13165 strings correctly.
13166
3ce2865f
CLT
131672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13168
13169 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13170 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13171 * sysdeps/sh/strlen.S: Likewise.
13172
f37e0d68
JM
131732012-04-24 Joseph Myers <joseph@codesourcery.com>
13174
ae186e9a
JM
13175 * sysdeps/unix/fork.S: Remove file.
13176 * sysdeps/unix/i386/fork.S: Likewise.
13177 * sysdeps/unix/sparc/fork.S: Likewise.
13178
b96914af
JM
13179 * sysdeps/unix/system.c: Remove file.
13180 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13181
f37e0d68
JM
13182 * sysdeps/unix/getegid.S: Remove file.
13183 * sysdeps/unix/geteuid.S: Likewise.
13184
87ef29ca
RM
131852012-04-24 Roland McGrath <roland@hack.frob.com>
13186
83bcd236
RM
13187 * scripts/check-localplt.awk: New file.
13188 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13189 of diff.
13190 * scripts/data/localplt-generic.data: Add a comment.
13191
87ef29ca
RM
13192 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13193 NODE when __dir_mkfile failed.
13194 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13195 Reported by Ludovic Courtès <ludo@gnu.org>.
13196
e5a6e567
AJ
131972012-04-24 Andreas Jaeger <aj@suse.de>
13198
13199 * Makerules (common-clean): Also remove gen-as-const-headers
13200 files.
13201
c1820385
JM
132022012-04-24 Joseph Myers <joseph@codesourcery.com>
13203
13204 * Makerules (native-compile): Do not change working directory for
13205 build. Use $(OUTPUT_OPTION) in command.
13206 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13207
94e02fc4
AZ
132082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13209
13210 [BZ #13886]
13211 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13212 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13213 * math/libm-test.inc (floor_test): Add more tests.
13214 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13215
3a533ca3
JM
132162012-04-24 Joseph Myers <joseph@codesourcery.com>
13217
940ab4b3
JM
13218 * sysdeps/unix/getdents.c: Remove file.
13219 * sysdeps/unix/sysv/getdents.c: Likewise.
13220 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13221
90e037bd
JM
13222 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13223 sysdeps/unix/mman/syscalls.list.
13224 (mmap): Likewise.
13225 (mprotect): Likewise.
13226 (msync): Likewise.
13227 (munmap): Likewise.
13228 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13229 * sysdeps/unix/mman/syscalls.list: Remove.
13230 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13231
3a533ca3
JM
13232 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13233 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13234 * configure: Regenerated.
13235 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13236 $(libgcc_s_suffix).
13237 * config.make.in (libgcc_s_suffix): Remove variable.
13238
1ad743de
JM
132392012-04-23 Joseph Myers <joseph@codesourcery.com>
13240
4ad451e2
JM
13241 * sysdeps/unix/sysv/gethostname.c: Move to ...
13242 * sysdeps/posix/gethostname.c: ... here.
13243
5e37ce39
JM
13244 * sysdeps/unix/execve.S: Remove file.
13245
1ad743de
JM
13246 * sysdeps/unix/_exit.S: Remove file.
13247
4e681b5b
AJ
132482012-04-23 Andreas Jaeger <aj@suse.de>
13249
13250 [BZ #13739]
13251 * manual/Makefile: Remove make dist support, there's no
13252 need for a stand-alone documentation tar ball.
13253 (TEXI2DVI): Define always, it's not in Makeconfig.
13254 (dist): Removed.
13255 (tar-it): Removed.
13256 (edition): Removed.
13257 (glibc-doc-$(edition).tar): Removed
13258 (%.Z): Removed.
13259 (%.gz): Removed.
13260 (%.uu): Removed.
13261 (ETAGS): Remove, it's in Makeconfig.
13262 (move-if-change): Remove, it's in Makeconfig.
13263
38686a03 132642012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13265
13266 [BZ #13970]
13267 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13268 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13269 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13270 (strtod_l, strtof_l, strtold_l): Remove __wur.
13271 It is not necessarily an error to ignore strtol's return value.
13272 One can reliably look at the stored endptr to decide whether
13273 the number had valid syntax.
13274
7c0616fa
AJ
132752012-04-21 Andreas Jaeger <aj@suse.de>
13276
803cb6b7 13277 [BZ #13739]
7c0616fa
AJ
13278 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13279
b0fe253f
JM
132802012-04-21 Joseph Myers <joseph@codesourcery.com>
13281
13282 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13283 * sysdeps/unix/sysv/Versions: Remove file.
13284
8280f22d
MT
132852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13286
13287 [BZ #13927]
13288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13289
75ce411f 132902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13291
13292 [BZ #7064]
13293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13294 version from __vm86.
13295
097d59fa
JM
132962012-04-20 Joseph Myers <joseph@codesourcery.com>
13297
a90f3bcb
JM
13298 * sysdeps/unix/common/lxstat.c: Remove file.
13299 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13300
edc7ea78
JM
13301 * sysdeps/unix/sysv/Makefile: Remove file.
13302
cb78c221
JM
13303 * sysdeps/unix/sysv/direct.h: Remove file.
13304
efa6a45f
JM
13305 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13306 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13307 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13308 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13309 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13310 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13311 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13312
9c9f2d0c
JM
13313 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13314
4541c83b
JM
13315 * sysdeps/unix/xmknod.c: Remove file.
13316 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13317
f5d153a0
JM
13318 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13319
aa746595
JM
13320 * sysdeps/unix/sysv/i386/time.S: Remove file.
13321
cce5905e
JM
13322 * sysdeps/unix/fxstat.c: Remove file.
13323 * sysdeps/unix/xstat.c: Likewise.
13324 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13325
37fa3841
JM
13326 * sysdeps/unix/sysv/sigaction.c: Remove file.
13327
ff1962a3
JM
13328 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13329 (sysdep_headers): Remove variable.
13330 [termio.h not in sysdep_headers] (generated): Likewise.
13331 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13332 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13333 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13334 * sysdeps/unix/sysv/tcflow.c: Likewise.
13335 * sysdeps/unix/sysv/tcflush.c: Likewise.
13336 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13337 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13338 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13339 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13340 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13341
e7740d31
JM
13342 * sysdeps/unix/siglist.c: Remove file.
13343
ee06f18b
JM
13344 * sysdeps/unix/getppid.S: Remove file.
13345
097d59fa
JM
13346 * sysdeps/unix/mkdir.c: Remove file.
13347 * sysdeps/unix/rmdir.c: Likewise.
13348
ff3d51ec
AS
133492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13350
13351 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13352 ERR_MAX value.
13353 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13354 errlist-compat value.
13355
50f81fd7
DM
133562012-04-18 David S. Miller <davem@davemloft.net>
13357
13358 * sysdeps/generic/memcopy.h (reg_char): Delete.
13359 * debug/strcat_chk.c: Use char, not reg_char.
13360 * debug/strcpy_chk.c: Likewise.
13361 * debug/strncat_chk.c: Likewise.
13362 * debug/strncpy_chk.c: Likewise.
13363 * string/memchr.c: Likewise.
13364 * string/memrchr.c: Likewise.
13365 * string/rawmemchr.c: Likewise.
13366 * string/strcat.c: Likewise.
13367 * string/strchr.c: Likewise.
13368 * string/strchrnul.c: Likewise.
13369 * string/strcmp.c: Likewise.
13370 * string/strcpy.c: Likewise.
13371 * string/strncat.c: Likewise.
13372 * string/strncmp.c: Likewise.
13373 * string/strncpy.c: Likewise.
13374
8ff41c46
WS
133752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13376
13377 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13378 __builtin_memcopy is called when src and dest ranges are known to not
13379 overlap.
13380
6b652f46
WS
133812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13382
13383 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13384 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13385 fwd_align_merge macro call.
13386 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13387 bwd_align_merge macro call.
13388 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13389
b282631e
WS
133902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13391
13392 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13393 bwd_align_merge macros.
13394 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13395 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13396 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13397
95aa737c
DM
133982012-04-18 David S. Miller <davem@davemloft.net>
13399
13400 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13401
7a99a614
AJ
134022012-04-18 Andreas Jaeger <aj@suse.de>
13403
13404 [BZ# 6794]
13405 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13406 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13407 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13408
13409 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13410 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13411 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13412
13413 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13414 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13415 Adjust for changed ldbl-128 files.
13416
13417 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13418 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13419 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13420
e5270c23
DM
134212012-04-17 David S. Miller <davem@davemloft.net>
13422
13423 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13424
fb5e92c9
AS
134252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13426
13427 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13428 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13429 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13430 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13432 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13433
76da7265
AZ
134342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13435
13436 [BZ #6794]
13437 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13438 * math/libm-test.inc: Add ilogb errno and exception tests.
13439 * math/w_ilogb.c: New file: ilogb wrapper.
13440 * math/w_ilogbf.c: New file: ilogbf wrapper.
13441 * math/w_ilogbl.c: New file: ilogbl wrapper.
13442 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13443 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13444 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13445 exception being thrown with 0.0 as argument.
13446 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13447 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13448 exception being thrown with 0.0 as argument.
13449 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13450 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13451 exception being thrown with 0.0 as argument.
13452 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13453 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13454 exception being thrown with 0.0 as argument.
13455 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13456 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13457 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13458 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13459 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13460 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13461 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13462 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13463 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13464
0396e69d
PB
134652012-04-17 Petr Baudis <pasky@ucw.cz>
13466
13467 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13468 with altivec.
13469
750b5926
MP
134702012-04-16 Marek Polacek <polacek@redhat.com>
13471
13472 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13473
751728a1
MP
134742012-04-16 Marek Polacek <polacek@redhat.com>
13475
13476 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13477 operands of fdivp instruction.
13478
34a27407
L
134792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13482 * elf/tst-auditmod3b.c: Likewise.
13483 * elf/tst-auditmod4b.c: Likewise.
13484 * elf/tst-auditmod5b.c: Likewise.
13485 * elf/tst-auditmod6b.c: Likewise.
13486 * elf/tst-auditmod6c.c: Likewise.
13487 * elf/tst-auditmod7b.c: Likewise.
13488 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13489 * sysdeps/x86_64/preconfigure.in: Likewise.
13490 * sysdeps/x86_64/preconfigure: Regenerated.
13491
7e73e17d
L
134922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13493
13494 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13495 __ILP32__.
13496
c7a6ab72
AB
134972012-04-13 Antoine Balestrat <merkil33@gmail.com>
13498
13499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13500 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13501
a9e8e0e0
CL
135022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13503
13504 [BZ #13973]
13505 * locale/iso-639.def: Fix gl language name. Spotted by
13506 Yaron Shahrabani.
13507
ec98af7d
RM
135082012-04-12 Roland McGrath <roland@hack.frob.com>
13509
13510 [BZ #2074]
13511 * libio/libio.h (__io_write_fn): Update comment.
13512
247c3ede
PB
135132012-04-12 Petr Baudis <pasky@ucw.cz>
13514
13515 [BZ #2074]
13516 * stdio.texi (Hook Functions): The user provided writer function
13517 is not allowed to return -1.
13518
55939d6d
DM
135192012-04-11 David S. Miller <davem@davemloft.net>
13520
13521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13522
90020f5a
MF
135232012-04-11 Mike Frysinger <vapier@gentoo.org>
13524
13525 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13526 Add a leading slash to rtkaio.
13527
288f9098
JM
135282012-04-11 Jim Meyering <meyering@redhat.com>
13529
90020f5a
MF
13530 [BZ #11959]
13531 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13532 It is not necessarily an error to ignore fwrite's return
13533 value. One can reliably use ferror to test for errors after
13534 the fact.
288f9098 13535
4be2b570
L
135362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13537
13538 * bits/types.h (__snseconds_t): New type.
13539 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13540
13541 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13543 (__SNSECONDS_T_TYPE): Likewise.
13544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13545 (__SNSECONDS_T_TYPE): Likewise.
13546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13547 (__SNSECONDS_T_TYPE): Likewise.
13548
288f9098 135492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13550
13551 [BZ #2636]
13552 * manual/time.texi (Processor Time): Return type of times is
13553 elapsed real time since an arbitrary point in the past.
13554 (CPU Time): Move CLK_TCK from here...
13555 (Processor Time): ...to here. Correct description.
13556 * manual/conf.texi (Constants for Sysconf): Correct description of
13557 _SC_CLK_TCK.
13558
d7dd4413
DM
135592012-04-10 David S. Miller <davem@davemloft.net>
13560
13561 [BZ #13967]
13562 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13563 where the is a gap between DT_REL(A) and DT_JMPREL.
13564
b46068fc
L
135652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13566
13567 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13568 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13569 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13570
73d65cc3
SP
135712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13572
13573 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13574 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13575 (dl_main): Handle --inhibit-cache.
13576 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13577 _dl_inhibit_cache.
13578 * elf/dl-load.c (_dl_map_object): Use it.
13579 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13580
bcc8d661
JM
135812012-04-09 Joseph Myers <joseph@codesourcery.com>
13582
8f9a2fae
JM
13583 [BZ #13872]
13584 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13585 (__ieee754_powl): Saturate large exponents rather than testing for
13586 overflow of y*log2(x).
13587 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13588 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13589 exceptions.
13590
bcc8d661
JM
13591 [BZ #11521]
13592 * math/s_ctan.c: Include <float.h>.
13593 (__ctan): Avoid internal overflow or cancellation in calculating
13594 denominator.
13595 * math/s_ctanf.c: Likewise.
13596 * math/s_ctanl.c: Likewise.
13597 * math/s_ctanh.c: Likewise.
13598 * math/s_ctanhf.c: Likewise.
13599 * math/s_ctanhl.c: Likewise.
13600 * math/libm-test.inc (ctan_test): Add more tests.
13601 (ctanh_test): Likewise.
13602 * sysdeps/i386/fpu/libm-test-ulps: Update.
13603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13604
823fbbb4
AJ
136052012-04-09 Andreas Jaeger <aj@suse.de>
13606
03879793
AJ
13607 [BZ #6894]
13608 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13609 is an optional BSD extension.
13610
823fbbb4
AJ
13611 [BZ #10254]
13612 * manual/stdio.texi (Opening Streams): Document additional fopen
13613 parameters.
13614
8de131cb
RM
136152012-04-09 Roland McGrath <roland@hack.frob.com>
13616
13617 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13618 %eax without telling the compiler.
13619
c0ed9d7d
CD
136202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13621
13622 [BZ # 13963]
13623 * manual/install.texi: Use sourceware.org.
13624
c483f6b4
JM
136252012-04-09 Joseph Myers <joseph@codesourcery.com>
13626
d7dd9453
JM
13627 [BZ #13873]
13628 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13629 (__ieee754_pow): Generate overflow and underflow using huge*huge
13630 and tiny*tiny rather than just returning constant infinity or zero
13631 for large exponents.
13632 * math/libm-test.inc (pow_test): Require overflow exceptions for
13633 applicable cases of large exponents.
13634
c483f6b4
JM
13635 [BZ #706]
13636 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13637 (__ieee754_pow): Use iterative multiplication algorithm only for
13638 integer exponents with absolute value below 1024. Check for odd
13639 integer exponents when using algorithm for real exponents.
13640 * math/libm-test.inc (pow_test): Add more tests.
13641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13642
d2de7579
JM
136432012-04-08 Joseph Myers <joseph@codesourcery.com>
13644
13645 [BZ #13705]
13646 * math/libm-test.inc (exp_test): Do not allow overflow exception
13647 on underflow test.
13648
f77f1232
AJ
136492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13650
13651 [BZ #13705]
13652 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13653 instead of __kernel_standard_f.
13654
3884932b
MF
136552012-04-08 Mike Frysinger <vapier@gentoo.org>
13656
13657 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13658 * sysdeps/x86_64/memset_chk.S: Likewise.
13659
54472e9c
AJ
136602012-04-08 Andreas Jaeger <aj@suse.de>
13661
6ab0fbfc
AJ
13662 [BZ #10153]
13663 * manual/startup.texi (Environment Access): Describe return value
13664 for putenv and setenv.
13665
61efba8c
AJ
13666 [BZ #6895]
13667 * manual/filesys.texi (Directory Entries): Add description for
13668 DT_LNK.
13669
95c3f29a
AJ
13670 [BZ #6890]
13671 * manual/filesys.texi (Directory Entries): Clarify that it's file
13672 system not operating system in the description of DT_UNKNOWN.
13673
54472e9c
AJ
13674 [BZ #6578]
13675 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13676
624254b1
SC
136772012-04-08 Stephen Compall <s11@member.fsf.org>
13678
13679 [BZ #6649]
13680 * manual/llio.texi (Opening and Closing Files): Add cross
13681 reference to explain mode argument.
13682
1e4920e0
MF
136832012-04-07 Mike Frysinger <vapier@gentoo.org>
13684
13685 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13686 * sysdeps/x86_64/memset_chk.S: Likewise.
13687
5ed848f3
DM
136882012-04-07 David S. Miller <davem@davemloft.net>
13689
13690 * elf/elf.h (R_SPARC_WDISP10): Define.
13691 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13692 R_SPARC_SIZE32.
13693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13694 R_SPARC_SIZE64 and R_SPARC_H34.
13695
96154cd8
CD
136962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13697
13698 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13699 conditions and remove no longer applicable assertion.
13700
9904dc47
L
137012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * bits/byteswap.h: Include <features.h>.
13704 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13705 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13706
f8887d0a
L
137072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13708
13709 * bits/byteswap.h (__bswap_16): Removed.
13710 Include <bits/byteswap-16.h> to get __bswap_16.
13711 * sysdeps/i386/bits/byteswap.h: Likewise.
13712 * sysdeps/s390/bits/byteswap.h: Likewise.
13713 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13714 * bits/byteswap-16.h: New file.
13715 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13716 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13717 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13718 * string/Makefile (headers): Add bits/byteswap-16.h.
13719
62470f60
PP
137202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13721
13722 [BZ #13895]
13723 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13724 extra indirection.
13725 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13726 * nss/tst-nss-static.c: New.
13727
4dad7bab
RM
137282012-04-06 Robert Millan <rmh@gnu.org>
13729
13730 [BZ #6486]
13731 * manual/llio.texi (File Position Primitive): lseek
13732 refers to WHENCE when it really means OFFSET.
13733
e9142a17
AJ
137342012-04-06 Andreas Jaeger <aj@suse.de>
13735
2c040eff
AJ
13736 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13737 strncmp declarations.
13738
e9142a17
AJ
13739 * abilist/libc.abilist: Add __poll and __ppoll.
13740
ff9f1c5f
DM
137412012-04-05 David S. Miller <davem@davemloft.net>
13742
dcd2ae90
DM
13743 * scripts/check-local-headers.sh: Accept a host triplet in the
13744 path matched by the exclude regexp.
13745
993eb054
DM
13746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13747 definition.
13748 * sysdeps/powerpc/powerpc32/dl-machine.h
13749 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13750 * sysdeps/s390/s390-32/dl-machine.h
13751 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13752 * sysdeps/sparc/sparc32/dl-machine.h
13753 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13754 * sysdeps/sparc/sparc64/dl-machine.h
13755 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13756
ff9f1c5f
DM
13757 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13758 lazy binding.
48e2e132 13759 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13760 undefined symbol errors.
13761
48e2e132 13762 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13763 DT_NEEDED entries.
13764
e80d6f94
MM
137652012-04-05 Michael Matz <matz@suse.de>
13766
13767 [BZ #13592]
13768 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13769
349fa79f
AJ
137702012-04-05 Andreas Jaeger <aj@suse.de>
13771
13772 [BZ #13908]
13773 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13774 comment.
13775
f402708f
KK
137762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13777
13778 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13779 which ROUND is no valid rounding mode.
13780
2ecccfc9
KK
137812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13782
13783 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13784 read again.
13785 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13786
8a53f50f
KK
137872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13788
13789 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13790 an exception using FPU order intentionally.
13791
137922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13793
13794 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13795 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13796 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13797 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13798
d653abb7
SJ
137992012-04-05 Simon Josefsson <simon@josefsson.org>
13800
13801 [BZ #12340]
13802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13803 EINVAL when BUFLEN is too smal.
13804
c3b1bf7d
TS
138052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13806
13807 [BZ #13553]
13808 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13809 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13810
b1aa60f3
AJ
138112012-04-03 Andreas Jaeger <aj@suse.de>
13812
c3b1bf7d 13813 [BZ #13938]
67f60a26
AJ
13814 * manual/setjmp.texi (System V contexts): Fix sentence.
13815
b1aa60f3
AJ
13816 [BZ #13926]
13817 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13818 New macro for this case.
13819 [!__GNUC__] (__bswap_64): New inline function for this case.
13820 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13821 * bits/byteswap.h: Likewise.
13822 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13823 ull, guard with __GLIBC_HAVE_LONG_LONG.
13824
13825 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13826 __GLIBC_HAVE_LONG_LONG.
13827
13828 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13829 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13830
39c59c35
TMQMF
138312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13832
13833 [BZ #13691]
13834 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13835 inptr and inend, rather than using last_ch.
13836
135ffda8
DM
138372012-04-02 David S. Miller <davem@davemloft.net>
13838
13839 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13840 * stdio-common/printf-parse.h (read_int): Change return type to
13841 'int', return -1 on INT_MAX overflow.
13842 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13843 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13844 overflows INT_MAX. Check for overflow of in-format-string precision
13845 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13846 SIZE_MAX not INT_MAX for integer overflow test.
13847 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13848 skip the construct in the format string but do not record anything.
13849 * stdio-common/bug22.c: Adjust to test both width/prevision
13850 INT_MAX overflow as well as total length INT_MAX overflow. Check
13851 explicitly for proper errno values.
13852
228c019e
TS
138532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13854
302cadd3
TS
13855 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13856 CHAR_MAX.
13857 * string/test-strcmp.c [! WIDE]: Likewise.
13858 * time/tst-mktime2.c: Likewise for INT_MAX.
13859 * string/test-string.h: #include <sys/param.h> for MIN.
13860
228c019e
TS
13861 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13862 * sysdeps/i386/init-first.c (init): Likewise.
13863 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13864 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13865 * sysdeps/sh/init-first.c (init): Likewise.
13866
cfa633f5
UD
138672012-04-01 Ulrich Drepper <drepper@gmail.com>
13868
13869 * po/ru.po: Update from translation team.
d1635ef8 13870 * po/vi.po: Likewise.
cfa633f5 13871
6cd0a5ea
SP
138722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13873
13874 * resolv/nss_dns/dns-host.c: Merge copyright years.
13875
4b43400f
LD
138762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13877
13878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13879 Optimize memcpy with prefetch if
13880 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13881 src, dst pointers have unequal 16 byte alignments.
13882
48c41d04
SP
138832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13884
13885 [BZ #13928]
13886 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13887 from a CNAME entry and return the minimum ttl for the query.
13888 (gaih_getanswer_slice): Likewise.
13889
b8dc394d
JL
138902012-03-30 Jeff Law <law@redhat.com>
13891
13892 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13893 due to long keys.
13894 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13895 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13896
2f5a5ed0
JL
13897 * resolv/nss_dns/dns-host.c: Update copyright year.
13898
1d39e359
UD
138992012-03-30 Ulrich Drepper <drepper@gmail.com>
13900
c030f70c 13901 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13902 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13903
1d39e359
UD
13904 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13905 comments for sendmmsg.
13906
139072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13908
13909 [BZ #13691]
13910 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13911 with only 1 character between 0x0041 and 0x01b0.
13912 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13913 * wcsmbs/tst-mbsnrtowcs.c: New file.
13914
20fde227
DM
139152012-03-29 David S. Miller <davem@davemloft.net>
13916
13917 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13918 small copies by hand.
13919
984a4237
JL
139202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13921
13922 [BZ #13761]
13923 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13924 _nss_compat_initgroups_dyn): Fall back to malloc/free
13925 for large group memberships.
13926
18c9d62b
DM
139272012-03-28 David S. Miller <davem@davemloft.net>
13928
88d85d4f
DM
13929 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13930 that branches into memcpy.
13931 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13934 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13936 bits.
13937 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13938 implementation too.
13939 * sysdeps/sparc/mempcpy.S: New file.
13940
e5aa83e1
DM
13941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13942 the IFUNC routine in the libc case.
13943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13944
88570753
DM
13945 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13946 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13947 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13948 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13949 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13950 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13951 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13952 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13953
249d7567
DM
13954 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13955 loop to 256 bytes instead of 64 bytes and fix test signedness.
13956
18c9d62b
DM
13957 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13958 * sysdeps/sparc/sparc32/Makefile: rather than here...
13959 * sysdeps/sparc/sparc64/Makefile: and here.
13960
05f3d1f6
UD
139612012-03-28 Ulrich Drepper <drepper@gmail.com>
13962
13963 * malloc/mallocbug.c: Avoid warnings about unused variables.
13964
86ae07a8
JL
139652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13966
13967 [BZ #13760]
13968 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13969 in the right place. Discard and retry query if response is
13970 larger than input buffer size.
13971
41bf21a1
JM
139722012-03-28 Joseph Myers <joseph@codesourcery.com>
13973
d6270972
JM
13974 [BZ #369]
13975 [BZ #2678]
13976 [BZ #3866]
13977 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13978 x for large integer exponent.
13979 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13980 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13981 sign of result as needed afterwards.
13982 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13983 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13984 result for underflowing pow the same as for overflow.
13985 (__kernel_standard_l): Handle powl overflow and underflow here
13986 rather than calling __kernel_standard.
13987 * math/libm-test.inc (pow_test): Add more tests.
13988
414fca03 13989 [BZ #3868]
41bf21a1
JM
13990 [BZ #13879]
13991 [BZ #13910]
13992 [BZ #13911]
13993 [BZ #13912]
13994 [BZ #13913]
13995 [BZ #13915]
13996 [BZ #13916]
13997 [BZ #13917]
13998 [BZ #13918]
13999 [BZ #13919]
14000 [BZ #13920]
14001 [BZ #13921]
14002 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14003 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14004 (__kernel_standard_l): New function.
14005 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14006 __kernel_standard.
14007 * math/w_acosl.c (__acosl): Likewise.
14008 * math/w_asinl.c (__asinl): Likewise.
14009 * math/w_atan2l.c (__atan2l): Likewise.
14010 * math/w_atanhl.c (__atanhl): Likewise.
14011 * math/w_coshl.c (__coshl): Likewise.
14012 * math/w_exp10l.c (__exp10l): Likewise.
14013 * math/w_exp2l.c (__exp2l): Likewise.
14014 * math/w_fmodl.c (__fmodl): Likewise.
14015 * math/w_hypotl.c (__hypotl): Likewise.
14016 * math/w_j0l.c (__j0l, __y0l): Likewise.
14017 * math/w_j1l.c (__j1l, __y1l): Likewise.
14018 * math/w_jnl.c (__jnl, __ynl): Likewise.
14019 * math/w_lgammal.c (__lgammal): Likewise.
14020 * math/w_log10l.c (__log10l): Likewise.
14021 * math/w_log2l.c (__log2l): Likewise.
14022 * math/w_logl.c (__logl): Likewise.
14023 * math/w_powl.c (__powl): Likewise.
14024 * math/w_remainderl.c (__remainderl): Likewise.
14025 * math/w_scalbl.c (sysv_scalbl): Likewise.
14026 * math/w_sinhl.c (__sinhl): Likewise.
14027 * math/w_sqrtl.c (__sqrtl): Likewise.
14028 * math/w_tgammal.c (__tgammal): Likewise.
14029 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14030 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14031 * math/libm-test.inc (acos_test): Add more tests.
14032 (acosh_test): Likewise.
14033 (asin_test): Likewise.
14034 (atanh_test): Likewise.
14035 (exp_test): Likewise.
14036 (exp10_test): Likewise.
14037 (exp2_test): Likewise.
14038 (expm1_test): Likewise.
14039 (lgamma_test): Likewise.
14040 (log_test): Likewise.
14041 (log10_test): Likewise.
14042 (log1p_test): Likewise.
14043 (log2_test): Likewise.
14044 (pow_test): Do not allow some spurious overflow exceptions.
14045 (sqrt_test): Add more tests.
14046 (tgamma_test): Likewise.
14047 (y0_test): Likewise.
14048 (y1_test): Likewise.
14049 (yn_test): Likewise.
14050
dd62fda6
AB
140512012-03-27 Anton Blanchard <anton@samba.org>
14052
14053 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14054 MAP_HUGETLB.
14055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14058
1e3cdfda
AJ
140592012-03-27 David S. Miller <davem@davemloft.net>
14060
b855ab85
DM
14061 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14062
1e3cdfda
AJ
14063 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14064 have-as-vis3 check.
14065
140662012-03-27 Andreas Jaeger <aj@suse.de>
14067
14068 * sysdeps/x86_64/elf/configure.in: Moved to ...
14069 * sysdeps/x86_64/configure.in: ... here.
14070 * sysdeps/x86_64/elf/start.S: Moved to ...
14071 * sysdeps/x86_64/start.S: ... here.
14072 * sysdeps/x86_64/elf/configure: Delete.
14073
14074 * sysdeps/x86_64/configure.in: Merge contents from
14075 sysdeps/i386/configure.in (without i686 check).
14076
14077 * sysdeps/i386/elf/Versions: Merge into ...
14078 * sysdeps/i386/Versions: ... this.
14079 * sysdeps/i386/elf/Versions: Delete file.
14080 * sysdeps/i386/elf/start.S: Moved to ...
14081 * sysdeps/i386/start.S: ...here.
14082 * sysdeps/i386/elf/configure.in: Merge into...
14083 * sysdeps/i386/configure.in: ...here.
14084 * sysdeps/i386/elf/configure.in: Delete file.
14085 * sysdeps/i386/elf/configure: Delete file.
14086
14087 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14088 * debug/backtracesyms.c: ... here.
14089 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14090 * debug/backtracesymsfd.c: ... here.
14091 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14092 * sysdeps/generic/ifunc-sel.h: ... here.
14093
14094 * sysdeps/unix/i386/start.c: Delete file.
14095 * sysdeps/unix/sparc/start.c: Delete file.
14096 * sysdeps/unix/start.c: Delete file.
14097
14098 * sysdeps/sh/elf/configure.in: Moved to ...
14099 * sysdeps/sh/configure.in: ... here.
14100 * sysdeps/sh/elf/start.S: Moved to ...
14101 * sysdeps/sh/start.S: ... here.
14102 * sysdeps/sh/elf/configure: Delete file.
14103
14104 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14105 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14106 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14107 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14108 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14109 * sysdeps/powerpc/powerpc64/start.S: here.
14110 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14111 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14112 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14113 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14114 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14115
14116 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14117 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14118 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14119 * sysdeps/powerpc/powerpc32/start.S: ... here.
14120 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14121 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14122 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14123
14124 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14125 * sysdeps/powerpc/ifunc-sel.h: ... here.
14126 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14127 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14128
14129 * sysdeps/sparc/elf/configure.in: Moved to ...
14130 * sysdeps/sparc/configure.in: ... here.
14131 * sysdeps/sparc/elf/configure: Delete file.
14132 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14133 * sysdeps/sparc/sparc32/start.S: ... here.
14134 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14135 * sysdeps/sparc/sparc64/start.S: ... here.
14136 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14137 * sysdeps/sparc/sparc32/Makefile: ... this.
14138 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14139 * sysdeps/sparc/sparc64/Makefile: ... this.
14140
14141 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14142 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14143 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14144 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14145 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14146 * sysdeps/s390/s390-32/setjmp.S: ... here.
14147 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14148 * sysdeps/s390/s390-32/configure.in: ... here.
14149 * sysdeps/s390/s390-32/elf/configure: Delete file.
14150 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14151 * sysdeps/s390/s390-32/start.S: ... here.
14152
14153 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14154 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14155 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14156 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14157 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14158 * sysdeps/s390/s390-64/setjmp.S: ... here.
14159 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14160 * sysdeps/s390/s390-64/configure.in: ... here
14161 * sysdeps/s390/s390-64/elf/configure: Delete file.
14162 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14163 * sysdeps/s390/s390-64/start.S: ... here.
14164 * sysdeps/s390/s390-64/elf/configure: Delete.
14165
14166 * configure.in: Remove support for elf directories in sysdeps.
14167
14168 * configure: Regenerated.
14169 * sysdeps/i386/configure: Regenerated.
14170 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14171 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14172 * sysdeps/s390/s390-32/configure: Regenerated.
14173 * sysdeps/s390/s390-64/configure: Regenerated.
14174 * sysdeps/sh/configure: Regenerated.
14175 * sysdeps/sparc/configure: Regenerated.
14176 * sysdeps/x86_64/configure: Regenerated.
14177
a3f61311
AS
141782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14179
c876e002
AS
14180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14181
a3f61311
AS
14182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14183 denormal result into account.
14184
ac4c54f0
RM
141852012-03-25 Roland McGrath <roland@hack.frob.com>
14186
14187 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14188 Reported by Allan McRae <allan@archlinux.org>.
14189
6a9b9c02
JL
141902012-03-23 Jeff Law <law@redhat.com>
14191
14192 * nss/getnssent.c (__nss_getent): Fix typo.
14193
4c42a0c1
DM
141942012-03-23 David S. Miller <davem@davemloft.net>
14195
14196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14197
1532c7ac
L
141982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14199
14200 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14201 to pad to uint64_t for each field.
14202 (dl_tls_index): Replace unsigned long with uint64_t.
14203
3ff42526
PP
142042012-03-23 Daniel Jacobowitz <dmj@google.com>
14205 Paul Pluzhnikov <ppluzhnikov@google.com>
14206
14207 [BZ #6528]
14208 * grp/Makefile (otherlibs): Don't set it.
14209 * inet/Makefile (otherlibs): Likewise.
14210 * login/Makefile (otherlibs): Likewise.
14211 * nscd/Makefile (otherlibs): Likewise.
14212 * posix/Makefile (otherlibs): Likewise.
14213 * pwd/Makefile (otherlibs): Likewise.
14214 * rt/Makefile (otherlibs): Likewise.
14215 * sunrpc/Makefile (otherlibs): Likewise.
14216 * nss/Makefile (otherlibs): Likewise.
14217 Add libnss_files to routines and static-only-routines.
14218 ($(objpfx)getent): Remove rule.
14219 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14220 static-only-routines.
14221
7c69cd14
JM
142222012-03-22 Joseph Myers <joseph@codesourcery.com>
14223
14224 [BZ #13892]
14225 * math/s_cexp.c: Include <float.h>.
14226 (__cexp): Handle exp result overflowing not necessarily
14227 overflowing both real and imaginary parts of result.
14228 * math/s_cexpf.c: Likewise.
14229 * math/s_cexpl.c: Likewise.
14230 * math/libm-test.inc (cexp_test): Add more tests.
14231 * sysdeps/i386/fpu/libm-test-ulps: Update.
14232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14233
81b035fe
L
142342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * include/link.h (ELFW): New macro.
14237 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14238 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14239
1da7940c
L
142402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14241
14242 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14243 with uint64_t.
14244
b749dbb9
L
142452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14248 declaration.
14249 (struct La_x32_retval): Likewise.
14250
2ff87f3f
L
142512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14252
14253 * sysdeps/x86_64/preconfigure.in: New file.
14254 * sysdeps/x86_64/preconfigure: New generated file.
14255
c0df8e69
JM
142562012-03-22 Joseph Myers <joseph@codesourcery.com>
14257
48e44791
JM
14258 [BZ #13824]
14259 * math/e_exp2l.c: Include <float.h>.
14260 (__ieee754_exp2l): Handle overflow and underflow cases
14261 separately. Only pass fractional part of argument to
14262 __ieee754_expl.
14263 * math/libm-test.inc (exp2_test): Add more tests.
14264
c0df8e69
JM
14265 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14266 negating x to take absolute value.
14267 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14268 Likewise.
14269 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14270 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14271 Likewise.
14272 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14273 computing low part if x was negated.
14274 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14275
c8e43ba7
L
142762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14277
14278 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14279 la_x32_gnu_pltexit.
14280 (pltexit): Cast int_retval to ptrdiff_t.
14281 * elf/tst-auditmod3b.c: Likewise.
14282 * elf/tst-auditmod4b.c: Likewise.
14283 * elf/tst-auditmod5b.c: Likewise.
14284 * elf/tst-auditmod6b.c: Likewise.
14285 * elf/tst-auditmod6c.c: Likewise.
14286 * elf/tst-auditmod7b.c: Likewise.
14287
14288 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14289 and x32_gnu_pltexit.
14290
14291 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14292 __ELF_NATIVE_CLASS.
14293 (La_x32_regs): New macro.
14294 (La_x32_retval): Likewise.
14295 (la_x32_gnu_pltenter): New function prototype.
14296 (la_x32_gnu_pltexit): Likewise.
14297
7998fa78
AS
142982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14299
dcb33988
AS
14300 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14301 exponent.
14302
233fc563
AS
14303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14304
7998fa78
AS
14305 * configure.in (libc_cv_cc_nofma): Check for option to disable
14306 generation of FMA instructions.
14307 * configure: Regenerate.
14308 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14309 * sysdeps/ieee754/dbl-64/Makefile: New file.
14310 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14311 Remove brandred-fma4.
14312 (CFLAGS-brandred-fma4.c): Remove.
14313 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14314 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14315 define.
14316 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14317 define.
14318
8e95c99a
L
143192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14322 LLONG_MAX != LONG_MAX.
14323 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14324 (_fitoa_word): Likewise.
14325 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14326 LLONG_MAX != LONG_MAX.
14327 * stdio-common/_itowa.h: Include <_itoa.h>.
14328 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14329 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14330 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14331 only if not defined.
14332 (_ITOA_WORD_TYPE): Likewise.
14333 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14334 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14335
6f4db457
DM
143362012-03-21 David S. Miller <davem@davemloft.net>
14337
14338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14339
7785fe5a
L
143402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14343 of x86_64 when setting libc_cv_slibdir, libdir and
14344 libc_cv_localedir.
14345 * sysdeps/unix/sysv/linux/configure: Regenerated.
14346
4535cd55
JM
143472012-03-21 Joseph Myers <joseph@codesourcery.com>
14348
14349 * manual/lang.texi (Old Varargs): Remove section.
14350 (How Variadic): Update menu.
14351 (va_start): Do not mention varargs.h.
14352
17228132
TS
143532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14354 Joseph Myers <joseph@codesourcery.com>
14355
14356 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14357 link test.
14358 * configure: Regenerated.
14359
8149f976
TS
143602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14361
05f3d1f6
UD
14362 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14363 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14364 conformtest.pl
8149f976 14365
1a4ac776
JM
143662012-03-21 Joseph Myers <joseph@codesourcery.com>
14367
be22ce65
JM
14368 * NOTES: Remove.
14369 * Makefile (files-for-dist): Remove NOTES.
14370 (NOTES): Remove rule.
14371 * README: Don't refer to NOTES.
14372 * manual/creature.texi: Don't include macros.texi.
14373 * manual/intro.texi (creature.texi): Remove comment referring to
14374 NOTES.
14375
40b601fb
JM
14376 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14377 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14378 * configure: Regenerated.
14379 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14380 LIBC_TRY_CC_OPTION.
14381 (libc_cv_as_i686): Likewise.
14382 (libc_cv_cc_avx): Likewise.
14383 (libc_cv_cc_sse2avx): Likewise.
14384 (libc_cv_cc_fma4): Likewise.
14385 (libc_cv_cc_novzeroupper): Likewise.
14386 * sysdeps/i386/configure: Regenerated.
14387
1a4ac776
JM
14388 [BZ #13883]
14389 * sysdeps/i386/fpu/s_cexp.S: Remove.
14390 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14391 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14392 * math/libm-test.inc (cexp_test): Add more tests.
14393 * sysdeps/i386/fpu/libm-test-ulps: Update.
14394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14395
a458e7fe
AM
143962012-03-21 Allan McRae <allan@archlinux.org>
14397
14398 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14399
0cb7efc5
JM
144002012-03-21 Joseph Myers <joseph@codesourcery.com>
14401
14402 [BZ #13871]
14403 * math/w_exp2.c: Do not include <float.h>.
14404 (o_threshold, u_threshold): Remove.
14405 (__exp2): Calculate result before checking finiteness and calling
14406 __kernel_standard.
14407 * math/w_exp2f.c: Likewise.
14408 * math/w_exp2l.c: Likewise.
14409 * math/libm-test.inc (exp2_test): Require overflow exception for
14410 1e6 input.
2460d3aa
JM
14411
14412 [BZ #3866]
14413 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14414 range of signed 64-bit integers before using fistpll. Remove
14415 checks for whether integers fit in mantissa bits.
14416 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14417 the range of signed 32-bit integers before using fistpl. Remove
14418 checks for whether integers fit in mantissa bits.
14419 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14420 (__ieee754_powl): Test for y outside the range of signed 64-bit
14421 integers before using fistpll. Reduce 64-bit values to 63-bit
14422 ones as needed.
14423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14424 divide-by-zero is raised for zero to large negative powers.
14425 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14426 (__ieee754_powl): Test for y outside the range of signed 64-bit
14427 integers before using fistpll. Reduce 64-bit values to 63-bit
14428 ones as needed.
14429 * math/libm-test.inc (pow_test): Add more tests.
14430
eb96ffb0
L
144312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14432
14433 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14434 <stdio-common/_itoa.h>.
14435 * debug/segfault.c: Likewise.
14436 * elf/dl-cache.c: Likewise.
14437 * elf/dl-minimal.c: Likewise.
14438 * elf/dl-misc.c: Likewise.
14439 * elf/dl-sysdep.c: Likewise.
14440 * elf/dl-version.c: Likewise.
14441 * elf/rtld.c: Likewise.
14442 * hurd/hurdsock.c: Likewise.
14443 * hurd/lookup-retry.c: Likewise.
14444 * malloc/malloc.c: Likewise.
14445 * malloc/mtrace.c: Likewise.
14446 * nscd/nscd_getgr_r.c: Likewise.
14447 * nscd/nscd_getpw_r.c: Likewise.
14448 * nscd/nscd_getserv_r.c: Likewise.
14449 * posix/getopt_init.c: Likewise.
14450 * posix/wordexp.c: Likewise.
14451 * stdio-common/_itoa.c: Likewise.
14452 * stdio-common/printf_fphex.c: Likewise.
14453 * stdio-common/vfprintf.c: Likewise.
14454 * string/_strerror.c: Likewise.
14455 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14456 * sysdeps/i386/i686/hp-timing.h: Likewise.
14457 * sysdeps/mach/_strerror.c: Likewise.
14458 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14459 * sysdeps/mach/hurd/sethostid.c: Likewise.
14460 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14461 * sysdeps/mach/xpg-strerror.c: Likewise.
14462 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14463 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14464 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14465 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14466 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14467 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14468 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14469 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14470 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14471 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14472 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14473 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14474 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14475 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14476 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14477 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14479 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14480 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14481 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14482 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14483
14484 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14485
14486 * stdio-common/_itoa.h: Moved to ...
14487 * sysdeps/generic/_itoa.h: Here.
14488
14489 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14490
14491 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14492 instead of "_itoa.h" and "_itowa.h".
14493 * stdio-common/vfprintf.: Likewise.
14494
d1af992d
L
144952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14496
14497 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14498 <bits/wordsize.h>.
14499 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14500 (__signbit): Likwise.
14501 (llrintf): Likwise.
14502 (llrint): Likwise.
14503
114883e0
L
145042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14505
14506 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14507 __WORDSIZE != 64.
14508
c135cc1b
JM
145092012-03-20 Joseph Myers <joseph@codesourcery.com>
14510
14511 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14512 OVERFLOW_EXCEPTION_OK.
14513 * math/libm-test.inc ("Philosophy"): Update comment about
14514 exception testing.
14515 (OVERFLOW_EXCEPTION): Define.
14516 (OVERFLOW_EXCEPTION_OK): Likewise.
14517 (INVALID_EXCEPTION_OK): Renumber.
14518 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14519 (IGNORE_ZERO_INF_SIGN): Likewise.
14520 (test_exceptions): Handle FE_OVERFLOW.
14521 (exp10_test): Expect overflow exceptions.
14522 (exp2_test): Likewise.
14523 (expm1_test): Likewise.
14524 (nextafter_test): Likewise.
14525 (pow_test): Likewise.
14526 (scalbn_test): Likewise.
14527 (scalbln_test): Likewise.
14528
95443d88
L
145292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14530
14531 * sysdeps/x86_64/bits/atomic.h
14532 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14533 64bit integer.
14534 (atomic_exchange_acq): Likewise.
14535 (__arch_exchange_and_add_body): Likewise.
14536 (__arch_add_body): Likewise.
14537 (atomic_add_negative): Likewise.
14538 (atomic_add_zero): Likewise.
14539
490df6c4
L
145402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14541
c2722551 14542 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14543 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14544
5e52b189
L
145452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14546
14547 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14548 Check __x86_64__ instead of __WORDSIZE.
14549
a9879d4c
L
145502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14551
14552 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14553
5df98260
DM
145542012-03-19 David S. Miller <davem@davemloft.net>
14555
e1497744
DM
14556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14557
5df98260
DM
14558 * sysdeps/sparc/fpu/fenv_private.h: New file.
14559 * sysdeps/sparc/fpu/math_private.h: Use it.
14560 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14561 Remove.
14562 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14563 (libc_feholdexcept_setroundl): Remove.
14564 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14565 Remove.
14566 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14567 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14568
b4c35121
L
145692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14570
14571 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14572 int64_t instead of long int.
14573 (INSERT_WORDS64): Likwise.
14574
56965fd7
L
145752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14576
14577 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14578 _Unwind_GetCFA return to _Unwind_Ptr first.
14579
83d1aec8
JM
145802012-03-19 Joseph Myers <joseph@codesourcery.com>
14581
1897ad44
JM
14582 [BZ #13629]
14583 * math/s_clog.c: Include <float.h>.
14584 (__clog): Scale large or subnormal inputs.
14585 * math/s_clogf.c: Likewise.
14586 * math/s_clogl.c: Likewise.
14587 * math/s_clog10.c: Include <float.h>.
14588 (M_LOG10_2): Define.
14589 (__clog10): Scale large or subnormal inputs.
14590 * math/s_clog10f.c: Likewise.
14591 * math/s_clog10l.c: Likewise.
14592 * math/libm-test.inc (clog_test): Add more tests.
14593 (clog10_test): Likewise.
14594 * sysdeps/i386/fpu/libm-test-ulps: Update.
14595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14596
7726d6a9
JM
14597 [BZ #11451]
14598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14599 x and y.
14600 * math/libm-test.inc (atan2_test): Add another test.
14601
83d1aec8
JM
14602 * Makerules (common-objdir-compile): Remove.
14603 * sysdeps/unix/Makefile (config-generated): Do not add
14604 $(unix-generated) to variable.
14605 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14606 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14607 Remove rule.
14608 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14609 Likewise.
14610 [generic bits/local_lim.h] (before-compile): Do not append to
14611 variable.
14612 [generic bits/local_lim.h] (common-generated): Likewise.
14613 [generic sys/param.h] (before-compile): Do not append to variable.
14614 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14615 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14616 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14617 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14618 include.
14619 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14620 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14621 [generic sys/param.h] ($(addprefix
14622 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14623 [generic sys/param.h] (common-generated): Do not append to
14624 variable.
14625 [generic sys/param.h] (sysdep_headers): Likewise.
14626 [generic bits/errno.h] (before-compile): Do not append to
14627 variable.
14628 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14629 rule.
14630 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14631 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14632 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14633 [generic bits/errno.h] (common-generated): Do not append to
14634 variable.
14635 [generic bits/ioctls.h] (before-compile): Do not append to
14636 variable.
14637 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14638 rule.
14639 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14640 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14641 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14642 rule.
14643 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14644 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14645 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14646 [generic bits/ioctls.h] (common-generated): Do not append to
14647 variable.
14648 [generic sys/syscall.h] (syscall.h): Remove variable.
14649 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14650 rule.
14651 [generic sys/syscall.h] (before-compile): Do not append to
14652 variable.
14653 [generic sys/syscall.h] (common-generated): Likewise.
14654 * sysdeps/unix/errnos-tmpl.c: Remove file.
14655 * sysdeps/unix/errnos.awk: Likewise.
14656 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14657 * sysdeps/unix/ioctls.awk: Likewise.
14658 * sysdeps/unix/mk-local_lim.c: Likewise.
14659 * sysdeps/unix/snarf-ioctls: Likewise.
14660
4851a949
RH
146612012-03-19 Richard Henderson <rth@twiddle.net>
14662
bd37f2ee
RH
14663 * sysdeps/i386/fpu/fenv_private.h: New file.
14664 * sysdeps/i386/fpu/math_private.h: Use it.
14665 (math_opt_barrier, math_force_eval): Remove.
14666 (libc_feholdexcept_setround_53bit): Remove.
14667 (libc_feupdateenv_53bit): Remove.
14668 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14669 (math_opt_barrier, math_force_eval): Remove.
14670 (libc_feholdexcept): Remove.
14671 (libc_feholdexcept_setround): Remove.
14672 (libc_fetestexcept, libc_fesetenv): Remove.
14673 (libc_feupdateenv_test): Remove.
14674 (libc_feupdateenv, libc_feholdsetround): Remove.
14675 (libc_feresetround): Remove.
14676
d0adc922
RH
14677 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14678 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14679
0fe0f1f8
RH
14680 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14681 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14682 (libc_feupdateenv_testl): New.
14683 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14684 (libc_feupdateenv_testf): New.
14685 (libc_feupdateenv): Use libc_feupdateenv_test.
14686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14687 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14688
eb92c487
RH
14689 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14690 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14691 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14692 (libc_feresetround_noex): New.
14693 (libc_feresetround_noexf): New.
14694 (libc_feresetround_noexl): New.
14695 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14696 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14697 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14698 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14699 SET_RESTORE_ROUND.
14700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14702 (__cos): Likewise.
14703 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14704 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14705 SET_RESTORE_ROUND_NOEX.
14706 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14707 SET_RESTORE_ROUND_NOEXF.
14708 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14709 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14710 (libc_feholdsetroundf): New.
14711 (libc_feresetround, libc_feresetroundf): New.
14712
7d2e8012
RH
14713 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14714 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14715 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14716
b4dabbb4
RH
14717 * sysdeps/generic/math_private.h: Include <fenv.h>.
14718 (default_libc_feholdexcept): New.
14719 (default_libc_feholdexcept_setround): New.
14720 (default_libc_fesetenv, default_libc_feupdateenv): New.
14721 (libc_feholdexcept): Only define if undefined.
14722 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14723 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14724 (libc_feholdexcept_setroundl): Likewise.
14725 (libc_feholdexcept_setround_53bit): Likewise.
14726 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14727 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14728 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14729 (libc_feupdateenv_53bit): Likewise.
14730 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14731 (libc_feholdexcept): Convert from macro to inline function.
14732 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14733 (libc_fesetenv, libc_feupdateenv): Likewise.
14734
4851a949
RH
14735 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14736 not previously defined.
14737 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14738 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14739 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14740 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14741 * sysdeps/ieee754/flt-32/math_private.h: New file.
14742 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14743 math_private.h below SET_FLOAT_WORD.
14744 (__isnan, __isinf_ns, __finite): Remove.
14745 (__isnanf, __isinf_nsf, __finitef): Remove.
14746
e79d442e
AS
147472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14748
14749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14750
90b80344
DM
147512012-03-17 David S. Miller <davem@davemloft.net>
14752
14753 [BZ #6471]
14754 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14755 for 2.16.
14756
edc21804
DM
147572012-03-16 David S. Miller <davem@davemloft.net>
14758
77e927af
DM
14759 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14760 warnings.
14761
374976dd
DM
14762 [BZ #6471]
14763 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14764 properly.
14765 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14766 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14767 sysdep_routines when subdir is sysvipc.
14768 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14769 __getshmlba helper.
14770
edc21804
DM
14771 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14772
473c3ef3
L
147732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14776 [__LP64__].
14777
eb0f39b6
L
147782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14779
14780 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14781 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14782 (__lround): Renamed to ...
14783 (__llround): This. Replace long int with long long int.
14784 Define lround functions as aliases of llround functions.
14785 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14786
6b6cd74b
L
147872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14788
14789 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14790 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14791 adresses to uintptr_t. Replace "long int" and "unsigned long
14792 int" with "greg_t" on va_arg.
14793
f1a77b01
L
147942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14797 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14798
14799 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14800 Move e_machine check before EI_CLASS check. Handle x32
14801 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14802 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14803 SKIP_EM_IA_64 and include
14804 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14805
14806 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14807 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14808 (add_system_dir): New macro.
14809
14810 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14811 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14812
11b90b9f
JM
148132012-03-16 Joseph Myers <joseph@codesourcery.com>
14814
c36e1d23
JM
14815 [BZ #2551]
14816 [BZ #2552]
14817 [BZ #2553]
14818 [BZ #2554]
14819 [BZ #2562]
14820 [BZ #2563]
14821 [BZ #2565]
14822 [BZ #2566]
14823 [BZ #2576]
14824 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14825 (y0): Likewise.
14826 * math/w_j0f.c (j0f): Likewise.
14827 (y0f): Likewise.
14828 * math/w_j0l.c (__j0l): Likewise.
14829 (__y0l): Likewise.
14830 * math/w_j1.c (j1): Likewise.
14831 (y1): Likewise.
14832 * math/w_j1f.c (j1f): Likewise.
14833 (y1f): Likewise.
14834 * math/w_j1l.c (__j1l): Likewise.
14835 (__y1l): Likewise.
14836 * math/w_jn.c (jn): Likewise.
14837 (yn): Likewise.
14838 * math/w_jnf.c (jnf): Likewise.
14839 (ynf): Likewise.
14840 * math/w_jnl.c (__jnl): Likewise.
14841 (__ynl): Likewise.
14842 * math/libm-test.inc (j0_test): Add more tests.
14843 (j1_test): Likewise.
14844 (jn_test): Likewise. Add trailing semicolon to existing test.
14845 (y0_test): Likewise.
14846 (y1_test): Likewise.
14847 * sysdeps/i386/fpu/libm-test-ulps: Update.
14848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14849
11b90b9f
JM
14850 [BZ #13851]
14851 [BZ #13854]
14852 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14853 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14854 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14855 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14856 (__tanl): Set errno for infinite argument.
14857 * sysdeps/i386/fpu/mptan.c: Remove.
14858 * sysdeps/i386/fpu/s_tan.S: Likewise.
14859 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14860 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14861 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14862 * math/libm-test.inc (tan_test): Add more tests and enable more
14863 tests for double and long double.
14864 * sysdeps/i386/fpu/libm-test-ulps: Update.
14865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866
6a1bd2a1
JK
148672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14868
14869 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14870 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14871
10a803e0
RM
148722012-03-16 Roland McGrath <roland@hack.frob.com>
14873
14874 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14875 * configure.in: Use it for both main tree and add-ons.
14876 * configure: Regenerated.
14877
f196c7f7
L
148782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14879
14880 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14881
8848d99d
JM
148822012-03-16 Joseph Myers <joseph@codesourcery.com>
14883
96cbe7f4
JM
14884 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14885 in comment.
14886
8848d99d
JM
14887 [BZ #13851]
14888 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14889 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14893 infinite argument.
14894 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14896 != 0 for prec == 2.
14897 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14898 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14899 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14900 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14901 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14902 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14903 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14904 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14905 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14906 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14907 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14908 * math/libm-test.inc (cos_test): Add more tests and enable more
14909 tests for long double.
14910 (sin_test): Likewise.
14911 (sincos_test): Likewise.
14912 * sysdeps/i386/fpu/libm-test-ulps: Update.
14913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14914
dd7f4703
DM
149152012-03-16 David S. Miller <davem@davemloft.net>
14916
14917 * sysdeps/sparc/fpu/math_private.h: New file.
14918
006f1daa
DM
149192012-03-15 David S. Miller <davem@davemloft.net>
14920
c0c83bc8
DM
14921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14922 file.
e6a62e18 14923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14925 file.
e6a62e18
DM
14926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14932 sysdep routines.
14933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14934
88cb87d9
DM
14935 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14936 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14937
006f1daa 14938 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14940 sparc-ifunc.h
006f1daa 14941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14943 Likewise.
14944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14945 Likewise.
006f1daa
DM
14946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14950 Likewise.
006f1daa
DM
14951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14956 Likewise.
14957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14958 Likewise.
006f1daa
DM
14959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14981 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14983
11e0098e
AS
149842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14985
14986 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14987 scaling.
14988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14989
e85b09d0
AJ
149902012-03-15 Andreas Jaeger <aj@suse.de>
14991
14992 [BZ #13852]
14993 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14994 ieee754/flt-32 implementation for sin, cos and sincos.
14995 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14996 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14997 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14998 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14999 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15000 ieee754/flt-32 implementation for tan.
15001
15002 * math/libm-test.inc (cos_test): Enable some large input tests for
15003 float as well
15004 (sin_test): Likewise.
15005 (sincos_test): Likewise.
15006 (tan_test): Add tests for large input.
15007
15008 * sysdeps/i386/fpu/libm-test-ulps: Update.
15009
81c64153
AJ
150102012-03-15 Andreas Jaeger <aj@suse.de>
15011
15012 [BZ #13658]
15013 * math/libm-test.inc (cos_test): Add more test cases.
15014 (sin_test): Likewise.
15015 (sincos_test): Likewise.
15016
7bbfa5c6
AJ
150172012-03-15 Andreas Jaeger <aj@suse.de>
15018
15019 [BZ #13837]
15020 * math/libm-test.inc (cos_test): Add a test case for large input
15021 value.
15022 (sin_test): Likewise.
15023 (sincos_test): Likewise.
15024
150252012-03-15 Andreas Jaeger <aj@suse.de>,
15026 Joseph Myers <joseph@codesourcery.com>
15027
15028 [BZ #13658]
0671f479 15029 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15030 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15031 * sysdeps/i386/fpu/branred.c: Likewise.
15032 * sysdeps/i386/fpu/dosincos.c: Likewise.
15033 * sysdeps/i386/fpu/mpa.c: Likewise.
15034 * sysdeps/i386/fpu/s_cos.S: Likewise.
15035 * sysdeps/i386/fpu/s_sin.S: Likewise.
15036 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15037 * sysdeps/i386/fpu/sincos32.c: Likewise.
15038
15039 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15040 Define.
15041 (libc_feupdateenv_53bit): Define.
15042 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15043 Define.
15044 (libc_feupdateenv_53bit): Define.
15045
15046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15047 53 bit (without extend i386 double precision).
15048
15049 * math/libm-test.inc (sincos_test): Add tests for large input.
15050 (sin): Likewise.
15051 (cos): Likewise.
15052
15053 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15054
9cad04ea
AS
150552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15056
15057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15058
f7062b9a
DM
150592012-03-15 David S. Miller <davem@davemloft.net>
15060
15061 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15062 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15063 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15064 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15077 file.
f7062b9a 15078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15080 file.
f7062b9a 15081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15083 file.
f7062b9a 15084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15086 file.
f7062b9a
DM
15087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15089 fmin/fmax sysdep routines.
15090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15091
7bd951ff
DM
150922012-03-14 David S. Miller <davem@davemloft.net>
15093
559398ab
DM
15094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15123 routines.
15124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15125 file.
559398ab 15126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15128 file.
559398ab 15129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15131 file.
559398ab 15132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15134 file.
559398ab 15135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15137 file.
559398ab 15138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15140 file.
15141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15142 file.
15143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15144 file.
15145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15146 file.
15147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15148 New file.
15149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15150 file.
15151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15152 file.
559398ab 15153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15155 file.
559398ab 15156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15158 file.
559398ab 15159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15161 file.
559398ab 15162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15164 VIS3 routines.
559398ab
DM
15165
15166 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15167 New file.
15168
5a1c1e32
DM
15169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15170
eae47a36
DM
15171 * sysdeps/sparc/configure.in: New file.
15172 * sysdeps/sparc/configure: Generate.
15173 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15174 * configure: Regenerate.
15175 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15176 * config.make.in (have-as-vis3): New.
15177 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15178 available use -Av9d instead of -Av9a.
15179 * sysdeps/sparc/sparc64/Makefile: Likewise.
15180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15182 New file.
15183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15184 file.
15185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15186 New file.
15187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15188 file.
eae47a36
DM
15189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15194
c0c83bc8
DM
15195 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15196 fzeros/fnegs to load 0x80000000 into a float register instead of
15197 using the stack.
7bd951ff
DM
15198 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15199
bd951ccb
JM
152002012-03-14 Joseph Myers <joseph@codesourcery.com>
15201
15202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15203 bits/syscall.h.
15204 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15205 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15206 ($(inst_includedir)/bits/syscall.h): Remove rule.
15207 ($(objpfx)bits/syscall.d): Include instead of
15208 $(objpfx)syscall-list.d.
15209 (generated): Change syscall-list.h and syscall-list.d to
15210 bits/syscall.h and bits/syscall.d.
15211
bb4e6db2
RM
152122012-03-14 Roland McGrath <roland@hack.frob.com>
15213
15214 [BZ #13846]
15215 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15216
aa4a2ae1
JM
152172012-03-14 Joseph Myers <joseph@codesourcery.com>
15218
e456826d
JM
15219 [BZ #13841]
15220 * math/s_csqrt.c: Include <float.h>.
15221 (__csqrt): Scale large or subnormal inputs.
15222 * math/s_csqrtf.c: Likewise.
15223 * math/s_csqrtl.c: Likewise.
15224 * math/libm-test.inc (csqrt_test): Add more tests.
15225 * sysdeps/i386/fpu/libm-test-ulps: Update.
15226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15227
aa4a2ae1
JM
15228 [BZ #13840]
15229 * math/libm-test.inc (hypot_test): Add more tests.
15230
7c10fd35
DM
152312012-03-13 David S. Miller <davem@davemloft.net>
15232
15233 [BZ #13840]
15234 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15235 double-precision for the calculation instead of scaling.
15236
f453b98b
JM
152372012-03-13 Joseph Myers <joseph@codesourcery.com>
15238
15239 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15240 manipulate bits before adding and subtracting TWO52[sx].
15241 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15243 Likewise.
15244 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15245
09a3453f
DM
152462012-03-13 David S. Miller <davem@davemloft.net>
15247
8e59da90
DM
15248 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15249 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15251 rtld-global-offsets.h
15252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15253
2a8ab7f2
DM
15254 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15255 large parameters.
15256
10f62770
DM
15257 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15258
5f0bdb18
DM
15259 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15260 'err' in the ifdef scope in which it is actually used.
15261
09a3453f
DM
15262 * nss/nss_db/db-init.c: Include string.h
15263
b4b2eb5e
DM
152642012-03-12 David S. Miller <davem@davemloft.net>
15265
98bb2f1c
DM
15266 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15267 masking out of the most significant byte of random value used.
15268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15269 Fix coding style in previous change.
15270
b4b2eb5e
DM
15271 * sysdeps/unix/sysv/linux/kernel-features.h
15272 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15273 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15274 expression.
15275 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15276 later.
15277
6e226b09
DM
152782012-03-11 David S. Miller <davem@davemloft.net>
15279
a1bcbd40
DM
15280 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15281 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15282 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15283 for 'resultvar' otherwise things get truncated on 64-bit.
15284
cb9d6174
DM
15285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15286 Fix masking out of the most significant byte of random value used.
15287
6e226b09
DM
15288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15289
058c132d
AS
152902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15291
15292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15293
2d2cd515
DM
152942012-03-09 David S. Miller <davem@davemloft.net>
15295
15296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15297 variables with appropriate CPP guards.
15298 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15299 frame pointer, not the stack pointer. Correct layout comments. Fix test
15300 on resulting framesize and the management of the outregs buffer for pltexit.
15301 Preserve floating point return values across _dl_call_pltexit call.
15302 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15303 framesize and the management of the outregs buffer for pltexit.
15304 Preserve floating point return values across _dl_call_pltexit
15305 call.
15306 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15307 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15308 (print_exit): Fix format string for return register value.
15309
9a07f9d0
JM
153102012-03-10 Joseph Myers <joseph@codesourcery.com>
15311
15312 * sunrpc/Makefile (others): Add rpcgen.
15313 ($(objpfx)rpcgen): Remove special build rule and dependency on
15314 libc.
15315 * sunrpc/rpcgen.c: New file.
15316
547b5e30
PE
153172012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15318
c524201a
PE
15319 [BZ #13673]
15320 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15321 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15322 * sysdeps/i386/crti.S: Likewise.
15323 * sysdeps/i386/crtn.S: Likewise.
15324 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15325 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15326 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15327 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15328 * sysdeps/sh/crti.S: Likewise.
15329 * sysdeps/sh/crtn.S: Likewise.
15330 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15331
7b6235f2
PE
15332 [BZ #13673]
15333 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15334 with URL.
15335 * locale/programs/locfile-kw.gperf: Likewise.
15336 * locale/programs/charmap-kw.h: Regenerated.
15337 * locale/programs/locfile-kw.h: Likewise.
15338
547b5e30
PE
15339 [BZ #13673]
15340 * intl/plural.y: Replace FSF snail mail address with URL.
15341 * intl/plural.c: Regenerated.
15342
5f0a5dae
RH
153432012-03-09 Richard Henderson <rth@twiddle.net>
15344
15345 * include/math_private.h: Remove file.
15346 * math/math_private.h: Move file ...
15347 * sysdeps/generic/math_private.h: ... here.
15348
b8c03620
RH
15349 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15350 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15351 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15352
4e234f5d 15353 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15354 and <math_private.h>.
15355 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15356 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15357 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15358 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15359 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15381 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15384 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15385 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15410 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15443 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15444 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15445 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15446 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15447 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15448 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15449 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15450 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15451 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15452 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15453 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15454 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15455 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15456 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15457 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15458 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15459 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15460 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15461 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15462 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15463 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15464 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15465 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15466 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15467 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15468 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15469 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15470 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15471 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15472 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15473 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15474 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15475 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15476 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15477 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15478 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15479 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15480 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15481 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15482 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15483 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15484 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15485 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15486 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15487 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15488 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15489 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15490 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15491 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15492 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15493 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15494 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15495 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15496 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15497 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15498 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15499 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15500 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15501 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15502 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15503 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15504 * sysdeps/ieee754/k_standard.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15616 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15618 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15624 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15627 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15632 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15636 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15637 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15638 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15641 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15644 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15646 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15647 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15651 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15652 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15653 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15654 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15655 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15656 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15660 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15661 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15662 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15664 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15665 * sysdeps/ieee754/s_lib_version.c: Likewise.
15666 * sysdeps/ieee754/s_matherr.c: Likewise.
15667 * sysdeps/ieee754/s_signgam.c: Likewise.
15668 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15669 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15670 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15671 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15672 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15673 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15674 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15675 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15676 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15677 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15678 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15679 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15680 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15681 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15682 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15683 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15684 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15685 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15686 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15687 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15689
1991fa03
JM
156902012-03-09 Joseph Myers <joseph@codesourcery.com>
15691
15692 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15693 * sunrpc/rpc_main.c: Likewise.
15694 * sunrpc/rpc_svcout.c: Likewise.
15695
60d6f5a6
DM
156962012-03-09 David S. Miller <davem@davemloft.net>
15697
15698 * include/math_private.h: New file.
15699
4962050e
JM
157002012-03-09 Joseph Myers <joseph@codesourcery.com>
15701
02a6f887
JM
15702 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15703 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15704 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15705 from <bits/socket_type.h>.
15706 (enum __socket_type): Don't define here.
15707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15709 bits/socket_type.h.
15710
c6e013c1
JM
15711 [BZ #13566]
15712 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15713 checking __USE_GNU.
15714
4962050e
JM
15715 * Makerules ($(inst_includedir)/%.h): New rule.
15716 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15717 (install-others): Remove variable setting.
15718 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15719
38842f45
RH
157202012-03-08 Richard Henderson <rth@twiddle.net>
15721
67bb6da6
RH
15722 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15723 from macro to inline function; merge with the
15724 !__LIBC_INTERNAL_MATH_INLINES version.
15725 (__ieee754_sqrtf): Likewise.
15726
15194b4b
RH
15727 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15728 to inline function.
15729 (__rintf, __floor, __floorf): Likewise.
15730
64e21ede
RH
15731 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15732 macro to inline function.
15733 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15734
38842f45
RH
15735 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15736 not <math/math_private.h>.
15737
c64bf5fe
DM
157382012-03-08 David S. Miller <davem@davemloft.net>
15739
15740 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15741 copyright year.
15742 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15743
82d86f28
TS
157442012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15745
15746 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15747 normalization.
15748 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15749 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15750
aea5d727
UD
157512012-03-08 Ulrich Drepper <drepper@gmail.com>
15752
15753 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15754 be defined individually, they must be defined as a block. Define
15755 S for printing a string instead of hidint the different by using a
15756 macro for adding the 'l'.
15757 * stdio-common/tst-fphex-wide.c: Adjust.
15758
70bca0a3
MP
157592012-03-07 Marek Polacek <polacek@redhat.com>
15760
15761 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15762
65b81130
MP
157632012-03-08 Marek Polacek <polacek@redhat.com>
15764
15765 [BZ #13806]
15766 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15767 * stdio-common/tst-fphex.c: Define a few macros to make the
15768 test reusable. Use them.
15769 * stdio-common/tst-fphex-wide.c: New file.
15770
07037eeb
JM
157712012-03-08 Joseph Myers <joseph@codesourcery.com>
15772
a7a93d50
JM
15773 [BZ #6911]
15774 * manual/macros.texi (gnusystems): New macro.
15775 (nongnusystems): Likewise.
15776 (gnulinuxhurdsystems): Likewise.
15777 (gnuhurdsystems): Likewise..
15778 (gnulinuxsystems): Likewise.
15779 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15780 variants of the GNU system, not "GNU system".
15781 * manual/conf.texi: Likewise.
15782 * manual/errno.texi: Likewise. Update example of errno macro
15783 expansion.
15784 * manual/filesys.texi: Likewise.
15785 (getumask): Document as specific to GNU/Hurd.
15786 * manual/install.texi: Likewise. Reword some references to
15787 GNU/Linux.
15788 * manual/intro.texi: Likewise.
15789 * manual/io.texi: Likewise.
15790 (File Name Portability): Detail which constraints are inapplicable
15791 to all GNU systems and which are only inapplicable to GNU/Hurd.
15792 * manual/job.texi: Likewise.
15793 * manual/llio.texi: Likewise.
15794 (O_NOCTTY): Document as present on GNU/Linux.
15795 * manual/maint.texi: Likewise.
15796 * manual/memory.texi: Likewise.
15797 * manual/pattern.texi: Likewise.
15798 * manual/pipe.texi: Likewise.
15799 * manual/process.texi: Likewise.
15800 * manual/resource.texi: Likewise.
15801 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15802 child on GNU/Hurd.
15803 * manual/setjmp.texi: Likewise.
15804 * manual/signal.texi: Likewise.
15805 * manual/startup.texi: Likewise.
15806 * manual/stdio.texi: Likewise.
15807 * manual/terminal.texi: Likewise.
15808 (ONLCR): Document as POSIX.
15809 (OXTABS): Document availability on GNU/Linux as XTABS.
15810 (ONOEOT): Document availability separately from other bits.
15811 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15812 * manual/time.texi: Likewise.
15813 * manual/users.texi: Likewise.
15814 * INSTALL: Regenerated.
15815 * sysdeps/gnu/errlist.c: Regenerated.
15816
07037eeb
JM
15817 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15818 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15819 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15820 puts.
15821 * configure: Regenerated.
15822
d1d3431a
JM
158232012-03-07 Joseph Myers <joseph@codesourcery.com>
15824
af6a1e37
JM
15825 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15826 default includes instead of AC_HEADER_CHECK.
15827 * sysdeps/i386/configure: Regenerated.
15828
d1d3431a
JM
15829 [BZ #10716]
15830 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15831 * math/s_cacoshf.c (__cacoshf): Likewise.
15832 * math/s_cacoshl.c (__cacoshl): Likewise.
15833 * math/s_casinh.c (__casinh): Set signs of result from argument.
15834 * math/s_casinhf.c (__casinhf): Likewise.
15835 * math/s_casinhl.c (__casinhl): Likewise.
15836 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15837 (casinh_test): Add more tests.
15838 * sysdeps/i386/fpu/libm-test-ulps: Update.
15839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15840
482ff4da
UD
158412012-03-07 Ulrich Drepper <drepper@gmail.com>
15842
872fda05
UD
15843 * po/zh_TW.po: Update from translation team.
15844
a4300c7a
UD
15845 * login/Makefile (distribute): Remove variable.
15846 * catgets/Makefile: Likewise.
15847 * mach/Makefile: Likewise.
15848 * malloc/Makefile: Likewise.
15849 * misc/Makefile: Likewise.
15850 * iconv/Makefile: Likewise.
15851 * nscd/Makefile: Likewise.
15852 * hurd/Makefile: Likewise.
15853 * manual/Makefile: Likewise.
15854 * locale/Makefile: Likewise.
15855 * intl/Makefile: Likewise.
15856 * conform/Makefile: Likewise.
15857 * nss/Makefile: Likewise.
15858 * time/Makefile: Likewise.
15859 * soft-fp/Makefile: Likewise.
15860 * dirent/Makefile: Likewise.
15861 * gmon/Makefile: Likewise.
15862 * po/Makefile: Likewise.
15863 * rt/Makefile: Likewise.
15864 * socket/Makefile: Likewise.
15865 * math/Makefile: Likewise.
15866 * signal/Makefile: Likewise.
15867 * debug/Makefile: Likewise.
15868 * elf/Makefile: Likewise.
15869 * timezone/Makefile: Likewise.
15870 * stdlib/Makefile: Likewise.
15871 * iconvdata/Makefile: Likewise.
15872 * sunrpc/Makefile: Likewise.
15873 * io/Makefile: Likewise.
15874 * argp/Makefile: Likewise.
15875 * inet/Makefile: Likewise.
15876 * hesiod/Makefile: Likewise.
15877 * grp/Makefile: Likewise.
15878 * csu/Makefile: Likewise.
15879 * wctype/Makefile: Likewise.
15880 * crypt/Makefile: Likewise.
15881 * libio/Makefile: Likewise.
15882 * string/Makefile: Likewise.
15883 * nis/Makefile: Likewise.
15884 * resolv/Makefile: Likewise.
15885 * stdio-common/Makefile: Likewise.
15886 * wcsmbs/Makefile: Likewise.
15887 * dlfcn/Makefile: Likewise.
15888 * posix/Makefile: Likewise.
15889
3b7c4e74 15890 [BZ #6959]
482ff4da
UD
15891 * timezone/Makefile: Don't install timezone files, just the programs
15892 and scripts.
15893
f72ed77d
UD
158942012-03-06 Ulrich Drepper <drepper@gmail.com>
15895
a000466f
UD
15896 * nss/databases.def: Add missing gshadow entry.
15897
f72ed77d
UD
15898 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15899
a53b7a4e
MP
159002012-03-06 Marek Polacek <polacek@redhat.com>
15901
15902 [BZ #13726]
15903 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15904 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15905 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15906 * stdio-common/tst-long-dbl-fphex.c: New file.
15907
e9258400
DM
159082012-03-06 David S. Miller <davem@davemloft.net>
15909
15910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15911 (set_obp_int): New function.
15912 (get_obp_int): New function.
15913 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15914 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15915 Avoid unused variable warnings on 'val' and use builtin_expect.
15916 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15917 __builtin_expect.
e9258400
DM
15918 (INLINE_CLONE_SYSCALL): Likewise.
15919
3bd2c723
DM
159202012-03-05 David S. Miller <davem@davemloft.net>
15921
15922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15923
bbb78d03
AS
159242012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15925
884c5db4
AS
15926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15927
bbb78d03
AS
15928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15929 only for |x| >= 40.
15930 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15931
1c9f702a 159322012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15933
15934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15935 Replace gettimeofday with __vdso_gettimeofday.
15936
7be16f82
RM
15937 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15938 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15939 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15940
15941 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15942 time with __vdso_time.
15943
ed58a00f
JM
159442012-03-05 Joseph Myers <joseph@codesourcery.com>
15945
15946 * manual/lang.texi (size_t): Note types to which size_t may be
15947 equivalent with the GNU C Library, but do not describe when
15948 differences between them are significant.
15949
30ee4ced
AJ
159502012-03-05 Andreas Jaeger <aj@suse.de>
15951
15952 * sysdeps/i386/fpu/libm-test-ulps: Update.
15953
b7cd39e8
JM
159542012-03-05 Joseph Myers <joseph@codesourcery.com>
15955
15956 [BZ #3976]
15957 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15958 (__ieee754_pow): Save and restore rounding mode and use
15959 round-to-nearest for main computations.
15960 * math/libm-test.inc (pow_test_tonearest): New function.
15961 (pow_test_towardzero): Likewise.
15962 (pow_test_downward): Likewise.
15963 (pow_test_upward): Likewise.
15964 (main): Call the new functions.
15965 * sysdeps/i386/fpu/libm-test-ulps: Update.
15966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15967
15968 [BZ #3976]
15969 * math/libm-test.inc (cosh_test_tonearest): New function.
15970 (cosh_test_towardzero): Likewise.
15971 (cosh_test_downward): Likewise.
15972 (cosh_test_upward): Likewise.
15973 (sinh_test_tonearest): Likewise.
15974 (sinh_test_towardzero): Likewise.
15975 (sinh_test_downward): Likewise.
15976 (sinh_test_upward): Likewise.
15977 (main): Call the new functions.
15978 * sysdeps/i386/fpu/libm-test-ulps: Update.
15979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15980
6c6a98c9
TV
159812012-03-05 Tom de Vries <tom@codesourcery.com>
15982
15983 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15984 default stack guard is set in last bytes.
15985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15986
21bb2d2e 159872012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15988
21bb2d2e 15989 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15990
21bb2d2e
AJ
15991 [BZ #13656]
15992 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15993 possibly allocate from heap instead of stack.
15994 * stdio-common/bug-vfprintf-nargs.c: New file.
15995 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15996
c6922934
AS
159972012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15998
15999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16000
bc957d53
MP
160012012-03-03 Marek Polacek <polacek@redhat.com>
16002
16003 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16004 * math/math_private.h: Likewise.
16005 * stdlib/tst-strtod.c: Likewise.
16006 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16007 * sysdeps/x86_64/bits/atomic.h: Likewise.
16008
6358490d
DM
160092012-03-02 David S. Miller <davem@davemloft.net>
16010
16011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16015 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16016 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16017 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16018 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16019
01ae168d
RM
160202012-03-02 Roland McGrath <roland@hack.frob.com>
16021
d9a17c07
RM
16022 [BZ #13792]
16023 * manual/examples/README: New file, says the example source files
16024 can be used under GPL>=2.
16025 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16026 line containing just "*/".
16027 * manual/examples/add.c: Add copyright header (GPL>=2).
16028 * manual/examples/argp-ex1.c: Likewise.
16029 * manual/examples/argp-ex2.c: Likewise.
16030 * manual/examples/argp-ex3.c: Likewise.
16031 * manual/examples/argp-ex4.c: Likewise.
16032 * manual/examples/atexit.c: Likewise.
16033 * manual/examples/db.c: Likewise.
16034 * manual/examples/dir.c: Likewise.
16035 * manual/examples/dir2.c: Likewise.
16036 * manual/examples/execinfo.c: Likewise.
16037 * manual/examples/filecli.c: Likewise.
16038 * manual/examples/filesrv.c: Likewise.
16039 * manual/examples/fmtmsgexpl.c: Likewise.
16040 * manual/examples/genpass.c: Likewise.
16041 * manual/examples/inetcli.c: Likewise.
16042 * manual/examples/inetsrv.c: Likewise.
16043 * manual/examples/isockad.c: Likewise.
16044 * manual/examples/longopt.c: Likewise.
16045 * manual/examples/memopen.c: Likewise.
16046 * manual/examples/memstrm.c: Likewise.
16047 * manual/examples/mkfsock.c: Likewise.
16048 * manual/examples/mkisock.c: Likewise.
16049 * manual/examples/mygetpass.c: Likewise.
16050 * manual/examples/pipe.c: Likewise.
16051 * manual/examples/popen.c: Likewise.
16052 * manual/examples/rprintf.c: Likewise.
16053 * manual/examples/search.c: Likewise.
16054 * manual/examples/select.c: Likewise.
16055 * manual/examples/setjmp.c: Likewise.
16056 * manual/examples/sigh1.c: Likewise.
16057 * manual/examples/sigusr.c: Likewise.
16058 * manual/examples/stpcpy.c: Likewise.
16059 * manual/examples/strdupa.c: Likewise.
16060 * manual/examples/strftim.c: Likewise.
16061 * manual/examples/strncat.c: Likewise.
16062 * manual/examples/subopt.c: Likewise.
16063 * manual/examples/swapcontext.c: Likewise.
16064 * manual/examples/termios.c: Likewise.
16065 * manual/examples/testopt.c: Likewise.
16066 * manual/examples/testpass.c: Likewise.
16067 * manual/examples/timeval_subtract.c: Likewise.
16068
01ae168d
RM
16069 [BZ #13792]
16070 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16071 function to ...
16072 * manual/timeval_subtract.c.texi: ... here, new file.
16073
49efa33d
DM
160742012-03-02 David S. Miller <davem@davemloft.net>
16075
16076 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16077
28afd92d
JM
160782012-03-02 Joseph Myers <joseph@codesourcery.com>
16079
804360ed
JM
16080 [BZ #3976]
16081 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16082 (__sin): Save and restore rounding mode and use round-to-nearest
16083 for all computations.
16084 (__cos): Save and restore rounding mode and use round-to-nearest
16085 for all computations.
16086 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16087 <fenv.h>.
16088 (tan): Save and restore rounding mode and use round-to-nearest for
16089 all computations.
16090 * math/libm-test.inc (cos_test_tonearest): New function.
16091 (cos_test_towardzero): Likewise.
16092 (cos_test_downward): Likewise.
16093 (cos_test_upward): Likewise.
16094 (sin_test_tonearest): Likewise.
16095 (sin_test_towardzero): Likewise.
16096 (sin_test_downward): Likewise.
16097 (sin_test_upward): Likewise.
16098 (tan_test_tonearest): Likewise.
16099 (tan_test_towardzero): Likewise.
16100 (tan_test_downward): Likewise.
16101 (tan_test_upward): Likewise.
16102 (main): Call the new functions.
16103 * sysdeps/i386/fpu/libm-test-ulps: Update.
16104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16105
a6d06d7b
JM
16106 [BZ #10135]
16107 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16108 small n, then large n, before computing and testing k+n.
16109 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16111 Likewise.
16112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16113 Likewise.
16114 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16115 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16121 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16122 * math/libm-test.inc (scalbn_test): Add more tests.
16123 (scalbln_test): Likewise.
16124
07e12bb3
JM
16125 * manual/filesys.texi (mode_t): Describe constraints on size and
16126 signedness, not exact equivalence to a particular type.
16127 (ino_t): Likewise.
16128 (ino64_t): Likewise.
16129 (dev_t): Likewise.
16130 (nlink_t): Likewise.
16131 (blkcnt_t): Likewise.
16132 (blkcnt64_t): Likewise.
16133 * manual/llio.texi (off_t): Likewise.
16134
28afd92d
JM
16135 [BZ #3976]
16136 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16137 (__ieee754_exp): Save and restore rounding mode and use
16138 round-to-nearest for all computations.
16139 * math/libm-test.inc (exp_test_tonearest): New function.
16140 (exp_test_towardzero): Likewise.
16141 (exp_test_downward): Likewise.
16142 (exp_test_upward): Likewise.
16143 (main): Call the new functions.
16144 * sysdeps/i386/fpu/libm-test-ulps: Update.
16145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16146
b1eeb65d
CD
161472012-03-01 Chris Demetriou <cgd@google.com>
16148
16149 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16150 have predictable order.
16151
53362a4b
DM
161522012-03-01 David S. Miller <davem@davemloft.net>
16153
3c969083
DM
16154 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16155
759707de
DM
16156 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16157 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16158 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16159 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16160
dfdb8ff2
DM
16161 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16162 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16163 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16165 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16166 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16167 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16168 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16169 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16170
ead89f96
DM
16171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16172
7f66bd07
DM
16173 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16174 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16175 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16176
53362a4b
DM
16177 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16178 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16179 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16180 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16181 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16184 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16185 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16190 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16193 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16194 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16195 * sysdeps/sparc/elf/configure: Regenerated.
16196
7b1902cb
JM
161972012-03-01 Joseph Myers <joseph@codesourcery.com>
16198
bec039bc
JM
16199 * configure.in (AS, LD): Require binutils 2.20 or later.
16200 * configure: Regenerated.
16201 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16202 as required minimum version.
16203 * INSTALL: Regenerated.
16204
7b1902cb
JM
16205 [BZ #2541]
16206 [BZ #4108]
16207 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16208 before squaring exponent.
16209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16210 bottom long double and 27 bits of top long double before squaring
16211 exponent.
16212 * math/libm-test.inc (erfc_test): Add more tests.
16213 * sysdeps/i386/fpu/libm-test-ulps: Update.
16214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16216
f775c276
KT
162172012-03-01 Kai Tietz <ktietz@redhat.com>
16218
16219 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16220 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16221 containing bit-fields.
16222 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16223 * soft-fp/single.h (_FP_UNION_S): Likewise.
16224 * soft-fp/double.h (_FP_UNION_D): Likewise.
16225
5b8a4d4a
JM
162262012-02-29 Joseph Myers <joseph@codesourcery.com>
16227
0bab47b6
JM
16228 [BZ #13786]
16229 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16230 not include ../strcmp.S.
16231 [USE_AS_STRNCASECMP_L]: Likewise.
16232 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16233 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16234 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16235 (__strncasecmp_l_ia32): Define as alias to
16236 __strncasecmp_l_nonascii.
16237
0fcad3e2
JM
16238 [BZ #5794]
16239 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16240 * sysdeps/i386/fpu/libm-test-ulps: Update.
16241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16242
5b8a4d4a
JM
16243 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16245
8fdceb2e
JL
162462012-02-29 Jeff Law <law@redhat.com>
16247
16248 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16249 out of bounds read.
16250
1f393a11
MP
162512012-02-29 Marek Polacek <polacek@redhat.com>
16252
16253 [BZ #13706]
16254 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16255 * elf/Makefile: Add rules to run tst-unused-dep.out.
16256
8847f037
DM
162572012-02-28 David S. Miller <davem@davemloft.net>
16258
16259 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16260 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16261 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16263 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16264 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16265
169d7f11
JM
162662012-02-29 Joseph Myers <joseph@codesourcery.com>
16267
16268 * math/libm-test.inc (llround_test): Move one test from
16269 lround_test. Use TEST_f_L in moved test.
16270 (lround_test): Move misplaced test to llround_test. Add testcase
16271 from bug 2561.
16272
39adf059
UD
162732012-02-28 Ulrich Drepper <drepper@gmail.com>
16274
16275 * sysdeps/x86_64/fpu/e_expf.S: New file.
16276 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16277
71b5d1c5
SB
162782012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16279
16280 [BZ #13637]
16281 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16282 of remain_len that may cause incomplete multi-byte character and
16283 false match.
16284 * posix/bug-regex33.c: New file.
16285 * posix/Makefile (tests): Add bug-regex33.
16286
1f77f049
JM
162872012-02-28 Joseph Myers <joseph@codesourcery.com>
16288
16289 * manual/macros.texi: New file.
16290 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16291 * manual/libc.texinfo: Include macros.texi.
16292 * manual/creatute.texi: Likewise.
16293 * manual/install.texi: Likewise.
16294 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16295 @glibcadj{} in references to the GNU C Library.
16296 * manual/charset.texi: Likewise.
16297 * manual/conf.texi: Likewise.
16298 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16299 when not using those macros.
16300 * manual/creature.texi: Likewise.
16301 * manual/crypt.texi: Likewise.
16302 * manual/errno.texi: Likewise.
16303 * manual/filesys.texi: Likewise.
16304 * manual/header.texi: Likewise.
16305 * manual/install.texi: Likewise.
16306 * manual/intro.texi: Likewise.
16307 * manual/io.texi: Likewise.
16308 * manual/job.texi: Likewise.
16309 * manual/lang.texi: Likewise.
16310 * manual/libc.texiinfo: Likewise.
16311 * manual/llio.texi: Likewise.
16312 * manual/locale.texi: Likewise.
16313 * manual/maint.texi: Likewise.
16314 * manual/math.texi: Likewise.
16315 * manual/memory.texi: Likewise.
16316 * manual/message.texi: Likewise.
16317 * manual/nss.texi: Likewise.
16318 * manual/pattern.texi: Likewise.
16319 * manual/process.texi: Likewise.
16320 * manual/resource.texi: Likewise.
16321 * manual/search.texi: Likewise.
16322 * manual/setjmp.texi: Likewise.
16323 * manual/signal.texi: Likewise.
16324 * manual/socket.texi: Likewise.
16325 * manual/startup.texi: Likewise.
16326 * manual/stdio.texi: Likewise.
16327 * manual/string.texi: Likewise.
16328 * manual/sysinfo.texi: Likewise.
16329 * manual/syslog.texi: Likewise.
16330 * manual/terminal.texi: Likewise.
16331 * manual/time.texi: Likewise.
16332 * manual/users.texi: Likewise.
16333 * INSTALL: Regenerated.
16334 * NOTES: Regenerated.
d40c5d54 16335 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16336
450bf206
AS
163372012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16338
16339 * include/dirent.h: Include <dirstream.h> before
16340 <dirent/dirent.h>.
16341
741a235b
DM
163422012-02-28 David S. Miller <davem@davemloft.net>
16343
16344 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16345 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16346 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16347 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16348
d6b5aa58
DM
163492012-02-27 David S. Miller <davem@davemloft.net>
16350
1aff59a3
DM
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16353 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16354 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16355
d6b5aa58
DM
16356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16357 frame pointer instead of stack pointer relative arg slot.
16358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16359 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16360 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16361
433f48bf
CD
163622012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16363
16364 [BZ #3992]
16365 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16366
d674b76d
DM
163672012-02-27 David S. Miller <davem@davemloft.net>
16368
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16373 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16374 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16375 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16376 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16377
0e7727f7
JM
163782012-02-27 Joseph Myers <joseph@codesourcery.com>
16379
16380 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16381 later. Allow versions 5-9.
43be4ca2 16382 * configure: Regenerated.
0e7727f7
JM
16383 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16384 required minimum version and 4.6 as recommended version. Do not
16385 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16386 * INSTALL: Regenerated.
0e7727f7 16387
a78bc654
DM
163882012-02-27 David S. Miller <davem@davemloft.net>
16389
428d5830
DM
16390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16394 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16395 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16396 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16397 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16398
a78bc654
DM
16399 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16400 manipulate bits before adding and subtracting TWO112[sx].
16401 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16402
4579f81c
RM
164032012-02-27 Roland McGrath <roland@hack.frob.com>
16404
36c8acb4
RM
16405 [BZ #13775]
16406 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16407 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16408 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16409 being in POSIX, because they are in 1003.1-2008.
16410
84ad622b
RM
16411 * rt/tst-aio.c: Include <fcntl.h>.
16412 * rt/tst-aio7.c: Likewise.
16413 * rt/tst-aio64.c: Likewise.
16414
4579f81c
RM
16415 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16416
abd923db
JM
164172012-02-27 Joseph Myers <joseph@codesourcery.com>
16418
16419 * manual/install.texi (--with-headers): Describe headers as
16420 interface headers, not private headers.
16421 (Specific advice for GNU/Linux systems): Describe use of headers
16422 from "make headers_install", not private headers from older
16423 kernels.
43be4ca2 16424 * INSTALL: Regenerated.
abd923db
JM
16425 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16426 Change to 2.6.19.
16427 * sysdeps/unix/sysv/linux/configure: Regenerated.
16428
6664049b
JM
16429 * manual/llio.texi (fclean): Remove documentation.
16430
bb8b6697
JM
16431 * manual/Makefile (libc-texi-generated): New variable. Include
16432 version.texi.
16433 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16434 $(libc-texi-generated), not duplicated list of files.
16435 (version.texi, stamp-version): New rules.
16436 (realclean): Remove $(libc-texi-generated), not individual files
16437 from that list. Do not remove dir-add.texinfo.
16438 * manual/libc.texinfo: Comment out uses of edition numbers and
16439 references to printed manual. Remove last-updated dates.
16440 (EDITION): Comment out.
16441 (ISBN): Likewise.
16442 (VERSION, UPDATED): Remove.
16443 (version.texi): Include.
16444
12e5c3b9
AS
164452012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16446
16447 * sysdeps/posix/spawni.c: Include <signal.h>.
16448 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16449 * sysdeps/pthread/aio_fsync.c: Likewise.
16450
4efeffc1 164512012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16452
ba63ba08
UD
16453 * conform/Makefile (tests): Run only when not cross-compiling and
16454 when fast-check is not defined.
16455
d94a4670
UD
16456 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16457 * conform/data/limits.h-data: Fixes for POSIX2008.
16458 * conform/run-conformtest.sh: Run all tests.
16459 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16460 headers.
16461 * include/bits/dlfcn.h: Likewise.
16462 * include/langinfo.h: Likewise.
16463 * include/monetary.h: Likewise.
16464 * include/sys/poll.h: Likewise.
16465
16466 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16467 for __USE_GNU.
16468 * posix/spawn.h: Define __need_sigset_t.
16469 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16470 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16471 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16472 to get sigevent_t only.
16473 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16474 only for __USE_GNU.
16475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16476 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16477 process_vm_writev only for __USE_GNU.
16478 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16479
16480 * conform/Makefile: For now ignore errors from run-conformtest.
16481 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16482 POSIX to avoid namespace pollution. Don't prepend headers.
16483 * conform/data/aio.h-data: Fixes for POSIX testing.
16484 * conform/data/fcntl.h-data: Likewise.
16485 * conform/data/glob.h-data: Likewise.
16486 * conform/data/grp.h-data: Likewise.
16487 * conform/data/pthread.h-data: Likewise.
16488 * conform/data/pwd.h-data: Likewise.
16489 * conform/data/signal.h-data: Likewise.
16490 * conform/data/spawn.h-data: Likewise.
16491 * conform/data/stdio.h-data: Likewise.
16492 * conform/data/stdlib.h-data: Likewise.
16493 * conform/data/stropts.h-data: Likewise.
16494 * conform/data/sys/mman.h-data: Likewise.
16495 * conform/data/sys/stat.h-data: Likewise.
16496 * conform/data/sys/types.h-data: Likewise.
16497 * conform/data/sys/wait.h-data: Likewise.
16498 * conform/data/time.h-data: Likewise.
16499 * conform/data/unistd.h-data: Likewise.
16500 * conform/data/utime.h-data: Likewise.
16501
16502 * io/sys/stat.h: fchmod was always in POSIX.
16503 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16504 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16505 * rt/aio.h: Define __need_timespec before including <time.h>.
16506 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16507 struct. Add forward declaration of pthread_attr_t and use it in
16508 sigevent.
16509 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16511 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16512 always remove CLK_TCK definition.
16513
c20105c3
AS
165142012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16515
16516 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16517
7a270350
UD
165182012-02-25 Ulrich Drepper <drepper@gmail.com>
16519
31341567
UD
16520 * conform/run-conformtest.sh: New file.
16521 * conform/Makefile: Run run-conformtest for tests.
16522 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16523 support.
16524
16525 * conform/data/uchar.h-data: New file.
16526 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16527 * conform/data/arpa/inet.h-data: Likewise.
16528 * conform/data/assert.h-data: Likewise.
16529 * conform/data/complex.h-data: Likewise.
16530 * conform/data/cpio.h-data: Likewise.
16531 * conform/data/ctype.h-data: Likewise.
16532 * conform/data/dirent.h-data: Likewise.
16533 * conform/data/dlfcn.h-data: Likewise.
16534 * conform/data/errno.h-data: Likewise.
16535 * conform/data/fcntl.h-data: Likewise.
16536 * conform/data/float.h-data: Likewise.
16537 * conform/data/fmtmsg.h-data: Likewise.
16538 * conform/data/fnmatch.h-data: Likewise.
16539 * conform/data/ftw.h-data: Likewise.
16540 * conform/data/glob.h-data: Likewise.
16541 * conform/data/grp.h-data: Likewise.
16542 * conform/data/iconv.h-data: Likewise.
16543 * conform/data/inttypes.h-data: Likewise.
16544 * conform/data/langinfo.h-data: Likewise.
16545 * conform/data/libgen.h-data: Likewise.
16546 * conform/data/limits.h-data: Likewise.
16547 * conform/data/locale.h-data: Likewise.
16548 * conform/data/math.h-data: Likewise.
16549 * conform/data/monetary.h-data: Likewise.
16550 * conform/data/mqueue.h-data: Likewise.
16551 * conform/data/ndbm.h-data: Likewise.
16552 * conform/data/net/if.h-data: Likewise.
16553 * conform/data/netdb.h-data: Likewise.
16554 * conform/data/netinet/in.h-data: Likewise.
16555 * conform/data/nl_types.h-data: Likewise.
16556 * conform/data/poll.h-data: Likewise.
16557 * conform/data/pthread.h-data: Likewise.
16558 * conform/data/pwd.h-data: Likewise.
16559 * conform/data/regex.h-data: Likewise.
16560 * conform/data/sched.h-data: Likewise.
16561 * conform/data/search.h-data: Likewise.
16562 * conform/data/semaphore.h-data: Likewise.
16563 * conform/data/setjmp.h-data: Likewise.
16564 * conform/data/signal.h-data: Likewise.
16565 * conform/data/spawn.h-data: Likewise.
16566 * conform/data/stdarg.h-data: Likewise.
16567 * conform/data/stdio.h-data: Likewise.
16568 * conform/data/stdlib.h-data: Likewise.
16569 * conform/data/string.h-data: Likewise.
16570 * conform/data/strings.h-data: Likewise.
16571 * conform/data/stropts.h-data: Likewise.
16572 * conform/data/sys/ipc.h-data: Likewise.
16573 * conform/data/sys/mman.h-data: Likewise.
16574 * conform/data/sys/msg.h-data: Likewise.
16575 * conform/data/sys/resource.h-data: Likewise.
16576 * conform/data/sys/select.h-data: Likewise.
16577 * conform/data/sys/sem.h-data: Likewise.
16578 * conform/data/sys/shm.h-data: Likewise.
16579 * conform/data/sys/socket.h-data: Likewise.
16580 * conform/data/sys/stat.h-data: Likewise.
16581 * conform/data/sys/statvfs.h-data: Likewise.
16582 * conform/data/sys/time.h-data: Likewise.
16583 * conform/data/sys/timeb.h-data: Likewise.
16584 * conform/data/sys/times.h-data: Likewise.
16585 * conform/data/sys/types.h-data: Likewise.
16586 * conform/data/sys/uio.h-data: Likewise.
16587 * conform/data/sys/un.h-data: Likewise.
16588 * conform/data/sys/utsname.h-data: Likewise.
16589 * conform/data/sys/wait.h-data: Likewise.
16590 * conform/data/syslog.h-data: Likewise.
16591 * conform/data/tar.h-data: Likewise.
16592 * conform/data/termios.h-data: Likewise.
16593 * conform/data/utime.h-data: Likewise.
16594 * conform/data/utmpx.h-data: Likewise.
16595 * conform/data/varargs.h-data: Likewise.
16596 * conform/data/wchar.h-data: Likewise.
16597 * conform/data/wctype.h-data: Likewise.
16598 * conform/data/wordexp.h-data: Likewise.
16599
16600 * include/stropts.h: New file.
16601 * include/uchar.h: New file.
16602 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16603 * include/assert.h: Likewise.
16604 * include/ctype.h: Likewise.
16605 * include/dirent.h: Likewise.
16606 * include/dlfcn.h: Likewise.
16607 * include/fcntl.h: Likewise.
16608 * include/fnmatch.h: Likewise.
16609 * include/glob.h: Likewise.
16610 * include/grp.h: Likewise.
16611 * include/libio.h: Likewise.
16612 * include/locale.h: Likewise.
16613 * include/math.h: Likewise.
16614 * include/net/if.h: Likewise.
16615 * include/netdb.h: Likewise.
16616 * include/netinet/in.h: Likewise.
16617 * include/pthread.h: Likewise.
16618 * include/pwd.h: Likewise.
16619 * include/regex.h: Likewise.
16620 * include/sched.h: Likewise.
16621 * include/search.h: Likewise.
16622 * include/setjmp.h: Likewise.
16623 * include/signal.h: Likewise.
16624 * include/stdio.h: Likewise.
16625 * include/stdlib.h: Likewise.
16626 * include/string.h: Likewise.
16627 * include/sys/cdefs.h: Likewise.
16628 * include/sys/mman.h: Likewise.
16629 * include/sys/msg.h: Likewise.
16630 * include/sys/resource.h: Likewise.
16631 * include/sys/select.h: Likewise.
16632 * include/sys/socket.h: Likewise.
16633 * include/sys/stat.h: Likewise.
16634 * include/sys/statvfs.h: Likewise.
16635 * include/sys/time.h: Likewise.
16636 * include/sys/times.h: Likewise.
16637 * include/sys/uio.h: Likewise.
16638 * include/sys/utsname.h: Likewise.
16639 * include/sys/wait.h: Likewise.
16640 * include/termios.h: Likewise.
16641 * include/time.h: Likewise.
16642 * include/ulimit.h: Likewise.
16643 * include/unistd.h: Likewise.
16644 * include/utime.h: Likewise.
16645 * include/wchar.h: Likewise.
16646 * include/wctype.h: Likewise.
16647 * include/wordexp.h: Likewise.
16648
16649 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16650
7a270350
UD
16651 * time/time.h: TIME_UTC must be a macro.
16652 Make timespec_get available for ISO C11 only as well.
16653
7724defc
UD
166542012-02-24 Ulrich Drepper <drepper@gmail.com>
16655
16656 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16657 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16658
6b1d1d46
JM
166592012-02-24 Joseph Myers <joseph@codesourcery.com>
16660
16661 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16662
0f8bbd69
JM
166632012-02-24 Joseph Myers <joseph@codesourcery.com>
16664
16665 * manual/texinfo.tex: Update to version 2012-01-19.16.
16666
66ab80bc
JM
166672012-02-24 Joseph Myers <joseph@codesourcery.com>
16668
16669 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16670
74981cc5
RM
166712012-02-24 Roland McGrath <roland@hack.frob.com>
16672
ee968201
RM
16673 [BZ #13738]
16674 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16675 * manual/fdl-1.3.texi: New file.
16676 * manual/fdl-1.1.texi: File removed.
16677
74981cc5
RM
16678 [BZ #13738]
16679 * manual/libc.texinfo (FDL_VERSION): New @set.
16680 Use it for mention of FDL in cover text.
16681 (Documentation License): Use it in @include file name.
16682
7bb764bc
JM
166832012-02-22 Joseph Myers <joseph@codesourcery.com>
16684 Roland McGrath <roland@hack.frob.com>
16685
16686 [BZ #5461]
16687 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16688 not LONG_LONG_MAX and LONG_LONG_MIN.
16689 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16690 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16691 name.
16692 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16693
6cbeae47
JM
166942012-02-22 Joseph Myers <joseph@codesourcery.com>
16695
16696 [BZ #2547]
16697 [BZ #11365]
16698 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16699 manipulate bits before adding and subtracting TWO23[sx].
16700 * math/libm-test.inc (nearbyint_test): Add more tests.
16701
fe45ce09
JM
167022012-02-22 Joseph Myers <joseph@codesourcery.com>
16703
16704 [BZ #2548]
16705 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16706 bits before adding and subtracting TWO23[sx].
16707 * math/libm-test.inc (rint_test): Add more tests.
16708 (rint_test_tonearest): Likewise.
16709 (rint_test_towardzero): Likewise.
16710 (rint_test_downward): Likewise.
16711 (rint_test_upward: Likewise.
16712
ff3b3d82
JM
167132012-02-22 Joseph Myers <joseph@codesourcery.com>
16714
16715 [BZ #10110]
16716 * include/stdc-predef.h: New file. Extracted from features.h.
16717 * include/features.h: Include stdc-predef.h.
16718 * Makefile (headers): Add stdc-predef.h.
16719 * CONFORMANCE (Compiler limitations): Update.
16720
ef0aab35
JM
167212012-02-22 Joseph Myers <joseph@codesourcery.com>
16722
16723 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16724
58639409
DM
167252012-02-21 David S. Miller <davem@davemloft.net>
16726
16727 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16728 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16729
c0e70b25
DM
167302012-02-20 David S. Miller <davem@davemloft.net>
16731
16732 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16733 using a normal save/restore sequence, rather than allocating a
16734 dummy stack frame just to store a frame pointer and restore.
16735 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16736
fb06851d
JM
167372012-02-21 Joseph Myers <joseph@codesourcery.com>
16738
16739 * manual/install.texi: Fix stray word in line-wrapped comment.
16740
7a8b71c3
DM
167412012-02-20 David S. Miller <davem@davemloft.net>
16742
d510c123
DM
16743 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16744 both binutils and gcc support GOTDATA.
16745
0722d7c2
DM
16746 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16747 "rd %pc" in the PIC register setup sequences.
16748
3d2b3019
DM
16749 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16750 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16751 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16752 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16753 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16758 (SYSCALL_ERROR_HANDLER): Likewise.
16759 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16760 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16761 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16762 (SYSCALL_ERROR_HANDLER): Likewise.
16763
c80098a9
DM
16764 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16765 (HAVE_GCC_GOTDATA): New.
16766 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16767 relocation support in both binutils and gcc.
16768 * sysdeps/sparc/elf/configure: Regenerate.
16769
3a2545a0
DM
16770 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16771 * sysdeps/sparc/sparc32/elf/configure: Delete.
16772 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16773 * sysdeps/sparc/sparc64/elf/configure: Delete.
16774 * sysdeps/sparc/elf/configure.in: New file.
16775 * sysdeps/sparc/elf/configure: Generate.
16776
7a8b71c3
DM
16777 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16778 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16779 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16780 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16781 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16782
f1e86fca
JM
167832012-02-21 Joseph Myers <joseph@codesourcery.com>
16784
16785 * manual/install.texi: Do not mention specific glibc version
16786 numbers.
16787 * manual/libc.texinfo (VERSION, UPDATED): Update.
16788 (@copying): Use @copyright{} and range of years.
16789
0e7dfaef
JM
167902012-02-21 Joseph Myers <joseph@codesourcery.com>
16791
16792 [BZ #13695]
16793 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16794 [crti.S not in sysdirs] (generated): Do not append.
16795 [crti.S not in sysdirs] (omit-deps): Likewise.
16796 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16797 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16798 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16799 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16800 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16801 Likewise.
16802 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16803 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16804 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16805 * csu/defs.awk: Remove file.
16806 * sysdeps/generic/initfini.c: Likewise.
16807 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16808 variable.
16809 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16810 Likewise.
16811
599af3ca
JM
168122012-02-20 Joseph Myers <joseph@codesourcery.com>
16813
16814 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16815 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16816 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16818 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16819 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16820 <bits/epoll.h>.
16821 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16822 (__EPOLL_PACKED): Define to empty if not defined by
16823 <bits/epoll.h>.
16824 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16826 bits/epoll.h.
16827
0e499750
JM
168282012-02-20 Joseph Myers <joseph@codesourcery.com>
16829
16830 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16831 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16832 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16833 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16834 <bits/timerfd.h>.
16835 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16837 bits/timerfd.h.
16838
5ad91f6e
JM
168392012-02-20 Joseph Myers <joseph@codesourcery.com>
16840
16841 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16842 in C locale.
16843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16844 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16845 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16847
06b99b02
AJ
168482012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16849
16850 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16852
7638c0fd
AS
168532012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16854
16855 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16856 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16857 defined.
16858 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16859 Likewise.
16860 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16861 entry for 2.16.
16862
92221550
AJ
168632012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16864
16865 * math/w_acos.c: Use non-signaling floating-point comparisons.
16866 * math/w_acosf.c: Likewise.
16867 * math/w_acosh.c: Likewise.
16868 * math/w_acoshf.c: Likewise.
16869 * math/w_acoshl.c: Likewise.
16870 * math/w_acosl.c: Likewise.
16871 * math/w_asin.c: Likewise.
16872 * math/w_asinf.c: Likewise.
16873 * math/w_asinl.c: Likewise.
16874 * math/w_atanh.c: Likewise.
16875 * math/w_atanhf.c: Likewise.
16876 * math/w_atanhl.c: Likewise.
16877 * math/w_exp2.c: Likewise.
16878 * math/w_exp2f.c: Likewise.
16879 * math/w_exp2l.c: Likewise.
16880 * math/w_j0.c: Likewise.
16881 * math/w_j0f.c: Likewise.
16882 * math/w_j0l.c: Likewise.
16883 * math/w_j1.c: Likewise.
16884 * math/w_j1f.c: Likewise.
16885 * math/w_j1l.c: Likewise.
16886 * math/w_jn.c: Likewise.
16887 * math/w_jnf.c: Likewise.
16888 * math/w_log.c: Likewise.
16889 * math/w_log10.c: Likewise.
16890 * math/w_log10f.c: Likewise.
16891 * math/w_log10l.c: Likewise.
16892 * math/w_log2.c: Likewise.
16893 * math/w_log2f.c: Likewise.
16894 * math/w_log2l.c: Likewise.
16895 * math/w_logf.c: Likewise.
16896 * math/w_logl.c: Likewise.
16897 * math/w_sqrt.c: Likewise.
16898 * math/w_sqrtf.c: Likewise.
16899 * math/w_sqrtl.c: Likewise.
16900 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16902 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16903 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16904 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16905
ebaf36eb
JM
169062012-02-19 Joseph Myers <joseph@codesourcery.com>
16907
16908 [BZ #9739]
16909 * manual/string.texi (strnlen): Use correct parameter name in
16910 equivalent expression.
16911
71c254a6
JM
169122012-02-19 Joseph Myers <joseph@codesourcery.com>
16913
16914 [BZ #11174]
16915 * manual/users.texi (seteuid): Consistently use neweuid for
16916 argument name.
16917
16d2c631
JM
169182012-02-19 Joseph Myers <joseph@codesourcery.com>
16919
16920 [BZ #13704]
16921 * manual/nss.texi (Services in the NSS configuration): Correct
16922 list of services in example configuration file.
16923
cd837b09
NB
169242012-02-19 Nick Bowler <nbowler@draconx.ca>
16925
16926 [BZ #11322]
16927 * manual/arith.texi: Remove statements about negative zero
16928 behaving identically to zero.
16929
02c4bbad
JM
169302012-02-18 Joseph Myers <joseph@codesourcery.com>
16931
16932 [BZ #5993]
16933 * manual/install.texi: Do not document upgrading from libc5.
16934
366842e7
JM
169352012-02-18 Joseph Myers <joseph@codesourcery.com>
16936
16937 [BZ #4596]
16938 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16939
dd54084d
DM
169402012-02-18 David S. Miller <davem@davemloft.net>
16941
16942 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16943 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16944 %o7 across the call.
16945 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16946 instead.
16947 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16948 SETUP_PIC_REG_LEAF.
16949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16950 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16951 * sysdeps/sparc/crtn.S: Likewise.
16952
2bcc53a3
UD
169532012-02-17 Ulrich Drepper <drepper@gmail.com>
16954
16955 * aout/Makefile: Remove.
16956
09c093b5
RK
169572012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16958
16959 [BZ #13058]
16960 * manual/examples/argp-ex1.c (main): Format definition in GNU
16961 style.
16962 * manual/examples/argp-ex2.c (main): Likewise.
16963 * manual/examples/argp-ex3.c (main): Likewise.
16964 * manual/examples/argp-ex4.c (main): Likewise.
16965 * manual/examples/longopt.c (main): Use new-style prototype
16966 definition.
16967 * manual/examples/strncat.c (main): Specify return type and use
16968 (void) for arguments.
16969 * manual/examples/subopt.c (main): Use char **argv argument.
16970
2ee633a2
JM
169712012-02-17 Joseph Myers <joseph@codesourcery.com>
16972
16973 [BZ #5077]
16974 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16975 rounding modes.
16976
0520adde
FB
169772012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16978
16979 [BZ #6907]
16980 * manual/string.texi (strchr): Change when strchrnul is
16981 recommended.
16982
3f4081cd
DGM
169832012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16984
16985 [BZ #174]
16986 * manual/locale.texi (setlocale): Document LOCPATH.
16987
d1b10e78
JM
169882012-02-17 Joseph Myers <joseph@codesourcery.com>
16989
16990 [BZ #10210]
16991 * manual/process.texi (execle): Move @dots{} before last argument.
16992
79c6869c
PB
169932012-02-17 Paul Bolle <pebolle@tiscali.nl>
16994
16995 [BZ #12047]
16996 * manual/charset.texi (Generic Charset Conversion): Fix typo
16997 (LC_TYPE -> LC_CTYPE).
16998
cc6e48bc
NB
169992012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17000
17001 [BZ #5805]
17002 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17003 (scalbnf): Likewise.
17004 (scalbnl): Likewise.
17005 (scalbln): Likewise.
17006 (scalblnf): Likewise.
17007 (scalblnl): Likewise.
17008 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17009 (vwarnx): Likewise.
17010 (verr): Likewise.
17011 (verrx): Likewise.
17012 * manual/filesys.texi (telldir): Use braces around return type.
17013 * manual/llio.texi (mmap): Add space after comma.
17014 (mmap64): Likewise.
17015 * manual/math.texi (jn): Use @var{} on parameter names.
17016 (jnf): Likewise.
17017 (jnl): Likewise.
17018 (yn): Likewise.
17019 (ynf): Likewise.
17020 (ynl): Likewise.
17021 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17022 line.
17023 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17024 "...".
17025 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17026 (sched_get_priority_max): Likewise.
17027 * manual/signal.texi (sigvec): Add space after comma.
17028 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17029 names.
17030 (if_indextoname): Likewise.
17031 (if_freenameindex): Likewise.
17032 (sendto): Use ',' instead of '.' in prototype.
17033 * manual/startup.texi (syscall): Use @dots{} instead of literal
17034 "...".
17035 * manual/stdio.texi (__fpending): Separate initial words of
17036 paragraph from @deftypefun line.
17037 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17038 "...".
17039 (vsyslog): Use @var{} on parameter names.
17040 * manual/terminal.texi (stty): Use @var{} on parameter names.
17041 * manual/users.texi (getutmp): Use @var{} on parameter names.
17042 (getutmpx): Likewise.
17043
5b23062f
JM
170442012-02-17 Joseph Myers <joseph@codesourcery.com>
17045
17046 [BZ #6884]
17047 * manual/stdio.texi (fopen): Fix typos in description of
17048 ",ccs=STRING".
17049
8dee4833
AJ
170502012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17051
17052 [BZ #4026]
17053 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17054 get clock_id definition.
17055
9078ce93
TS
170562012-02-17 Thomas Schwinge <thomas@schwinge.name>
17057
17058 [BZ #4822]
17059 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17060 (madvise): Cast every argument to void on its own.
17061
3835c55f
JM
170622012-02-17 Joseph Myers <joseph@codesourcery.com>
17063
17064 [BZ #9902]
17065 * manual/startup.texi (Exit Status): Fix typo.
17066
35c47e37
JM
170672012-02-17 Joseph Myers <joseph@codesourcery.com>
17068
17069 [BZ #10140]
17070 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17071 * manual/examples/argp-ex2.c: Likewise.
17072 * manual/examples/argp-ex3.c: Likewise.
17073
e3b69ca7
RH
170742012-02-16 Richard Henderson <rth@redhat.com>
17075
17076 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17077 * sysdeps/s390/s390-32/initfini.c: Remove.
17078 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17079 * sysdeps/s390/s390-64/initfini.c: Remove.
17080
df83af67
KK
170812012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17082
17083 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17084 compiler output for sysdeps/generic/initfini.c.
17085 * sysdeps/sh/elf/initfini.c: Remove file.
17086
f63f3380
DM
170872012-02-16 David S. Miller <davem@davemloft.net>
17088
fb59b3a4
DM
17089 [BZ #11494]
17090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17091
f63f3380
DM
17092 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17093 * sysdeps/sparc/crti.S: New file.
17094 * sysdeps/sparc/crtn.S: New file.
17095 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17096 * sysdeps/sparc/sparc64/Makefile: Likewise.
17097
df6a4a4a
MF
170982012-02-15 Mike Frysinger <vapier@gentoo.org>
17099
6dd8f3dc 17100 [BZ #3335]
df6a4a4a
MF
17101 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17102
1cac7236
RM
171032012-02-15 Roland McGrath <roland@hack.frob.com>
17104
d2c736f8
RM
17105 [BZ #4822]
17106 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17107
1cac7236
RM
17108 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17109 (write, read, close): Likewise.
17110 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17111
8e475601
JM
171122012-02-15 Joseph Myers <joseph@codesourcery.com>
17113
17114 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17115 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17116 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17117 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17118 <bits/signalfd.h>.
17119 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17121 bits/signalfd.h.
17122
ed656b40
MP
171232012-02-14 Marek Polacek <polacek@redhat.com>
17124
17125 * sysdeps/x86_64/crti.S: New file.
17126 * sysdeps/x86_64/crtn.S: New file.
17127 * sysdeps/x86_64/elf/initfini.c: Remove file.
17128
2a979d3a
JM
171292012-02-13 Joseph Myers <joseph@codesourcery.com>
17130
17131 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17132 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17133 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17134 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17135 <bits/inotify.h>.
17136 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17138 bits/inotify.h.
17139
2a418ac3
JM
171402012-02-13 Joseph Myers <joseph@codesourcery.com>
17141
17142 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17143 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17144 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17145 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17146 <bits/eventfd.h>.
17147 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17149 bits/eventfd.h.
17150
fb779be7
TS
171512012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17152
e19e83c5
RM
17153 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17154 __feraiseexcept instead of feraiseexcept.
7c35ffed 17155
fb779be7
TS
17156 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17157 nanosleep invocations.
17158 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17159 strings, and add error checking for a nanosleep invocations.
17160
59ba27a6
PE
171612012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17162
17163 Replace FSF snail mail address with URLs, as per GNU coding standards.
17164 Most of the snail mail addresses were wrong anyway, and omitting
17165 them makes the source code easier to maintain. Almost all of the
17166 changes are to license notices and to locale LC_IDENTIFICATION
17167 addresses, except for this one:
17168 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17169 not its snail mail address.
17170
57b957eb
RH
171712012-02-09 Richard Henderson <rth@twiddle.net>
17172
af850b1c
RH
17173 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17174 of kernel-features.h.
17175
57b957eb
RH
17176 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17177
6b73181a
MP
171782012-02-08 Marek Polacek <polacek@redhat.com>
17179
17180 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17181 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17182 * sysdeps/gnu/_G_config.h: Likewise.
17183 * sysdeps/generic/_G_config.h: Likewise.
17184
26ecc33a
AS
171852012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17186
6c6dbc63
AS
17187 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17188 tests.
17189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17190
e216c012
AS
17191 * sysdeps/powerpc/powerpc32/crti.S: New file.
17192 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17193 * sysdeps/powerpc/powerpc64/crti.S: New file.
17194 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17195
26ecc33a
AS
17196 * Makeconfig (have-initfini): Don't set.
17197 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17198 * configure.in (nopic_initfini): Don't substitute.
17199 * config.h.in (HAVE_INITFINI): Don't #undef.
17200 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17201 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17202
3add8e13
JM
172032012-02-08 Joseph Myers <joseph@codesourcery.com>
17204
17205 Support crti.S and crtn.S provided directly by architectures.
17206 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17207 [crti.S in sysdirs] (omit-deps): Likewise.
17208 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17209 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17210 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17211 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17212 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17213 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17214 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17215 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17216 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17217 compiler output for sysdeps/generic/initfini.c.
17218 * sysdeps/i386/elf/Makefile: Remove file.
17219 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17220
a22f12b4
MP
172212012-02-07 Marek Polacek <polacek@redhat.com>
17222
17223 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17224 * sysdeps/gnu/_G_config.h: Likewise.
17225 * sysdeps/mach/hurd/_G_config.h: Likewise.
17226
148cf100
MP
172272012-02-07 Marek Polacek <polacek@redhat.com>
17228
17229 * math/Makefile (tests): Add tst-CMPLX2.
17230 * math/tst-CMPLX2.c: New file.
17231
cfdc0dd7
AS
172322012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17233
84ba42c4
AS
17234 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17235
cfdc0dd7
AS
17236 * math/libm-test.inc (jn_test): Add missing L suffix.
17237
622c86f4
MP
172382012-02-06 Marek Polacek <polacek@redhat.com>
17239
17240 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17241 * sysdeps/i386/fpu/e_powf.S: Likewise.
17242 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17243 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17244 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17245 * sysdeps/i386/fpu/e_pow.S: Likewise.
17246 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17247 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17248 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17249 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17250 * sysdeps/i386/fpu/e_log2.S: Likewise.
17251 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17252 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17253 * sysdeps/i386/fpu/e_powl.S: Likewise.
17254 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17255 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17256 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17257 * sysdeps/i386/fpu/e_logl.S: Likewise.
17258 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17259 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17260 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17261 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17262 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17263 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17264 * sysdeps/i386/fpu/e_log.S: Likewise.
17265 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17266 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17267 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17268 * sysdeps/i386/fpu/e_logf.S: Likewise.
17269 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17270 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17271 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17272 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17273 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17274 * sysdeps/i386/fpu/e_log10.S: Likewise.
17275 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17276 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17277 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17278 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17280 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17281 * sysdeps/i386/asm-syntax.h: Likewise.
17282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17283 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17284 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17285 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17286 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17287 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17288 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17289 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17290 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17291 * sysdeps/powerpc/sysdep.h: Likewise.
17292 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17293 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17294
d4a54ac6
JM
172952012-02-06 Joseph Myers <joseph@codesourcery.com>
17296
17297 [BZ #411]
17298 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17299
314054ea
JM
173002012-02-06 Joseph Myers <joseph@codesourcery.com>
17301
17302 * sysdeps/i386/sysdep.h: Include <features.h>.
17303 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17304 version.
17305
d8e0ca50
JM
173062012-02-05 Joseph Myers <joseph@codesourcery.com>
17307
17308 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17309 Define.
17310 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17311 LOAD_PIC_REG_STR.
17312
b1da7dd9
JM
173132012-02-03 Joseph Myers <joseph@codesourcery.com>
17314
17315 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17316 (SETUP_PIC_REG): Use GET_PC_THUNK.
17317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17318 macro.
17319
9a1d9254
JM
173202012-02-03 Joseph Myers <joseph@codesourcery.com>
17321
17322 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17323 for non-PIC compilation.
17324 (SETUP_PIC_REG): Add .p2align directive.
17325 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17326 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17327 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17329 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17330 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17331 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17333 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17334 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17335 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17336 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17337 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17338 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17339 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17340 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17341 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17342 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17343 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17344 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17345 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17346 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17347 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17348 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17352 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17353 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17354 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17355 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17357 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17358 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17359 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17360 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17361 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17362 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17363 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17364 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17365 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17366
65dc3b75
JM
173672012-02-03 Joseph Myers <joseph@codesourcery.com>
17368
17369 * math/tst-CMPLX.c: Include <stdio.h>.
17370
d55bf177
JM
173712012-01-31 Joseph Myers <joseph@codesourcery.com>
17372
17373 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17374 float.
17375 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17376 * sysdeps/sparc/bits/mathdef.h: Likewise.
17377
69db4f8f
MP
173782012-01-31 Marek Polacek <polacek@redhat.com>
17379
17380 * libio/libio.h: Don't define _PARAMS.
17381 * locale/programs/config.h: Don't define PARAMS.
17382 * stdlib/strtol_l.c: Likewise.
17383 (__strtol_l): Remove PARAMS from the prototype.
17384
41b81892
UD
173852012-01-31 Ulrich Drepper <drepper@gmail.com>
17386
3b49edc0
UD
17387 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17388 names. Just use the correct names. Remove unnecessary wrapper
17389 functions.
17390 * malloc/arena.c: Likewise.
17391 * malloc/hooks.c: Likewise.
17392
41b81892
UD
17393 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17394 ARENA_TEST says not to. Simplify test for creation of a new arena.
17395 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17396
27a25b6e
UD
173972012-01-30 Ulrich Drepper <drepper@gmail.com>
17398
17399 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17400 into tail calls.
17401 (update_get_addr): New function.
17402 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17403 GET_ADDR_MODULE parameter.
17404
c8a89e7d
JM
174052012-01-30 Joseph Myers <joseph@codesourcery.com>
17406
17407 * crypt/cert.c: Remove __STDC__ conditionals.
17408 * crypt/crypt-entry.c: Likewise.
17409 * crypt/crypt_util.c: Likewise.
17410 * libio/filedoalloc.c: Likewise.
17411 * libio/fileops.c: Likewise.
17412 * libio/genops.c: Likewise.
17413 * libio/iofclose.c: Likewise.
17414 * libio/iofdopen.c: Likewise.
17415 * libio/iofopen.c: Likewise.
17416 * libio/iofopen64.c: Likewise.
17417 * libio/iogetdelim.c: Likewise.
17418 * libio/iopopen.c: Likewise.
17419 * libio/obprintf.c: Likewise.
17420 * libio/oldfileops.c: Likewise.
17421 * libio/oldiofclose.c: Likewise.
17422 * libio/oldiofdopen.c: Likewise.
17423 * libio/oldiofopen.c: Likewise.
17424 * libio/oldiopopen.c: Likewise.
17425 * libio/wfiledoalloc.c: Likewise.
17426 * libio/wgenops.c: Likewise.
17427 * locale/programs/xmalloc.c: Likewise.
17428 * misc/syslog.c: Likewise.
17429 * stdio-common/xbug.c: Likewise.
17430 * string/memchr.c: Likewise.
17431 * string/memcmp.c: Likewise.
17432 * string/memrchr.c: Likewise.
17433 * string/rawmemchr.c: Likewise.
17434 * sysdeps/posix/getcwd.c: Likewise.
17435 * time/strftime_l.c: Likewise.
17436
3b100462
JM
174372012-01-30 Joseph Myers <joseph@codesourcery.com>
17438
17439 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17440 * config.make.in (config-cflags-sse2avx): Define.
17441 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17442 Fix typo.
17443
607998af
CM
174442012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17445
17446 * scripts/config.guess: Update from upstream config git repository.
17447 * scripts/config.sub: Likewise.
17448
3601428f
CM
174492012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17450
3ac8b282
CM
17451 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17452 (EM_NUM): Update.
17453 (R_TILEPRO_*, R_TILEGX_*): New macros.
17454
e034841e
CM
17455 * scripts/firstversions.awk: Fix bug in version range handling.
17456
540d7568
CM
17457 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17458
3601428f
CM
17459 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17460
463de862
CM
17461 * include/sys/epoll.h: New file.
17462 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17463 libc_hidden_def.
17464
73139a76
UD
174652012-01-28 Ulrich Drepper <drepper@gmail.com>
17466
96bc5b45
UD
17467 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17468 Avoid unnecessary __WORDSIZE == 64 test.
17469 (fmaxf): Use VEX format if possible.
17470 (fmax): Likewise.
17471 (fminf): Likewise.
17472 (fmin): Likewise.
17473
56f6f6a2
UD
17474 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17475 * math/math_private.h: Remove libc_fegetround* and
17476 libc_fesetround*.
17477 * sysdeps/i386/configure.in: Check for -msse2avx.
17478 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17479 also if SSE2AVX is defined.
17480 Remove libc_fegetround* and libc_fesetround*.
17481 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17482 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17483 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17484 of HAS_YMM_USABLE.
17485 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17486 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17487 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17488 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17489 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17490
73139a76
UD
17491 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17492
d73f93a4
AZ
174932012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17494
17495 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17496 size is not set.
17497 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17498
6ee65ed6
UD
174992012-01-27 Ulrich Drepper <drepper@gmail.com>
17500
17501 [BZ #13618]
17502 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17503 relocation.
17504 * Makeconfig (libm): Define.
17505 * elf/Makefile: Add rules to build and run tst-relsort1.
17506 * elf/tst-relsort1.c: New file.
17507 * elf/tst-relsort1mod1.c: New file.
17508 * elf/tst-relsort1mod2.c: New file.
17509
8db21882
JM
175102012-01-27 Joseph Myers <joseph@codesourcery.com>
17511
17512 * math/s_ldexp.c: Remove __STDC__ conditionals.
17513 * math/s_ldexpf.c: Likewise.
17514 * math/s_ldexpl.c: Likewise.
17515 * math/s_nextafter.c: Likewise.
17516 * math/s_nexttowardf.c: Likewise.
17517 * math/s_significand.c: Likewise.
17518 * math/s_significandf.c: Likewise.
17519 * math/s_significandl.c: Likewise.
17520 * math/w_jnl.c: Likewise.
17521 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17522 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17523 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17524 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17525 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17535 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17536 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17537 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17539 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17543 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17544 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17545 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17546 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17548 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17549 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17550 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17551 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17552 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17553 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17554 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17555 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17556 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17557 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17558 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17559 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17560 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17561 * sysdeps/ieee754/k_standard.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17601 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17602 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17603 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17606 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17610 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17611 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17623 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17637 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17638 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17640 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17641 * sysdeps/ieee754/s_matherr.c: Likewise.
17642 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17643 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17646
965a54a4
JM
176472012-01-26 Joseph Myers <joseph@codesourcery.com>
17648
17649 * crypt/md5.h: Remove __STDC__ conditionals.
17650 * libio/libioP.h: Likewise.
17651 * locale/programs/config.h: Likewise.
17652 * sysdeps/generic/sysdep.h: Likewise.
17653 * sysdeps/i386/asm-syntax.h: Likewise.
17654 * sysdeps/s390/asm-syntax.h: Likewise.
17655 * sysdeps/unix/sysdep.h: Likewise.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17658
7071ad79
JM
176592012-01-26 Joseph Myers <joseph@codesourcery.com>
17660
17661 * libio/libio.h: Remove __STDC__ conditionals.
17662 * malloc/obstack.h: Likewise.
17663 * math/complex.h: Likewise.
17664 * math/math.h: Likewise.
17665 * sysdeps/generic/_G_config.h: Likewise.
17666 * sysdeps/gnu/_G_config.h: Likewise.
17667 * sysdeps/mach/hurd/_G_config.h: Likewise.
17668 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17669 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17670 * sysdeps/sparc/bits/mathdef.h: Likewise.
17671
afc5ed09
UD
176722012-01-26 Ulrich Drepper <drepper@gmail.com>
17673
17674 [BZ #13583]
17675 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17676 Clean up HAS_* macros.
afc5ed09 17677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17678 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17679 possible.
17680 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17681 HAS_AVX.
17682 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17683 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17684 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17685 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17686 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17687
bdb6de1d
JM
176882012-01-25 Joseph Myers <joseph@codesourcery.com>
17689
17690 * elf/tst-unique3.cc (gets): Remove declaration.
17691 * elf/tst-unique3lib.cc (gets): Likewise.
17692 * elf/tst-unique3lib2.cc (gets): Likewise.
17693 * elf/tst-unique4.cc (gets): Likewise.
17694
b15549e6
UD
176952012-01-24 Ulrich Drepper <drepper@gmail.com>
17696
17697 * include/stdio.h: Add C++ protection. Add gets declarations and
17698 definitions.
17699 * debug/tst-chk1.c: Don't declare gets here.
17700 * stdio-common/tst-gets.c: Likewise.
17701
a037381f
JM
177022012-01-24 Joseph Myers <joseph@codesourcery.com>
17703
17704 * posix/glob: Remove directory.
17705
f1d4aa75
JM
177062012-01-24 Joseph Myers <joseph@codesourcery.com>
17707
17708 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17709
81c0c964
PT
177102012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17711
17712 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17713 of the non-standard EPFNOSUPPORT.
17714
0ea698ae
ST
177152011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17716
17717 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17718 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17719 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17720
d220b117
UD
177212012-01-21 Ulrich Drepper <drepper@gmail.com>
17722
17723 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17724
3e1aa84e
UD
177252012-01-20 Ulrich Drepper <drepper@gmail.com>
17726
17727 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17728 transient errors.
17729 * nscd/grpcache.c (cache_addgr): Likewise.
17730 * nscd/hstcache.c (cache_addhst): Likewise.
17731 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17732 * nscd/pwdcache.c (cache_addpw): Likewise.
17733 * nscd/servicescache.c (cache_addserv): Likewise.
17734
400aa020
UD
177352012-01-16 Ulrich Drepper <drepper@gmail.com>
17736
d77e7869
UD
17737 * malloc/malloc.c: Various cleanups.
17738 * malloc/hooks.c: Likewise.
17739
400aa020
UD
17740 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17741 * stdlib/bug-fmtmsg1.c: New file.
17742
17743 * stdlib/fmtmsg.c (init): Add missing unlock.
17744 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17745
e0a309cf
MP
177462012-01-12 Marek Polacek <polacek@redhat.com>
17747
17748 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17749 and _GNU_SOURCE.
17750
929d11c7
WS
177512012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17752
17753 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17754 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17755 macro to ensure uniqueness of label name.
17756 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17757 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17758
41d0e869
UD
177592012-01-11 Ulrich Drepper <drepper@gmail.com>
17760
0cc5ed3b
UD
17761 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17762
41d0e869
UD
17763 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17764 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17765 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17767
a47a831a
UD
177682012-01-10 Ulrich Drepper <drepper@gmail.com>
17769
daa891c0
UD
17770 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17771
17772 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17773 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17774 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17775
e58ef0f2
UD
17776 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17777
a47a831a 17778 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17779 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17780 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17781 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17782
17783 * math/bits/math-finite.h: Add ldexp support.
17784
a0bfc9c7
MP
177852012-01-10 Marek Polacek <polacek@redhat.com>
17786
17787 * locale/programs/localedef.h (show_archive_content): Add noreturn
17788 attribute.
17789
d6e97a1d
UD
177902012-01-09 Ulrich Drepper <drepper@gmail.com>
17791
17792 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17793
d5835c26
UD
177942012-01-08 Ulrich Drepper <drepper@gmail.com>
17795
e5f484c6
UD
17796 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17797
d5835c26
UD
17798 * io/Makefile (headers): Add bits/poll2.h.
17799
d1f741e9
WS
178002011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17801
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17803 typo #include statement.
17804
ec09c1c4
UD
178052012-01-08 Ulrich Drepper <drepper@gmail.com>
17806
17807 * include/sys/cdefs.h: Define __attribute_alloc_size.
17808 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17809 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17810 * elf/pldd.c: Likewise.
17811 * iconv/iconv_charmap.c: Likewise.
17812 * iconv/iconvconfig.c: Likewise.
17813 * iconv/strtab.c: Likewise.
17814 * locale/programs/locale.c: Likewise.
17815 * locale/programs/localedef.h: Likewise.
17816 * locale/programs/simple-hash.c: Likewise.
17817 * nscd/nscd.h: Likewise.
17818 * nss/makedb.c: Likewise.
17819 * sysdeps/generic/ldconfig.h: Likewise.
17820 * locale/programs/localedef.c: Remove xmalloc prototype.
17821 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17822
20b38e03
PP
178232012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17824
17825 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17826 appropriate.
17827
a0da5fe1
UD
178282012-01-08 Ulrich Drepper <drepper@gmail.com>
17829
1d5a644a 17830 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17831 * math/tst-CMPLX.c: New file.
1d5a644a 17832
8784a6db
UD
17833 * math/complex.h (CMPLXL): Fix typo.
17834
d9a216c0
UD
17835 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17836 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17837 GLIBC_2.16.
17838 * debug/tst-chk1.c: Add poll and ppoll tests.
17839 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17840 * include/sys/poll.h: Add hidden proto for ppoll.
17841 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17842 * sysdeps/mach/hurd/ppoll.c: Likewise.
17843 * io/ppoll.c: Likewise.
17844 * debug/poll_chk.c: New file.
17845 * debug/ppoll_chk.c: New file.
17846 * include/bits/poll2.h: New file.
17847 * io/bits/poll2.h: New file.
17848
ac097f5c
UD
17849 [BZ #1350]
17850 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17851
2119dcfa
UD
17852 * configure.in: static is always set to yes. Remove.
17853 * config.make.in: Don't set build-static.
17854 * Makeconfig: Remove use of build-static.
17855 * dlfcn/Makefile: Likewise.
17856 * elf/Makefile: Likewise.
17857 * math/Makefile: Likewise.
17858 * misc/Makefile: Likewise.
17859 * nptl/Makefile: Likewise.
17860 * sysdeps/mach/hurd/Makefile: Likewise.
17861
121766a9
UD
17862 * configure.in: PWD_P is not used anymore.
17863 * config.make.in: Remove PWD_P entry.
17864
51a1d39c 17865 * configure.in: Remove last remnants of RANLIB.
8720d066 17866 No need to check for signed size_t anymore.
215f4bdc
UD
17867 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17868 and IA-64.
3857022a 17869 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17870 * aclocal.m4: Likewise.
17871
d3ed7225
UD
17872 * wcsmbs/mbrtoc16.c: Implement using towc function.
17873 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17874 * wcsmbs/wcsmbsload.c: Likewise.
17875 * iconv/gconv_simple.c: Likewise.
17876 * iconv/gconv_int.h: Likewise.
17877 * iconv/gconv_builtin.h: Likewise.
17878 * iconv/iconv_prog.c: Remove CHAR16 handling.
17879
17880 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17881
17882 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17883
a0da5fe1
UD
17884 * configure.in: Remove --with-elf and --enable-bounded options.
17885 Dont set base_machine for ia64. More non-ELF conditions removed.
17886 Remove testing and setting of leading underscore information.
17887 * config.make.in (build-bounded): Set to no.
17888 * config.h.in: Remove NO_UNDERSCORES entry.
17889 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17890 them.
17891 * csu/start.c: Remove !NO_UNDERSCORE code.
17892 * locale/localeinfo.h: Likewise.
17893 * sysdeps/generic/machine-gmon.h: Likewise.
17894 * sysdeps/generic/sysdep.h: Likewise.
17895 * sysdeps/i386/sysdep.h: Likewise.
17896 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17897 * sysdeps/mach/sysdep.h: Likewise.
17898 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17899 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17900 * sysdeps/sh/sysdep.h: Likewise.
17901 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17902 * sysdeps/unix/i386/sysdep.S: Likewise.
17903 * sysdeps/unix/sparc/start.c: Likewise.
17904 * sysdeps/unix/sparc/sysdep.S: Likewise.
17905 * sysdeps/unix/sparc/sysdep.h: Likewise.
17906 * sysdeps/unix/start.c: Likewise.
17907 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17908 * sysdeps/x86_64/sysdep.h: Likewise.
17909
df78418a
UD
179102012-01-07 Ulrich Drepper <drepper@gmail.com>
17911
a784e502
UD
17912 [BZ #13553]
17913 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17914 for non-gcc.
17915 * argp/argp-fmtstream.h: Use const instead __const.
17916 * argp/argp.h: Likewise.
17917 * assert/assert.h: Likewise.
17918 * bits/fenv.h: Likewise.
17919 * bits/sched.h: Likewise.
17920 * bits/sigset.h: Likewise.
17921 * bits/sigthread.h: Likewise.
17922 * catgets/nl_types.h: Likewise.
17923 * conform/data/pthread.h-data: Likewise.
17924 * crypt/crypt-private.h: Likewise.
17925 * crypt/crypt.h: Likewise.
17926 * crypt/crypt_util.c: Likewise.
17927 * ctype/ctype.h: Likewise.
17928 * debug/execinfo.h: Likewise.
17929 * debug/mbsnrtowcs_chk.c: Likewise.
17930 * debug/mbsrtowcs_chk.c: Likewise.
17931 * debug/wcsnrtombs_chk.c: Likewise.
17932 * debug/wcsrtombs_chk.c: Likewise.
17933 * debug/wcstombs_chk.c: Likewise.
17934 * dirent/dirent.h: Likewise.
17935 * dlfcn/dlfcn.h: Likewise.
17936 * elf/neededtest4.c: Likewise.
17937 * grp/grp.h: Likewise.
17938 * gshadow/gshadow.h: Likewise.
17939 * iconv/gconv.h: Likewise.
17940 * iconv/gconv_int.h: Likewise.
17941 * iconv/gconv_simple.c: Likewise.
17942 * iconv/iconv.h: Likewise.
17943 * iconv/loop.c: Likewise.
17944 * iconv/skeleton.c: Likewise.
17945 * include/aio.h: Likewise.
17946 * include/aliases.h: Likewise.
17947 * include/argz.h: Likewise.
17948 * include/arpa/inet.h: Likewise.
17949 * include/assert.h: Likewise.
17950 * include/dirent.h: Likewise.
17951 * include/dlfcn.h: Likewise.
17952 * include/execinfo.h: Likewise.
17953 * include/fcntl.h: Likewise.
17954 * include/fenv.h: Likewise.
17955 * include/glob.h: Likewise.
17956 * include/grp.h: Likewise.
17957 * include/libintl.h: Likewise.
17958 * include/mntent.h: Likewise.
17959 * include/netdb.h: Likewise.
17960 * include/pwd.h: Likewise.
17961 * include/rpc/netdb.h: Likewise.
17962 * include/sched.h: Likewise.
17963 * include/search.h: Likewise.
17964 * include/shadow.h: Likewise.
17965 * include/signal.h: Likewise.
17966 * include/stdio.h: Likewise.
17967 * include/stdlib.h: Likewise.
17968 * include/string.h: Likewise.
17969 * include/sys/socket.h: Likewise.
17970 * include/sys/stat.h: Likewise.
17971 * include/sys/statfs.h: Likewise.
17972 * include/sys/statvfs.h: Likewise.
17973 * include/sys/syslog.h: Likewise.
17974 * include/sys/time.h: Likewise.
17975 * include/sys/uio.h: Likewise.
17976 * include/time.h: Likewise.
17977 * include/unistd.h: Likewise.
17978 * include/utmp.h: Likewise.
17979 * include/wchar.h: Likewise.
17980 * include/wctype.h: Likewise.
17981 * inet/aliases.h: Likewise.
17982 * inet/arpa/inet.h: Likewise.
17983 * inet/netinet/ether.h: Likewise.
17984 * inet/netinet/in.h: Likewise.
17985 * intl/libintl.h: Likewise.
17986 * io/bits/fcntl2.h: Likewise.
17987 * io/fcntl.h: Likewise.
17988 * io/ftw.h: Likewise.
17989 * io/sys/poll.h: Likewise.
17990 * io/sys/stat.h: Likewise.
17991 * io/sys/statfs.h: Likewise.
17992 * io/sys/statvfs.h: Likewise.
17993 * io/utime.h: Likewise.
17994 * libio/bits/stdio.h: Likewise.
17995 * libio/bits/stdio2.h: Likewise.
17996 * libio/libio.h: Likewise.
17997 * libio/libioP.h: Likewise.
17998 * libio/stdio.h: Likewise.
17999 * locale/lc-ctype.c: Likewise.
18000 * locale/locale.h: Likewise.
18001 * login/utmp.h: Likewise.
18002 * malloc/arena.c: Likewise.
18003 * malloc/malloc.c: Likewise.
18004 * malloc/malloc.h: Likewise.
18005 * malloc/mcheck.c: Likewise.
18006 * malloc/mtrace.c: Likewise.
18007 * math/bits/mathcalls.h: Likewise.
18008 * math/fenv.h: Likewise.
18009 * math/math_private.h: Likewise.
18010 * misc/bits/error.h: Likewise.
18011 * misc/bits/syslog.h: Likewise.
18012 * misc/err.h: Likewise.
18013 * misc/error.h: Likewise.
18014 * misc/fstab.h: Likewise.
18015 * misc/mntent.h: Likewise.
18016 * misc/regexp.h: Likewise.
18017 * misc/search.h: Likewise.
18018 * misc/sgtty.h: Likewise.
18019 * misc/sys/mman.h: Likewise.
18020 * misc/sys/syslog.h: Likewise.
18021 * misc/sys/uio.h: Likewise.
18022 * misc/sys/xattr.h: Likewise.
18023 * misc/ttyent.h: Likewise.
18024 * nis/rpcsvc/ypclnt.h: Likewise.
18025 * nss/nss.h: Likewise.
18026 * posix/bits/unistd.h: Likewise.
18027 * posix/fnmatch.h: Likewise.
18028 * posix/glob.h: Likewise.
18029 * posix/sched.h: Likewise.
18030 * posix/spawn.h: Likewise.
18031 * posix/sys/wait.h: Likewise.
18032 * posix/unistd.h: Likewise.
18033 * posix/wordexp.h: Likewise.
18034 * pwd/pwd.h: Likewise.
18035 * resolv/netdb.h: Likewise.
18036 * resource/sys/resource.h: Likewise.
18037 * rt/aio.h: Likewise.
18038 * rt/bits/mqueue2.h: Likewise.
18039 * rt/mqueue.h: Likewise.
18040 * shadow/shadow.h: Likewise.
18041 * signal/signal.h: Likewise.
18042 * socket/send.c: Likewise.
18043 * socket/sendto.c: Likewise.
18044 * socket/sys/socket.h: Likewise.
18045 * stdio-common/printf.h: Likewise.
18046 * stdlib/bits/stdlib.h: Likewise.
18047 * stdlib/fmtmsg.h: Likewise.
18048 * stdlib/monetary.h: Likewise.
18049 * stdlib/stdlib.h: Likewise.
18050 * stdlib/ucontext.h: Likewise.
18051 * streams/stropts.h: Likewise.
18052 * string/argz.h: Likewise.
18053 * string/bits/string2.h: Likewise.
18054 * string/string.h: Likewise.
18055 * string/strings.h: Likewise.
18056 * sunrpc/rpc/auth.h: Likewise.
18057 * sunrpc/rpc/auth_des.h: Likewise.
18058 * sunrpc/rpc/clnt.h: Likewise.
18059 * sunrpc/rpc/netdb.h: Likewise.
18060 * sunrpc/rpc/pmap_clnt.h: Likewise.
18061 * sunrpc/rpc/xdr.h: Likewise.
18062 * sysdeps/generic/inttypes.h: Likewise.
18063 * sysdeps/generic/net/if.h: Likewise.
18064 * sysdeps/generic/sys/swap.h: Likewise.
18065 * sysdeps/gnu/net/if.h: Likewise.
18066 * sysdeps/gnu/utmpx.h: Likewise.
18067 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18068 * sysdeps/i386/i486/bits/string.h: Likewise.
18069 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18070 * sysdeps/s390/bits/string.h: Likewise.
18071 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18072 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18073 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18074 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18075 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18076 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18077 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18078 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18079 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18080 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18081 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18082 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18083 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18084 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18085 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18087 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18089 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18092 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18093 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18094 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18095 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18096 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18097 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18098 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18099 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18100 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18101 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18102 * sysvipc/sys/ipc.h: Likewise.
18103 * sysvipc/sys/msg.h: Likewise.
18104 * sysvipc/sys/sem.h: Likewise.
18105 * sysvipc/sys/shm.h: Likewise.
18106 * termios/termios.h: Likewise.
18107 * time/sys/time.h: Likewise.
18108 * time/time.h: Likewise.
18109 * wcsmbs/bits/wchar2.h: Likewise.
18110 * wcsmbs/uchar.h: Likewise.
18111 * wcsmbs/wchar.h: Likewise.
18112 * wctype/wctype.h: Likewise.
18113
0269750c
UD
18114 [BZ #13551]
18115 * Makeconfig: Remove all but ELF support including AIX support.
18116 * Makerules: Likewise.
18117 * config.h.in: Likewise.
18118 * config.make.in: Likewise.
18119 * configure: Likewise.
18120 * configure.in: Likewise.
18121 * csu/Makefile: Likewise.
18122 * csu/version.c: Likewise.
18123 * debug/Makefile: Likewise.
18124 * dlfcn/Makefile: Likewise.
18125 * elf/Makefile: Likewise.
18126 * extra-lib.mk: Likewise.
18127 * iconv/Makefile: Likewise.
18128 * include/libc-symbols.h: Likewise.
18129 * include/shlib-compat.h: Likewise.
18130 * resolv/Makefile: Likewise.
18131 * resolv/res_libc.c: Likewise.
18132 * rt/Makefile: Likewise.
18133 * sysdeps/i386/asm-syntax.h: Likewise.
18134 * sysdeps/i386/sysdep.h: Likewise.
18135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18136 * sysdeps/mach/sysdep.h: Likewise.
18137 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18138 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18139 * sysdeps/s390/asm-syntax.h: Likewise.
18140 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18142 * sysdeps/sh/sysdep.h: Likewise.
18143 * sysdeps/unix/sparc/sysdep.h: Likewise.
18144 * sysdeps/wordsize-32/divdi3.c: Likewise.
18145 * sysdeps/x86_64/sysdep.h: Likewise.
18146
00bbd29b
UD
18147 * argp/Versions: Remove _argp_unlock_xxx.
18148
18149 [BZ #13559]
18150 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18151 * abilist/libBrokenLocale.abilist: Likewise.
18152 * abilist/libanl.abilist: Likewise.
18153 * abilist/libc.abilist: Likewise.
18154 * abilist/libcrypt.abilist: Likewise.
18155 * abilist/libdl.abilist: Likewise.
18156 * abilist/libm.abilist: Likewise.
18157 * abilist/libnsl.abilist: Likewise.
18158 * abilist/libpthread.abilist: Likewise.
18159 * abilist/libresolv.abilist: Likewise.
18160 * abilist/librt.abilist: Likewise.
18161 * abilist/libthread_db.abilist: Likewise.
18162 * abilist/libutil.abilist: Likewise.
18163 * abilist/libnss_db.abilist: New file.
18164
18165 * scripts/abilist.awk: Add support for indirect functions.
18166
a2693a0e
UD
18167 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18168
3f05895f
UD
18169 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18170
ecb6fb48
UD
18171 * shlib-versions: Remove entries for ports architectures.
18172
664f8cb9
UD
18173 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18174 files in ports.
18175 * elf/stackguard-macros.h: Remove support for IA-64.
18176 * elf/tst-auditmod1.c: Likewise.
18177 * sysdeps/generic/ldsodefs.h: Likewise.
18178
7ae81d88
UD
18179 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18180 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18181 configure files.
18182
bdeba135
UD
18183 [BZ #13552]
18184 * configure.in: Remove --enable-omitfp support.
18185 * FAQ.in: Adjust.
18186 * config.make.in: Likewise.
18187 * Makeconfig: Likewise.
18188 * manual/install.texi: Likewise.
18189
d75a0a62
UD
18190 In case anyone cares, the IA-64 architecture could move to ports.
18191 * sysdeps/ia64/*: Removed.
18192 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18193 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18194
dcc9756b
UD
18195 [BZ #13555]
18196 * configure.in: Remove entries for unsupported architectures.
18197
d3761ebc 18198 [BZ #13533]
9954432e
UD
18199 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18200 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18201 routines.
18202 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18203 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18204 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18205 fall back to using wcrtomb.
18206 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18207 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18208 renaming.
18209 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18210 * wcsmbs/tst-c16c32-1.c: New file.
18211
18212 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18213 local variable.
18214
c3a87236
UD
18215 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18216
28926a1b
UD
18217 * elf/tst-unique3.cc: Add explicit declaration of gets.
18218 * elf/tst-unique3lib.cc: Likewise.
18219 * elf/tst-unique3lib2.cc: Likewise.
18220 * elf/tst-unique4.cc: Likewise.
18221
df78418a
UD
18222 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18223
8ecd6b2a
JM
182242012-01-06 Joseph Myers <joseph@codesourcery.com>
18225
18226 [BZ #13566]
18227 * assert/assert.h (static_assert): Don't define for C++.
18228 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18229 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18230
9f115170
UD
182312012-01-03 Ulrich Drepper <drepper@gmail.com>
18232
5e0d0300
UD
18233 * iconv/loop.c (single loop): Fix assertion in storing of
18234 remaining bytes.
18235
9f115170
UD
18236 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18237
81fb02b0
UD
182382012-01-01 Ulrich Drepper <drepper@gmail.com>
18239
18240 * posix/getconf.c: Update copyright year.
18241 * nss/getent.c: Likewise.
a316c1f6 18242 * nss/makedb.c: Likewise.
81fb02b0
UD
18243 * iconv/iconvconfig.c: Likewise.
18244 * iconv/iconv_prog.c: Likewise.
18245 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18246 * elf/pldd.c: Likewise.
18247 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18248 * catgets/gencat.c: Likewise.
18249 * csu/version.c: Likewise.
18250 * elf/ldd.bash.in: Likewise.
18251 * elf/sprof.c (print_version): Likewise.
18252 * locale/programs/locale.c: Likewise.
18253 * locale/programs/localedef.c: Likewise.
a316c1f6 18254 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18255 * nscd/nscd.c (print_version): Likewise.
18256 * debug/xtrace.sh: Likewise.
18257 * malloc/memusage.sh: Likewise.
18258 * malloc/mtrace.pl: Likewise.
18259 * debug/catchsegv.sh: Likewise.
18260
2ba92745
JJ
182612011-12-30 Jakub Jelinek <jakub@redhat.com>
18262
18263 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18264 pure attribute.
18265
dadebdae
UD
182662011-12-24 Ulrich Drepper <drepper@gmail.com>
18267
d3761ebc 18268 [BZ #13533]
db6af3eb
UD
18269 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18270 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18271 transformations.
18272 * iconv/gconv_int.h: Likewise.
18273 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18274 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18275 from libc for GLIBC_2.16.
18276 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18277 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18278 * wcsmbs/uchar.h: Really define mbstate_t.
18279 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18280 * wcsmbs/c16rtomb.c: New file.
18281 * wcsmbs/mbrtoc16.c: New file.
18282 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18283 for C/POSIX locale.
18284 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18285 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18286
dadebdae
UD
18287 * wcsmbs/wchar.h: Add missing __restrict.
18288
67371b56
UD
182892011-12-23 Ulrich Drepper <drepper@gmail.com>
18290
74033a25
UD
18291 [BZ #13532]
18292 * time/Makefile (routines): Add timespec_get.
18293 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18294 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18295 timespec for ISO C11.
18296 * time/timespec_get.c: New file.
18297 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18298 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18299
380d7e87
UD
18300 [BZ #13531]
18301 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18302 * stdlib/stdlib.h: Declare aligned_alloc.
18303 * Versions.def: Add GLIBC_2.16 for libc.
18304 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18305
4e9e7a35
UD
18306 [BZ 13527]
18307 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18308 ISO C11.
18309
380d7e87 18310 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18311 code.
18312
03a71829
UD
18313 [BZ #13528]
18314 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18315
839e283e
UD
18316 [BZ #13529]
18317 * assert/assert.h (static_assert): Define.
18318
ce5294e2 18319 * version.h: Update for 2.16 development version.
90fa7312 18320
8d44e150 18321 [BZ #13526]
d7809905
UD
18322 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18323 _ISOC11_SOURCE.
18324
c0da14cd
UD
18325 * version.h (RELEASE): Bump for 2.15 release.
18326 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18327
530a3249
MP
18328 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18329 Patch by Marek Polacek <mpolacek@redhat.com>.
18330
67371b56
UD
18331 * bits/byteswap.h: Protect long long constants with __extension__.
18332 * sysdeps/i386/bits/byteswap.h: Likewise.
18333 * sysdeps/ia64/bits/byteswap.h: Likewise.
18334 * sysdeps/s390/bits/byteswap.h: Likewise.
18335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18336
15db4de1
LD
183372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18338
18339 [BZ #13540]
bbe315ea
LD
18340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18341 destination buffer.
15db4de1
LD
18342 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18343
2b2596b1
MP
183442011-12-23 Marek Polacek <polacek@redhat.com>
18345
18346 * elf/dl-addr.c (determine_info): Add inline keyword.
18347 * elf/tst-auditmod4b.c (check_avx): Likewise.
18348 * elf/tst-auditmod6b.c (check_avx): Likewise.
18349 * elf/tst-auditmod6c.c (check_avx): Likewise.
18350 * elf/tst-auditmod7b.c (check_avx): Likewise.
18351
70c6c246
UD
183522011-12-23 Ulrich Drepper <drepper@gmail.com>
18353
18354 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18355 !__SSE_MATH__.
18356
c044cf14
LD
183572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18358
15db4de1 18359 [BZ #13540]
c044cf14
LD
18360 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18361 processing for last bytes.
18362
6b13d9d9
BH
183632011-08-06 Bruno Haible <bruno@clisp.org>
18364
d455f537
BH
18365 [BZ #13061]
18366 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18367 U+0385, not to U+1FEE.
18368
6b13d9d9
BH
18369 [BZ #13062]
18370 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18371 entry for U+00A5 U+0301.
18372
db910efd
UD
183732011-12-22 Ulrich Drepper <drepper@gmail.com>
18374
27deeafc
UD
18375 [BZ #13166]
18376 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18377 buffer for the output is too small.
18378
aed9d171
UD
18379 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18380 optimization.
18381
db910efd
UD
18382 [BZ #13185]
18383 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18384 SSE flags if possible.
18385
2bd779ae
LD
183862011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18387
e7f9dac3 18388 [BZ #13540]
2bd779ae
LD
18389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18390 processing for last bytes.
18391
154bfc16
JM
183922011-12-22 Joseph Myers <joseph@codesourcery.com>
18393
18394 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18395 (syscall-list-default-options, syscall-list-default-condition)
18396 (syscall-list-includes): Define.
18397 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18398 list of ABIs and options and #if conditions for each ABI. Do not
18399 handle common syscalls between ABIs specially.
18400 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18401 Remove.
18402 (syscall-list-variants, syscall-list-32bit-options)
18403 (syscall-list-32bit-condition, syscall-list-64bit-options)
18404 (syscall-list-64bit-condition): Define.
18405 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18406 (syscall-list-variants, syscall-list-32bit-options)
18407 (syscall-list-32bit-condition, syscall-list-64bit-options)
18408 (syscall-list-64bit-condition): Define.
18409 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18410 Remove.
18411 (syscall-list-variants, syscall-list-32bit-options)
18412 (syscall-list-32bit-condition, syscall-list-64bit-options)
18413 (syscall-list-64bit-condition): Define.
18414 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18415 Remove.
18416 (syscall-list-variants, syscall-list-32bit-options)
18417 (syscall-list-32bit-condition, syscall-list-64bit-options)
18418 (syscall-list-64bit-condition): Define.
18419
21eaf3a5
UD
184202011-12-22 Ulrich Drepper <drepper@gmail.com>
18421
16c6f992
UD
18422 * locale/iso-639.def: Add brx entry.
18423
41043168
UD
18424 [BZ #13328]
18425 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18426 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18427
21eaf3a5
UD
18428 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18429 __feraiseexcept_renamed.
18430
e3a851a2
UD
184312011-12-21 Ulrich Drepper <drepper@gmail.com>
18432
4920765e
UD
18433 [BZ #13538]
18434 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18435 EPOLLET with unsigned values.
18436 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18438
e3a851a2
UD
18439 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18440 to large cancellation.
18441 * math/s_cacoshf.c: Likewise.
18442 * math/s_cacoshl.c: Likewise.
18443
b27e24b8
RK
184442011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18445
18446 [BZ #13305]
aebefeee 18447 [BZ #12786]
b27e24b8
RK
18448 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18449 * math/s_cacoshf.c: Likewise.
18450 * math/s_cacoshl.c: Likewise.
18451
ee190f67
UD
184522011-12-21 Ulrich Drepper <drepper@gmail.com>
18453
18454 [BZ #13439]
18455 * iconv/gconv.h: Define __GCONV_SWAP.
18456 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18457 * iconvdata/utf-16.c: Likewise.
18458 * iconvdata/utf-32.c: Likewise.
18459
707f25df
AS
184602011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18461
18462 [BZ #13524]
18463 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18464 numerator after shifting it by one limb.
18465
d2daaa1e
RÁE
184662011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18467
18468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18469 under [__USE_EXTERN_INLINES].
18470
a4647e72
UD
184712011-12-17 Ulrich Drepper <drepper@gmail.com>
18472
18473 [BZ #13446]
18474 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18475
f0b264f1
AZ
184762011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18477
18478 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18479 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18480 optimized code.
18481 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18482 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18483 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18484 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18485 for strncasecmp/strncasecmp_l compilation.
18486 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18487 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18488
8ef4f244
MP
184892011-12-08 Marek Polacek <mpolacek@redhat.com>
18490
18491 [BZ #13484]
18492 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18493 of __asm__.
18494
97ac2654
UD
184952011-12-17 Ulrich Drepper <drepper@gmail.com>
18496
18497 [BZ #13506]
18498 * time/tzfile.c (__tzfile_read): Check values from file header.
18499
91d2a845
WS
185002011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18501
18502 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18503 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18504 * powerpc/powerpc32/dl-start.S: Likewise.
18505 * powerpc/powerpc32/elf/start.S: Likewise.
18506 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18507 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18508 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18509 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18510 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18511 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18512 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18513 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18514 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18515 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18516 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18517 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18518 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18519 * powerpc/powerpc32/memset.S: Likewise.
18520 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18521 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18522 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18523 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18524 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18525 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18526 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18527 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18528 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18529 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18530 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18531 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18532 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18533
a1267ba1
AZ
185342011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18535
18536 * math/libm-test.inc: Added more nearbyint tests.
18537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18541
ad8ac1bd
RL
185422011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18543
18544 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18545 FD_CLOEXEC.
18546
1d3e4b61
UD
185472011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18548
18549 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18550 Add wcscpy-ssse3 wcscpy-c.
18551 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18552 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18553 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18554 * sysdeps/x86_64/wcschr.S: New file.
18555 * sysdeps/x86_64/wcsrchr.S: New file.
18556 * string/test-strcmp.c: Remove checking of wcscmp function for
18557 wrong alignments.
18558 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18559 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18560 wcsrchr-sse2 wcsrchr-c.
18561 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18562 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18563 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18564 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18565 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18566 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18567 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18568 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18569 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18570 * wcsmbc/wcschr.c (WCSCHR): New macro.
18571
5b330a2d
UD
185722011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18573
18574 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18575 * wcsmbs/test-wcsrchr.c: New file.
18576 * string/test-strrchr.c: Add wcsrchr support.
18577 (WIDE): New macro.
18578 * wcsmbs/test-wcscpy.c: New file.
18579 * string/test-strcpy.c: Add wcscpy support.
18580 (WIDE): New macro.
26428b7c 18581
f039c043
UD
185822011-12-10 Ulrich Drepper <drepper@gmail.com>
18583
18584 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18585 the inner loop.
18586
850fb039
AS
185872011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18588
18589 [BZ #13472]
18590 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18591
4efbd5cb
UD
185922011-12-04 Ulrich Drepper <drepper@gmail.com>
18593
52ff5dd0 18594 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18595 Minor optimizations.
52ff5dd0 18596
4efbd5cb
UD
18597 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18598 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18599 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18600
8a426e12
UD
186012011-12-03 Ulrich Drepper <drepper@gmail.com>
18602
aff2453d
UD
18603 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18604 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18605 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18606 for gcc to avoid warnings.
18607 * inet/Makefile (tests): Add tst-checks.
18608 * inet/tst-checks.c: New file.
18609
18610 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18611 warning.
18612
18613 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18614 __wmemcmp_sse2.
18615
18616 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18617 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18618
8a426e12
UD
18619 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18620
9bea3473
UD
186212011-12-02 Ulrich Drepper <drepper@gmail.com>
18622
3a965496
UD
18623 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18624 problem.
18625
9bea3473
UD
18626 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18627
f101631b
UD
186282011-11-29 Joseph Myers <joseph@codesourcery.com>
18629
18630 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18631 conditional on GCC version.
18632 (__arch_compare_and_exchange_val_8_acq)
18633 (__arch_compare_and_exchange_val_16_acq)
18634 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18635 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18636 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18637
a98275aa
UD
186382011-12-02 Joseph Myers <joseph@codesourcery.com>
18639
18640 * sysdeps/sh/backtrace.c: New file.
18641
d4cc29a2
AS
186422011-12-02 Andreas Schwab <schwab@redhat.com>
18643
18644 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18645 parenthesis.
18646
6257af2d
AS
186472011-12-01 Andreas Schwab <schwab@redhat.com>
18648
18649 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18650 falling back to utime.
18651
b5f44c1a
AS
186522011-11-30 Andreas Schwab <schwab@redhat.com>
18653
18654 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18655 expectations for float.
18656
f3a6cc0a
AS
186572011-11-29 Andreas Schwab <schwab@redhat.com>
18658
18659 * locale/weight.h (findidx): Add parameter len.
18660 * locale/weightwc.h (findidx): Likewise.
18661 * posix/fnmatch_loop.c (FCT): Adjust caller.
18662 * posix/regcomp.c (build_equiv_class): Likewise.
18663 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18664 * posix/regexec.c (check_node_accept_bytes): Likewise.
18665 * string/strcoll_l.c (STRCOLL): Likewise.
18666 * string/strxfrm_l.c (STRXFRM): Likewise.
18667
9d65ea3a
UD
186682011-11-17 Ulrich Drepper <drepper@gmail.com>
18669
18670 * Makefile.in: Remove CVSOPT handling.
18671 * configure.in: Remove use of AC_REVISION.
18672 * iconvdata/Makefile (distribute): No need to filter out CVS.
18673 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18674 handling.
18675
5583a086
AS
186762011-11-16 Andreas Schwab <schwab@redhat.com>
18677
18678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18679 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18680 [USE_AS_STRNCASECMP_L]: Likewise.
18681 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18682 NO_TLS_DIRECT_SEG_REFS.
18683 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18684 Fix argument offsets for non-PIC.
18685 [USE_AS_STRNCASECMP_L]: Likewise.
18686 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18687 NO_TLS_DIRECT_SEG_REFS.
18688
d62a8200
UD
186892011-11-15 Ulrich Drepper <drepper@gmail.com>
18690
9d65ea3a 18691 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18692 O_CLOEXEC.
18693 * locale/loadlocale.c (_nl_load_locale): Likewise.
18694
09f93bd3
AS
186952011-11-15 Andreas Schwab <schwab@redhat.com>
18696
446514f9
AS
18697 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18698 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18700 (SYSCALL_GETTIME): Set errno on error.
18701
09f93bd3
AS
18702 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18703 count references to noai6ai_cached.
18704
312be3f9
UD
187052011-11-15 Ulrich Drepper <drepper@gmail.com>
18706
18707 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18708
18709 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18710 FD_CLOEXEC for /proc/self/maps.
18711
18712 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18713 FD_CLOEXEC for /proc/meminfo.
18714
18715 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18716 gai.conf.
18717
18718 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18719 FD_CLOEXEC for given file.
18720
18721 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18722
18723 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18724 FD_CLOEXEC for /etc/hosts.
18725 (_gethtent): Likewise.
18726
18727 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18728
18729 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18730 cancellation and set FD_CLOEXEC for /etc/netgroup.
18731
18732 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18733 reading /etc/publickey.
18734
18735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18736 allow cancellation when reading /etc/group.
18737
18738 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18739 cancellation.
18740 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18741
18742 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18743 when using data file.
18744
18745 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18746
18747 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18748 (write_nis_obj): Use "c" and "e" in fopen.
18749
18750 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18751
18752 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18753
18754 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18755
18756 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18757
18758 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18759 locale.alias.
18760
18761 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18762
18763 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18764
18765 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18766
18767 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18768 file parsing and set FD_CLOEXEC.
18769
82af0fa8
UD
187702011-11-14 Ulrich Drepper <drepper@gmail.com>
18771
18772 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18773
a5fb313c
AS
187742011-11-14 Andreas Schwab <schwab@redhat.com>
18775
18776 * malloc/arena.c (arena_get2): Don't call reused_arena when
18777 _int_new_arena failed.
18778
6abf3465
UD
187792011-11-14 Ulrich Drepper <drepper@gmail.com>
18780
18781 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18782 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18786 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18787 to compile strcasecmp and strncasecmp.
18788 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18789 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18790
18791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18792
76e3966e
UD
187932011-11-13 Ulrich Drepper <drepper@gmail.com>
18794
18795 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18796 locale-defines.sym to gen-as-const-headers.
18797 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18798 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18800 to compile strcasecmp and strncasecmp.
18801 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18802 strcasecmp_l and strncasecmp_l.
18803 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18804 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18805 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18806 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18807 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18808 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18809 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18810 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18811 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18812 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18813 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18814
ab26144e
UD
188152011-11-12 Ulrich Drepper <drepper@gmail.com>
18816
7edb22ef
UD
18817 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18818 result of SYSDEP_GETTIME_CPU to retval.
18819 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18820 parameter list to macro. Remove trailing semicolon. Adjust users.
18821
9694fc44
UD
18822 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18823 variable.
18824
8ad89ef8
UD
18825 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18826 mantissa words.
18827 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18828
0c822ef9
UD
18829 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18830 from unused variable.
18831
874e0564
UD
18832 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18833 DWARF definitions.
18834 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18835 for assembling.
18836
3a2edc79
UD
18837 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18838 over namespaces.
18839
f3c2577f
UD
18840 * sunrpc/rpc_prot.c (rejected): Fix case value.
18841
294ce126
UD
18842 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18843 unsigned long long int to avoid warnings in shift.
18844
5e2b63c6
UD
18845 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18846 of use of trans.
18847 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18848 variable tmp.
18849
e7f4b08e
UD
18850 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18851 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18852 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18853
ab26144e
UD
18854 * nis/nis_table.c (nis_list): Use variable of correct type for
18855 result of __follow_path call.
18856
8a6d5255
AZ
188572011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18858
18859 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18860 of math functions ceil, trunc, floor, round, and sqrt, when
18861 avaliable on the platform.
18862 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18863 name clash.
18864 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18865 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18866 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18867
aaddc98c
MP
188682011-10-30 Marek Polacek <mpolacek@redhat.com>
18869
18870 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18871 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18872
95b7042b
RM
188732011-11-11 Roland McGrath <roland@hack.frob.com>
18874
18875 * include/unistd.h: Fix __readlink return type.
18876 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18877
57769839
UD
188782011-11-11 Ulrich Drepper <drepper@gmail.com>
18879
18880 * stdlib/ucontext.h: Undo last change for makecontext.
18881
edc5984d
AS
188822011-11-11 Andreas Schwab <schwab@redhat.com>
18883
98591e58
AS
18884 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18885
edc5984d
AS
18886 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18887 * setjmp/setjmp.h: Mark functions as non-leaf.
18888 * setjmp/bits/setjmp2.h: Likewise.
18889 * stdlib/ucontext.h: Likewise.
18890
77cdc054
AS
188912011-11-10 Andreas Schwab <schwab@redhat.com>
18892
18893 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18894 (reused_arena): Don't check arena limit.
18895 (arena_get2): Atomically check arena limit.
18896
fe72eebd
UD
188972011-11-08 Ulrich Drepper <drepper@gmail.com>
18898
5f078c32
UD
18899 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18900 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18901
fe72eebd
UD
18902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18903 instructions.
18904
ae1bc2fa
AS
189052011-11-07 Andreas Schwab <schwab@redhat.com>
18906
7583a88d
AS
18907 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18908 handler when locking.
18909
ae1bc2fa
AS
18910 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18911 Fix size of allocated buffer.
18912
10fb0bfa
AS
189132011-11-04 Andreas Schwab <schwab@redhat.com>
18914
998832a4
AS
18915 [BZ #10103]
18916 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18917 declarations for long double functions.
18918 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18919
10fb0bfa
AS
18920 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18921
3d7ba52b
AS
189222011-11-03 Andreas Schwab <schwab@redhat.com>
18923
a9ae54a1
AS
18924 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18925 installed.
18926
3d7ba52b
AS
18927 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18928 is disabled.
18929
bc8db248
ST
189302011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18931
18932 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18933
45b96dd6
AS
189342011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18935
647776f6
AS
18936 * include/alloca.h (stackinfo_alloca_round): Define.
18937 (extend_alloca): Use it.
18938 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18939 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18940 here.
18941
d91a8b93
AS
18942 * scripts/check-local-headers.sh: Ignore libaudit.h.
18943
45b96dd6
AS
18944 * nscd/Makefile (extra-objs): Make recursively expanded.
18945
432d41ce
UD
189462011-11-01 Ulrich Drepper <drepper@gmail.com>
18947
34372fc6
UD
18948 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18950
fadb59f8
UD
18951 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18952 * posix/tst-rfc3484-2.c: Likewise.
18953 * posix/tst-rfc3484-3.c: Likewise.
18954
78239589
UD
18955 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18956 process_vm_writev.
18957 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18958 process_vm_writev.
18959 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18960 process_vm_writev from libc using GLIBC_2.15 version.
18961
432d41ce
UD
18962 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18963
02f9c6cf
PP
189642011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18965
18966 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18967 stack usage.
18968
3a2c0242
UD
189692011-10-31 Ulrich Drepper <drepper@gmail.com>
18970
f4ec4833
UD
18971 [BZ #13367]
18972 * nss/getent.c (initgroups_keys): Show error message in case no group
18973 names are given.
18974
3a2c0242
UD
18975 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18976 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18977 __bump_nl_timestamp.
18978 * nscd/connections (nscd_init): When host database is served open
18979 netlink socket and request notification about configuration changes.
18980 (main_loop_poll): Track netlink file descriptor and bump timestamp
18981 in case data becomes available.
18982 (main_loop_epoll): Likewise.
18983 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18984 (database_pers_head): Add extra_data fileds.
18985 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18986 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18987 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18988 Adjust caller.
18989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18990 in6ai data, call __free_in6ai.
18991 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18992 Add -DHAVE_NETLINK.
18993 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18994 interface information. Reuse previous data if netlink timestamp
18995 is not changed.
18996 (__bump_nl_timestamp): New function.
18997 (__free_in6ai): New function.
18998
636064eb
UD
189992011-10-30 Ulrich Drepper <drepper@gmail.com>
19000
19001 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19002 close_not_cancel_no_status here.
19003 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19004
9beb2334
UD
190052011-10-29 Ulrich Drepper <drepper@gmail.com>
19006
6ef76f3b
UD
19007 [BZ #13276]
19008 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19009 return value.
19010
0ffc4f3e 19011 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19012 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19013 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19014
cb95113e
UD
190152011-07-03 Andreas Jaeger <aj@suse.de>
19016
19017 [BZ #10709]
19018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19019 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19020 * math/libm-test.inc (sin_test): Add test case.
19021
a1b560ff
UD
190222011-10-29 Ulrich Drepper <drepper@gmail.com>
19023
c9aaface
UD
19024 [BZ #13337]
19025 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19026 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19027
d272e7f1
UD
19028 * elf/chroot_canon.c (chroot_canon): Cleanups.
19029
1bc33071
UD
19030 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19031
1760874d
TJ
19032 [BZ #13335]
19033 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19034 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19035
51d91b18
UD
19036 * string/test-strchr.c: Make usable for strchrnul testing.
19037 * string/test-strchrnul.c: New file.
19038 * string/Makefile (strop-tests): Add strchrnul.
19039
a1b560ff 19040 * po/it.po: Update from translation team.
b611fb81 19041 * po/es.po: Likewise.
a1b560ff 19042
a5b81e1f
UD
190432011-10-28 Ulrich Drepper <drepper@gmail.com>
19044
fd52bc6d
UD
19045 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19046 the three constants needed as parameters. Drop the others.
19047 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19048 __m128i_strloadu_tolower.
52e4b9eb
UD
19049 Create and initialize variable zero and use it in all the places
19050 where _mm_setzero_si128 was used.
fd52bc6d 19051
a5b81e1f
UD
19052 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19053 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19054 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19055 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19056 anymore.
19057 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19058 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19059 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19060 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19061 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19062 __mpranred, __mptan.
19063 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19064 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19065 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19066 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19067 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19068 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19070 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19071 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19072
b4343346
AS
190732011-10-28 Andreas Schwab <schwab@redhat.com>
19074
0c92d8a8
AS
19075 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19076 redefine if SHARED.
19077 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19078
b4343346
AS
19079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19080 wide char related routines to wcsmbs subdir.
19081
3871f58f
AS
190822011-10-27 Andreas Schwab <schwab@redhat.com>
19083
19084 [BZ #13344]
19085 * misc/sys/cdefs.h (__THROWNL): Define.
19086 * posix/unistd.h: Use __THREADNL instead of __THREAD
19087 for memory synchronization functions.
19088
94d44d9f
RM
190892011-10-26 Roland McGrath <roland@hack.frob.com>
19090
21b64b15 19091 [BZ #13349]
94d44d9f
RM
19092 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19093 doesn't exist.
19094 * manual/stdio.texi (Obstack Streams): Node removed.
19095
f6ce9294
AS
190962011-10-26 Andreas Schwab <schwab@redhat.com>
19097
80479147
AS
19098 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19099 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19100 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19101
f6ce9294
AS
19102 * math/math_private.h (math_force_eval): Allow non-addressable
19103 arguments.
19104 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19105
618280a1
UD
191062011-10-25 Ulrich Drepper <drepper@gmail.com>
19107
e0016b11
UD
19108 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19109 file is not needed.
19110
19111 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19114 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19115 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19116 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19117 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19118 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19119 Add AVX variants.
19120 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19121 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19122 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19123 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19124 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19125 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19126 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19127 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19128 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19129 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19130 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19131 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19132 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19133 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19134 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19135 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19136 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19137 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19138 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19139
19140 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19141 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19142
618280a1
UD
19143 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19144 place. Use VEX encoding when compiling for AVX.
19145
37822576
AS
191462011-10-25 Andreas Schwab <schwab@redhat.com>
19147
1f1e1947
AS
19148 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19149 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19150
37822576
AS
19151 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19152
31ea014d
UD
191532011-10-25 Ulrich Drepper <drepper@gmail.com>
19154
d7826aa1 19155 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19156 useless if() expression.
d7826aa1
UD
19157 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19158 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19159 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19161 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19162 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19163 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19164 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19167 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19168 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19169 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19170 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19171 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19172 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19173 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19175 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19176
31ea014d
UD
19177 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19178
16437fec
AS
191792011-10-25 Andreas Schwab <schwab@redhat.com>
19180
19181 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19182 condition.
19183 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19184
31d3cc00
UD
191852011-10-25 Ulrich Drepper <drepper@gmail.com>
19186
19187 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19188 .text section. Avoid duplicate constants.
19189 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19199 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19201 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19204 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19206 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19212 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19213 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19214 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19215 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19216 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19218 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19219 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19220 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19221 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19222 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19223 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19224 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19225 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19227 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19228 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19229 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19230 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19231 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19232 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19233 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19234
58985aa9
UD
192352011-10-24 Ulrich Drepper <drepper@gmail.com>
19236
202c9deb
UD
19237 * sysdeps/x86_64/dla.h: Move to ...
19238 * sysdeps/x86_64/fpu/dla.h: ...here.
19239 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19240 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19241
af968f62
UD
19242 * config.make.in: Add have-mfma4 entry.
19243 * configure.in: Substitute libc_cv_cc_fma4.
19244 * math/Makefile (dbl-only-routines): Add sincostab.
19245 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19246 Use __sincostab not sincos.
19247 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19248 name is a macro.
19249 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19253 using __copysign.
19254 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19255 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19256 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19257 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19258 and __inv.
19259 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19260 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19261 __copysign.
19262 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19263 define aliases when function name is a macro.
19264 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19265 sysdeps/ieee754/dbl-64/sincos.tbl.
19266 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19267 fma4-enabled routines.
19268 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19269 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19270 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19271 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19272 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19273 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19274 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19276 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19277 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19278 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19279 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19280 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19281 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19283 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19284 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19285 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19286 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19288 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19289 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19290 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19291 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19292 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19295 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19296 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19297 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19298
58985aa9
UD
19299 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19300 rename.
19301 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19309
a201fbcf
AS
193102011-10-24 Andreas Schwab <schwab@redhat.com>
19311
19312 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19313
fc2ee42a
LD
193142011-10-23 Ulrich Drepper <drepper@gmail.com>
19315
bb3129bd
UD
19316 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19317
0275fff8
UD
19318 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19319 prediction.
19320 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19321
2fa2ae85
UD
19322 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19323 Remove unused variable magic_bits.
19324 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19325
fc2ee42a
LD
19326 * string/strnlen.c: Define and use STRNLEN macro.
19327 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19328 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19329 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19330 * wcsmbs/wcslen.c: Define and use WCSLEN.
19331 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19332 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19333 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19334 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19335 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19336 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19337 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19338
ce7dd29f
LD
193392011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19340
19341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19342 strnlen-sse2-no-bsf.
19343 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19344 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19345 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19346 Add strnlen support.
19347 (USE_AS_STRNLEN): New macro.
19348 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19349 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19350 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19351 * sysdeps/x86_64/wcslen.S: New file.
19352
979c70a3
MZ
193532011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19354
19355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19356 XMM-moves are used for copying on small sizes.
19357
2d09f82f
LD
193582011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19359
19360 * wcsmbs/Makefile (strop-tests): Add wcschr.
19361 * wcsmbs/test-wcschr.c: New file.
19362 * string/test-strchr.c: Update.
19363 Add wcschr support.
19364 (WIDE): New macro.
19365
619fccca
LD
193662011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19367
2d09f82f 19368 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19369 * wcsmbs/test-wcslen.c: New file.
19370 * string/test-strlen.c: Update.
19371 Add wcslen support.
19372 (WIDE): New macro.
19373
09f699ea
UD
193742011-10-23 Ulrich Drepper <drepper@gmail.com>
19375
19376 * po/it.po: Update from translation team.
19377
95584d3b
LD
193782011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19379
19380 * sysdeps/x86_64/wcscmp.S: Update.
19381 Fix wrong comparison semantics.
19382 wcscmp shall use signed comparison not unsigned.
19383 Don't use substraction to avoid overflow bug.
19384 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19385 * wcsmbc/wcscmp.c: Likewise.
19386 * string/test-strcmp.c: Likewise.
19387 Add new tests to check cases with negative values.
19388
c8b3296b
UD
193892011-10-23 Ulrich Drepper <drepper@gmail.com>
19390
19391 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19392 * sysdeps/x86_64/dla.h: ...here. New file.
19393 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19402
246ad57a
AS
194032011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19404
19405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19406 __ynl_finite aliases.
19407
a1a87169
UD
194082011-10-22 Ulrich Drepper <drepper@gmail.com>
19409
0d355eb7
UD
19410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19411
a1a87169
UD
19412 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19413 define DLA_FMA.
19414 [DLA_FMA] (EMULV): Use DLA_FMA.
19415 [DLA_FMA] (MUL12): Use EMULV.
19416 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19417 that are not needed.
19418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19425
ee2aafe0
AS
194262011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19427
19428 * math/s_nan.c: Undef __nan.
19429 * math/s_nanf.c: Undef __nanf.
19430 * math/s_nanl.c: Undef __nanl.
19431 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19432 "math_private.h".
19433
bc62c2fb
UD
194342011-10-22 Ulrich Drepper <drepper@gmail.com>
19435
77425c63
UD
19436 * math/s_catan.c: Add branch predictions.
19437 * math/s_catanf.c: Likewise.
19438 * math/s_catanh.c: Likewise.
19439 * math/s_catanhf.c: Likewise.
19440 * math/s_catanhl.c: Likewise.
19441 * math/s_catanl.c: Likewise.
19442 * math/s_cexp.c: Likewise.
19443 * math/s_cexpf.c: Likewise.
19444 * math/s_cexpl.c: Likewise.
19445 * math/s_clog.c: Likewise.
19446 * math/s_clog10.c: Likewise.
19447 * math/s_clog10f.c: Likewise.
19448 * math/s_clog10l.c: Likewise.
19449 * math/s_clogf.c: Likewise.
19450 * math/s_clogl.c: Likewise.
19451 * math/s_csqrt.c: Likewise.
19452 * math/s_csqrtf.c: Likewise.
19453 * math/s_csqrtl.c: Likewise.
19454 * math/s_ctanf.c: Likewise.
19455 * math/s_ctanh.c: Likewise.
19456 * math/s_ctanhf.c: Likewise.
19457 * math/s_ctanhl.c: Likewise.
19458 * math/s_ctanl.c: Likewise.
19459
bc62c2fb
UD
19460 * math/math_private.h: Define __nan, __nanf, __nanl.
19461 * math/s_cacosh.c: Include <math_private.h>.
19462 * math/s_cacoshl.c: Likewise.
19463 * math/s_casinh.c: Likewise.
19464 * math/s_casinhf.c: Likewise.
19465 * math/s_casinhl.c: Likewise.
19466 * math/s_ccos.c: Rely entire on ccosh.
19467 * math/s_ccosf.c: Rely entire on ccoshf.
19468 * math/s_ccosl.c: Rely entirely on ccoshl.
19469 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19470 Remove tests for FE_INVALID.
19471 * math/s_ccoshf.c: Likewise.
19472 * math/s_ccoshl.c: Likewise.
19473 * math/s_csin.c: Likewise.
19474 * math/s_csinf.c: Likewise.
19475 * math/s_csinh.c Likewise.
19476 * math/s_csinhf.c: Likewise.
19477 * math/s_csinhl.c: Likewise.
19478 * math/s_csinl.c: Likewise.
19479 * math/s_ctan.c: Likewise.
19480 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19481 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19482 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19483
8ec250a4
UD
194842011-10-21 Ulrich Drepper <drepper@gmail.com>
19485
c196fed8
UD
19486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19487 compilation problems.
19488
8ec250a4
UD
19489 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19490 __builtin_expect.
19491
8d4f46c6
UD
194922011-10-20 Ulrich Drepper <drepper@gmail.com>
19493
ed72b654
UD
19494 * sysdeps/i386/configure.in: Test for -mfma4 option.
19495 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19496 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19497 COMMON_CPUID_INDEX_80000001.
19498 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19499 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19500 use it if FMA3 is not supported.
19501 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19502
8d4f46c6
UD
19503 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19504 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19505
d45c60c2
AS
195062011-10-20 Andreas Schwab <schwab@redhat.com>
19507
19508 [BZ #12892]
19509 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19510 it would create a cycle with a link time dependency.
19511
d9a4d2ab
UD
195122011-10-19 Ulrich Drepper <drepper@gmail.com>
19513
855d1560
UD
19514 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19515 instruction.
19516 * string/Makefile (strop-tests): Add rawmemchr.
19517 * string/test-rawmemchr.c: New file.
19518
d9a4d2ab
UD
19519 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19520 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19521 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19522 when compiling str{,n}casecmp and when AVX is available. Hook up
19523 new optimized code in initializers.
19524
8f3b1ffe
AS
195252011-10-19 Andreas Schwab <schwab@redhat.com>
19526
19527 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19528 __feraiseexcept instead of feraiseexcept.
19529
d38f1dba
UD
195302011-10-18 Ulrich Drepper <drepper@gmail.com>
19531
d9a8d0ab
UD
19532 * math/math_private.h: Define defaults for libc_fetestexcept and
19533 libc_feupdateenv.
19534 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19535 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19536 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19537 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19538 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19539 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19540 libc_fetestexcept and libc_feupdateenv.
19541
4855e3dd
UD
19542 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19543 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19544 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19545 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19546 libc_feholdexcept_setround.
19547
581d30e3
UD
19548 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19549 Add s_nearbyint-c and s_nearbyintf-c.
19550 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19551 nearbyintf inlines.
19552 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19553 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19554 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19555 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19556
d38f1dba
UD
19557 * math/math_private.h: Define defaults for libc_fegetround,
19558 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19559 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19560 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19561 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19562 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19563 standard functions.
19564 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19565 Remove comments and hacks for old compiler versions.
19566 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19567 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19568 libc_feholdexceptl.
19569
caa6c9d8
AS
195702011-10-18 Andreas Schwab <schwab@redhat.com>
19571
19572 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19573 (__feraiseexcept_renamed): Add __NTH.
19574 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19575 namespace violations.
19576
97c066e6
UD
195772011-10-17 Ulrich Drepper <drepper@gmail.com>
19578
99ce7b04
UD
19579 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19580
1004d182
UD
19581 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19582
228a984d
UD
19583 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19584 recently added interfaces.
19585 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19586
c8553a6a
UD
19587 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19588 about macro parameter expansion.
19589
ed22dcf6
UD
19590 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19591 __NO_MATH_INLINES is defined. Cleanups.
19592
19593 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19594 and __floorf is target has SSE4.1.
19595 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19596 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19597 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19598 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19599
b171c137
UD
19600 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19601 name.
19602 (floorf): Likewise.
19603
97c066e6
UD
19604 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19605
629f62ef
AS
196062011-10-17 Andreas Schwab <schwab@redhat.com>
19607
49a43d80
AS
19608 * misc/sys/cdefs.h: Fix last change.
19609
629f62ef
AS
19610 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19611 database lookup.
19612
e453f6cd
UD
196132011-10-16 Ulrich Drepper <drepper@gmail.com>
19614
aa78043a
UD
19615 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19616
ad0f5cad
UD
19617 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19618 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19619 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19620 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19623 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19624 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19625 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19626 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19627 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19628 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19629 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19630 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19631 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19632 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19633 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19634 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19635 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19636 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19637 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19638 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19639
19640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19641 ceil, ceilf, floor, floorf.
19642
19643 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19644 Perform IRELATIVE relocations last.
19645
e453f6cd
UD
19646 * elf/do-rel.h: Add another parameter nrelative, replacing the
19647 local variable with the same name. Change name of the function
19648 to end in Rel or Rela (uppercase).
19649 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19650 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19651 elf_dynamic_do_##reloc function.
19652
fd5bdc09
UD
196532011-10-15 Ulrich Drepper <drepper@gmail.com>
19654
79b195b5
UD
19655 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19656 is sufficient, at least on modern CPUs.
19657
d4a28569
UD
19658 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19659
b61099b5
UD
19660 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19661 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19662
bcf01e6d
UD
19663 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19664 __expl_finite.
19665 * math/bits/math-finite.h: Add entries for exp.
19666 * math/e_expl.c: Add __*_finite alias.
19667 * sysdeps/i386/fpu/e_exp.S: Likewise.
19668 * sysdeps/i386/fpu/e_expf.S: Likewise.
19669 * sysdeps/i386/fpu/e_expl.c: Likewise.
19670 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19671 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19672 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19674 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19675 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19676 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19677
ba1a0d59
UD
19678 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19679 is sufficient, at least on modern CPUs.
19680
fd5bdc09
UD
19681 * ctype/ctype-info.c (__ctype_init): Define.
19682 * include/ctype.h (__ctype_init): Declare.
19683 (__ctype_b_loc): The variable is always initialized.
19684 (__ctype_toupper_loc): Likewise.
19685 (__ctype_tolower_loc): Likewise.
19686 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19687 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19688
7872cfb0
AS
196892011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19690
b468825a
AS
19691 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19692
7872cfb0
AS
19693 * configure.in: Also look in $cxxmachine/include for C++ system
19694 headers.
19695
be13f7bf
LD
196962011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19697
19698 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19699 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19700 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19701 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19703 (USE_AS_WMEMCMP): New macro.
19704 Fixing indents.
19705 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19706 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19707 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19708 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19709 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19710 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19711 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19712 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19713 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19714 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19715 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19716 (USE_AS_WMEMCMP): New macro.
19717 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19718 * sysdeps/string/test-memcmp.c: Update.
19719 Fix simple_wmemcmp.
19720 Add new tests.
19721 * wcsmbs/wmemcmp.c: Update.
19722 (WMEMCMP): New macro.
19723 Fix overflow bug.
19724
556a2007
AJ
197252011-10-12 Andreas Jaeger <aj@suse.de>
19726
19727 [BZ #13268]
19728 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19729
538faaa7
UD
197302011-10-15 Ulrich Drepper <drepper@gmail.com>
19731
ab6737ff
UD
19732 * libio/iofwide.c (do_length): Avoid warning.
19733
538faaa7
UD
19734 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19735
396a21b1
UD
197362011-10-14 Ulrich Drepper <drepper@gmail.com>
19737
cdf2901f
UD
19738 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19739
38ad40ce
UD
19740 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19741 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19742 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19743 * sysdeps/i386/i686/fpu/e_log.S: New file.
19744 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19745 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19746
396a21b1
UD
19747 * ctype/ctype.h: Add support for inlined isXXX functions when
19748 compiling C++ code.
19749
6b1f68c9
AS
197502011-10-14 Andreas Schwab <schwab@redhat.com>
19751
349290c0
AS
19752 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19753
6b1f68c9
AS
19754 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19755
f2282d42
RM
197562011-10-13 Roland McGrath <roland@hack.frob.com>
19757
19758 [BZ #13291]
19759 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19760
5298ffa8
AS
197612011-10-13 Andreas Schwab <schwab@redhat.com>
19762
714fad23
AS
19763 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19764 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19765 feraiseexcept.
19766
81dcc7fb
AS
19767 * sysdeps/x86_64/memrchr.S: Check for zero size.
19768
5298ffa8
AS
19769 * string/stratcliff.c: Add memrchr tests.
19770
951fbcec
LD
197712011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19772
19773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19774 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19775 rawmemchr-sse2 rawmemchr-sse2-bsf.
19776 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19777 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19778 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19779 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19780 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19781 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19782 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19783 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19784 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19785 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19786 * string/memrchr.c (MEMRCHR): New macro.
19787
0ac5ae23
UD
197882011-10-12 Ulrich Drepper <drepper@gmail.com>
19789
19790 Add integration with gcc's -ffinite-math-only and optimize wrapper
19791 functions in libm.
19792 * Versions.def: Define GLIBC_2.15 version for libm.
19793 * math/Makefile (headers): Add bits/math-finite.h.
19794 * math/bits/math-finite.h: New file.
19795 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19796 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19797 * math/e_acoshl.c: Add __*_finite alias.
19798 * math/e_acosl.c: Likewise.
19799 * math/e_asinl.c: Likewise.
19800 * math/e_atan2l.c: Likewise.
19801 * math/e_atanhl.c: Likewise.
19802 * math/e_coshl.c: Likewise.
19803 * math/e_exp10.c: Likewise.
19804 * math/e_exp10f.c: Likewise.
19805 * math/e_exp10l.c: Likewise.
19806 * math/e_exp2l.c: Likewise.
19807 * math/e_fmodl.c: Likewise.
19808 * math/e_gammal_r.c: Likewise.
19809 * math/e_hypotl.c: Likewise.
19810 * math/e_j0l.c: Likewise.
19811 * math/e_j1l.c: Likewise.
19812 * math/e_jnl.c: Likewise.
19813 * math/e_lgammal_r.c: Likewise.
19814 * math/e_log10l.c: Likewise.
19815 * math/e_log2l.c: Likewise.
19816 * math/e_logl.c: Likewise.
19817 * math/e_powl.c: Likewise.
19818 * math/e_sinhl.c: Likewise.
19819 * math/e_sqrtl.c: Likewise.
19820 * math/e_scalb.c: Completely rewritten and optimized.
19821 * math/e_scalbf.c: Likewise.
19822 * math/e_scalbl.c: Likewise.
19823 * math/w_acos.c: Likewise.
19824 * math/w_acosf.c: Likewise.
19825 * math/w_acosl.c: Likewise.
19826 * math/w_acosh.c: Likewise.
19827 * math/w_acoshf.c: Likewise.
19828 * math/w_acoshl.c: Likewise.
19829 * math/w_asin.c: Likewise.
19830 * math/w_asinf.c: Likewise.
19831 * math/w_asinl.c: Likewise.
19832 * math/w_atan2.c: Likewise.
19833 * math/w_atan2f.c: Likewise.
19834 * math/w_atan2l.c: Likewise.
19835 * math/w_atanh.c: Likewise.
19836 * math/w_atanhf.c: Likewise.
19837 * math/w_atanhl.c: Likewise.
19838 * math/w_exp10.c: Likewise.
19839 * math/w_exp10f.c: Likewise.
19840 * math/w_exp10l.c: Likewise.
19841 * math/w_fmod.c: Likewise.
19842 * math/w_fmodf.c: Likewise.
19843 * math/w_fmodl.c: Likewise.
19844 * math/w_j0.c: Likewise.
19845 * math/w_j0f.c: Likewise.
19846 * math/w_j0l.c: Likewise.
19847 * math/w_j1.c: Likewise.
19848 * math/w_j1f.c: Likewise.
19849 * math/w_j1l.c: Likewise.
19850 * math/w_jn.c: Likewise.
19851 * math/w_jnf.c: Likewise.
19852 * math/w_log.c: Likewise.
19853 * math/w_logf.c: Likewise.
19854 * math/w_logl.c: Likewise.
19855 * math/w_log10.c: Likewise.
19856 * math/w_log10f.c: Likewise.
19857 * math/w_log10l.c: Likewise.
19858 * math/w_log2.c: Likewise.
19859 * math/w_log2f.c: Likewise.
19860 * math/w_log2l.c: Likewise.
19861 * math/w_pow.c: Likewise.
19862 * math/w_powf.c: Likewise.
19863 * math/w_powl.c: Likewise.
19864 * math/w_remainder.c: Likewise.
19865 * math/w_remainderf.c: Likewise.
19866 * math/w_remainderl.c: Likewise.
19867 * math/w_scalb.c: Likewise.
19868 * math/w_scalbf.c: Likewise.
19869 * math/w_scalbl.c: Likewise.
19870 * math/w_sqrt.c: Likewise.
19871 * math/w_sqrtf.c: Likewise.
19872 * math/w_sqrtl.c: Likewise.
19873 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19874 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19875 used.
19876 * math/math_private.h: Declare __kernel_standard_f.
19877 * math/w_cosh.c: Remove cruft and optimize a bit.
19878 * math/w_coshf.c: Likewise.
19879 * math/w_coshl.c: Likewise.
19880 * math/w_exp2.c: Likewise.
19881 * math/w_exp2f.c: Likewise.
19882 * math/w_exp2l.c: Likewise.
19883 * math/w_hypot.c: Likewise.
19884 * math/w_hypotf.c: Likewise.
19885 * math/w_hypotl.c: Likewise.
19886 * math/w_lgamma.c: Likewise.
19887 * math/w_lgamma_r.c: Likewise.
19888 * math/w_lgammaf.c: Likewise.
19889 * math/w_lgammaf_r.c: Likewise.
19890 * math/w_lgammal.c: Likewise.
19891 * math/w_lgammal_r.c: Likewise.
19892 * math/w_sinh.c: Likewise.
19893 * math/w_sinhf.c: Likewise.
19894 * math/w_sinhl.c: Likewise.
19895 * math/w_tgamma.c: Likewise.
19896 * math/w_tgammaf.c: Likewise.
19897 * math/w_tgammal.c: Likewise.
19898 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19899 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19900 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19901 Minor optimizations. Pretty printing. Remove cruft.
19902 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19903 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19904 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19905 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19906 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19907 * sysdeps/i386/fpu/e_asin.S: Likewise.
19908 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19909 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19910 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19911 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19912 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19913 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19914 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19915 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19916 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19917 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19918 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19919 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19920 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19921 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19922 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19923 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19924 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19925 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19926 * sysdeps/i386/fpu/e_log.S: Likewise.
19927 * sysdeps/i386/fpu/e_log10.S: Likewise.
19928 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19930 * sysdeps/i386/fpu/e_log2.S: Likewise.
19931 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19932 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19933 * sysdeps/i386/fpu/e_logf.S: Likewise.
19934 * sysdeps/i386/fpu/e_logl.S: Likewise.
19935 * sysdeps/i386/fpu/e_pow.S: Likewise.
19936 * sysdeps/i386/fpu/e_powf.S: Likewise.
19937 * sysdeps/i386/fpu/e_powl.S: Likewise.
19938 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19939 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19940 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19941 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19943 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19944 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19945 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19946 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19960 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19968 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19971 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19972 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19973 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19974 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19975 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19976 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19977 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19978 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19979 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19981 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19982 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19983 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19984 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19985 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19986 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19987 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19988 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19989 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19990 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19994 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19995 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19998 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19999 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20000 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20002 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20003 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20005 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20006 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20007 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20013 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20014 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20015 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20016 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20018 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20019 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20023 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20025 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20027 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20028 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20029 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20030 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20031 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20032 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20033 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20034 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20035 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20038 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20039 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20040 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20042 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20043 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20044 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20045 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20046 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20047 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20048 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20049 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20050 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20051 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20052 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20053 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20055 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20056 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20057 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20058 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20059 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20060 (__isnanf): Likewise.
20061 (__isinf_ns): Likewise.
20062 (__isinf_nsf): Likewise.
20063 (__finite): Likewise.
20064 (__finitef): Likewise.
20065 (__ieee754_sqrt): Define as macro.
20066 (__ieee754_sqrtf): Define as macro.
20067 (__ieee754_sqrtl): Define as macro.
20068 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20069 inlined copy.
20070 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20071 __FINITE_MATH_ONLY__ consistent.
20072 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20073
12cc2fcd
AS
200742011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20075
a843a204
AS
20076 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20077 of rawmemchr.
20078
12cc2fcd
AS
20079 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20080
c853acd5
UD
200812011-10-09 Ulrich Drepper <drepper@gmail.com>
20082
20083 * po/ja.po: Update from translation team.
20084
c658d255
RM
200852011-10-08 Roland McGrath <roland@hack.frob.com>
20086
110946e4
RM
20087 * locale/programs/locarchive.c (prepare_address_space): New function.
20088 (create_archive, enlarge_archive, open_archive): Use it.
20089
50604220
RM
20090 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20091 inside [SHARED], where it is used.
20092
c658d255
RM
20093 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20094
20095 * nss/getent.c (netgroup_keys): Remove unused variable.
20096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20097
6a621eb7
UD
200982011-10-08 Ulrich Drepper <drepper@gmail.com>
20099
7edb55ce
UD
20100 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20101 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20103 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20104 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20105 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20106 * math/Makefile (libm-calls): Add s_isinf_ns.
20107 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20108 * math/multc3.c: Likewise.
20109 * math/s_casin.c: Likewise.
20110 * math/s_casinf.c: Likewise.
20111 * math/s_casinl.c: Likewise.
20112 * math/s_ccos.c: Likewise.
20113 * math/s_ccosf.c: Likewise.
20114 * math/s_ccosl.c: Likewise.
20115 * math/s_ctan.c: Likewise.
20116 * math/s_ctanf.c: Likewise.
20117 * math/s_ctanh.c: Likewise.
20118 * math/s_ctanhf.c: Likewise.
20119 * math/s_ctanhl.c: Likewise.
20120 * math/s_ctanl.c: Likewise.
20121 * math/w_fmod.c: Likewise.
20122 * math/w_fmodf.c: Likewise.
20123 * math/w_fmodl.c: Likewise.
20124 * math/w_remainder.c: Likewise.
20125 * math/w_remainderf.c: Likewise.
20126 * math/w_remainderl.c: Likewise.
20127 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20128 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20130 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20131 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20132 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20133 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20134 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20135
187da0ae
UD
20136 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20137 of the number.
20138 * stdio-common/printf_fphex.c: Likewise.
20139 * stdio-common/printf_size.c: Likewise.
20140
9277c064
UD
20141 * math/e_exp10.c: Include math_private.h using <...> not "...".
20142 * math/e_exp10f.c: Likewise.
20143 * math/e_exp10l.c: Likewise.
20144 * math/e_exp2l.c: Likewise.
20145 * math/e_j0l.c: Likewise.
20146 * math/e_j1l.c: Likewise.
20147 * math/e_jnl.c: Likewise.
20148 * math/e_lgammal_r.c: Likewise.
20149 * math/e_rem_pio2l.c: Likewise.
20150 * math/e_scalb.c: Likewise.
20151 * math/e_scalbf.c: Likewise.
20152 * math/e_scalbl.c: Likewise.
20153 * math/k_cosl.c: Likewise.
20154 * math/k_sinl.c: Likewise.
20155 * math/k_tanl.c: Likewise.
20156 * math/s_cacoshf.c: Likewise.
20157 * math/s_catan.c: Likewise.
20158 * math/s_catanf.c: Likewise.
20159 * math/s_catanh.c: Likewise.
20160 * math/s_catanhf.c: Likewise.
20161 * math/s_catanhl.c: Likewise.
20162 * math/s_catanl.c: Likewise.
20163 * math/s_ccosh.c: Likewise.
20164 * math/s_ccoshf.c: Likewise.
20165 * math/s_ccoshl.c: Likewise.
20166 * math/s_cexp.c: Likewise.
20167 * math/s_cexpf.c: Likewise.
20168 * math/s_cexpl.c: Likewise.
20169 * math/s_clog.c: Likewise.
20170 * math/s_clog10.c: Likewise.
20171 * math/s_clog10f.c: Likewise.
20172 * math/s_clog10l.c: Likewise.
20173 * math/s_clogf.c: Likewise.
20174 * math/s_clogl.c: Likewise.
20175 * math/s_csin.c: Likewise.
20176 * math/s_csinf.c: Likewise.
20177 * math/s_csinh.c: Likewise.
20178 * math/s_csinhf.c: Likewise.
20179 * math/s_csinhl.c: Likewise.
20180 * math/s_csinl.c: Likewise.
20181 * math/s_csqrt.c: Likewise.
20182 * math/s_csqrtf.c: Likewise.
20183 * math/s_csqrtl.c: Likewise.
20184 * math/s_ctan.c: Likewise.
20185 * math/s_ctanf.c: Likewise.
20186 * math/s_ctanh.c: Likewise.
20187 * math/s_ctanhf.c: Likewise.
20188 * math/s_ctanhl.c: Likewise.
20189 * math/s_ctanl.c: Likewise.
20190 * math/s_ldexp.c: Likewise.
20191 * math/s_ldexpf.c: Likewise.
20192 * math/s_ldexpl.c: Likewise.
20193 * math/s_significand.c: Likewise.
20194 * math/s_significandf.c: Likewise.
20195 * math/s_significandl.c: Likewise.
20196 * math/w_acos.c: Likewise.
20197 * math/w_acosf.c: Likewise.
20198 * math/w_acosh.c: Likewise.
20199 * math/w_acoshf.c: Likewise.
20200 * math/w_acoshl.c: Likewise.
20201 * math/w_acosl.c: Likewise.
20202 * math/w_asin.c: Likewise.
20203 * math/w_asinf.c: Likewise.
20204 * math/w_asinl.c: Likewise.
20205 * math/w_atan2.c: Likewise.
20206 * math/w_atan2f.c: Likewise.
20207 * math/w_atan2l.c: Likewise.
20208 * math/w_atanh.c: Likewise.
20209 * math/w_atanhf.c: Likewise.
20210 * math/w_atanhl.c: Likewise.
20211 * math/w_cosh.c: Likewise.
20212 * math/w_coshf.c: Likewise.
20213 * math/w_coshl.c: Likewise.
20214 * math/w_dremf.c: Likewise.
20215 * math/w_exp10.c: Likewise.
20216 * math/w_exp10f.c: Likewise.
20217 * math/w_exp10l.c: Likewise.
20218 * math/w_exp2.c: Likewise.
20219 * math/w_exp2f.c: Likewise.
20220 * math/w_fmod.c: Likewise.
20221 * math/w_fmodf.c: Likewise.
20222 * math/w_fmodl.c: Likewise.
20223 * math/w_hypot.c: Likewise.
20224 * math/w_hypotf.c: Likewise.
20225 * math/w_hypotl.c: Likewise.
20226 * math/w_j0.c: Likewise.
20227 * math/w_j0f.c: Likewise.
20228 * math/w_j0l.c: Likewise.
20229 * math/w_j1.c: Likewise.
20230 * math/w_j1f.c: Likewise.
20231 * math/w_j1l.c: Likewise.
20232 * math/w_jn.c: Likewise.
20233 * math/w_jnf.c: Likewise.
20234 * math/w_jnl.c: Likewise.
20235 * math/w_lgamma.c: Likewise.
20236 * math/w_lgamma_r.c: Likewise.
20237 * math/w_lgammaf.c: Likewise.
20238 * math/w_lgammaf_r.c: Likewise.
20239 * math/w_lgammal.c: Likewise.
20240 * math/w_lgammal_r.c: Likewise.
20241 * math/w_log.c: Likewise.
20242 * math/w_log10.c: Likewise.
20243 * math/w_log10f.c: Likewise.
20244 * math/w_log10l.c: Likewise.
20245 * math/w_log2.c: Likewise.
20246 * math/w_log2f.c: Likewise.
20247 * math/w_log2l.c: Likewise.
20248 * math/w_logf.c: Likewise.
20249 * math/w_logl.c: Likewise.
20250 * math/w_pow.c: Likewise.
20251 * math/w_powf.c: Likewise.
20252 * math/w_powl.c: Likewise.
20253 * math/w_remainder.c: Likewise.
20254 * math/w_remainderf.c: Likewise.
20255 * math/w_remainderl.c: Likewise.
20256 * math/w_scalb.c: Likewise.
20257 * math/w_scalbf.c: Likewise.
20258 * math/w_scalbl.c: Likewise.
20259 * math/w_sinh.c: Likewise.
20260 * math/w_sinhf.c: Likewise.
20261 * math/w_sinhl.c: Likewise.
20262 * math/w_sqrt.c: Likewise.
20263 * math/w_sqrtf.c: Likewise.
20264 * math/w_sqrtl.c: Likewise.
20265 * math/w_tgamma.c: Likewise.
20266 * math/w_tgammaf.c: Likewise.
20267 * math/w_tgammal.c: Likewise.
20268
6a621eb7
UD
20269 * po/ja.po: Update from translation team.
20270
bf582445
AJ
202712011-09-29 Andreas Jaeger <aj@suse.de>
20272
f9efbf3a
AJ
20273 [BZ #13179]
20274 * sunrpc/netname.c (netname2host): Fix logic.
20275
bf582445
AJ
20276 [BZ #6779]
20277 [BZ #6783]
20278 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20279 correctly.
20280 * math/w_remainder.c (__remainder): Likewise.
20281 * math/w_remainderf.c (__remainderf): Likewise.
20282 * math/libm-test.inc (remainder_test): Add test cases.
20283
48693bea
AK
202842011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20285
20286 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20287 sdiv_qrnnd.
20288
42622229
LD
202892011-10-07 Ulrich Drepper <drepper@gmail.com>
20290
20291 * string/test-memcmp.c: Avoid unncessary #defines.
20292 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20293
093ecf92
LD
202942011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20295
20296 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20297 Use new sse2 version for core i3 - i7 as it's faster
20298 than sse42 version.
20299 (bit_Prefer_PMINUB_for_stringop): New.
20300 * sysdeps/x86_64/rawmemchr.S: Update.
20301 Replace with faster SSE2 version.
20302 * sysdeps/x86_64/memrchr.S: New file.
20303 * sysdeps/x86_64/memchr.S: Update.
20304 Replace with faster SSE2 version.
20305
fde56e5c
MP
203062011-09-12 Marek Polacek <mpolacek@redhat.com>
20307
20308 * elf/dl-load.c (lose): Add cast to avoid warning.
20309
21fd49a9
UD
203102011-10-07 Ulrich Drepper <drepper@gmail.com>
20311
5a06e643
UD
20312 * po/ca.po: Update from translation team.
20313
684ae515
UD
20314 * inet/getnetgrent_r.c: Hook up nscd.
20315 * nscd/Makefile (routines): Add nscd_netgroup.
20316 (nscd-modules): Add netgroupcache.
20317 (CFLAGS-netgroupcache.c): Define.
20318 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20319 (cache_search): Add const to second parameter.
20320 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20321 INNETGR.
20322 (dbs): Add netgrdb entry.
20323 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20324 (verify_persistent_db): Handle netgrdb.
20325 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20326 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20327 GETFDNETGR.
20328 (netgroup_response_header): Define.
20329 (innetgroup_response_header): Define.
20330 (datahead): Add netgroup_response_header and innetgroup_response_header
20331 elements.
20332 * nscd/nscd.conf: Add entries for netgroup cache.
20333 * nscd/nscd.h (dbtype): Add netgrdb.
20334 (_PATH_NSCD_NETGROUP_DB): Define.
20335 (netgroup_iov_disabled): Declare.
20336 (xmalloc, xcalloc, xrealloc): Move declarations here.
20337 (cache_search): Adjust prototype.
20338 Add netgroup-related prototypes.
20339 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20340 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20341 (__nscd_innetgr): Declare.
20342 * nscd/selinux.c (perms): Use access_vector_t as element type and
20343 add netgroup-related initializers.
20344 * nscd/netgroupcache.c: New file.
20345 * nscd/nscd_netgroup.c: New file.
20346 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20347 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20348 For four parameters use innetgr.
20349 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20350 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20351 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20352 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20353
21fd49a9
UD
20354 * nscd/connections.c (register_traced_file): Don't register file
20355 for disabled databases.
20356
054c0457
UD
203572011-10-06 Ulrich Drepper <drepper@gmail.com>
20358
32b63198
UD
20359 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20360
054c0457
UD
20361 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20362 from tree and freeing node.
20363
64031225
JO
203642011-09-25 Jiri Olsa <jolsa@redhat.com>
20365
20366 * nss/nsswitch.c (__nss_database_lookup): Handle
20367 nss_parse_service_list out of memory case.
20368
0490345c
JO
203692011-09-15 Jiri Olsa <jolsa@redhat.com>
20370
20371 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20372 out of memory case.
20373
3a62d00d
AS
203742011-10-04 Andreas Schwab <schwab@redhat.com>
20375
20376 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20377 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20378 pass it down.
20379 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20380 elf_machine_rela, elf_machine_lazy_rel.
20381 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20382 (ELF_DYNAMIC_DO_REL): Likewise.
20383 (ELF_DYNAMIC_DO_RELA): Likewise.
20384 (ELF_DYNAMIC_RELOCATE): Likewise.
20385 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20386 to ELF_DYNAMIC_DO_REL.
20387 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20388 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20389 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20390 elf_machine_rela.
20391 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20392 skip_ifunc, don't call ifunc function if non-zero.
20393 (elf_machine_rela): Likewise.
20394 (elf_machine_lazy_rel): Likewise.
20395 (elf_machine_lazy_rela): Likewise.
20396 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20397 (elf_machine_lazy_rel): Likewise.
20398 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20399 Likewise.
20400 (elf_machine_lazy_rel): Likewise.
20401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20402 Likewise.
20403 (elf_machine_lazy_rel): Likewise.
20404 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20405 (elf_machine_lazy_rel): Likewise.
20406 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20407 (elf_machine_lazy_rel): Likewise.
20408 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20409 (elf_machine_lazy_rel): Likewise.
20410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20411 (elf_machine_lazy_rel): Likewise.
20412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20413 (elf_machine_lazy_rel): Likewise.
20414 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20415 (elf_machine_lazy_rel): Likewise.
20416
68577918
UD
204172011-09-28 Ulrich Drepper <drepper@gmail.com>
20418
20419 * nss/nss_files/files-init.c (_nss_files_init): Use static
20420 initialization for all the *_traced_file variables.
20421
68822d74
AS
204222011-09-28 Andreas Schwab <schwab@redhat.com>
20423
20424 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20425
2056100b
RM
204262011-09-27 Roland McGrath <roland@hack.frob.com>
20427
20428 [BZ #13226]
20429 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20430
32c76b63
AS
204312011-09-27 Andreas Schwab <schwab@redhat.com>
20432
20433 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20434 Reread the line before reparsing it.
20435
bf972c9d
AS
204362011-09-26 Andreas Schwab <schwab@redhat.com>
20437
20438 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20439
e057a1b5
JM
204402011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20441 Maxim Kuvyrkov <maxim@codesourcery.com>
20442 Joseph Myers <joseph@codesourcery.com>
20443
20444 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20445 if needed for __stack_chk_guard.
20446
bc7e1c36
RM
204472011-09-19 Roland McGrath <roland@hack.frob.com>
20448
ecb1482f
RM
20449 * sysdeps/posix/spawni.c (script_execute): Always define it.
20450 It will be optimized away if unused.
20451 (maybe_script_execute): New function.
20452 (__spawni): Call it.
20453
bc7e1c36
RM
20454 * Makerules: Don't include tls.make.
20455 (config-tls): Always set to thread.
20456 * tls.make.c: File removed.
20457
1c3b002b
MF
204582011-09-19 Mike Frysinger <vapier@gentoo.org>
20459
20460 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20461 * config.make.in (CPPFLAGS-config): New substituted variable.
20462
2840865d
UD
204632011-09-15 Ulrich Drepper <drepper@gmail.com>
20464
88738eb6
UD
20465 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20466
cbf645a6 20467 [BZ #13192]
2840865d
UD
20468 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20469 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20470
b402e91a
RM
204712011-09-15 Roland McGrath <roland@hack.frob.com>
20472
20473 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20474 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20476 (CALL_FAIL): Likewise.
20477 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20478 (CALL_FAIL): Macro removed.
20479 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20480
4c1a1f71
UD
204812011-09-15 Ulrich Drepper <drepper@gmail.com>
20482
20483 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20484 for __FINITE_MATH_ONLY__ == 1.
20485
edc121be
AS
204862011-09-15 Andreas Schwab <schwab@redhat.com>
20487
20488 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20489 __ieee754_sqrt instead of sqrt.
20490 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20491 __ieee754_sqrtf instead of sqrtf.
20492 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20493 __floorf instead of floorf.
20494 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20495 __floorf, __truncf instead of floorf, truncf.
20496
cd205654
UD
204972011-09-14 Ulrich Drepper <drepper@gmail.com>
20498
ee4d0315
UD
20499 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20500
cd205654
UD
20501 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20502 __extern_always_inline.
20503 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20504 32-bit.
20505
48b67d71
AS
205062011-09-14 Andreas Schwab <schwab@redhat.com>
20507
20508 * elf/rtld.c (dl_main): Also relocate in dependency order when
20509 doing symbol dependency testing.
20510
1ae12c75
AS
205112011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20512
20513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20514 Always define `refsym'.
20515
995a80df
AS
205162011-09-13 Andreas Schwab <schwab@redhat.com>
20517
e529793b
AS
20518 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20519 (__FD_ELT): Renamed from __FDELT.
20520 * misc/bits/select2.h (__FD_ELT): Likewise.
20521 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20522 __FD_MASK instead of __FDELT, __FDMASK.
20523 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20524 Likewise.
20525 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20526 Likewise.
20527
52d4fef8
AS
20528 * elf/Makefile (gen-ldd): Fix pattern.
20529
995a80df
AS
20530 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20531 (init_tls): Likewise.
20532
8682f8b0
UD
205332011-09-12 Ulrich Drepper <drepper@gmail.com>
20534
20535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20536
de82006d
AS
205372011-09-12 Andreas Schwab <schwab@redhat.com>
20538
a7c8e6a1
AS
20539 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20540 `struct cmsghdr *' instead of `void *'.
20541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20542 Likewise.
20543
0f31fe77
AS
205442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20545
20546 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20547 if non-absolute.
20548 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20549 ldd_rewrite_script.
0f31fe77 20550
32b4c839
UD
205512011-09-11 Ulrich Drepper <drepper@gmail.com>
20552
83cd1420
UD
20553 * configure.in: Remove --with-tls option.
20554 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20555 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20556 out in case it is missing.
20557 * sysdeps/ia64/elf/configure.in: Likewise.
20558 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20559 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20560 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20561 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20562 * sysdeps/sh/elf/configure.in: Likewise.
20563 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20564 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20565 * sysdeps/x86_64/elf/configure.in: Likewise.
20566 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20567 * sysdeps/mach/hurd/tls.h: Likewise.
20568
633f745d
UD
20569 [BZ #13067]
20570 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20571
f318beb8
UD
20572 [BZ #13090]
20573 * configure.in: Fix use of AC_INIT.
20574
32b4c839
UD
20575 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20576
3ce1f295
UD
205772011-09-10 Ulrich Drepper <drepper@gmail.com>
20578
bb016596
UD
20579 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20580 __set_errno.
8e58439c
UD
20581 * malloc/hooks.c: Likewise.
20582
aebae053 20583 [BZ #11929]
02d46fc4
UD
20584 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20585 variables statically.
20586 (narenas): Initialize.
20587 (list_lock): Initialize.
bb016596
UD
20588 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20589 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20590 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20591 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20592 Add initializers to main_arena and mp_.
20593 (malloc_state): Remove pagesize member. Change all users to use
20594 GLRO(dl_pagesize).
20595
20596 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20597 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20598 is always initialized.
20599
22a89187
UD
20600 * malloc/malloc.c: Removed unused configurations and dead code.
20601 * malloc/arena.c: Likewise.
20602 * malloc/hooks.c: Likewise.
02d46fc4 20603 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20604
d063d164
UD
20605 * include/tls.h: Removed. USE___THREAD must always be defined.
20606 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20607 * elf/dl-libc.c: Likewise.
20608 * elf/dl-tsd.c: Likewise.
20609 * include/errno.h: Likewise.
20610 * include/netdb.h: Likewise.
20611 * include/resolv.h: Likewise.
20612 * inet/herrno-loc.c: Likewise.
20613 * inet/herrno.c: Likewise.
20614 * malloc/arena.c: Likewise.
20615 * malloc/hooks.c: Likewise.
20616 * malloc/malloc.c: Likewise.
20617 * resolv/res-state.c: Likewise.
20618 * resolv/res_libc.c: Likewise.
20619 * sysdeps/i386/dl-machine.h: Likewise.
20620 * sysdeps/ia64/dl-machine.h: Likewise.
20621 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20622 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20623 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20624 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20625 * sysdeps/sh/dl-machine.h: Likewise.
20626 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20627 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20628 * sysdeps/unix/i386/sysdep.S: Likewise.
20629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20630 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20635 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20639 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20640 * sysdeps/x86_64/dl-machine.h: Likewise.
20641 * tls.make.c: Likewise.
20642
3ce1f295
UD
20643 * configure.in: Remove --with-__thread option. Make tests for
20644 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20645 tls_model attribute fail if no support is available. Remove
20646 USE_IN_LIBIO.
20647 * Makeconfig: Adjust for dropped configure option. All features are
20648 now mandatory.
20649 * Makerules: Likewise.
20650 * Versions.def: Likewise.
20651 * argp/argp-fmtstream.c: Likewise.
20652 * argp/argp-fmtstream.h: Likewise.
20653 * argp/argp-help.c: Likewise.
20654 * assert/assert.c: Likewise.
20655 * config.h.in: Likewise.
20656 * config.make.in: Likewise.
20657 * configure: Likewise.
20658 * configure.in: Likewise.
20659 * csu/Versions: Likewise.
20660 * csu/init.c: Likewise.
20661 * elf/tst-audit2.c: Likewise.
20662 * elf/tst-tls10.c: Likewise.
20663 * elf/tst-tls10.h: Likewise.
20664 * elf/tst-tls11.c: Likewise.
20665 * elf/tst-tls12.c: Likewise.
20666 * elf/tst-tls14.c: Likewise.
20667 * elf/tst-tlsmod11.c: Likewise.
20668 * elf/tst-tlsmod12.c: Likewise.
20669 * elf/tst-tlsmod13.c: Likewise.
20670 * elf/tst-tlsmod13a.c: Likewise.
20671 * elf/tst-tlsmod14a.c: Likewise.
20672 * elf/tst-tlsmod15b.c: Likewise.
20673 * elf/tst-tlsmod16a.c: Likewise.
20674 * elf/tst-tlsmod16b.c: Likewise.
20675 * elf/tst-tlsmod7.c: Likewise.
20676 * elf/tst-tlsmod8.c: Likewise.
20677 * elf/tst-tlsmod9.c: Likewise.
20678 * gmon/gmon.c: Likewise.
20679 * grp/fgetgrent_r.c: Likewise.
20680 * grp/putgrent.c: Likewise.
20681 * hurd/fopenport.c: Likewise.
20682 * include/libc-symbols.h: Likewise.
20683 * include/tls.h: Likewise.
20684 * intl/gettextP.h: Likewise.
20685 * intl/loadinfo.h: Likewise.
20686 * locale/global-locale.c: Likewise.
20687 * locale/localeinfo.h: Likewise.
20688 * mach/devstream.c: Likewise.
20689 * malloc/arena.c: Likewise.
20690 * malloc/set-freeres.c: Likewise.
20691 * misc/err.c: Likewise.
20692 * misc/getttyent.c: Likewise.
20693 * misc/mntent_r.c: Likewise.
20694 * posix/getopt.c: Likewise.
20695 * posix/wordexp.c: Likewise.
20696 * pwd/fgetpwent_r.c: Likewise.
20697 * resolv/Versions: Likewise.
20698 * resolv/res_hconf.c: Likewise.
20699 * shadow/fgetspent_r.c: Likewise.
20700 * shadow/putspent.c: Likewise.
20701 * stdio-common/printf_fphex.c: Likewise.
20702 * stdio-common/tmpfile.c: Likewise.
20703 * stdlib/abort.c: Likewise.
20704 * stdlib/fmtmsg.c: Likewise.
20705 * sunrpc/auth_unix.c: Likewise.
20706 * sunrpc/clnt_perr.c: Likewise.
20707 * sunrpc/clnt_tcp.c: Likewise.
20708 * sunrpc/clnt_udp.c: Likewise.
20709 * sunrpc/clnt_unix.c: Likewise.
20710 * sunrpc/openchild.c: Likewise.
20711 * sunrpc/svc_simple.c: Likewise.
20712 * sunrpc/svc_tcp.c: Likewise.
20713 * sunrpc/svc_udp.c: Likewise.
20714 * sunrpc/svc_unix.c: Likewise.
20715 * sunrpc/xdr.c: Likewise.
20716 * sunrpc/xdr_array.c: Likewise.
20717 * sunrpc/xdr_rec.c: Likewise.
20718 * sunrpc/xdr_ref.c: Likewise.
20719 * sunrpc/xdr_stdio.c: Likewise.
20720
1248c1c4
PB
207212011-09-09 Ulrich Drepper <drepper@gmail.com>
20722
20723 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20724
207252011-07-03 Andreas Jaeger <aj@suse.de>
20726
20727 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20728 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20729 regenerate with gen-libm-tests.pl.
20730
207312010-05-12 Petr Baudis <pasky@suse.cz>
20732
20733 [BZ #11589]
20734 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20735 around j0() zero points by switching to j1().
20736 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20740
f22e1074
UD
207412011-09-09 Ulrich Drepper <drepper@gmail.com>
20742
f19009c1
UD
20743 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20744 instead of 0.
20745 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20746 instead of 0.
f19009c1
UD
20747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20748 Patch in part by Pavel Roskin <proski@gnu.org>.
20749
3f8cc204
UD
20750 [BZ #13138]
20751 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20752 realloc.
20753 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20754 Free memory block if necessary.
20755
f22e1074
UD
20756 [BZ #12847]
20757 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20758 be NULL. Don't lock in this case.
20759
0a2349f9
RM
207602011-09-09 Roland McGrath <roland@hack.frob.com>
20761
20762 * elf/elf.h (ELFOSABI_GNU): New macro.
20763 (ELFOSABI_LINUX): Define to that.
20764
f3cdd467
DZ
207652011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20766
20767 * string/strncat.c (strncat): Undef the symbol in case it has been
20768 defined in bits/string.h.
20769
74718d13
UD
207702011-09-09 Ulrich Drepper <drepper@gmail.com>
20771
633e9e0f
UD
20772 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20773
0a2349f9 20774 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20775 link map.
20776
f9924780
AJ
207772011-08-17 Andreas Jaeger <aj@suse.de>
20778
20779 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20780
7f5517aa
PP
207812011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20782 Ian Lance Taylor <iant@google.com>
20783
20784 * math/libm-test.inc (lround_test): New testcase.
20785 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20786
762011fe
UD
207872011-09-08 Ulrich Drepper <drepper@gmail.com>
20788
92963737
UD
20789 * Makefile: Remove support for automatic cvs check-ins.
20790 * Makerules: Likewise.
20791 * config.make.in: Likewise.
20792 * configure.in: Likewise.
20793 * intl/Makefile: Likewise.
20794 * locale/Makefile: Likewise.
20795 * po/Makefile: Likewise.
20796 * posix/Makefile: Likewise.
20797 * sysdeps/gnu/Makefile: Likewise.
20798 * sysdeps/mach/hurd/Makefile: Likewise.
20799 * sysdeps/sparc/sparc32/Makefile: Likewise.
20800
b0727fd8
JS
20801 [BZ #13118]
20802 * posix/Makefile (bug-regex32-ENV): Define.
20803 Patch by John Stanley <jpsinthemix@verizon.net>.
20804
a0f33f99
UD
20805 * misc/Makefile (headers): Add bits/select2.h.
20806 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20807 * misc/bits/select2.h: New file.
20808 * include/bits/select2.h: New file.
20809 * debug/Makefile (routines): Add fdelt_chk.
20810 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20811 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20812 FD_ISSET.
20813 * debug/fdelt_chk.c: New file.
20814
762011fe
UD
20815 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20816 * wcsmbs/test-wmemcmp.c: Likewise.
20817 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20818 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20819
208202011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20821
20822 * string/Makefile (strop-tests): Add memcmp.
20823 * string/test-wmemcmp.c: New file.
20824 * string/test-memcmp.c: Add wmemcmp support.
20825
7f513ec8
RM
208262011-09-08 Roland McGrath <roland@hack.frob.com>
20827
0442afb4
RM
20828 [BZ #13153]
20829 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20830 2011-07-19 change.
20831
7f513ec8
RM
20832 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20833 garbage value in a __mach_port_mod_refs call in the cases of the
20834 task-self and thread-self ports.
20835
a12b2239
ST
208362011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20837
20838 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20839
610f9ab4
AS
208402011-09-08 Andreas Schwab <schwab@redhat.com>
20841
7f513ec8 20842 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20843
48882a1a
LD
208442011-09-07 Ulrich Drepper <drepper@gmail.com>
20845
b49865be
UD
20846 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20847
fdc86bc9
UD
20848 * elf/dl-libc.c (dlerror_run): Pass back error code from
20849 dl_catch_error.
20850
c966526a
UD
20851 [BZ #13123]
20852 * elf/dl-load.c (lose): Free l_origin if it is valid.
20853
48882a1a
LD
20854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20855 names.
20856 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20857 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20858 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20859 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20860 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20861 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20862
77a2a8b4
AZ
208632011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20864
20865 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20866 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20867 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20868 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20869 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20870 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20871 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20872 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20873 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20874 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20875
24f579d8
AM
208762011-08-15 Alan Modra <amodra@gmail.com>
20877
20878 [BZ #13092]
20879 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20880 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20881 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20882 ppc_mcount to static-only-routines.
20883 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20884 __mcount_internal.
20885 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20886 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20887
3d4837df
UD
208882011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20889
20890 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20891 for finite and infinity parameters.
20892
22700377
WS
208932011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20894
20895 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20896 and add nop instructions for throughput optimization.
20897 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20898
5025581e
WS
208992011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20900
20901 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20902 aligned copy for power7 with vector-scalar instructions.
20903 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20904
08a300c9
L
209052011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20906
20907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20908 AVX check.
20909
59178ef9
AS
209102011-09-07 Andreas Schwab <schwab@redhat.com>
20911
20912 [BZ #13144]
20913 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20914 last change.
20915
e38ba7ab
UD
209162011-09-07 Ulrich Drepper <drepper@gmail.com>
20917
20918 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20919 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20920 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20921 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20922 clock_gettime.
20923
d53a73ac
UD
209242011-09-06 Ulrich Drepper <drepper@gmail.com>
20925
fc8bffcc
UD
20926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20927 Forgot to demangle the pointer.
20928
ceaa0c5d
UD
20929 * sysdeps/i386/sysdep.h: Define atom_text_section.
20930 * sysdeps/x86_64/sysdep.h: Likewise.
20931 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20932 section with atom_text_section.
20933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20934 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20935 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20937 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20938
a77d3c17
UD
20939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20940 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20941 already be defined. Change to take two parameters and don't assign
20942 result to variable. Adjust all users.
20943 Define INTERNAL_GETTIME if not already defined.
20944 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20945 call.
20946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20947 HAVE_CLOCK_GETTIME_VSYSCALL.
20948 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20949
d53a73ac
UD
20950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20951 gettimeofday vsyscall, just use time.
20952
a8f84144
AS
209532011-09-06 Andreas Schwab <schwab@redhat.com>
20954
20955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20956 <errno.h>.
20957
ef606249
UD
209582011-09-06 Ulrich Drepper <drepper@gmail.com>
20959
20960 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20961 syscall on x86-64.
20962 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20963 syscall.
20964 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20965 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20966 syscall if possible.
20967
6585cb60
UD
209682011-09-05 Ulrich Drepper <drepper@gmail.com>
20969
20970 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20971 e_ident. Don't pass to find_mapsXX.
20972 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20973
a5f524e4
LD
209742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20975
20976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20977 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20978 * sysdeps/x86_64/multiarch/strchr.S: Update.
20979 Check bit_slow_BSF bit.
20980 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20981 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20982 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20983
554881ef
UD
209842011-09-05 Ulrich Drepper <drepper@gmail.com>
20985
d96de963
UD
20986 [BZ #13134]
20987 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20988 before glibc 2.15.
20989 (tryshell): Define.
20990 (__spawni): Change last parameter to be flag. Test
20991 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20992 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20993 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20994 * posix/spawni.c: Likewise.
20995 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20996 * posix/spawnp.c: Likewise. Change normal version to use
20997 SPAWN_XFLAGS_USE_PATH.
20998 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20999 SPAWN_XFLAGS_TRY_SHELL.
21000
d48e5868
UD
21001 [BZ #13150]
21002 * posix/glob.h: Remove gcc 1.x support.
21003
554881ef
UD
21004 [BZ #13068]
21005 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21006
693fb948
LD
210072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21008
21009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21010 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21011 strrchr-sse2-bsf
21012 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21013 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21014 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21016 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21018
1b48c537
UD
210192011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21020
49d42c37
UD
21021 * sysdeps/x86_64/wcscmp.S: New file.
21022
1b48c537
UD
21023 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21024 wcscmp-c wcscmp-sse2
21025 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21026 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21027 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21028 * wcsmbs/wcscmp.c: Allow renaming.
21029
15c95c5d
DM
210302011-09-05 David S. Miller <davem@davemloft.net>
21031
21032 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21033 stack slot, rather than the struct return pointer slot.
21034 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21035 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21037 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21038
2f0ad8f3
UD
210392011-09-05 Ulrich Drepper <drepper@gmail.com>
21040
d88ae418
UD
21041 * po/ja.po: Update from translation team.
21042
2f0ad8f3
UD
21043 [BZ #13144]
21044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21045 kernel in 64-bit binaries.
21046
5f4318d1
DM
210472011-09-01 David S. Miller <davem@davemloft.net>
21048
21049 * elf/elf.h (HWCAP_SPARC_*): Move to..
21050 * sysdeps/sparc/sysdep.h: this new file and add new values.
21051 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21052 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21053 _DL_HWCAP_COUNT to 24.
21054 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21055 entries.
21056 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21057 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21058 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21059 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21060 instead of magic constants.
21061 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21062
3ba57516
DM
210632011-08-31 David S. Miller <davem@davemloft.net>
21064
21065 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21067 Reimplement to do errno handling inline.
21068 (SYSCALL_ERROR_HANDLER): New macro.
21069 (__SYSCALL_STRING): Do not do errno handling in asm.
21070 (__CLONE_SYSCALL_STRING): Delete.
21071 (__INTERNAL_SYSCALL_STRING): Delete.
21072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21073 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21074 (PSEUDO): Reimplement to do errno handling inline.
21075 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21076 (SYSCALL_ERROR_HANDLER): New macro.
21077 (__SYSCALL_STRING): Do not do errno handling in asm.
21078 (__CLONE_SYSCALL_STRING): Delete.
21079 (__INTERNAL_SYSCALL_STRING): Delete.
21080 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21081 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21082 i386.
21083 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21084 (inline_syscall*): Add 'err' argument.
21085 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21086 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21087 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21088 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21089
21090 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21091 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21092
2bc17433
AS
210932011-08-30 Andreas Schwab <schwab@redhat.com>
21094
21095 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21096
fbeb5f4d
JO
210972011-08-29 Jiri Olsa <jolsa@redhat.com>
21098
21099 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21100 directive.
21101
ad69cc26
DM
211022011-08-24 David S. Miller <davem@davemloft.net>
21103
21104 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21105
39dd69df
AS
211062011-08-24 Andreas Schwab <schwab@redhat.com>
21107
21108 * elf/Makefile: Add rules to build and run unload8 test.
21109 * elf/unload8.c: New file.
21110 * elf/unload8mod1.c: New file.
21111 * elf/unload8mod1x.c: New file.
21112 * elf/unload8mod2.c: New file.
21113 * elf/unload8mod3.c: New file.
21114
21115 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21116 it wasn't used.
21117
2c0b250a
DM
211182011-08-23 David S. Miller <davem@davemloft.net>
21119
21120 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21121 subtract stack bias.
21122 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21123 %sp not %fp in calculations.
21124 (_JMPBUF_UNWINDS_ADJ): Likewise.
21125
22044b48
DM
21126 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21127 (aio_suspend): Call it to force an exception region around the
21128 AIO_MISC_WAIT() invocation.
21129
2cae4995
AS
211302011-08-23 Andreas Schwab <schwab@redhat.com>
21131
21132 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21133 backslash.
21134
873a772e
AJ
211352011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21136
21137 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21138 protection macro.
21139 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21140 and <dl-machine.h>.
21141 (Elf64_FuncDesc): Remove.
21142
25ad0df1
DM
211432011-08-22 David S. Miller <davem@davemloft.net>
21144
21145 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21146 sigaltstack check, add missing cfi directives.
21147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21148 missing cfi directives, and sigaltstack handling.
21149
e888bcbe
AS
211502011-08-16 Andreas Schwab <schwab@redhat.com>
21151
21152 [BZ #11724]
21153 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21154 object is seen twice.
21155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21156
21157 * elf/Makefile (distribute): Add tst-initorder2.c.
21158 (tests): Add tst-initorder2.
21159 (modules-names): Add tst-initorder2a tst-initorder2b
21160 tst-initorder2c tst-initorder2d. Add rules to build them.
21161 ($(objpfx)tst-initorder2.out): New rule.
21162 * elf/tst-initorder2.c: New file.
21163 * elf/tst-initorder2.exp: New file.
21164
87162f46
AS
211652011-08-22 Andreas Schwab <schwab@redhat.com>
21166
70538b7f
AS
21167 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21168
f55ffe58
AS
21169 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21170 dependencies back to end of function.
21171
87162f46
AS
21172 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21173 $(elfobjdir)/ld.so.
21174
91b392a4
UD
211752011-08-21 Ulrich Drepper <drepper@gmail.com>
21176
21177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21178 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21180 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21181 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21182 of __vdso_gettimeofday.
21183 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21184 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21185 attribute_hidden.
21186 (_libc_vdso_platform_setup): Remove initialization of
21187 __vdso_gettimeofday and __vdso_time.
21188
5c43483f
UD
211892011-08-20 Ulrich Drepper <drepper@gmail.com>
21190
775a77e7
UD
21191 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21192 and fgetc_unlocked.
21193 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21194 getc_unlocked.
89f447ed 21195
49c74ba9
UD
21196 * elf/dl-open.c (add_to_global): Report additions to the global scope
21197 for LD_DEBUG=scopes.
21198 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21199 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21200
5c43483f
UD
21201 [BZ #13114]
21202 * stdio-common/Makefile (tests): Add bug24.
21203 * stdio-common/bug24.c: New file.
21204
a101b025
AJ
212052011-08-19 Andreas Jaeger <aj@suse.de>
21206
21207 [BZ #13114]
21208 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21209 non-existant file when using close-on-exec mode.
21210
c88f1766
UD
212112011-08-20 Ulrich Drepper <drepper@gmail.com>
21212
0276a718
UD
21213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21214 the very first instruction.
21215
c88f1766
UD
21216 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21217 the CFI state in the end.
21218 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21219 inclusion of dl-trampoline.h.
21220 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21221
51ccffa0
AS
212222011-08-19 Andreas Schwab <schwab@redhat.com>
21223
94d7165f
AS
21224 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21225 expectations for long double.
21226
51ccffa0
AS
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21228 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21229
fd708658 212302011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21231
21232 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21233 artificual limit depends upon the system page size.
21234
44f0a71e
UD
212352011-08-17 Ulrich Drepper <drepper@gmail.com>
21236
21237 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21238 * resolv/Makefile: Define CFLAGS-libresolv.
21239
8de79a24
AS
212402011-08-17 Andreas Schwab <schwab@redhat.com>
21241
21242 * nss/makedb.c (compute_tables): Make variables used in nested
21243 function static.
21244
27724598
UD
212452011-08-17 Ulrich Drepper <drepper@gmail.com>
21246
c5305d88
UD
21247 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21248 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21249 if buffer was too small.
21250
27724598
UD
21251 * elf/pldd.c (main): Attach to all threads in the process.
21252 Rewrite /proc handling to use *at functions.
21253
076fe015
UD
212542011-08-16 Ulrich Drepper <drepper@gmail.com>
21255
174baab3
UD
21256 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21257 specifies first scope to show.
21258 (dl_open_worker): Update callers. Move printing scope of new
21259 object to before the relocation.
44f0a71e 21260 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21261 * sysdeps/generic/ldsodefs.h: Update declaration.
21262
076fe015
UD
21263 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21264 string for the scope number.
21265
a60df2c3
UD
212662011-08-14 Ulrich Drepper <drepper@gmail.com>
21267
21268 * nscd/servicescache.c (cache_addserv): Make sure written is always
21269 initialized.
21270
5e4287d1
RM
212712011-08-14 Roland McGrath <roland@hack.frob.com>
21272
85ae0589
RM
21273 * sysdeps/i386/i486/bits/atomic.h
21274 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21275 statement expression, so as to suppress "set but not used" warning.
21276 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21277
69f63097
RM
21278 * string/strncat.c (STRNCAT): Use prototype definition.
21279
675456ef
RM
21280 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21281 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21282 -Iprograms here.
21283 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21284 (localedef-modules): Add localedef.
21285 (locale-modules): Add locale.
21286
5e4287d1
RM
21287 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21288 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21289 to avoid a warning.
21290
9c96ff23
DM
212912011-08-14 David S. Miller <davem@davemloft.net>
21292
21293 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21294 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21295
f9ddf089
UD
212962011-08-13 Ulrich Drepper <drepper@gmail.com>
21297
44f0a71e 21298 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21299 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21300 * elf/rtld.c (dl_main): Set l_name of vDSO.
21301 Call _dl_show_scope when DL_DEBUG_SCOPES.
21302 (process_dl_debug): Recognize scopes flag and also set it for all.
21303 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21304 Declare _dl_show_scope.
21305
1dc27704
UD
21306 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21307 (do_dlopen): Pass caller_dlopen to dl_open.
21308 (__libc_dlopen_mode): Initialize caller_dlopen.
21309
f9ddf089
UD
21310 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21311 of libc. Make tolower call locale-independent. Optimize a bit by
21312 using isdigit instead of isalnum.
21313 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21314
9ac533d3
UD
213152011-08-12 Ulrich Drepper <drepper@gmail.com>
21316
21317 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21318 was a dependency or dynamically loaded.
21319
89edf2e9
UD
213202011-08-11 Ulrich Drepper <drepper@gmail.com>
21321
8e999d29
UD
21322 * intl/l10nflist.c: Allow architecture-specific pop function.
21323 * sysdeps/x86_64/l10nflist.c: New file.
21324
89edf2e9
UD
21325 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21326 classification.
21327
14d96785
AS
213282011-08-10 Andreas Schwab <schwab@redhat.com>
21329
21330 * include/dirent.h: Add libc_hidden_proto for scandirat and
21331 scandirat64. Don't declare __scandirat64.
21332 * dirent/scandirat.c: Add libc_hidden_def.
21333 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21334 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21335
6761ac04
DM
213362011-08-10 David S. Miller <davem@davemloft.net>
21337
21338 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21339 enum.
21340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21343
c55fbd1e
UD
213442011-08-09 Ulrich Drepper <drepper@gmail.com>
21345
21346 * Versions.def [libc]: Add GLIBC_2.15.
21347 * dirent/Makefile (routines): Add scandirat and scandirat64.
21348 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21349 GLIBC_2.15.
21350 * dirent/dirent.h: Declare scandirat and scandirat64.
21351 * dirent/scandirat.c: New file.
21352 * dirent/scandirat64.c: New file.
21353 * sysdeps/wordsize-64/scandirat.c: New file.
21354 * sysdeps/wordsize-64/scandirat64.c: New file.
21355 * dirent/opendir.c: Define opendirat.
21356 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21357 using scandirat.
21358 * dirent/scandir64.c: Adjust for scandir.c change.
21359 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21360 __scandirat64, and __scandir_cancel_handler.
21361 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21362 additional parameter and use openat instead of open (outside of ld.so).
21363 Add new __opendir as wrapper around __opendirat.
21364 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21365 here without requiring old scandirat implementation.
21366
879165f2
UD
213672011-08-08 Ulrich Drepper <drepper@gmail.com>
21368
21369 * dirent/scandir.c (cancel_handler): Renamed to
21370 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21371 defined. Adjust users.
21372 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21373 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21374
cb7e923b
UD
213752011-08-04 Ulrich Drepper <drepper@gmail.com>
21376
16292edd
UD
21377 * string/test-string.h (IMPL): Use __STRING to expand name and then
21378 stringify it.
21379
cb7e923b
UD
21380 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21381 of cleanups.
21382
cff82933
LD
213832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21384
21385 * string/Makefile: Update.
21386 (strop-tests): Append strncat.
21387 * string/test-wcscmp.c: New file.
21388 New comprehensive test for wcscmp.
21389 * string/test-strcmp.c: Update.
21390 (WIDE): New define.
21391
9be9bfcc
AS
213922011-07-22 Andreas Schwab <schwab@redhat.com>
21393
21394 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21395 line.
21396
2e96f1c7
AS
213972011-07-26 Andreas Schwab <schwab@redhat.com>
21398
21399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21400 encoding to ACE if AI_IDN.
21401
85188888
JJ
214022011-08-01 Jakub Jelinek <jakub@redhat.com>
21403
21404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21405 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21406
5fa16e9b
LD
214072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21408
21409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21410 Fix overflow bug in strncat.
21411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21412
21413 * string/test-strncat.c: Update.
21414 Add new tests for checking overflow bugs.
21415
214162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21417
21418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21419 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21420 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21421 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21423 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21424 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21425 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21426 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21427
21428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21429 (USE_AS_STRCAT): Define.
21430 Add strcat and strncat support.
21431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21432
8c1a459f
AS
214332011-07-25 Andreas Schwab <schwab@redhat.com>
21434
21435 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21436 __n bigger than INT_MAX+1.
21437 (__strncmp_g): Likewise.
21438
bba33c28
UD
214392011-07-23 Ulrich Drepper <drepper@gmail.com>
21440
798be72d
UD
21441 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21442 * libio/stido.h: Likewise.
21443
8accd4dc
UD
21444 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21445 (AF_NFC): Define.
21446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21447 (AF_NFC): Define.
21448
cbff0d96
UD
21449 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21450 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21452 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21454
9191c04a
UD
21455 [BZ #13021]
21456 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21457 installed.
21458
bba33c28
UD
21459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21460 typo.
21461 (_dl_x86_64_save_sse): Likewise.
21462
90f139dd
UD
214632011-07-22 Ulrich Drepper <drepper@gmail.com>
21464
1aae088a
UD
21465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21466 OSXSAVE.
21467 (_dl_x86_64_save_sse): Likewise.
21468
8e2045f5
UD
21469 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21470
90f139dd
UD
21471 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21472
1d002f25
AS
214732011-07-21 Andreas Schwab <schwab@redhat.com>
21474
21475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21476 change.
21477 (_dl_x86_64_save_sse): Use correct AVX check.
21478
21137f89
UD
214792011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21480
21481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21482 bug in strncpy/strncat.
21483 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21484
a65c0b7a
UD
214852011-07-21 Ulrich Drepper <drepper@gmail.com>
21486
21487 * string/tester.c (test_strcat): Add tests for different alignments
21488 of source and destination.
21489 (test_strncat): Likewise.
21490
6986b98a
UD
214912011-07-20 Ulrich Drepper <drepper@gmail.com>
21492
90bb2039
UD
21493 [BZ #12852]
21494 * posix/glob.c (glob): Check passed in values before using them in
21495 expressions to avoid some overflows.
21496 (glob_in_dir): Likewise.
21497
5644ef54
UD
21498 [BZ #13007]
21499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21500 check for AVX enablement so that we don't crash with old kernels and
21501 new hardware.
21502 * elf/tst-audit4.c: Add same checks here.
21503 * elf/tst-audit6.c: Likewise.
21504
21505 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21506
bfc9dc9b
AS
215072011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21508
21509 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21510
702e64bb
UD
215112011-07-20 Ulrich Drepper <drepper@gmail.com>
21512
21513 * po/cs.po: Update from translation team.
21514 * po/bg.po: Likewise.
21515
295e904f
MP
215162011-07-12 Marek Polacek <mpolacek@redhat.com>
21517
21518 * misc/sys/cdefs.h: Add support for const attribute.
21519 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21520 to gnu_dev_{major,minor,makedev} functions.
21521
3ff94596
MP
215222011-07-20 Marek Polacek <mpolacek@redhat.com>
21523
21524 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21525
28b59fca
AS
215262011-07-20 Andreas Schwab <schwab@redhat.com>
21527
21528 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21529 strlen results.
21530
19df733e
AK
215312011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21532
21533 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21534 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21535 register in order to avoid conflicts with the soft frame pointer
21536 being held in r11 when necessary.
21537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21538 (INTERNAL_VSYSCALL_NCS): Likewise.
21539
c8835729
MP
215402011-07-14 Marek Polacek <mpolacek@redhat.com>
21541
21542 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21543 * elf/dl-fini.c (_dl_fini): Adjust caller.
21544 * elf/dl-close.c (_dl_close_worker): Likewise.
21545 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21546
b902330c
MP
215472011-07-15 Marek Polacek <mpolacek@redhat.com>
21548
8991e135
MP
21549 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21550 "aux_cache->nlibs < 0".
21551
b902330c
MP
21552 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21553 in the reload-count case.
21554
99710781
LD
215552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21556
21557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21558 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21559 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21560 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21561 * sysdeps/x86_64/multiarch/strcat.S: New file.
21562 * sysdeps/x86_64/multiarch/strncat.S: New file.
21563 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21564 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21565 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21566 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21568 (USE_AS_STRCAT): Define.
21569 Add strcat and strncat support.
21570 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21571 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21572 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21573 * string/strncat.c: Update.
21574 (USE_AS_STRNCAT): Define.
21575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21576 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21577 and i7.
21578 * sysdeps/x86_64/multiarch/init-arch.h
21579 (bit_Prefer_PMINUB_for_stringop): New.
21580 (index_Prefer_PMINUB_for_stringop): Likewise.
21581 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21582 bit_Prefer_PMINUB_for_stringop.
21583
7dc6bd90
UD
215842011-07-19 Ulrich Drepper <drepper@gmail.com>
21585
21586 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21587 buffer64.
21588 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21589 of casting of buffer.
21590 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21591 buffer32 and buffer64.
21592 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21593 writes instead of casting of buffer.
21594 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21595 buffer32.
21596 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21597 casting of buffer.
21598
e0e72284
AS
215992011-07-19 Andreas Schwab <schwab@redhat.com>
21600
21601 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21602
feb1eb0b
UD
216032011-07-19 Ulrich Drepper <drepper@gmail.com>
21604
21605 * nscd/nscd.c (termination_handler): Don't do anything for a database
21606 if it has not yet been initialized.
21607
298711ff
UD
216082011-07-18 Ulrich Drepper <drepper@gmail.com>
21609
21610 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21611
216122011-07-15 Marek Polacek <mpolacek@redhat.com>
21613
21614 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21615
f9d68389
UD
216162011-07-18 Ulrich Drepper <drepper@gmail.com>
21617
21618 * po/nl.po: Update from translation team.
21619 * po/sv.po: Likewise.
21620
db290cf5
RM
216212011-07-16 Roland McGrath <roland@hack.frob.com>
21622
21623 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21624 now disallowed by GCC.
5c550700 21625
fd5e21c7
RM
21626 * configure.in (use-default-link): Default to yes if a test -shared
21627 link meets our qualifications.
21628 * configure: Regenerated.
21629
5c550700
RM
21630 * config.make.in (output-format): New variable.
21631 * configure.in: Check for ld --print-output-format support.
21632 * configure: Regenerated.
21633 * Makerules ($(common-objpfx)format.lds)
21634 [$(output-format) != unknown]: Just use $(output-format),
21635 instead of the linker-script munging.
21636
9fa2c032
RM
216372011-07-14 Roland McGrath <roland@hack.frob.com>
21638
a6928d51
RM
21639 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21640 of $(common-objpfx)shlib.lds.
21641 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21642
661607b3
RM
21643 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21644 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21645
9fa2c032
RM
21646 * configure.in (-z relro check): Adjust test code to add a large
21647 writable data section after it.
21648 * configure: Regenerated.
21649
defe9061
RM
216502011-07-11 Roland McGrath <roland@hack.frob.com>
21651
21652 * configure.in (-z relro check): Fix test code to make the variable
21653 truly const.
21654 * configure: Regenerated.
21655
319b9ad4
UD
216562011-07-11 Ulrich Drepper <drepper@gmail.com>
21657
21658 * nscd/nscd.h (struct traced_file): Define.
21659 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21660 elements. Add traced_files.
21661 (inotify_fd): Declare.
21662 (register_traced_file): Declare.
21663 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21664 (inotify_fd): Export.
21665 (resolv_conf_descr): Remove.
21666 (nscd_init): Move inotify descriptor creation to main.
21667 Don't register files for notification here.
21668 (register_traced_file): New function.
21669 (invalidate_cache): Don't use reset_res to determine whether to call
21670 res_init, go through the list of registered files.
21671 (main_loop_poll): The inotify descriptors are now stored in the
21672 structures for the traced files.
21673 (main_loop_epoll): Likewise
21674 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21675 to __nss_disable_nscd.
21676 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21677 for a database anymore. Check the records for all the registered
21678 files instead.
21679 * nss/Makefile (libnss_files-routines): Add files-init.
21680 (libnss_db-routines): Add db-init.
21681 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21682 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21683 * nss/nss_db/db-init.c: New file.
21684 * nss/nss_files/files-init.c: New file.
21685 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21686 __nss_lookup_function.
21687 (__nss_lookup_function): Call nss_load_library.
21688 (nss_load_all_libraries): New function.
21689 (__nss_disable_nscd): Take parameter with callback function for files
21690 to register. Set is_nscd. Load all the DSOs for the NSS modules
21691 used for the cached services.
21692 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21693 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21694 options for features to all the files in nscd.
21695
21696 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21697
23bee3e8
RM
216982011-07-10 Roland McGrath <roland@hack.frob.com>
21699
21700 * csu/elf-init.c (__libc_csu_init): Comment typo.
21701
46a5b7f0
UD
217022011-07-09 Ulrich Drepper <drepper@gmail.com>
21703
21704 * po/pl.po: Update from translation team.
21705 * po/ja.po: Likewise.
21706 * po/ru.po: Likewise.
21707 * po/ko.po: Likewise.
21708 * po/fr.po: Likewise.
21709
d30cf5bb
RM
217102011-07-09 Roland McGrath <roland@hack.frob.com>
21711
113ddea4
RM
21712 * configure.in (.ctors/.dtors header and trailer check):
21713 Use an empirical test on a built program.
21714 * configure: Regenerated.
21715
574920b4
RM
21716 * configure.in (-z relro check): Use an empirical test on a built DSO.
21717 Detect, but do not require, on ia64.
21718 * configure: Regenerated.
21719
d30cf5bb
RM
21720 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21721 Update tests that use readelf to use $READELF instead.
21722 * configure: Regenerated.
21723
8538fdb3
UD
217242011-07-08 Ulrich Drepper <drepper@gmail.com>
21725
21726 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21727 if the result is not used.
21728
04d08991
AJ
217292011-07-05 Andreas Jaeger <aj@suse.de>
21730
21731 [BZ#9696]
21732 * stdlib/tst-strtod.c: Add testcase.
21733
de283087
AD
217342011-07-07 Ulrich Drepper <drepper@gmail.com>
21735
4e5f31c8 21736 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21737 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21738 The latter has a higher limit. Take additional parameter to pass to
21739 the new function.
21740 (__pathconf): Pass file to __statfs_link_max.
21741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21742 __statfs_link_max.
21743 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21744 __statfs_link_max.
21745
de283087
AD
21746 [BZ #12868]
21747 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21748 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21749 Handle Lustre.
21750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21751 (__statfs_filesize_max): Likewise.
21752 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21753
c75fa153
AJ
217542011-07-05 Andreas Jaeger <aj@suse.de>
21755
21756 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21757
1a544854
UD
217582011-07-06 Marek Polacek <mpolacek@redhat.com>
21759
21760 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21761 `status' variable.
21762 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21763 Likewise.
21764
6f0eec67
UD
217652011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21766
21767 * Makefile (strop-tests): Add strncat.
21768 * string/test-strncat.c: New file.
21769
aae30307
UD
217702011-06-30 Marek Polacek <mpolacek@redhat.com>
21771
21772 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21773
c0cfb5eb
UD
217742011-06-21 Andreas Jaeger <aj@suse.de>
21775
21776 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21777 Copy rule from iconvdata/Makefile.
21778
01636b21
UD
217792011-07-06 Ulrich Drepper <drepper@gmail.com>
21780
21781 [BZ #12922]
21782 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21783 but no long options are defined, just return 'W'.
21784
9895c8bc
UD
217852011-06-22 Marek Polacek <mpolacek@redhat.com>
21786
21787 [BZ #9696]
21788 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21789
5d4cf042
UD
217902011-07-06 Ulrich Drepper <drepper@gmail.com>
21791
21792 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21793 netgroups to read.
960e5535 21794 (innetgr): Likewise.
5d4cf042 21795
751eb97e
RM
217962011-07-05 Roland McGrath <roland@hack.frob.com>
21797
21798 * config.make.in (install_root): Default to $(DESTDIR).
21799
f15f1e45
UD
218002011-07-05 Ulrich Drepper <drepper@gmail.com>
21801
21802 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21803
4e34ac6a
RM
218042011-07-02 Roland McGrath <roland@hack.frob.com>
21805
5e9b6af4
RM
21806 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21807
84f9ea0f
RM
21808 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21809 containing directory rather than embedding absolute directory names.
21810
ea5ee9f7
RM
21811 * scripts/check-local-headers.sh: Rewritten using awk.
21812 Match by word, not by line. Print error messages for matches.
21813 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21814
1b74661a
RM
21815 * Makerules [shlib-lds-flags empty]:
21816 ($(common-objpfx)libc_pic.opts): New target.
21817 ($(common-objpfx)libc_pic.os.clean): New target.
21818 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21819
21820 * config.make.in (OBJCOPY): New variable.
21821 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21822 * configure: Regenerated.
21823
f781ef40
RM
21824 * config.make.in (use-default-link): New variable.
21825 * configure.in (use_default_link): Grok --with-default-link to set it.
21826 * configure: Regenerated.
21827 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21828 (shlib-lds, shlib-lds-flags): Define to empty.
21829
2d4fa81e
RM
21830 * Makerules (shlib-lds): New variable.
21831 (shlib-lds-flags): New variable.
21832 (build-shlib, build-moduile, build-module-asneeded): Use it.
21833 ($(common-objpfx)libc.so): Use $(shlib-lds).
21834 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21835 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21836
31fffa6b
RM
21837 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21838 DT_FLAGS/DT_FLAGS_1 with zero flags.
21839
4e34ac6a
RM
21840 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21841 linker script munging.
21842
fcfc776b
UD
218432011-07-02 Ulrich Drepper <drepper@gmail.com>
21844
21845 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21846 as 128-bit value.
21847 * crypt/sha512.c (sha512_process_block): Perform total addition using
21848 128-bit if possible.
21849 (__sha512_finish_ctx): Likewise.
21850 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21851 as 64-bit value.
21852 * crypt/sha256.c (SWAP64): Define.
21853 (sha256_process_block): Perform total addition using 64-bit if
21854 possible.
21855 (__sha256_finish_ctx): Likewise.
21856
99231d9a
UD
218572011-07-01 Ulrich Drepper <drepper@gmail.com>
21858
21859 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21861 * nscd/hstcache.c (cache_addhst): Likewise.
21862 * nscd/grpcache.c (cache_addgr): Likewise.
21863 * nscd/aicache.c (addhstaiX): Likewise
21864 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21865
445b4a53
TK
218662011-07-01 Thorsten Kukuk <kukuk@suse.de>
21867
21868 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21870 * nscd/hstcache.c (cache_addhst): Likewise.
21871 * nscd/grpcache.c (cache_addgr): Likewise.
21872 * nscd/aicache.c (addhstaiX): Likewise
21873
6d4d8e8e
AS
218742011-07-01 Andreas Schwab <schwab@redhat.com>
21875
21876 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21877 domain only when needed.
21878
89f654c5
AS
218792011-06-30 Andreas Schwab <schwab@redhat.com>
21880
21881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21882 is always restored.
21883
cf3b23ff
UD
218842011-06-29 Ulrich Drepper <drepper@gmail.com>
21885
21886 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21887 are re-adding the entry.
21888 * nscd/servicescache.c (cache_addserv): Likewise.
21889
751626f9
AJ
218902011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21891
21892 * sysdeps/generic/dl-irel.h: fix protection against multiple
21893 inclusions.
21894 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21895
9113ea1f
UD
218962011-06-28 Ulrich Drepper <drepper@gmail.com>
21897
5c0b8d90
UD
21898 [BZ #12935]
21899 * malloc/memusage.sh: Fix quoting in message.
21900 * debug/xtrace.sh: Likewise.
21901
9113ea1f
UD
21902 * configure.in: Remove support for --experimental-malloc option, make
21903 it the default.
21904 * config.make.in: Likewise.
21905 * malloc/Makefile: Likewise.
21906
a4172181
AS
219072011-06-27 Andreas Schwab <schwab@redhat.com>
21908
21909 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21910 two-byte characters.
21911
78a7eee7
RM
219122011-06-27 Roland McGrath <roland@hack.frob.com>
21913
62bede13
RM
21914 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21915 AC_CACHE_CHECK invocation.
21916 * configure: Regenerated.
21917
78a7eee7
RM
21918 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21919
5ce33a62
UD
219202011-06-27 Ulrich Drepper <drepper@gmail.com>
21921
034807a9
UD
21922 [BZ #12350]
21923 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21924 bit from old_res_options.
21925
4902da17
UD
21926 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21927
5ce33a62
UD
21928 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21929 value type for setfct.
21930
c2344f56
L
219312011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21934 __gettimeofday instead of gettimeofday.
21935
68468076
UD
219362011-06-26 Ulrich Drepper <drepper@gmail.com>
21937
21938 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21939
acb0d739
L
219402011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21943
21944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21945 info.
21946
8912479f
L
219472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21948
21949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21950 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21951 strcpy-sse2-unaligned strncpy-sse2-unaligned
21952 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21953 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21954 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21955 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21956 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21958 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21959 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21960 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21961 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21962 (STRCPY): Support SSE2 and SSSE3 versions.
21963
d5495a11
UD
219642011-06-24 Ulrich Drepper <drepper@gmail.com>
21965
21966 [BZ #12874]
21967 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21968 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21969 kernels which artificially limit size of requests.
21970
0b1cbaae
L
219712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21972
21973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21974 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21975 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21976 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21977 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21978 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21979 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21980 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21982 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21983 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21984 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21985 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21986 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21987 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21989 Enable unaligned load optimization for Intel Core i3, i5 and i7
21990 processors.
21991 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21992 Define.
21993 (index_Fast_Unaligned_Load): Define.
21994 (HAS_FAST_UNALIGNED_LOAD): Define.
21995
07f494a0
MP
219962011-06-23 Marek Polacek <mpolacek@redhat.com>
21997
21998 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21999
fa3fc0fe
UD
220002011-06-22 Ulrich Drepper <drepper@gmail.com>
22001
22002 [BZ #12907]
22003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22004 until it is clear that the information is realy needed.
22005 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22006
e12df166
AS
220072011-06-22 Andreas Schwab <schwab@redhat.com>
22008
22009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22010
852eb34d
UD
220112011-06-22 Ulrich Drepper <drepper@gmail.com>
22012
84e2a551
UD
22013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22014 /sys/devices/system/cpu/online if it is usable.
22015
852eb34d
UD
22016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22017 reading the information from the /proc filesystem to once a second.
22018
6e502e19
UD
220192011-06-21 Andreas Jaeger <aj@suse.de>
22020
22021 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22022 NULL after inclusion of kernel headers.
22023
75d39ff2
UD
220242011-06-21 Ulrich Drepper <drepper@gmail.com>
22025
51f9aa6a
UD
22026 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22027 calls to internal_setent.
22028
c0244a9d
UD
22029 [BZ #12885]
22030 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22031 addresses using gethostbyname4_r ignore IPv4 addresses.
22032
c5e3c2ae
UD
22033 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22034 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22035
75d39ff2
UD
22036 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22037
42675c6f
DM
220382011-06-20 David S. Miller <davem@davemloft.net>
22039
22040 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22041 inclusions.
22042 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22043
22044 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22045 (elf_irel): Use it.
22046 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22047 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22048 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22049 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22050 * sysdeps/x86_64/dl-irel.h: Likewise.
22051
22052 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22053 * elf/dl-sym.c: Likewise.
22054
57912a71
UD
220552011-06-15 Ulrich Drepper <drepper@gmail.com>
22056
22057 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22058 need to dereference resplen2.
22059
ee22793d
AS
220602011-06-14 Andreas Schwab <schwab@redhat.com>
22061
22062 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22063
a9e836b0
UD
220642011-06-15 Ulrich Drepper <drepper@gmail.com>
22065
77fb9117
UD
22066 * Makeconfig: Define vardbdir and inst_vardbdir.
22067 * nss/Makefile: Add rules to install db-Makefile.
22068
40c1b22c
UD
22069 * nss/nss_db/db-XXX.c: Cleanup.
22070
9f2da732
UD
22071 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22072 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22073 GLIBC_PRIVATE.
22074 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22075 * nss/makedb.c: Implement -g option to specify that value strings
22076 are generated and should not be added to table iterated over for
22077 get*ent calls.
22078 * nss/nss_db/db-initgroups.c: New file.
22079
82e9a1f7
UD
22080 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22081 interface.
22082
c41af17e
UD
22083 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22084 (internal_getgrouplist): Adjust to name change.
22085 Update use_initgroups_entry if this is not the first call.
22086 * nss/databases.def: Add initgroups entry.
22087
a9e836b0
UD
22088 * nss/makedb.c (compute_tables): Check result of multiple hash table
22089 sizes to minimize maximum chain length.
22090
2666d441
UD
220912011-06-14 Ulrich Drepper <drepper@gmail.com>
22092
22093 * Versions.def: Add entry for libnss_db.
22094 * shlib-versions: Likewise.
22095 * nss/Makefile: Add rules to build libnss_db.
22096 * nss/Versions: Add libnss_db information. Organize libnss_files
22097 entries better.
22098 * nss/db-Makefile: Add gshadow support. Change rules for the new
22099 makedb progra. Some minor improvements to generate smaller files.
22100 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22101 here from...
22102 * nss/makedb.c: ...here.
22103 Improve database format to be smaller and require less memory at
22104 runtime.
22105 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22106 db anymore.
22107 * nss/nss_db/db-netgrp.c: Likewise.
22108 * nss/nss_db/db-open.c: Likewise.
22109 * nss/nss_files/flies-XXX.x: Adjust comments.
22110 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22111 * nss/nss_files/files-grp.c: Likewise.
22112 * nss/nss_files/files-hosts.c: Likewise.
22113 * nss/nss_files/files-network.c: Likewise.
22114 * nss/nss_files/files-proto.c: Likewise.
22115 * nss/nss_files/files-pwd.c: Likewise.
22116 * nss/nss_files/files-rpc.c: Likewise.
22117 * nss/nss_files/files-service.c: Likewise.
22118 * nss/nss_files/files-sgrp.c: Likewise.
22119 * nss/nss_files/files-spwd.c: Likewise.
22120 * nss/nss_db/db-alias.c: Removed.
22121 * nss/nss_db/dummy-db.h: Removed.
22122
9ee76b5a
UD
221232011-06-02 Ulrich Drepper <drepper@gmail.com>
22124
22125 * nss/makedb.c: Rewritten to not use database library.
22126 * nss/Makefile: Update to build new makedb program.
22127
c71ca1f8
AJ
221282011-06-14 Andreas Jaeger <aj@suse.de>
22129
22130 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22131 memset declaration.
22132
3154bfb8
UD
221332011-06-10 Andreas Schwab <schwab@redhat.com>
22134
22135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22136 tmpbuf.
22137
b350afab
RM
221382011-06-10 Roland McGrath <roland@hack.frob.com>
22139
decd4e50
RM
22140 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22141 * elf/Makefile ($(objpfx)ld.so): Likewise.
22142
5615eaf2
RM
22143 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22144 Don't list ld.so twice in dependencies.
22145
22146 * posix/bug-regex31.c: Include <stdlib.h>.
22147
22148 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22149
22150 * nis/nss_compat/compat-spwd.c
22151 (getspent_next_nss_netgr): Remove unused variable.
22152 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22153
22154 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22155 nonmembers" output to use the right array.
22156
22157 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22158
22159 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22160
22161 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22162 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22163 * catgets/gencat.c (read_input_file): Likewise.
22164 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22165
22166 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22167 variable definition inside #if's controlling its use.
22168
22169 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22170
22171 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22172
22173 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22174
22175 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22176 unreachable code.
22177
22178 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22179
b68e08db
RM
22180 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22181 * configure: Regenerated.
22182
b350afab
RM
22183 * Makerules: Revert last change.
22184 * elf/Makefile: Likewise.
22185
28368601
RM
221862011-06-09 Roland McGrath <roland@hack.frob.com>
22187
22188 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22189 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22190 (reloc-link): Likewise.
22191
11988f8f
UD
221922011-06-09 Ulrich Drepper <drepper@gmail.com>
22193
22194 * elf/Makefile: Add rules to build pldd.
22195 * elf/pldd.c: New file.
22196 * elf/pldd-xx.c: New file.
22197
e80fab37
UD
221982011-06-07 Ulrich Drepper <drepper@gmail.com>
22199
22200 * version.h: Update for 2.15 development version.
22201
9b849836
DM
222022011-06-07 David S. Miller <davem@davemloft.net>
22203
22204 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22205 ifuncs.
22206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22207 elf_machine_lazy_rel): Likewise.
22208 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22210 elf_machine_lazy_rel): Likewise.
22211 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22212 dl_hwcap via passed in argument.
22213 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22214 Likewise.
22215
5a31b283
AK
222162011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22217
22218 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22219
069e52f8
RM
222202011-06-06 Roland McGrath <roland@hack.frob.com>
22221
22222 [BZ #12849]
22223 * manual/fdl-1.1.texi: New file, verbatim from:
22224 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22225 * manual/lgpl-2.1.texi: New file, verbatim from:
22226 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22227 * manual/Makefile (licenses): New variable, list those new file names.
22228 (texis): Use it.
22229 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22230
22231 * manual/fdl.texi: File removed.
22232 * manual/lesser.texi: File removed.
22233 * manual/libc.texinfo (Copying, Documentation License):
22234 Use new @include file names, put @appendix directive before @include.
22235
f16846a5
JJ
222362011-06-04 Jakub Jelinek <jakub@redhat.com>
22237
22238 [BZ #12841]
22239 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22240 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22241 (mq_open): Add __NTH.
22242
3d29045b
L
222432011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22244
22245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22246 Assume Intel Core i3/i5/i7 processor if AVX is available.
22247
8c297311
UD
222482011-05-31 Ulrich Drepper <drepper@gmail.com>
22249
22250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22251 typo.
22252
c8fc0c91
UD
222532011-05-31 Andreas Schwab <schwab@redhat.com>
22254
22255 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22256 memory. Use alloca_account. Fix memory leak when retrying.
22257
5b27a807
UD
222582011-05-31 Ulrich Drepper <drepper@gmail.com>
22259
356f8bc6
UD
22260 * version.h (RELEASE): Bump for 2.14 release.
22261 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22262
5b27a807
UD
22263 * config.make.in (RANLIB): Remove entry.
22264
01f16ab0
UD
222652011-05-30 Ulrich Drepper <drepper@gmail.com>
22266
41fce8bd
UD
22267 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22268 (libc.pot): Work around missing support for .ksh extension in xgettext.
22269
4769ae77
UD
22270 [BZ #12684]
22271 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22272 if both request failed.
22273 (send_dg): In case of server errors clear resplen or *resplen2.
22274
6b1e7d19
UD
22275 [BZ #12454]
22276 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22277 when there are multiple maps.
22278 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22279 (_dl_fini): Remove test here.
22280
01f16ab0
UD
22281 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22282
b1ebd700
UD
222832011-05-29 Ulrich Drepper <drepper@gmail.com>
22284
7ae22829
UD
22285 [BZ #12350]
22286 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22287 bit from old_res_options.
22288 (gaih_inet): Likewise.
22289
553149f6 22290 [BZ #11099]
18a84741 22291 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22292 as signed.
22293
652ffab1
UD
22294 * resolv/res_init.c (res_setoptions): Make the code more compact.
22295
16985fd0
UD
22296 [BZ #11558]
22297 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22298 set RES_USEVC.
22299
0464f746
UD
22300 [BZ #11634]
22301 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22302
7d17596c
UD
22303 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22304
cf6bbbd7
UD
22305 [BZ #11781]
22306 * malloc/malloc.h: Declare malloc hook variables as volatile.
22307
13f1ab36
UD
22308 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22309 in last patch.
22310
b1ebd700
UD
22311 [BZ #11799]
22312 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22313 raise in the comment.
80e2212d
UD
22314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22316 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22317
ce67228d
UD
223182011-05-28 Ulrich Drepper <drepper@gmail.com>
22319
8887a920
UD
22320 [BZ #12811]
22321 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22322 grow the buffers more if it already has to be sufficient.
22323 (build_wcs_upper_buffer): Likewise.
22324 * posix/regexec.c (check_matching): Likewise.
22325 (clean_state_log_if_needed): Likewise.
22326 (extend_buffers): Don't enlarge buffers beyond size of the input
22327 buffer.
22328 Patches mostly by Emil Wojak <emil@wojak.eu>.
22329 * posix/bug-regex32.c: New file.
22330 * posix/Makefile (tests): Add bug-regex32.
22331
4f031072
UD
22332 * locale/findlocale.c (_nl_find_locale): Return right away if
22333 _nl_explode_name failed.
22334 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22335
d0478f0c
UD
22336 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22337
de81b246
UD
22338 * debug/xtrace.sh: Unify messages.
22339 * malloc/memusage.sh: Likewise.
22340
c738465a
UD
22341 [BZ #12813]
22342 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22343 time symbol from vDSO. Substitute with vsyscall if not available.
22344 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22345 __vdso_time.
22346
f1f929d7
UD
22347 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22348 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22349 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22350 Add sendmmsg and internal_sendmmsg.
22351 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22352 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22353 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22354
ce67228d
UD
22355 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22356 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22357 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22358
e57420c6
UD
223592011-05-27 Ulrich Drepper <drepper@gmail.com>
22360
a8509ca5
UD
22361 [BZ #12813]
22362 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22363 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22364 available.
22365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22366 __vdso_getcpu.
22367
e57420c6
UD
22368 [BZ #12814]
22369 * iconvdata/Makefile (tests): Add bug-iconv9.
22370 * iconvdata/bug-iconv9.c: New file.
22371
4d07db15
AS
223722011-05-27 Andreas Schwab <schwab@redhat.com>
22373
22374 [BZ #12814]
22375 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22376
ea486f69
JJ
223772011-05-25 Jakub Jelinek <jakub@redhat.com>
22378
22379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22380 (struct user_regs_struct): Change intcs field back to cs.
22381
6f038433
UD
223822011-05-25 Ulrich Drepper <drepper@gmail.com>
22383
22384 * po/ja.po: Update from translation team.
22385
67f86a25
UD
223862011-05-23 Ulrich Drepper <drepper@gmail.com>
22387
22388 [BZ #12795]
22389 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22390 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22391
def7fbd6
AS
223922011-05-20 Andreas Schwab <schwab@redhat.com>
22393
22394 * stdlib/longlong.h: Update from GCC.
22395
f50ef8f1
AS
223962011-05-23 Andreas Schwab <schwab@redhat.com>
22397
22398 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22399 parameter name.
22400 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22401 Add parameter name.
22402 (__sysconf): Pass it down.
22403
de7ce8f1
UD
224042011-05-22 Ulrich Drepper <drepper@gmail.com>
22405
f2962a71
UD
22406 [BZ #12671]
22407 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22408 some situations.
22409 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22410 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22411 add in in __libc_use_alloca calls. Adjust callers.
22412 (glob): Use malloc in some situations.
22413
de7ce8f1
UD
22414 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22415 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22416 pltexit.
22417
aec84f53
UD
224182011-05-21 Ulrich Drepper <drepper@gmail.com>
22419
05bb4a68
UD
22420 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22421 and CLOCK_BOOTTIME_ALARM.
22422
7ea72f99
UD
22423 [BZ #12782]
22424 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22425 is returned.
22426
7e4afad5
UD
22427 * string/_strerror.c (__strerror_r): Print negative errors as signed
22428 numbers.
22429
8e211fec
UD
22430 [BZ #12777]
22431 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22432 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22433 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22434
f7d82dc9
UD
22435 * configure.in: Fix typo in redirection and correct removal of test
22436 files in two cases.
22437
cc9e536d
UD
22438 [BZ #12788]
22439 * locale/setlocale.c (new_composite_name): Fix test to check for
22440 identical name of all categories.
22441
aec84f53
UD
22442 [BZ #12792]
22443 * libio/filedoalloc.c (local_isatty): New function.
22444 (_IO_file_doallocate): Use local_isatty.
22445 * stdio-common/perror.c (perror): In case a new stream is used
22446 forward the stream error.
22447 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22448 error flag.
22449
78e64fdc
RT
224502011-05-20 Ulrich Drepper <drepper@gmail.com>
22451
34a9094f
UD
22452 [BZ #11869]
22453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22454 alloca.
22455 * include/alloca.h (extend_alloca_account): Define.
22456
78e64fdc
RT
22457 [BZ #11857]
22458 * posix/regex.h: Fix comments with documentation of user-accessible
22459 fields after compilation and describe correct free'ing of pattern
22460 after re_compile_pattern.
22461 Patch by Reuben Thomas <rrt@sc3d.org>.
22462
457bddfc
RA
224632011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22464
22465 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22466 and -mno-altivec to prevent the compiler from using Altivec and/or
22467 VSX instructions when the corresponding registers are not available.
22468
a4527b51
AS
224692011-05-19 Andreas Schwab <schwab@redhat.com>
22470
22471 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22472
ed690b2f
UD
224732011-05-19 Ulrich Drepper <drepper@gmail.com>
22474
22475 * libio/freopen.c (freopen): Use __dup2, not dup2.
22476 * libio/freopen64.c (freopen64): Likewise.
22477
8db73634
L
224782011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22479
22480 [BZ #12775]
22481 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22482 * math/Makefile (tests): Add test-powl.
22483 (CFLAGS-test-powl.c): Define.
22484 * math/test-powl.c: New file.
22485
0a197a9d
L
224862011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22487
22488 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22489
ee30c380
UD
224902011-05-17 Ulrich Drepper <drepper@gmail.com>
22491
22492 [BZ #11837]
22493 * iconvdata/gb18030.c: Update to GB18020-2005.
22494
6ce75379
UD
224952011-05-16 Ulrich Drepper <drepper@gmail.com>
22496
a4b89fd8
AR
22497 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22498 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22499 Patch by Aharon Robbins <arnold@skeeve.com>.
22500
ea389b12
UD
22501 [BZ #11892]
22502 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22503 on the stack.
22504
68a3f91f
UD
22505 [BZ #11895]
22506 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22507 through underflows.
22508
15cc7dd1
UD
22509 [BZ #12766]
22510 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22511 point to strings before performing equality test for error_one_per_line
22512 mode.
22513
f3799213
UD
22514 [BZ #11697]
22515 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22516
d79a9c94
UD
22517 [BZ #11820]
22518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22519 (struct user_fpregs_struct): Avoid __uint*_t types.
22520
56e5eb46
UD
22521 [BZ #6420]
22522 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22523 symbol info. Use it instead of calling _dl_addr locally.
22524 (lock_and_info): New function.
22525 (tr_freehook): Call lock_and_info and pass symbol info as additional
22526 parameter to tr_where.
22527 (tr_mallochook): Likewise.
22528 (tr_reallochook): Likewise.
22529 (tr_memalignhook): Likewise.
22530
6ce75379
UD
22531 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22532 used and couldn't be at all thread-safe.
22533
f8a3b5bf
UD
225342011-05-15 Ulrich Drepper <drepper@gmail.com>
22535
94b7cc37
UD
22536 * libio/freopen.c (freopen): Don't close old file descriptor
22537 before the new one is opened. Instead dup the new file descriptor
22538 to the old one after the new stream is created.
22539 * libio/freopen64.c (freopen64): Likewise.
22540 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22541 * libio/fileops.c (_IO_new_file_close_it): Handle new
22542 _IO_FLAGS2_NOCLOSE flag.
22543 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22544 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22545 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22546 _IO_FLAGS2_NOCLOSE flag.
22547 * include/unistd.h: Add hidden_proto for dup3.
22548 Define __have_dup3.
22549 * io/dup3.c: Define hidden symbol.
22550 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22551
bd25564e
UD
22552 [BZ #7101]
22553 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22554 when an incomplete long option is used.
22555 * posix/tst-getopt_long1.c: New file.
22556 * posix/Makefile (tests): Add tst-getopt_long1.
22557
c84cfef4
UD
22558 [BZ #10138]
22559 * scripts/config.guess: Update from autoconf-2.68.
22560 * scripts/config.sub: Likewise.
22561
3b85df27
UD
22562 [BZ #10157]
22563 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22564 tests into ...
22565 (has_cpuclock): ...this. New function.
22566 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22567 macro here based on has_cpuclock code.
22568
15a856b1
UD
22569 [BZ #10149]
22570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22571 First byte (not low byte) is now always NUL.
22572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22573
05f399e6
UD
22574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22575 Use non-cancelable interfaces.
22576
10a52685 22577 [BZ #9809]
94ecc67d
UD
22578 * locale/iso-639.def: Add entry for Sorani.
22579
f8a3b5bf
UD
22580 [BZ #11901]
22581 * include/stdlib.h: Move include protection to the right place.
22582 Define abort_msg_s. Declare __abort_msg with it.
22583 * stdlib/abort.c (__abort_msg): Adjust type.
22584 * assert/assert.c (__assert_fail_base): New function. Majority
22585 of code from __assert_fail. Allocate memory for __abort_msg with
22586 mmap.
22587 (__assert_fail): Now call __assert_fail_base.
22588 * assert/assert-perr.c: Remove bulk of implementation. Use
22589 __assert_fail_base.
22590 * include/assert.hL Declare __assert_fail_base.
22591 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22592 mmap.
22593 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22594
1af4e298
UD
225952011-05-14 Ulrich Drepper <drepper@gmail.com>
22596
f8a3b5bf 22597 [BZ #11952]
d26dfc60
MG
22598 [BZ #12453]
22599 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22600 until all modules are registered in the DTV.
22601 * elf/Makefile: Add rules to build and run tst-tls19.
22602 * elf/tst-tls19.c: New file.
22603 * elf/tst-tls19mod1.c: New file.
22604 * elf/tst-tls19mod2.c: New file.
22605 * elf/tst-tls19mod3.c: New file.
22606 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22607
2fc54d6f
UD
22608 [BZ #12083]
22609 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22610 correctly.
22611
98d76b46
UD
22612 [BZ #12601]
22613 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22614 two-byte sequence errors.
22615 * iconvdata/Makefile (tests): Add bug-iconv8.
22616 * iconvdata/bug-iconv8.c: New file.
22617
da3c19ef
UD
22618 [BZ #12626]
22619 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22620 buf2 definition.
22621
ca408c15
UD
22622 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22623
d6f67f7d
UD
22624 [BZ #12432]
22625 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22626 (dummy_getcfa): New function.
22627 (init): Get _Unwind_GetCFA address, use dummy if not found.
22628 (backtrace_helper): In recursion check, also check whether CFA changes.
22629 (__backtrace): Completely initialize arg.
22630
1af4e298 22631 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22632 storing incomplete byte sequence in state object. Avoid testing for
22633 guaranteed too small input if we know there is enough data available.
1af4e298 22634
da62f81b
AS
226352011-05-11 Andreas Schwab <schwab@redhat.com>
22636
22637 * Makeconfig (+link-pie): Indent.
22638 * Rules (binaries-pie): Define if $(have-fpie) and
22639 $(build-shared).
22640 (binaries-shared): Also filter out $(binaries-pie).
22641 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22642 * nscd/Makefile (others-pie): Add nscd.
22643 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22644 ($(objpfx)nscd): Remove command override.
22645 * login/Makefile (others-pie): Add pt_chown.
22646 ($(objpfx)pt_chown): Remove command override.
22647 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22648 remove command overrides.
22649
fcabc0f8
UD
226502011-05-13 Ulrich Drepper <drepper@gmail.com>
22651
20030ae6
UD
22652 * libio/tst_putwc.c: Fix error messages.
22653
fcabc0f8
UD
22654 [BZ #12724]
22655 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22656 currently writing and seek to current position when not.
22657 * libio/Makefile (tests): Add bug-fclose1.
22658 * libio/bug-fclose1.c: New file.
22659
320a5dc0
PB
226602011-05-12 Ulrich Drepper <drepper@gmail.com>
22661
22662 [BZ #12511]
22663 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22664 don't set DF_1_NODELETE here.
22665 (do_lookup_x): When entering new entry test for copy relocation
22666 and if necessary set DF_1_NODELETE flag.
22667 * elf/tst-unique4.cc: New file.
22668 * elf/tst-unique4.h: New file.
22669 * elf/tst-unique4lib.cc: New file.
22670 * elf/Makefile: Add rules to build and run tst-unique4.
22671 Patch by Piotr Bury <pbury@goahead.com>.
22672
22836f52
UD
226732011-05-11 Ulrich Drepper <drepper@gmail.com>
22674
f574184a
UD
22675 [BZ #12052]
22676 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22677
e1fb097f
UD
22678 [BZ #12625]
22679 * misc/mntent_r.c (addmntent): Flush the stream after the output
22680
22836f52
UD
22681 [BZ #12393]
22682 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22683 (is_trusted_path_normalize): Skip initial colon. Append slash
22684 to empty buffer. Duplicate is_trusted_path code but allow
22685 constructed patch to be prefix.
22686 (is_dst): Allow $ORIGIN followed by /.
22687 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22688 Correct testing of result of is_trusted_path_normalize
22689 (decompose_rpath): Fix warning.
22690
7b3b0b2a
UD
226912011-05-10 Ulrich Drepper <drepper@gmail.com>
22692
22693 [BZ #11257]
22694 * grp/initgroups.c (internal_getgrouplist): When we found the service
22695 list through the initgroups entry in nsswitch.conf do not always
22696 continue on a successful lookup. Don't always use the
eac80ce2 22697 __nss_group_database value if it is set.
7b3b0b2a
UD
22698 * nss/nsswitch.conf (initgroups): Change action for successful db
22699 lookup to continue for compatibility.
22700
2a81eaa5
UD
227012011-05-09 Ulrich Drepper <drepper@gmail.com>
22702
be97a69e
UD
22703 [BZ #11532]
22704 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22705 and CP774 modules.
22706 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22707 and CP774 modules.
22708 * iconvdata/tst-tables.sh: Likewise.
22709 * iconvdata/cp770.c: New file.
22710 * iconvdata/cp771.c: New file.
22711 * iconvdata/cp772.c: New file.
22712 * iconvdata/cp773.c: New file.
22713 * iconvdata/cp774.c: New file.
22714 * iconvdata/testdata/CP770: New file.
22715 * iconvdata/testdata/CP770..UTF8: New file.
22716 * iconvdata/testdata/CP771: New file.
22717 * iconvdata/testdata/CP771..UTF8: New file.
22718 * iconvdata/testdata/CP772: New file.
22719 * iconvdata/testdata/CP772..UTF8: New file.
22720 * iconvdata/testdata/CP773: New file.
22721 * iconvdata/testdata/CP773..UTF8: New file.
22722 * iconvdata/testdata/CP774: New file.
22723 * iconvdata/testdata/CP774..UTF8: New file.
22724
22725 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22726 END CHARMAP line.
22727 * iconvdata/gen-8bit-gap.sh: Likewise.
22728 * iconvdata/gen-8bit.sh: Likewise.
22729
c1e9e399
UD
22730 * locale/iso-639.def: Add ary entry.
22731
24c55fb3 22732 [BZ #11258]
96b4b1b0
UD
22733 * locale/C-translit.h.in: Add U20A1 transliteration.
22734
bdc2f971
KB
22735 [BZ #12178]
22736 * locale/iso-639.def: Add wae entry.
22737 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22738
2952b117
UD
22739 [BZ #12545]
22740 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22741 for n.
22742
2a81eaa5
UD
22743 [BZ #12711]
22744 * locale/C-translit.h.in: Add entry for U20B9.
22745 Patch by pravin.d.s@gmail.com.
22746
28377d1b
UD
227472011-05-08 Ulrich Drepper <drepper@gmail.com>
22748
7fb90fb8
UD
22749 [BZ #12713]
22750 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22751 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22752 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22753 in rtld. Use *stat64.
7fb90fb8 22754 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22755 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22756 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22757 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22758 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22759 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22760 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22761 __fstatat64 macros.
7fb90fb8
UD
22762 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22763 * dirent/rewinddir.c: Add libc_hidden_def.
22764 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22765 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22766
28377d1b
UD
22767 * include/dirent.h (__alloc_dir): Add flags parameter.
22768 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22769 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22770 __alloc_dir.
22771 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22772 from fdopendir if O_CLOEXEC is already set.
22773
66bdbaa4
AM
227742011-03-15 Alan Modra <amodra@gmail.com>
22775
22776 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22777 l_tls_firstbyte_offset non-zero. Save padding offset in
22778 l_tls_firstbyte_offset for later use.
22779 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22780 freeing static tls block.
22781
95721191
JN
227822011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22783
22784 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22785 where #ifdef was intended. The intent is to prevent ARG_MAX from
22786 being defined by the kernel headers.
22787
f87dfb1f
UD
227882011-05-07 Ulrich Drepper <drepper@gmail.com>
22789
22790 [BZ #12734]
22791 * resolv/resolv.h: Define RES_NOTLDQUERY.
22792 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22793 no-tld-query and set RES_NOTLDQUERY.
22794 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22795 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22796 modern BIND to search name as TLD unless forbidden.
22797
47c3cd7a
UD
227982011-05-07 Petr Baudis <pasky@suse.cz>
22799 Ulrich Drepper <drepper@gmail.com>
22800
22801 [BZ #12393]
22802 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22803 (is_trusted_path): ...to here.
c1e9ea35 22804 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22805 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22806 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22807
8a35c912
PP
228082011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22809
22810 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22811 __BEGIN/__END_DECLS.
22812
acd41f47
UD
228132011-05-06 Ulrich Drepper <drepper@gmail.com>
22814
22815 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22816 NSS_STATUS_NOTFOUND if no record was found.
22817
597df647
AS
228182011-05-05 Andreas Schwab <schwab@redhat.com>
22819
22820 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22821 (headers-not-in-tirpc): Remove rpc/netdb.h
22822 * resolv/netdb.h: Revert last change.
22823
b9af1301
PP
228242011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22825
22826 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22827 circular dependency between libgcc.a and libc.a.
22828
4e34d5f5
AS
228292011-05-05 Andreas Schwab <schwab@redhat.com>
22830
22831 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22832 * nis/Makefile: Don't install rpcsvc/*.
22833 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22834 instead of <rpc/types.h>.
22835 (MAXHOSTNAMELEN): Define.
22836
00ee369c
AS
228372011-05-03 Andreas Schwab <schwab@redhat.com>
22838
22839 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22840
0b592a30
MB
228412011-04-28 Maciej Babinski <mbabinski@google.com>
22842
22843 [BZ #12714]
22844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22845 gethostbyname4_r when IPv6 results are possible.
22846
6e04cbbe
UD
228472011-05-02 Ulrich Drepper <drepper@gmail.com>
22848
22849 [BZ #12723]
22850 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22851 _PC_PIPE_BUF handling.
22852
e4ecafe0
BH
228532011-04-30 Bruno Haible <bruno@clisp.org>
22854
22855 [BZ #12717]
22856 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22857 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22858 to 'int'.
22859 * inet/getnameinfo.c (getnameinfo): Likewise.
22860
125ee683
UD
228612011-04-29 Ulrich Drepper <drepper@gmail.com>
22862
22863 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22864 to groups setting in database lookup.
22865 * nss/nsswitch.conf: Add initgroups entry.
22866
b722481a
EB
228672011-04-22 Ulrich Drepper <drepper@gmail.com>
22868
22869 [BZ #12685]
22870 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22871 mode string.
22872 Patch by Eric Blake <eblake@redhat.com>.
22873
4df46dbd
L
228742011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22875
22876 * sunrpc/Makefile (need-export-routines): Add svc_run.
22877 (routines): Remove svc_run.
22878 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22879 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22880 * sunrpc/svc_run.c (svc_run): Likewise.
22881 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22882
e84142d2
UD
228832011-04-21 Ulrich Drepper <drepper@gmail.com>
22884
22885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22886 problem in reallocation in last patch.
22887
877175d8
UD
228882011-04-20 Ulrich Drepper <drepper@gmail.com>
22889
22890 * sunrpc/Makefile: Move inclusion of Rules.
22891
ab8eed78
UD
228922011-04-19 Ulrich Drepper <drepper@gmail.com>
22893
22894 * nss/nss_files/files-initgroups.c: New file.
22895 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22896 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22897 _nss_files_initgroups_dyn.
22898
e3d8f584
RS
228992011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22900
22901 * elf/elf.h (R_ARM_IRELATIVE): Define.
22902
af190f45
UD
229032011-04-19 Ulrich Drepper <drepper@gmail.com>
22904
22905 * po/ru.po: Update from translation team.
22906
53cf59ef
UD
229072011-04-17 Ulrich Drepper <drepper@gmail.com>
22908
22909 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22910 dependencies.
22911
4c559bcd
MF
229122011-02-06 Mike Frysinger <vapier@gentoo.org>
22913
22914 [BZ #12653]
22915 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22916 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22919 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22920
4420675c
AS
229212011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22922
22923 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22924 differing bytes.
22925 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22928
75ea32ab
UD
229292011-04-17 Ulrich Drepper <drepper@gmail.com>
22930
22931 [BZ #12420]
22932 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22933 storing it.
22934 * stdlib/bug-getcontext.c: New file.
22935 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22936
27390476
AK
229372011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22938
22939 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22940 instructions into .machine "z9-109".
22941 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22942 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22943
10442705
AK
229442011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22945
22946 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22947 between environment variables and auxiliary vector.
22948
7b57bfe5
UD
229492011-04-16 Ulrich Drepper <drepper@gmail.com>
22950
22951 * Makefile: Add rules to build linkobj/libc.so.
22952 * include/libc-symbols.h: Define libc_hidden_nolink.
22953 * include/rpc/auth.h: Mark functions which are to be hidden.
22954 * include/rpc/auth_des.h: Likewise.
22955 * include/rpc/auth_unix.h: Likewise.
22956 * include/rpc/clnt.h: Likewise.
22957 * include/rpc/des_crypt.h: Likewise.
22958 * include/rpc/key_prot.h: Likewise.
22959 * include/rpc/pmap_clnt.h: Likewise.
22960 * include/rpc/pmap_prot.h: Likewise.
22961 * include/rpc/pmap_rmt.h: Likewise.
22962 * include/rpc/rpc_msg.h: Likewise.
22963 * include/rpc/svc.h: Likewise.
22964 * include/rpc/svc_auth.h: Likewise.
22965 * include/rpc/xdr.h: Likewise.
22966 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22967 * nss/Makefile: Likewise.
22968 * sunrpc/Makefile: Don't install headers. Build library with normal
22969 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22970 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22971 for the compat linking library. Remove use of INTDEF/INTUSE.
22972 * sunrpc/auth_none.c: Likewise.
22973 * sunrpc/auth_unix.c: Likewise.
22974 * sunrpc/authdes_prot.c: Likewise.
22975 * sunrpc/authuxprot.c: Likewise.
22976 * sunrpc/clnt_gen.c: Likewise.
22977 * sunrpc/clnt_perr.c: Likewise.
22978 * sunrpc/clnt_raw.c: Likewise.
22979 * sunrpc/clnt_simp.c: Likewise.
22980 * sunrpc/clnt_tcp.c: Likewise.
22981 * sunrpc/clnt_udp.c: Likewise.
22982 * sunrpc/clnt_unix.c: Likewise.
22983 * sunrpc/des_crypt.c: Likewise.
22984 * sunrpc/des_soft.c: Likewise.
22985 * sunrpc/get_myaddr.c: Likewise.
22986 * sunrpc/key_call.c: Likewise.
22987 * sunrpc/key_prot.c: Likewise.
22988 * sunrpc/netname.c: Likewise.
22989 * sunrpc/pm_getmaps.c: Likewise.
22990 * sunrpc/pm_getport.c: Likewise.
22991 * sunrpc/pmap_clnt.c: Likewise.
22992 * sunrpc/pmap_prot.c: Likewise.
22993 * sunrpc/pmap_prot2.c: Likewise.
22994 * sunrpc/pmap_rmt.c: Likewise.
22995 * sunrpc/publickey.c: Likewise.
22996 * sunrpc/rpc_cmsg.c: Likewise.
22997 * sunrpc/rpc_common.c: Likewise.
22998 * sunrpc/rpc_dtable.c: Likewise.
22999 * sunrpc/rpc_prot.c: Likewise.
23000 * sunrpc/rpc_thread.c: Likewise.
23001 * sunrpc/rtime.c: Likewise.
23002 * sunrpc/svc.c: Likewise.
23003 * sunrpc/svc_auth.c: Likewise.
23004 * sunrpc/svc_authux.c: Likewise.
23005 * sunrpc/svc_raw.c: Likewise.
23006 * sunrpc/svc_run.c: Likewise.
23007 * sunrpc/svc_simple.c: Likewise.
23008 * sunrpc/svc_tcp.c: Likewise.
23009 * sunrpc/svc_udp.c: Likewise.
23010 * sunrpc/svc_unix.c: Likewise.
23011 * sunrpc/svcauth_des.c: Likewise.
23012 * sunrpc/xcrypt.c: Likewise.
23013 * sunrpc/xdr.c: Likewise.
23014 * sunrpc/xdr_array.c: Likewise.
23015 * sunrpc/xdr_float.c: Likewise.
23016 * sunrpc/xdr_intXX_t.c: Likewise.
23017 * sunrpc/xdr_mem.c: Likewise.
23018 * sunrpc/xdr_rec.c: Likewise.
23019 * sunrpc/xdr_ref.c: Likewise.
23020 * sunrpc/xdr_sizeof.c: Likewise.
23021 * sunrpc/xdr_stdio.c: Likewise.
23022
e6c61494
UD
230232011-04-10 Ulrich Drepper <drepper@gmail.com>
23024
23025 [BZ #12650]
23026 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23027 * sysdeps/ia64/dl-tls.h: Likewise.
23028 * sysdeps/powerpc/dl-tls.h: Likewise.
23029 * sysdeps/s390/dl-tls.h: Likewise.
23030 * sysdeps/sh/dl-tls.h: Likewise.
23031 * sysdeps/sparc/dl-tls.h: Likewise.
23032 * sysdeps/x86_64/dl-tls.h: Likewise.
23033 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23034
34fe483e
AS
230352011-03-14 Andreas Schwab <schwab@redhat.com>
23036
23037 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23038 rpath element also skip the following colon.
23039 (expand_dynamic_string_token): Add is_path parameter and pass
23040 down to DL_DST_REQUIRED and _dl_dst_substitute.
23041 (decompose_rpath): Call expand_dynamic_string_token with
23042 non-zero is_path. Ignore empty rpaths.
23043 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23044 with zero is_path.
23045
f12a32e6
AS
230462011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23047
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23049 Make cancelable.
23050
38a7d692
UD
230512011-04-09 Ulrich Drepper <drepper@gmail.com>
23052
23053 [BZ #12655]
23054 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23055 Patch by Filipe David Manana <fdmanana@apache.org>.
23056
e451d22b
AS
230572011-04-07 Andreas Schwab <schwab@redhat.com>
23058
23059 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23060 Maintain aligned stack.
23061 (CHECK_RSP): Remove unused macro.
23062
dedc7c7b
UD
230632011-04-03 Ulrich Drepper <drepper@gmail.com>
23064
23065 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23066 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23067
94521213
UD
230682011-04-02 Ulrich Drepper <drepper@gmail.com>
23069
23070 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23071
8cb700c0 23072 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23073
0354e355
L
230742011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23075
23076 [BZ #12518]
23077 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23078 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23079 * sysdeps/x86_64/memmove.c: New file.
23080 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23081 (memcpy): Renamed to ...
23082 (__new_memcpy): This.
23083 (memcpy): Provide GLIBC_2_14 memcpy.
23084 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23085 (memcpy): Provide GLIBC_2_2_5 memcpy.
23086
8593482f
UD
230872011-04-01 Ulrich Drepper <drepper@gmail.com>
23088
23089 [BZ #12631]
23090 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23091
81a5726b
AS
230922011-03-30 Andreas Schwab <schwab@redhat.com>
23093
23094 * misc/syncfs.c: New file.
23095 * misc/Makefile (routines): Add syncfs.
23096 * posix/unistd.h: Declare syncfs.
23097 * sysdeps/unix/syscalls.list: Add syncfs.
23098
00e5419f
AS
230992011-04-01 Andreas Schwab <schwab@redhat.com>
23100
23101 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23102 open_by_handle_at.
23103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23104 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23106 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23108 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23110
748876bf
UD
231112011-04-01 Ulrich Drepper <drepper@gmail.com>
23112
658e451d
UD
23113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23115 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23117 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23120
748876bf
UD
23121 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23122 sync_file_range.c with -fexceptions.
23123 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23124 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23125 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23126 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23127 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23128 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23130 sync_file_range as cancellation point
23131 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23132 now a wrapper around __call_sync_file_range with cancellation handling.
23133 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23134 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23135 function name to __call_sync_file_range.
23136 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23137 Add call_sync_file_range.
748876bf 23138
6e63d5e1
AS
231392011-04-01 Andreas Schwab <schwab@redhat.com>
23140
23141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23142 bits/timex.h.
6e63d5e1 23143
46998f74
UD
231442011-04-01 Ulrich Drepper <drepper@gmail.com>
23145
4c1423ed
UD
23146 * iconv/iconv.h: Fix typo in comment.
23147 * io/fcntl.h: Likewise.
23148 * libio/stdio.h: Likewise.
23149 * posix/spawn.h: Likewise.
23150 * posix/unistd.h: Likewise.
23151 * stdlib/stdlib.h: Likewise.
23152 * time/time.h: Likewise.
23153 * wcsmbs/wchar.h: Likewise.
23154
158648c0
UD
23155 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23156 open_by_handle): Add.
23157 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23158 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23159 Augment a few comments.
23160 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23165 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23166 open_by_handle.
23167
46998f74
UD
23168 * io/fcntl.h (AT_EMPTY_PATH): Define.
23169
83fe108b
UD
231702011-03-30 Ulrich Drepper <drepper@gmail.com>
23171
23172 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23173 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23174 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23175 to...
23176 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23177 * Versions.def: Add GLIBC_2.14.
23178 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23179 Export.
83fe108b 23180
bb242059
UD
231812011-03-22 Ulrich Drepper <drepper@gmail.com>
23182
23183 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23184 round counter.
23185 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23186
c97a1282
L
231872011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23188
23189 [BZ #12597]
23190 * string/test-strncmp.c (do_page_test): New function.
23191 (check2): Likewise.
23192 (test_main): Call check2.
23193 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23194
2a115601
UD
231952011-03-20 Ulrich Drepper <drepper@gmail.com>
23196
23197 [BZ #12587]
23198 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23199 Handle cache information in CPU leaf 4.
23200 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23201
8126d904
UD
232022011-03-18 Ulrich Drepper <drepper@gmail.com>
23203
042c49c6 23204 [BZ #12583]
8126d904
UD
23205 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23206 character representation.
23207 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23208
ccfe366e
RA
232092011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23210
23211 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23212 END(__isnan) to END(__isnanf) to match function entry point/label
23213 EALIGN(__isnanf,...).
23214
c6e13027
JJ
232152011-03-10 Jakub Jelinek <jakub@redhat.com>
23216
23217 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23218
33f85a3f
UD
232192011-03-10 Ulrich Drepper <drepper@gmail.com>
23220
028478fa
UD
23221 [BZ #12510]
23222 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23223 copy from the symbol referenced in the relocation to initialize the
23224 used variable.
23225 Patch by Piotr Bury <pbury@goahead.com>.
23226 * elf/Makefile: Add rules to build and tst-unique3.
23227 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23228 * elf/tst-unique3.cc: New file.
23229 * elf/tst-unique3.h: New file.
23230 * elf/tst-unique3lib.cc: New file.
23231 * elf/tst-unique3lib2.cc: New file.
23232
33f85a3f
UD
23233 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23234
03592fc7
MF
232352011-03-10 Mike Frysinger <vapier@gentoo.org>
23236
23237 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23238 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23239 to _start.
03592fc7 23240
6a5ee102
UD
232412011-03-06 Ulrich Drepper <drepper@gmail.com>
23242
23243 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23244 to-be-loaded object along a path to loader is ld.so.
23245
7e4ba49c
HJ
232462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23247 Ulrich Drepper <drepper@gmail.com>
23248
23249 * sysdeps/x86_64/memset.S: After aligning destination, code
23250 branches to different locations depending on the value of
23251 misalignment, when multiarch is enabled. Fix this.
23252
232532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23254
23255 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23256 Set _x86_64_preferred_memory_instruction for AMD processsors.
23257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23258 Set bit_Prefer_SSE_for_memop for AMD processors.
23259
13a804de
UD
232602011-03-04 Ulrich Drepper <drepper@gmail.com>
23261
23262 * libio/fmemopen.c (fmemopen): Optimize a bit.
23263
9d25c392
AS
232642011-03-03 Andreas Schwab <schwab@redhat.com>
23265
23266 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23267
a5543c6a
RM
232682011-03-03 Roland McGrath <roland@redhat.com>
23269
23270 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23271
012d35f7
DM
232722011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23273
7e4ba49c 23274 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23275 __bzero_ultra1 instead of __memset_ultra1.
23276
4bff6e01
AS
232772011-02-23 Andreas Schwab <schwab@redhat.com>
23278 Ulrich Drepper <drepper@gmail.com>
23279
23280 [BZ #12509]
23281 * include/link.h (struct link_map): Add l_orig_initfini.
23282 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23283 returning unsuccessfully.
23284 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23285 close of a file loaded at startup, restore the original l_initfini
23286 list.
23287 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23288 list, store the pointer.
23289 * elf/Makefile ($(objpfx)noload-mem): New rule.
23290 (noload-ENV): Define.
23291 (tests): Add $(objpfx)noload-mem.
23292 * elf/noload.c: Include <memcheck.h>.
23293 (main): Call mtrace. Close all opened handles.
23294
f2092faf
AS
232952011-02-17 Andreas Schwab <schwab@redhat.com>
23296
23297 [BZ #12454]
23298 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23299 dependencies are missing.
23300
6c8a2e88
ST
233012011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23302
f2092faf 23303 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23304 Hurd needs munmap.
23305 * sysdeps/mach/hurd/ifreq.h: New file.
23306
84a42118
PB
233072011-01-27 Petr Baudis <pasky@suse.cz>
23308 Ulrich Drepper <drepper@gmail.com>
23309
071f805e 23310 [BZ 12445]#
84a42118
PB
23311 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23312 to extend_alloca().
23313 * stdio-common/bug23.c: New file.
23314 * stdio-common/Makefile (tests): Add bug23.
23315
e23fe25b
AS
233162010-09-28 Andreas Schwab <schwab@redhat.com>
23317 Ulrich Drepper <drepper@gmail.com>
23318
23319 [BZ #12489]
23320 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23321 before performing relro protection. At old place add assertion
23322 to make sure nothing changed.
23323
d3f02e10
NS
233242011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23325 Glauber de Oliveira Costa <glommer@gmail.com>
23326
23327 * elf/elf.h: Add new ARM TLS relocs.
23328
d55fd7a5
RA
233292011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23330
23331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23332 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23333 cast from r3.
23334 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23335 'tests' variable.
23336 * sysdeps/wordsize-64/tst-writev.c: New file.
23337
2206397e
RA
233382011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23339
23340 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23341 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23342 insns in _dl_start to prevent a TOC reference before relocs are
23343 resolved.
23344
e9433893
UD
233452011-02-15 Ulrich Drepper <drepper@gmail.com>
23346
23347 [BZ #12469]
23348 * Makeconfig: Remove RANLIB definition.
23349 * Makerules: Don't use RANLIB.
23350 * aclocal.m4: Remove ranlib test.
23351 * configure.in: No need to check for ranlib.
23352 * elf/rtld-Rules: Don't use RANLIB.
23353
f75286c6
ST
233542011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23355
8e31c82d
ST
23356 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23357 protection macro.
23358 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23359 inclusion protection macro.
23360
f75286c6
ST
23361 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23362 SIGRTMIN and SIGRTMAX and print information in that case only when
23363 SIGRTMIN is defined.
23364
c1d0e639
JJ
233652011-02-11 Jakub Jelinek <jakub@redhat.com>
23366
23367 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23368 arginfo fn returning -1.
23369
23370 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23371 and thousands string is zero terminated.
23372
edf9294e
AS
233732011-02-03 Andreas Schwab <schwab@redhat.com>
23374
23375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23376 sysdeps/unix/sysv/linux/bits/socket.h.
23377
2b7e92df
ST
233782011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23379
edf9294e
AS
23380 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23381 (__CPU_COUNT): Remove old macros.
23382 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23383 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23384 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23385 (__sched_cpualloc, __sched_cpufree): Add declarations.
23386
a4c7ea7b
UD
233872011-02-05 Ulrich Drepper <drepper@gmail.com>
23388
23389 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23390 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23391 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23392 (readdhstai): Return value of addhstaiX call.
23393 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23394 (addgrbyX): Return value returned by cache_addgr.
23395 (readdgrbyname): Return value returned by addgrbyX.
23396 (readdgrbygid): Likewise.
23397 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23398 (addpwbyX): Return value returned by cache_addpw.
23399 (readdpwbyname): Return value returned by addhstbyX.
23400 (readdpwbyuid): Likewise.
23401 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23402 (addservbyX): Return value returned by cache_addserv.
23403 (readdservbyname): Return value returned by addservbyX:
23404 (readdservbyport): Likewise.
23405 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23406 (addhstbyX): Return value returned by cache_addhst.
23407 (readdhstbyname): Return value returned by addhstbyX.
23408 (readdhstbyaddr): Likewise.
23409 (readdhstbynamev6): Likewise.
23410 (readdhstbyaddrv6): Likewise.
23411 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23412 (readdinitgroups): Return value returned by addinitgroupsX.
23413 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23414 (prune_cache): Keep track of timeout value of re-added entries.
23415 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23416 * nscd/nscd.h: Adjust prototypes of readd* functions.
23417
a0bf67cc
RM
234182011-02-04 Roland McGrath <roland@redhat.com>
23419
23420 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23421 (nis_stats): Likewise.
23422 * nis/nis_modify.c (nis_modify): Likewise.
23423 * nis/nis_remove.c (nis_remove): Likewise.
23424 * nis/nis_add.c (nis_add): Likewise.
23425
23426 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23427
23428 * posix/fnmatch_loop.c: Add some consts.
23429
23430 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23431
435b95eb
L
234322011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23433
23434 [BZ #12460]
23435 * config.make.in (config-cflags-novzeroupper): Define.
23436 * configure.in: Substitute libc_cv_cc_novzeroupper.
23437 * elf/Makefile (AVX-CFLAGS): Define.
23438 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23439 (CFLAGS-tst-auditmod4a.c): Likewise.
23440 (CFLAGS-tst-auditmod4b.c): Likewise.
23441 (CFLAGS-tst-auditmod6b.c): Likewise.
23442 (CFLAGS-tst-auditmod6c.c): Likewise.
23443 (CFLAGS-tst-auditmod7b.c): Likewise.
23444 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23445
8517b15e
UD
234462011-02-02 Ulrich Drepper <drepper@gmail.com>
23447
23448 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23449 function to the callback.
23450 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23451
10a656fe
AS
234522011-02-02 Andreas Schwab <schwab@redhat.com>
23453
23454 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23455 of errno.
23456
968dad0a
UD
234572011-01-19 Ulrich Drepper <drepper@gmail.com>
23458
9f94d2ea 23459 [BZ #11724]
968dad0a
UD
23460 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23461 of constructors.
23462 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23463 of destructors.
23464 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23465
23466 [BZ #11724]
23467 * elf/Makefile: Add rules to build and run new test.
23468 * elf/tst-initorder.c: New file.
23469 * elf/tst-initorder.exp: New file.
23470 * elf/tst-initordera1.c: New file.
23471 * elf/tst-initordera2.c: New file.
23472 * elf/tst-initordera3.c: New file.
23473 * elf/tst-initordera4.c: New file.
23474 * elf/tst-initorderb1.c: New file.
23475 * elf/tst-initorderb2.c: New file.
23476 * elf/tst-order-a1.c: New file.
23477 * elf/tst-order-a2.c: New file.
23478 * elf/tst-order-a3.c: New file.
23479 * elf/tst-order-a4.c: New file.
23480 * elf/tst-order-b1.c: New file.
23481 * elf/tst-order-b2.c: New file.
23482 * elf/tst-order-main.c: New file.
23483 New test case by George Gensure <werkt0@gmail.com>.
23484
86e92359
UD
234852010-10-01 Andreas Schwab <schwab@redhat.com>
23486
23487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23488 decoding ACE if AI_CANONIDN.
23489
5d5732b0
UD
234902011-01-18 Ulrich Drepper <drepper@gmail.com>
23491
23492 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23493
a77e8cbc
UD
234942011-01-17 Ulrich Drepper <drepper@gmail.com>
23495
6392473f
UD
23496 * version.h (RELEASE): Bump for 2.13 release.
23497 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23498
620a0529
UD
23499 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23500
18ba70a5
UD
23501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23502 MADV_NOHUGEPAGE.
32465c3e
UD
23503 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23504 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23505 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23506 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23507 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23508 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23509
c0dafcf1
UD
23510 * posix/getconf.c: Update copyright year.
23511 * catgets/gencat.c: Likewise.
23512 * csu/version.c: Likewise.
23513 * debug/catchsegv.sh: Likewise.
23514 * debug/xtrace.sh: Likewise.
23515 * elf/ldconfig.c: Likewise.
23516 * elf/ldd.bash.in: Likewise.
23517 * elf/sprof.c (print_version): Likewise.
23518 * iconv/iconv_prog.c: Likewise.
23519 * iconv/iconvconfig.c: Likewise.
23520 * locale/programs/locale.c: Likewise.
23521 * locale/programs/localedef.c: Likewise.
23522 * malloc/memusage.sh: Likewise.
23523 * malloc/mtrace.pl: Likewise.
23524 * nscd/nscd.c (print_version): Likewise.
23525 * nss/getent.c: Likewise.
23526
a77e8cbc
UD
23527 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23528 PF_CAIF, and PF_ALG.
23529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23530
77e8bddf
AS
235312011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23532
1f20b93a
AS
23533 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23534 (modules-names): Use them.
23535 (ifunc-test-modules, ifunc-pie-tests): Define.
23536 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23537 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23538 (test-extras): Likewise.
23539 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23540 $(compile-command.c).
23541 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23542 (all-built-dso): Define.
23543 (check-textrel.out, check-execstack.out): Depend on it.
23544
77e8bddf
AS
23545 * configure.in: Don't override --enable-multi-arch.
23546
bc425b33
UD
235472011-01-15 Ulrich Drepper <drepper@gmail.com>
23548
23549 [BZ #6812]
23550 * nscd/hstcache.c (tryagain): Define.
23551 (cache_addhst): Return tryagain not notfound for temporary errors.
23552 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23553 failed.
23554
794c3ad3
UD
235552011-01-14 Ulrich Drepper <drepper@gmail.com>
23556
70181fdd
UD
23557 [BZ #10563]
23558 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23559 to make the syscall.
23560 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23561
794c3ad3
UD
23562 [BZ #12378]
23563 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23564 and fall back to matching as normal character if the string ends before
23565 the matching ']' is found. This is what POSIX requires.
23566 * posix/testfnm.c: Adjust test result.
23567 * posix/globtest.sh: Adjust test result. Add new test.
23568 * posix/tst-fnmatch.input: Likewise.
23569 * posix/tst-fnmatch2.c: Add new test.
23570
68dc9497
AS
235712010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23572
23573 * elf/Makefile (check-execstack): Revert last change. Depend on
23574 check-execstack.h.
23575 (check-execstack.h): New target.
23576 (generated): Add check-execstack.h.
23577 * elf/check-execstack.c: Include "check-execstack.h".
23578 (main): Revert last change.
23579 (handle_file): Return zero if GNU_STACK is absent and
23580 DEFAULT_STACK_PERMS doesn't include PF_X.
23581
451f001b
UD
235822011-01-13 Ulrich Drepper <drepper@gmail.com>
23583
cfa28e56
UD
23584 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23585 in child fails because the descriptor is already closed.
8cf8ce17
UD
23586 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23587 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23588 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23589
1086d70d
UD
23590 [BZ #12397]
23591 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23592 syscall.
23593
451f001b
UD
23594 [BZ #10484]
23595 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23596 temporary buffer used to handle multi lookups locally.
a85b5cb4 23597 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23598
08769175
UD
235992011-01-12 Ulrich Drepper <drepper@gmail.com>
23600
23601 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23602 loader is ld.so.
23603
5e49c52e
UD
236042011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23605
23606 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23607 alignment for SSE2.
23608
60522a5f
UD
236092011-01-12 Ulrich Drepper <drepper@gmail.com>
23610
23611 [BZ #12394]
23612 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23613 characters. When rounding increased number of integer digits recompute
23614 number of groups.
23615 * stdio-common/tst-grouping.c: New file.
23616 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23617
f257bbd7
UD
236182011-01-09 Ulrich Drepper <drepper@gmail.com>
23619
23620 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23621 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23622
23623 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23624 void.
23625 * bits/select.h: Likewise.
23626
fa9c15cb
UD
236272011-01-08 Ulrich Drepper <drepper@gmail.com>
23628
23629 * po/ja.po: Update from translation team.
23630
16c2895f
DM
236312011-01-04 David S. Miller <davem@sunset.davemloft.net>
23632
23633 [BZ #11155]
23634 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23635 implementation just like for lxstat, fxstatat, et al.
23636
2543fef2
JM
236372010-12-27 Jim Meyering <meyering@redhat.com>
23638
23639 [BZ #12348]
23640 * posix/regexec.c (build_trtable): Return failure indication upon
23641 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23642
98727dbe
UD
236432010-12-25 Ulrich Drepper <drepper@gmail.com>
23644
5bd6dc5c
UD
23645 [BZ #12201]
23646 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23647 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23648 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23650
97983464
UD
23651 [BZ #12207]
23652 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23653
98727dbe
UD
23654 [BZ #12204]
23655 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23656 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23657
4a531bb0
L
236582010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23661 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23662 script has SORT_BY_INIT_PRIORITY.
23663 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23664 NO_CTORS_DTORS_SECTIONS is defined.
23665 * elf/soinit.c: Likewise.
23666 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23667 NO_CTORS_DTORS_SECTIONS is defined.
23668 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23669 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23670 * sysdeps/sh/init-first.c: Likewise.
23671 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23672
07eb4b71
UD
236732010-12-24 Ulrich Drepper <drepper@gmail.com>
23674
23675 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23676 always use the slow path.
23677
30950a5f
RA
236782010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23679
23680 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23681 similar rule which adds the sysdep directories to the header search in
23682 order to pick up the correct platform stackinfo.h.
23683 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23684 perform test if it is, otherwise return successfully without testing.
23685 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23686 DEFAULT_STACK_PERMS define in stackinfo.h.
23687 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23688 defined in stackinfo.h.
23689 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23690 DEFAULT_STACK_PERMS defined in stackinfo.h.
23691 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23692 * sysdeps/ia64/stackinfo.h: Likewise.
23693 * sysdeps/s390/stackinfo.h: Likewise.
23694 * sysdeps/sh/stackinfo.h: Likewise.
23695 * sysdeps/sparc/stackinfo.h: Likewise.
23696 * sysdeps/x86_64/stackinfo.h: Likewise.
23697 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23698 PF_X for powerpc64. Retain PF_X for powerpc32.
23699
db753e2c
UD
237002010-12-19 Ulrich Drepper <drepper@gmail.com>
23701
14b697f7
UD
23702 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23703 accurately.
db753e2c
UD
23704 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23705 GETDENTS_64BIT_ALIGNED.
23706
28300719
UD
237072010-12-14 Ulrich Drepper <dreper@gmail.com>
23708
14b697f7 23709 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23710
4f197237
AS
237112010-12-10 Andreas Schwab <schwab@redhat.com>
23712
dbb0472f
AS
23713 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23714 _GNU_SOURCE.
23715
4f197237
AS
23716 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23717 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23718 Remove __restrict.
23719 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23720 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23721
fb88ac72
UD
237222010-12-09 Ulrich Drepper <drepper@gmail.com>
23723
23724 [BZ #11655]
23725 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23726 are initialized.
23727
42acbb92
JJ
237282010-12-09 Jakub Jelinek <jakub@redhat.com>
23729
23730 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23731
c038d98d
UD
237322010-12-03 Ulrich Drepper <drepper@gmail.com>
23733
23734 * po/it.po: Update from translation team.
23735
3a4a2499
L
237362010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23739 unused codes.
23740
1e24cf6e
UD
237412010-11-30 Ulrich Drepper <drepper@gmail.com>
23742
23743 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23744
a7690819
AS
237452010-11-24 Andreas Schwab <schwab@redhat.com>
23746
23747 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23748 specially.
23749 (gaih_getanswer_slice): Likewise.
23750
3bf8d1b1
JJ
237512010-10-20 Jakub Jelinek <jakub@redhat.com>
23752
23753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23754
6db52fbb
PB
237552010-05-31 Petr Baudis <pasky@suse.cz>
23756
23757 [BZ #11149]
23758 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23759 silently even in the chroot mode.
23760
eaca7569
UD
237612010-11-22 Ulrich Drepper <drepper@gmail.com>
23762
23763 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23764 last patch a bit. Pretty printing
23765
3056dcdb
UD
237662010-05-31 Petr Baudis <pasky@suse.cz>
23767
23768 [BZ #10085]
23769 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23770 initialization of skip_initgroups_dyn.
23771
cf7c9078
UD
237722010-11-19 Ulrich Drepper <drepper@gmail.com>
23773
23774 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23776
a1fb5e3e
UD
237772010-11-16 Ulrich Drepper <drepper@gmail.com>
23778
23779 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23780
3540d66b
AS
237812010-11-11 Andreas Schwab <schwab@redhat.com>
23782
23783 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23784 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23785 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23786 ($(objpfx)tst-fnmatch-mem): New rule.
23787 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23788 * posix/tst-fnmatch.c (main): Call mtrace.
23789
13b69574
L
237902010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23791
23792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23793 Support Intel processor model 6 and model 0x2c.
23794
da93d214
LM
237952010-11-10 Luis Machado <luisgpm@br.ibm.com>
23796
23797 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23798 signed comparison.
23799
8ca52c6e
L
238002010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23801
23802 [BZ #12205]
23803 * string/test-strncasecmp.c (check_result): New function.
23804 (do_one_test): Use it.
23805 (check1): New function.
23806 (test_main): Use it.
23807 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23808 Support strcasecmp and strncasecmp.
23809
69da074d
UD
238102010-11-08 Ulrich Drepper <drepper@gmail.com>
23811
23812 [BZ #12194]
23813 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23815
ff02d528
L
238162010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23817
23818 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23819 IFUNC support.
23820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23821 memset-x86-64.
23822 * sysdeps/x86_64/multiarch/bzero.S: New file.
23823 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23824 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23825 * sysdeps/x86_64/multiarch/memset.S: New file.
23826 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23828 Set bit_Prefer_SSE_for_memop for Intel processors.
23829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23830 Define.
23831 (index_Prefer_SSE_for_memop): Define.
23832 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23833
344d0b54
LM
238342010-11-04 Luis Machado <luisgpm@br.ibm.com>
23835
23836 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23837 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23838
c0dde15b
UD
238392010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23840
23841 [BZ #12191]
23842 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23843 (__x86_64_raw_data_cache_size_half): Likewise.
23844 (__x86_64_raw_shared_cache_size): Likewise.
23845 (__x86_64_raw_shared_cache_size_half): Likewise.
23846
23847 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23848 (__x86_64_raw_data_cache_size_half): Likewise.
23849 (__x86_64_raw_shared_cache_size): Likewise.
23850 (__x86_64_raw_shared_cache_size_half): Likewise.
23851 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23852 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23853 and __x86_64_raw_shared_cache_size_half. Round
23854 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23855 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23856 to multiple of 256 bytes.
23857
0e516e0e
MS
238582010-11-03 Ulrich Drepper <drepper@gmail.com>
23859
23860 [BZ #12167]
23861 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23862 of inacessible symlinks. Verify result of symlink before returning it.
23863 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23864 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23865
0e012e87
ER
238662010-10-28 Erich Ritz <erichritz@gmail.com>
23867
23868 * math/math.h (isinf): Fix typo in comment.
23869
de0ff7bc
UD
238702010-11-01 Ulrich Drepper <drepper@gmail.com>
23871
23872 * po/da.po: Update from translation team.
23873
fa41c84d
UD
238742010-10-26 Ulrich Drepper <drepper@gmail.com>
23875
23876 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23877 is added to the list.
23878
f0967738
AK
238792010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23880 Ulrich Drepper <drepper@gmail.com>
23881
23882 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23883 the global list here. Move code to...
23884 (_dl_add_to_namespace_list): ...here. New function.
23885 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23886 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23887 * elf/dl-load.c (lose): Don't remove the element from the list.
23888 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23889 (_dl_map_object): Likewise.
23890
238912010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23892
23893 [BZ #12159]
23894 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23895 into all bytes of SSE register.
23896 Patch by Richard Li <richardpku@gmail.com>.
23897
f0967738 238982010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23899
23900 [BZ #12140]
23901 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23902 perturbing.
23903
d0b9e94f
MB
239042010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23905
23906 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23907 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23908 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23909 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23911 submachine.
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23913
8e9f92e9
AS
239142010-10-22 Andreas Schwab <schwab@redhat.com>
23915
23916 * include/dlfcn.h (__RTLD_SECURE): Define.
23917 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23918 mode & __RTLD_SECURE instead.
23919 (open_path): Rename preloaded parameter to secure.
23920 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23921 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23922 * elf/dl-deps.c (openaux): Likewise.
23923 * elf/rtld.c (struct map_args): Remove is_preloaded.
23924 (map_doit): Don't use it.
23925 (dl_main): Likewise.
23926 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23927 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23928
bc96fbda
AS
239292010-09-09 Andreas Schwab <schwab@redhat.com>
23930
23931 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23932 (sysd-rules-targets): Remove duplicates.
23933 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23934 rtld-%.$o dependency.
23935
22cd1c9b
AS
239362010-10-18 Andreas Schwab <schwab@redhat.com>
23937
23938 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23939 _dl_map_object do it.
23940
18edac48
UD
239412010-10-19 Ulrich Drepper <drepper@gmail.com>
23942
23943 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23944 fast fma builtins, define the macros in the C99 standard.
23945 (FP_FAST_FMAF): Likewise.
23946 (FP_FAST_FMAL): Likewise.
23947 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23948
23949 * bits/mathdef.h: Update copyright year.
23950 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23951
d2050124
MM
239522010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23953
23954 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23955 builtins, define the macros in the C99 standard.
23956 (FP_FAST_FMAF): Likewise.
23957 (FP_FAST_FMAL): Likewise.
23958 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23959 multiply/add.
23960 (FP_FAST_FMAF): Likewise.
23961
475facd1
JJ
239622010-10-15 Jakub Jelinek <jakub@redhat.com>
23963
23964 [BZ #3268]
23965 * math/libm-test.inc (fma_test): Some new testcases.
23966 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23967 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23968 y and infinite z. Do multiplication by C already in long double.
23969 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23971 y and infinite z. Do bitwise or of inexact bit into u.d.
23972 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23973 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23974 * sysdeps/i386/fpu/s_fma.S: Removed.
23975 * sysdeps/i386/fpu/s_fmal.S: Removed.
23976
7c08a05c
JJ
239772010-10-16 Jakub Jelinek <jakub@redhat.com>
23978
23979 [BZ #3268]
23980 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23982 computation is not scheduled after fetestexcept. Fix value
23983 of minimum denormal long double.
23984
f3f7372d
JJ
239852010-10-14 Jakub Jelinek <jakub@redhat.com>
23986
23987 [BZ #3268]
23988 * math/libm-test.inc (fma_test): Add some more tests.
23989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23990 correctly.
23991
14d43591
AS
239922010-10-15 Andreas Schwab <schwab@redhat.com>
23993
23994 * scripts/data/localplt-s390-linux-gnu.data: New file.
23995 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23996
5e908464
JJ
239972010-10-13 Jakub Jelinek <jakub@redhat.com>
23998
23999 [BZ #3268]
24000 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24001 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24002 instead of dbl-64.
24003 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24004 inlines.
24005 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24007 if one of x and y is very large and the other is subnormal.
24008 * sysdeps/s390/fpu/s_fmaf.c: New file.
24009 * sysdeps/s390/fpu/s_fma.c: New file.
24010 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24011 * sysdeps/powerpc/fpu/s_fma.S: New file.
24012 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24013 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24014 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24015
240162010-10-12 Jakub Jelinek <jakub@redhat.com>
24017
24018 [BZ #3268]
24019 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24020 fma tests.
24021 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24022 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24023 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24024 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24025 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24026 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24028
b833d51f
UD
240292010-10-12 Ulrich Drepper <drepper@redhat.com>
24030
24031 [BZ #12078]
24032 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24033 * posix/bug-regex31.input: Add test case.
24034
1751705d
UD
240352010-10-11 Ulrich Drepper <drepper@gmail.com>
24036
e9b9cbf5
UD
24037 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24038 * posix/bug-regex31.input: New file.
24039
24040 [BZ #12078]
24041 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24042 (parse_sub_exp): Fix last change, use postorder.
24043
ef06edbe
UD
24044 * posix/bug-regex31.c: New file.
24045 * posix/Makefile: Add rules to build and run bug-regex31.
24046
a129c80d
UD
24047 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24048
24049 [BZ #12078]
24050 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24051
b76b818e
UD
24052 [BZ #12108]
24053 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24054 to have entries in sys_siglist.
24055
1751705d
UD
24056 [BZ #12093]
24057 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24058 be NULL.
24059
9ff8d36f
JJ
240602010-10-07 Jakub Jelinek <jakub@redhat.com>
24061
24062 [BZ #3268]
24063 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24064 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24065 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24066 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24067 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24068 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24069 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24070 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24071 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24072 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24073 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24074 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24075 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24076 * math/ftestexcept.c (fetestexcept): Likewise.
24077 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24078 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24079 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24080 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24081 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24082 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24083 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24084
af325969
UD
240852010-10-11 Ulrich Drepper <drepper@gmail.com>
24086
c579b202 24087 [BZ #12107]
af325969
UD
24088 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24089 newline.
24090
67a67b95
UD
240912010-10-06 Ulrich Drepper <drepper@gmail.com>
24092
24093 * string/bug-strstr1.c: New file.
24094 * string/Makefile: Add rules to build and run bug-strstr1.
24095
5fb308bc
EB
240962010-10-05 Eric Blake <eblake@redhat.com>
24097
24098 [BZ #12092]
24099 * string/str-two-way.h (two_way_long_needle): Always clear memory
24100 when skipping input due to the shift table.
24101
45db99c7
UD
241022010-10-03 Ulrich Drepper <drepper@gmail.com>
24103
3b111893
UD
24104 [BZ #12005]
24105 * malloc/mcheck.c: Handle large requests.
24106
45db99c7
UD
24107 [BZ #12077]
24108 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24109 for strncmp and strncasecmp.
24110 * string/stratcliff.c: Add tests for strcmp and strncmp.
24111 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24112
cf7a1eb8
NI
241132010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24114
24115 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24116 __set_fpscr.
24117
6484ba5e
AJ
241182010-09-30 Andreas Jaeger <aj@suse.de>
24119
24120 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24121 (CGROUP_SUPER_MAGIC): Define.
24122 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24123 Handle btrfs and cgroup file systems.
24124 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24125 Likewise.
24126
91c42559
LM
241272010-09-27 Luis Machado <luisgpm@br.ibm.com>
24128
24129 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24130 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24131
87a97932
AK
241322010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24133
24134 [BZ #12067]
24135 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24136 trying to locate the ELF header.
24137
c21cc9bc
AS
241382010-09-27 Andreas Schwab <schwab@redhat.com>
24139
24140 [BZ #11611]
24141 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24142 Mask out sign-bit copies when constructing f_fsid.
24143
315970f6
PB
241442010-09-24 Petr Baudis <pasky@suse.cz>
24145
24146 * debug/stack_chk_fail_local.c: Add missing licence exception.
24147 * debug/warning-nop.c: Likewise.
24148
1ac7a2c7
JM
241492010-09-15 Joseph Myers <joseph@codesourcery.com>
24150
24151 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24152 implementing getdents64 using getdents syscall, set d_type if
24153 __ASSUME_GETDENTS32_D_TYPE.
24154
56801c50
AS
241552010-09-16 Andreas Schwab <schwab@redhat.com>
24156
24157 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24158 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24159
dda51327
UD
241602010-09-21 Ulrich Drepper <drepper@redhat.com>
24161
24162 [BZ #12037]
24163 * posix/unistd.h: Undo change of feature selection for ftruncate from
24164 2010-01-11.
24165
8ffcee4a
UD
241662010-09-20 Ulrich Drepper <drepper@redhat.com>
24167
a545ecd9 24168 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24169 detection.
24170
e24f0a8b
AS
241712010-09-20 Andreas Schwab <schwab@redhat.com>
24172
24173 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24174 fanotify_mark.
24175 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24176
7291c56f
AS
241772010-09-14 Andreas Schwab <schwab@redhat.com>
24178
24179 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24180 variables after CHECK_SP call.
24181 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24182
bc5fb037
AS
241832010-09-13 Andreas Schwab <schwab@redhat.com>
24184 Ulrich Drepper <drepper@redhat.com>
24185
24186 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24187 re-relocationg ld.so.
24188 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24189 _dl_init_paths call.
24190 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24191 here anymore.
24192
e66e7419
UD
241932010-09-14 Ulrich Drepper <drepper@redhat.com>
24194
24195 * resolv/res_init.c (__res_vinit): Count the default server we added.
24196
c044aa75
CLT
241972010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24198 Ulrich Drepper <drepper@redhat.com>
24199
24200 [BZ #11968]
24201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24202 (____longjmp_chk): Use %ebx for saving value across system call.
24203 Add unwind info.
24204
32cf4069
AS
242052010-09-06 Andreas Schwab <schwab@redhat.com>
24206
24207 * manual/Makefile: Don't mix pattern rules with normal rules.
24208
817328ee
AS
242092010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24210
24211 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24212 operation.
24213 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24214 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24215 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24216 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24218 Likewise.
24219
29fddf61
UD
242202010-09-04 Ulrich Drepper <drepper@redhat.com>
24221
24222 [BZ #11979]
24223 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24224 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24225
0959ffc9
UD
242262010-09-02 Ulrich Drepper <drepper@redhat.com>
24227
24228 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24229 * sysdeps/x86_64/addmul_1.S: Likewise.
24230 * sysdeps/x86_64/lshift.S: Likewise.
24231 * sysdeps/x86_64/mul_1.S: Likewise.
24232 * sysdeps/x86_64/rshift.S: Likewise.
24233 * sysdeps/x86_64/sub_n.S: Likewise.
24234 * sysdeps/x86_64/submul_1.S: Likewise.
24235
ece29840
ST
242362010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24237
0959ffc9
UD
24238 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24239 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24240 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24241 * bits/sched.h [__need_schedparam]
ece29840 24242 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24243 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24244 (__defined_schedparam): Define to 1.
ece29840
ST
24245 (__sched_param): New structure, identical to sched_param.
24246 (__need_schedparam): Undefine.
24247
e53a31fe
MF
242482010-08-31 Mike Frysinger <vapier@gentoo.org>
24249
fdc0c10d
MF
24250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24251 (epoll_create1): Declare.
24252
e53a31fe
MF
24253 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24254
a726d796
AS
242552010-08-31 Andreas Schwab <schwab@redhat.com>
24256
24257 [BZ #7066]
24258 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24259 shifting retval into place.
24260
2f3e3dc7
UD
242612010-09-01 Ulrich Drepper <drepper@redhat.com>
24262
f2933da9
UD
24263 * nis/rpcsvc/nis.h: Update copyright notice.
24264 * nis/rpcsvc/nis.x: Likewise.
24265 * nis/rpcsvc/nis_callback.h: Likewise.
24266 * nis/rpcsvc/nis_callback.x: Likewise.
24267 * nis/rpcsvc/nis_object.x: Likewise.
24268 * nis/rpcsvc/nis_tags.h: Likewise.
24269 * nis/rpcsvc/yp.h: Likewise.
24270 * nis/rpcsvc/yp.x: Likewise.
24271 * nis/rpcsvc/ypupd.h: Likewise.
24272 * nis/yp_xdr.c: Likewise.
24273 * nis/ypupdate_xdr.c: Likewise.
24274
2f3e3dc7
UD
24275 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24276 mainly the body of pmap_getport. Add parameters to specify timeouts.
24277 (pmap_getport): Use __libc_rpc_getport.
24278 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24279 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24280 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24281
f3dcc2f9
AS
242822010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24283
24284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24285 fanotify_mark.
24286
6d34eb5b
RM
242872010-08-27 Roland McGrath <roland@redhat.com>
24288
24289 * sysdeps/i386/i686/multiarch/Makefile
24290 (CFLAGS-varshift.c): New variable.
24291
9ea3de11
UD
242922010-08-27 Ulrich Drepper <drepper@redhat.com>
24293
c96d23fc
UD
24294 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24295 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24296
9ea3de11
UD
24297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24298
24299 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24300
623aac7f
L
243012010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24302
24303 * sysdeps/x86_64/strlen.S: Unroll the loop.
24304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24305 strlen-sse2 strlen-sse2-bsf.
24306 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24307 __strlen_no_bsf if bit_Slow_BSF is set.
24308 (__strlen_sse42): Removed.
24309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24310 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24311
8b2b7715
RM
243122010-08-25 Roland McGrath <roland@redhat.com>
24313
24314 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24315 * sysdeps/x86_64/multiarch/varshift.c: New file.
24316 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24317 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24318 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24319 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24320
e73015f2
L
243212010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24322
24323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24324 strlen-sse2 strlen-sse2-bsf.
24325 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24326 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24327 (__strlen_sse2): Removed.
24328 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24329 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24331 bit_Slow_BSF for Atom.
24332 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24333 (index_Slow_BSF): Define.
24334 (HAS_SLOW_BSF): Define.
24335
df24a73e
UD
243362010-08-25 Ulrich Drepper <drepper@redhat.com>
24337
24338 [BZ #10851]
24339 * resolv/res_init.c (__res_vinit): When no server address at all
24340 is given default to loopback.
24341
f2ac4868
RM
243422010-08-24 Roland McGrath <roland@redhat.com>
24343
09055553
RM
24344 * configure.in: Remove config-name.h generation.
24345 * configure: Regenerated.
24346 * config-name.in: File removed.
24347 * scripts/config-uname.sh: New file.
24348 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24349 ($(objdir)config-name.h): New target.
24350
f2ac4868
RM
24351 * sunrpc/rpc_parse.h: Avoid nested comment.
24352
73f27d5e
RH
243532010-08-24 Richard Henderson <rth@redhat.com>
24354 Ulrich Drepper <drepper@redhat.com>
24355 H.J. Lu <hongjiu.lu@intel.com>
24356
24357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24359 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24360 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24361 _mm_alignr_epi8 with _mm_loadu_si128.
24362 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24363 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24364 (__m128i_shift_right): Removed.
24365 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24366 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24367 * sysdeps/x86_64/multiarch/varshift.h: New file.
24368 * sysdeps/x86_64/multiarch/varshift.S: New file.
24369
84b9230c
MF
243702010-08-21 Mike Frysinger <vapier@gentoo.org>
24371
24372 * configure.in: Move assembler checks to before sysdep dir checking.
24373
9bbd0ddc
PB
243742010-08-20 Petr Baudis <pasky@suse.cz>
24375
24376 * LICENSES: Sync the sunrpc license.
24377
9da4bb31
UD
243782010-08-19 Ulrich Drepper <drepper@redhat.com>
24379
a7ab6ec8
UD
24380 * sunrpc/auth_des.c: Update copyright notice once again.
24381 * sunrpc/auth_none.c: Likewise.
24382 * sunrpc/auth_unix.c: Likewise.
24383 * sunrpc/authdes_prot.c: Likewise.
24384 * sunrpc/authuxprot.c: Likewise.
24385 * sunrpc/bindrsvprt.c: Likewise.
24386 * sunrpc/clnt_gen.c: Likewise.
24387 * sunrpc/clnt_perr.c: Likewise.
24388 * sunrpc/clnt_raw.c: Likewise.
24389 * sunrpc/clnt_simp.c: Likewise.
24390 * sunrpc/clnt_tcp.c: Likewise.
24391 * sunrpc/clnt_udp.c: Likewise.
24392 * sunrpc/clnt_unix.c: Likewise.
24393 * sunrpc/des_crypt.c: Likewise.
24394 * sunrpc/des_soft.c: Likewise.
24395 * sunrpc/get_myaddr.c: Likewise.
24396 * sunrpc/getrpcport.c: Likewise.
24397 * sunrpc/key_call.c: Likewise.
24398 * sunrpc/key_prot.c: Likewise.
24399 * sunrpc/openchild.c: Likewise.
24400 * sunrpc/pm_getmaps.c: Likewise.
24401 * sunrpc/pm_getport.c: Likewise.
24402 * sunrpc/pmap_clnt.c: Likewise.
24403 * sunrpc/pmap_prot.c: Likewise.
24404 * sunrpc/pmap_prot2.c: Likewise.
24405 * sunrpc/pmap_rmt.c: Likewise.
24406 * sunrpc/rpc/auth.h: Likewise.
24407 * sunrpc/rpc/auth_unix.h: Likewise.
24408 * sunrpc/rpc/clnt.h: Likewise.
24409 * sunrpc/rpc/des_crypt.h: Likewise.
24410 * sunrpc/rpc/key_prot.h: Likewise.
24411 * sunrpc/rpc/netdb.h: Likewise.
24412 * sunrpc/rpc/pmap_clnt.h: Likewise.
24413 * sunrpc/rpc/pmap_prot.h: Likewise.
24414 * sunrpc/rpc/pmap_rmt.h: Likewise.
24415 * sunrpc/rpc/rpc.h: Likewise.
24416 * sunrpc/rpc/rpc_des.h: Likewise.
24417 * sunrpc/rpc/rpc_msg.h: Likewise.
24418 * sunrpc/rpc/svc.h: Likewise.
24419 * sunrpc/rpc/svc_auth.h: Likewise.
24420 * sunrpc/rpc/types.h: Likewise.
24421 * sunrpc/rpc/xdr.h: Likewise.
24422 * sunrpc/rpc_clntout.c: Likewise.
24423 * sunrpc/rpc_cmsg.c: Likewise.
24424 * sunrpc/rpc_common.c: Likewise.
24425 * sunrpc/rpc_cout.c: Likewise.
24426 * sunrpc/rpc_dtable.c: Likewise.
24427 * sunrpc/rpc_hout.c: Likewise.
24428 * sunrpc/rpc_main.c: Likewise.
24429 * sunrpc/rpc_parse.c: Likewise.
24430 * sunrpc/rpc_parse.h: Likewise.
24431 * sunrpc/rpc_prot.c: Likewise.
24432 * sunrpc/rpc_sample.c: Likewise.
24433 * sunrpc/rpc_scan.c: Likewise.
24434 * sunrpc/rpc_scan.h: Likewise.
24435 * sunrpc/rpc_svcout.c: Likewise.
24436 * sunrpc/rpc_tblout.c: Likewise.
24437 * sunrpc/rpc_util.c: Likewise.
24438 * sunrpc/rpc_util.h: Likewise.
24439 * sunrpc/rpcinfo.c: Likewise.
24440 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24441 * sunrpc/rpcsvc/key_prot.x: Likewise.
24442 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24443 * sunrpc/rpcsvc/mount.x: Likewise.
24444 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24445 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24446 * sunrpc/rpcsvc/rex.x: Likewise.
24447 * sunrpc/rpcsvc/rstat.x: Likewise.
24448 * sunrpc/rpcsvc/rusers.x: Likewise.
24449 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24450 * sunrpc/rpcsvc/spray.x: Likewise.
24451 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24452 * sunrpc/rtime.c: Likewise.
24453 * sunrpc/svc.c: Likewise.
24454 * sunrpc/svc_auth.c: Likewise.
24455 * sunrpc/svc_authux.c: Likewise.
24456 * sunrpc/svc_raw.c: Likewise.
24457 * sunrpc/svc_run.c: Likewise.
24458 * sunrpc/svc_simple.c: Likewise.
24459 * sunrpc/svc_tcp.c: Likewise.
24460 * sunrpc/svc_udp.c: Likewise.
24461 * sunrpc/svc_unix.c: Likewise.
24462 * sunrpc/svcauth_des.c: Likewise.
24463 * sunrpc/xcrypt.c: Likewise.
24464 * sunrpc/xdr.c: Likewise.
24465 * sunrpc/xdr_array.c: Likewise.
24466 * sunrpc/xdr_float.c: Likewise.
24467 * sunrpc/xdr_mem.c: Likewise.
24468 * sunrpc/xdr_rec.c: Likewise.
24469 * sunrpc/xdr_ref.c: Likewise.
24470 * sunrpc/xdr_sizeof.c: Likewise.
24471 * sunrpc/xdr_stdio.c: Likewise.
24472
9da4bb31
UD
24473 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24474 handling.
24475
bdaa77bc
AS
244762010-08-19 Andreas Schwab <schwab@redhat.com>
24477
24478 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24479
fe2f79db
LM
244802010-08-19 Luis Machado <luisgpm@br.ibm.com>
24481
24482 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24483 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24484 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24485 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24486 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24487 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24488 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24489 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24490 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24491 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24492 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24493 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24494 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24495 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24496
b9b42ee0
AB
244972010-07-26 Anton Blanchard <anton@samba.org>
24498
24499 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24500 * malloc/arena.c (heap_trim): Likewise.
24501
1c06ba31
UD
245022010-08-16 Ulrich Drepper <drepper@redhat.com>
24503
24504 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24505 here. Not...
24506 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24507 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24508
f8392f40
L
245092010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24510
24511 * sysdeps/i386/elf/Makefile: New file.
24512
3162f12e
AS
245132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24514
24515 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24516 from fanotify_init.
24517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24519
28c90b2c
UD
245202010-08-15 Ulrich Drepper <drepper@redhat.com>
24521
24522 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24523 of strncasecmp_l.
1feccb6c 24524 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24525
ca6bb004
UD
245262010-08-14 Ulrich Drepper <drepper@redhat.com>
24527
e9f82e0d
UD
24528 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24529 strncase_l-nonascii.
24530 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24531 Add strncase_l-ssse3.
24532 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24533 * sysdeps/x86_64/strcmp.S: Likewise.
24534 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24535 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24536 * sysdeps/x86_64/strncase.S: New file.
24537 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24538 * sysdeps/x86_64/strncase_l.S: New file.
24539 * string/Makefile (strop-tests): Add strncasecmp.
24540 * string/test-strncasecmp.c: New file.
24541
24542 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24543 warning.
24544
ca6bb004
UD
24545 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24546 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24547
052fa7b3
AS
245482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24549
24550 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24551
962dba78
UD
245522010-08-12 Ulrich Drepper <drepper@redhat.com>
24553
24554 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24555 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24556 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24557
bebff237
AM
245582010-05-01 Alan Modra <amodra@gmail.com>
24559
24560 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24561 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24562 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24563 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24564 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24565 tidying. Don't tail-call __sigjmp_save for static lib.
24566 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24567 save location.
24568 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24569 (CALL_MCOUNT): Add eh info, and nop after bl.
24570 (TAIL_CALL_SYSCALL_ERROR): New macro.
24571 (PSEUDO_RET): Use it.
24572 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24573 Correct save location of integer regs and cr.
24574 (_dl_profile_resolve): Correct cr save location. Delete nops
24575 after bl when SHARED. Reduce cfi size a little by better
24576 placement of cfi directives.
24577 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24578 make a stack frame. Instead use parm save area as a temp.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24580 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24582 Don't make a stack frame for parent, use parm save area.
24583 Increase child stack frame to 112 bytes. Don't save unused reg,
24584 and adjust reg usage. Set up cfi on error recovery and
24585 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24587 (__makecontext): Add dummy nop after jump to exit.
24588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24589 Use correct parm save area and cr save, reduce stack frame.
24590 Correct cfi for possible PSEUDO_RET frame setup.
24591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24592 Branch to local label emitted by PSEUDO_RET rather than
24593 __syscall_error.
24594
02637374
AS
245952010-08-12 Andreas Schwab <schwab@redhat.com>
24596
24597 [BZ #11904]
24598 * locale/programs/locale.c (print_assignment): New function.
24599 (show_locale_vars): Use it.
24600
c3e2f19b
UD
246012010-08-11 Ulrich Drepper <drepper@redhat.com>
24602
3cdaa6ad
UD
24603 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24604 field.
24605 (struct statfs64): Likewise.
24606 (_STATFS_F_FLAGS): Define.
24607 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24609 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24610 (ST_VALID): Define locally.
24611 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24612 __statvfs_getflags, use the provided value.
24613 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24614 __ASSUME_STATFS_F_FLAGS.
24615
754f7da3
UD
24616 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24617
10b3bedc
UD
24618 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24619 Add sys/fanotify.h.
24620 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24621 fanotify_mask for GLIBC_2.13.
24622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24623 fanotify_init and fanotify_mark.
24624 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24625 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24626
c08fb0d7
UD
24627 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24628 Add prlimit.
24629 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24630 prlimit64 for GLIBC_2.13.
24631 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24632 prlimit64.
24633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24634 syscall.
24635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24637 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24638 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24640 add prlimit alias.
24641 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24642
15bac72b
UD
24643 [BZ #11903]
24644 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24645 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24646
c3e2f19b
UD
24647 * nss/Makefile: Add rules to build and run tst-nss-test1.
24648 * shlib-versions: Add entry for libnss_test1.
24649 * nss/nss_test1.c: New file.
24650 * nss/tst-nss-test1.c: New file.
24651
24652 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24653 (__nss_configure_lookup): Set appropriate entry in
24654 __nss_configure_lookup to true.
24655 * nss/nsswitch.h: Define enum with indeces of databases in
24656 databases and __nss_database_custom arrays. Declare
24657 __nss_database_custom.
24658 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24659 to avoid using nscd when custom rules are installed.
24660 * nss/getXXbyYY_r.c: Likewise.
24661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24662
24663 * nss/nss_files/files-parse.c: Whitespace fixes.
24664
f15ce4d8
UD
246652010-08-09 Ulrich Drepper <drepper@redhat.com>
24666
24667 [BZ #11883]
24668 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24669 * posix/fnmatch_loop.c: Likewise.
24670
d22e4cc9
AK
246712010-07-17 Andi Kleen <ak@linux.intel.com>
24672
24673 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24674 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24675 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24676 * Versions.def [GLIBC_2.13]: Add.
24677
805bc17d
UD
246782010-08-06 Ulrich Drepper <drepper@redhat.com>
24679
24680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24681 Also fail if tpwd after pwuid call is NULL.
24682
5a42321d
ST
246832010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24684
24685 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24686 when converting to ms.
24687
fd3ebeda
ST
246882010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24689
24690 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24691 EOPNOTSUPP errors with ENOTTY.
24692 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24693 EOPNOTSUPP errors with ENOTTY.
24694
73507d3a
UD
246952010-07-31 Ulrich Drepper <drepper@redhat.com>
24696
24697 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24698 Add strcasecmp_l-ssse3.
24699 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24700 strcasecmp.
24701 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24702 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24704
fe36dd02
UD
247052010-07-30 Ulrich Drepper <drepper@redhat.com>
24706
66f6765a
UD
24707 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24708
42e08a54
UD
24709 * string/Makefile (strop-tests): Add strcasecmp.
24710 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24711 strcasecmp_l-nonascii.
24712 (gen-as-const-headers): Add locale-defines.sym.
24713 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24714 * sysdeps/x86_64/strcasecmp.S: New file.
24715 * sysdeps/x86_64/strcasecmp_l.S: New file.
24716 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24717 * sysdeps/x86_64/locale-defines.sym: New file.
24718 * string/test-strcasecmp.c: New file.
24719
fe36dd02
UD
24720 * string/test-strcasestr.c: Test both ends of the range of characters.
24721 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24722
48cbc0d6
RM
247232010-07-29 Roland McGrath <roland@redhat.com>
24724
76e6d6bc 24725 [BZ #11856]
48cbc0d6
RM
24726 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24727
880113d9
UD
247282010-07-27 Ulrich Drepper <drepper@redhat.com>
24729
24730 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24731 for ld.so.
24732
deb9cabb
AS
247332010-07-27 Andreas Schwab <schwab@redhat.com>
24734
24735 * manual/memory.texi (Malloc Tunable Parameters): Document
24736 M_PERTURB.
24737
1c7570ff
RM
247382010-07-26 Roland McGrath <roland@redhat.com>
24739
24740 [BZ #11840]
24741 * configure.in (-fgnu89-inline check): Set and substitute
24742 gnu89_inline, not libc_cv_gnu89_inline.
24743 * configure: Regenerated.
24744 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24745
24fb0f88
UD
247462010-07-26 Ulrich Drepper <drepper@redhat.com>
24747
24748 * string/test-strnlen.c: New file.
24749 * string/Makefile (strop-tests): Add strnlen.
24750 * string/tester.c (test_strnlen): Add a few more test cases.
24751 * string/tst-strlen.c: Better error reporting.
24752
24753 * sysdeps/x86_64/strnlen.S: New file.
24754
8e96b93a
UD
247552010-07-24 Ulrich Drepper <drepper@redhat.com>
24756
24757 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24758 lower-latency instructions.
24759
dbc676d4
UD
247602010-07-23 Ulrich Drepper <drepper@redhat.com>
24761
24762 * string/test-strcasestr.c: New file.
24763 * string/test-strstr.c: New file.
24764 * string/Makefile (strop-tests): Add strstr and strcasestr.
24765 * string/str-two-way.h: Don't undefine MAX.
24766 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24767
f6a31e0e
AS
247682010-07-21 Andreas Schwab <schwab@redhat.com>
24769
24770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24771 strcasestr-nonascii.
24772 (CFLAGS-strcasestr-nonascii.c): Define.
24773 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24775 Remove unused attribute.
24776
5dbc3b6c
RM
247772010-07-20 Roland McGrath <roland@redhat.com>
24778
24779 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24780 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24781 ld.so.cache was broken. With it, there is no way to disable dsocaps
24782 like LD_HWCAP_MASK can disable hwcaps.
24783
23d101d8
EPM
247842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24785
24786 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24787
cc9f2e47
UD
247882010-07-16 Ulrich Drepper <drepper@redhat.com>
24789
24790 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24791 call in strcasestr.
24792 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24793 __strcasestr_sse42_nonascii.
24794 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24795 strcasestr-nonascii.c.
24796 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24797
77c1b069
LM
247982010-06-15 Luis Machado <luisgpm@br.ibm.com>
24799
24800 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24801 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24802 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24804
440566c3
UD
248052010-07-09 Ulrich Drepper <drepper@redhat.com>
24806
24807 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24808 fcntl.
24809
5be9d05d
AS
248102010-07-06 Andreas Schwab <schwab@redhat.com>
24811
c30b7ee2 24812 [BZ #11577]
5be9d05d
AS
24813 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24814 dl_signal_cerror.
24815
8a492a67
UD
248162010-07-06 Ulrich Drepper <drepper@redhat.com>
24817
24818 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24819 _PC_PIPE_BUF using F_GETPIPE_SZ.
24820
713df3d5
RM
248212010-07-05 Roland McGrath <roland@redhat.com>
24822
24823 * manual/arith.texi (Rounding Functions): Fix rint description
24824 implicit in round description.
24825
702e8f14
UD
248262010-07-02 Ulrich Drepper <drepper@redhat.com>
24827
24828 * elf/Makefile: Fix linking for a few tests to make recent linker
24829 happy.
24830
52ed8be9
AS
248312010-06-30 Andreas Schwab <schwab@redhat.com>
24832
24833 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24834 $(common-objpfx)libc_nonshared.a.
24835
f47c9a11
LM
248362010-06-21 Luis Machado <luisgpm@br.ibm.com>
24837
24838 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24839 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24840 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24841 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24842 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24843 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24844 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24845 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24860 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24861 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24862 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24863 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24864 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24865 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24866 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24867 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24868 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24869 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24870 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24871 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24886
6fb8cbcb
L
248872010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24888
24889 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24890 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24891 * string/memmove.c (memmove): Renamed to ...
24892 (MEMMOVE): ...this. Default to memmove.
24893 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24894 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24895 (END_CHK): Define.
24896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24897 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24898 mempcpy-ssse3-back memmove-ssse3-back.
24899 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24902 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24903 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24904 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24905 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24906 * sysdeps/x86_64/multiarch/memmove.c: New file.
24907 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24908 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24909 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24910 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24911 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24913 Define.
24914 (index_Fast_Copy_Backward): Define.
24915 (HAS_ARCH_FEATURE): Define.
24916 (HAS_FAST_REP_STRING): Define.
24917 (HAS_FAST_COPY_BACKWARD): Define.
24918
4e733bac 249192010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24920
24921 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24922 Restore proper fallback handling.
24923
63c4ed22
UD
249242010-06-19 Ulrich Drepper <drepper@redhat.com>
24925
ac2b484c
UD
24926 [BZ #11701]
24927 * posix/group_member.c (__group_member): Correct checking loop.
24928
63c4ed22
UD
24929 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24930 OOM in getpwuid_r correctly. Return error number when the caller
24931 should return, otherwise -1.
24932 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24933 call returning > 0 value.
24934 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24935
765ade4b
AS
249362010-06-07 Andreas Schwab <schwab@redhat.com>
24937
24938 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24939 libc_nonshared.a from targets in modules-names.
24940
80da2e09
KS
249412010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24942
24943 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24944 requires it.
24945
158db122
LM
249462010-06-10 Luis Machado <luisgpm@br.ibm.com>
24947
24948 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24949 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24952
caa78cf8
AS
249532010-06-02 Andreas Schwab <schwab@redhat.com>
24954
24955 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24956
b2ef2c01
UD
249572010-06-14 Ulrich Drepper <drepper@redhat.com>
24958
24959 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24960 and F_GETPIPE_SZ.
24961 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24965 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24966 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24967
fbd643b6
RM
249682010-06-14 Roland McGrath <roland@redhat.com>
24969
24970 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24971
f32f2869
JJ
249722010-06-07 Jakub Jelinek <jakub@redhat.com>
24973
24974 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24975 __REDIRECT followed by __THROW.
24976 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24977 * posix/getopt.h (getopt): Likewise.
24978
2a50c078
EPM
249792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24980
24981 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24982 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24983 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24984 in AT_FLAGS.
24985 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24986 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24987
eb5ad2eb
LM
249882010-05-28 Luis Machado <luisgpm@br.ibm.com>
24989
24990 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24991
3c88fe1e
L
249922010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24993
24994 [BZ #11640]
24995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24996 Properly check family and model.
24997
d2f73151
TY
249982010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24999
25000 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25001
ebd2e13d
LM
250022010-05-24 Luis Machado <luisgpm@br.ibm.com>
25003
25004 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25005
b32b8b45
UD
250062010-05-21 Ulrich Drepper <drepper@redhat.com>
25007
25008 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25009 symbol reference.
25010
9acbe24d
AS
250112010-05-19 Andreas Schwab <schwab@redhat.com>
25012
25013 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25014 symbol reference.
25015
f0ccf6ea
AS
250162010-05-21 Andreas Schwab <schwab@redhat.com>
25017
3d04ff3a
AS
25018 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25019 and internal_recvmmsg.
25020 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25021 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25022 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25023 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25024
f0ccf6ea
AS
25025 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25026 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25027 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25028
5b08ac57
AS
250292010-05-20 Andreas Schwab <schwab@redhat.com>
25030
25031 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25032
4828935d
LM
250332010-05-17 Luis Machado <luisgpm@br.ibm.com>
25034
25035 POWER7 optimizations.
25036 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25037 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25038
373d545e
UD
250392010-05-19 Ulrich Drepper <drepper@redhat.com>
25040
25041 * version.h: Update for 2.13 development version.
25042
21a2b1ae
AS
250432010-05-12 Andrew Stubbs <ams@codesourcery.com>
25044
25045 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25046 exceptions. Return 0.
25047
3f7dcb2b
RM
250482010-05-07 Roland McGrath <roland@redhat.com>
25049
25050 * elf/ldconfig.c (main): Add a const.
25051
5f24d53a 250522010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25053
a160f8d8
UD
25054 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25055 (args_options): Add no-idn option.
25056 (ahosts_keys_int): Add idn_flags to ai_flags.
25057 (parse_option): Handle 'i' option to clear idn_flags.
25058
5f24d53a
UD
25059 * malloc/malloc.c (_int_free): Possible race in the most recently
25060 added check. Only act on the data if no current modification
25061 happened.
265bb1ce
UD
25062
25063See ChangeLog.17 for earlier changes.