]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix some errors in declarations in the manual.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8ded91fb
RM
12013-02-11 Roland McGrath <roland@hack.frob.com>
2
3 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5 declaration.
6 * manual/search.texi (Array Search Function): Add missing const in
7 lfind prototype.
8 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9 declaration to use rlim_t.
10 (Basic Scheduling Functions): Remove erroneous const from
11 sched_getparam prototype. Remove erroneous * from
12 sched_get_priority_max and sched_get_priority_min prototypes.
13 (Resource Usage): Fix summary @comment on vtimes to refer to
14 sys/vtimes.h rather than vtimes.h.
15 Add missing *s in vtimes prototype.
16 (Limits on Resources): Fix ulimit prototype to return long int.
17 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18 prototypes to use long int rather than double.
19 (BSD Random): Fix initstate and setstate to use char *, not void *.
20 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21 prototype to make second argument 'struct aiocb64 *const[]'.
22 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23 (Status of AIO Operations): Remove erroneous const in aio_return and
24 aio_return64 prototypes.
25 (Synchronizing I/O): Fix sync prototype to return void.
26 * manual/startup.texi (Suboptions): Remove an erroneous const in
27 getsubopt prototype.
28 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30 use size_t rather than int.
31 (Scanning All Users): Likewise for getpwent_r.
32 (Setting Groups): Add missing const to setgroups prototype.
33 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36 'const void *' rather than 'const char *'.
37 (Host Address Functions): Likewise for inet_ntop.
38 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40 ssize_t for return value.
41 (Sending Data): Likewise for send, sendto, sendmsg.
42 (Socket Option Functions): Add a missing const in setsockopt prototype.
43 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44 use wchar_t for the argument.
45 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47 take no arguments.
48 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49 double/float/long double for second argument.
50 Fix return types of significand, significandf, significandl.
51 * manual/filesys.texi (Setting Permissions): Use mode_t for second
52 argument in fchmod prototype.
53 (File Owner): Use uid_t and gid_t in fchown prototype.
54 (File Times): Add const to utimes, futimes, and lutimes prototypes.
55 (Making Special Files): Use mode_t and dev_t in mknod prototype.
56 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57 use 'const struct dirent **' as argument types to CMP function pointer
58 argument.
59 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60 (File Times): Fix summary magic @comment for struct utimbuf and utime
61 to refer to utime.h, not time.h.
62 * manual/string.texi (Argz Functions): Add missing const in
63 argz_extract and argz_next prototypes.
64 (Finding Tokens in a String): Likewise for basename.
65 (String/Array Comparison): Fix typo in wcscasecmp prototype.
66 (Copying and Concatenation): Fix typo in wmemmove prototype.
67 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68 (Signal Stack): Remove erroneous const in sigstack prototype.
69 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
70 prototype.
71 (Simple Calendar Time): Likewise for stime.
72 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
73 prototype.
74 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
75 say sys/sysctl.h instead.
76 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
77 and vsyslog prototypes.
78
fe77fe6d
TV
792013-02-11 Tom de Vries <tom@codesourcery.com>
80
81 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
82 Remove.
83
3a09b620
RM
842013-02-11 Roland McGrath <roland@hack.frob.com>
85
86 * misc/sys/mman.h: Fix typo in mremap comment.
87
550a0b89
RM
882013-02-08 Roland McGrath <roland@hack.frob.com>
89
90 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
91 the '\0' terminator.
92
a2da1673
JM
932013-02-08 Joseph Myers <joseph@codesourcery.com>
94
95 [BZ #13550]
96 * debug/segfault.c: Don't include <bp-checks.h>.
97 * sysdeps/generic/bp-checks.h: Remove file.
98 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
99 (__GETDENTS): Don't use CHECK_N.
100 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
101 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
102 (__getgroups): Don't use CHECK_N.
103 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
104 (setgroups): Don't use CHECK_N.
105 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
106 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
107 (__libc_msgrcv): Don't use CHECK_N.
108 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
109 (__libc_msgsnd): Don't use CHECK_N.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
111 <bp-checks.h>.
112 (__libc_pread): Don't use CHECK_N.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
114 include <bp-checks.h>.
115 (__libc_pread64): Don't use CHECK_N.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
117 include <bp-checks.h>.
118 (__libc_pwrite): Don't use CHECK_N.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
120 include <bp-checks.h>.
121 (__libc_pwrite64): Don't use CHECK_N.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
123 <bp-checks.h>.
124 (__libc_pread): Don't use CHECK_N.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
126 include <bp-checks.h>.
127 (__libc_pread64): Don't use CHECK_N.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
129 include <bp-checks.h>.
130 (__libc_pwrite): Don't use CHECK_N.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
132 include <bp-checks.h>.
133 (__libc_pwrite64): Don't use CHECK_N.
134 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
135 (do_pread): Don't use CHECK_N.
136 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
137 (do_pread64): Don't use CHECK_N.
138 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
139 (do_pwrite): Don't use CHECK_N.
140 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
141 (do_pwrite64): Don't use CHECK_N.
142 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
143 (__libc_readv): Don't use CHECK_N.
144 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
145 (semop): Don't use CHECK_N.
146 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
147 <bp-checks.h>.
148 (semtimedop): Don't use CHECK_N.
149 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
150 (__libc_pread): Don't use CHECK_N.
151 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
152 <bp-checks.h>.
153 (__libc_pread64): Don't use CHECK_N.
154 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
155 <bp-checks.h>.
156 (__libc_pwrite): Don't use CHECK_N.
157 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
158 <bp-checks.h>.
159 (__libc_pwrite64): Don't use CHECK_N.
160 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
161 <bp-checks.h>.
162 (__libc_msgrcv): Don't use CHECK_N.
163 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
164 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
165 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
166 (__libc_writev): Don't use CHECK_N.
167
b84660a8
RM
1682013-02-08 Roland McGrath <roland@hack.frob.com>
169
7f3e75f8
RM
170 * string/strcpy.c: Removed unused variable.
171
b84660a8
RM
172 * Makeconfig (+sysdep-includes): Define with := rather than =.
173 Use an existing include/ subdir of each sysdeps dir before it.
174
471514d3
CD
1752013-02-08 Carlos O'Donell <carlos@redhat.com>
176
177 * nscd/connection.c (register_traced_file): Comment function.
178 [HAVE_INOTIFY] (union __inev): Define.
179 [HAVE_INOTIFY] (inotify_check_files): New function.
180 [HAVE_INOTIFY] (clear_db_cache): Likewise.
181 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
182 clear_db_cache.
183 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
184
b2d3c3be
CD
1852013-02-08 Carlos O'Donell <carlos@redhat.com>
186
187 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
188 loaded if not already and that a failure is permanent.
189
b39949d2
CD
1902013-02-08 Carlos O'Donell <carlos@redhat.com>
191
ddacd1db 192 [BZ #15006]
b39949d2
CD
193 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
194 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
195
b2c9eff4
JM
1962013-02-08 Joseph Myers <joseph@codesourcery.com>
197
f3aae3f3
JM
198 [BZ #13550]
199 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
200 (CHECK_1_NULL_OK): Likewise.
201 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
202 (__fxstat): Do not use CHECK_1.
203 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
204 <bp-checks.h>.
205 (___fxstat64): Do not use CHECK_1.
206 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
207 <bp-checks.h>.
208 (__fxstatat): Do not use CHECK_1.
209 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
210 <bp-checks.h>.
211 (__fxstatat64): Do not use CHECK_1.
212 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
213 <bp-checks.h>.
214 (__fxstat): Do not use CHECK_1.
215 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
216 <bp-checks.h>.
217 (__fxstatat): Do not use CHECK_1.
218 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
219 <bp-checks.h>.
220 (__getresgid): Do not use CHECK_1.
221 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
222 <bp-checks.h>.
223 (__getresuid): Do not use CHECK_1.
224 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
225 <bp-checks.h>.
226 (__lxstat): Do not use CHECK_1.
227 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
228 <bp-checks.h>.
229 (__old_msgctl): Do not use CHECK_1.
230 (__new_msgctl): Likewise.
231 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
232 <bp-checks.h>.
233 (__new_setrlimit): Do not use CHECK_1.
234 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
235 <bp-checks.h>.
236 (__old_shmctl): Do not use CHECK_1.
237 (__new_shmctl): Likewise.
238 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
239 <bp-checks.h>.
240 (__xstat): Do not use CHECK_1.
241 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
242 (__lxstat): Do not use CHECK_1.
243 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
244 <bp-checks.h>.
245 (___lxstat64): Do not use CHECK_1.
246 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
247 (__old_msgctl): Do not use CHECK_1.
248 (__new_msgctl): Likewise.
249 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
250 <bp-checks.h>.
251 (__gettimeofday): Do not use CHECK_1.
252 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
253 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
254 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
255 <bp-checks.h>.
256 (__gettimeofday): Do not use CHECK_1.
257 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
258 (__old_shmctl): Do not use CHECK_1_NULL_OK.
259 (__new_shmctl): Do not use CHECK_1.
260 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
261 <bp-checks.h>.
262 (do_sigtimedwait): Do not use CHECK_1.
263 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
264 <bp-checks.h>.
265 (do_sigwaitinfo): Do not use CHECK_1.
266 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
267 <bp-checks.h>.
268 (msgctl): Do not use CHECK_1.
269 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
270 <bp-checks.h>.
271 (shmctl): Do not use CHECK_1.
272 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
273 (ustat): Do not use CHECK_1.
274 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
275 <bp-checks.h>.
276 (__fxstat): Do not use CHECK_1.
277 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
278 <bp-checks.h>.
279 (__fxstatat): Do not use CHECK_1.
280 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
281 <bp-checks.h>.
282 (__lxstat): Do not use CHECK_1.
283 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
284 <bp-checks.h>.
285 (__xstat): Do not use CHECK_1.
286 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
287 (__xstat): Do not use CHECK_1.
288 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
289 (___xstat64): Do not use CHECK_1.
290
b2c9eff4
JM
291 [BZ #13550]
292 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
293 definitions.
294 (CHECK_BOUNDS_HIGH): Likewise.
295 * string/strcpy.c: Do not include <bp-checks.h>.
296 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
297
f1d70dad
RM
2982013-02-07 Roland McGrath <roland@hack.frob.com>
299
300 * nscd/nscd-client.h (__nscd_drop_map_ref):
301 Add __attribute__ ((unused)).
302 * nis/nss-nisplus.h (niserr2nss): Likewise.
303
304 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
305 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
306
307 * csu/libc-tls.c (init_static_tls, init_slotinfo):
308 Remove inline keyword.
309 * include/rounding-mode.h (round_away): Likewise.
310 * libio/wfileops.c (adjust_wide_data): Likewise.
311 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
312 (__m128i_strloadu_tolower): Likewise.
313 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
314 (__m128i_strloadu_tolower): Likewise.
315 * time/mktime.c (ydhms_diff): Likewise.
316 * locale/elem-hash.h (elem_hash): Likewise.
317 * locale/setlocale.c (setdata): Likewise.
318 * posix/regex_internal.h (re_string_char_size_at): Likewise.
319 (re_string_wchar_at): Likewise.
320 (bitset_not, bitset_merge, bitset_mask): Likewise.
321 [!(__GNUC__ > 3)] (inline): Remove macro.
322 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
323 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
324 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
325 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
326 * string/memcmp.c (memcmp_bytes): Likewise.
327 * locale/programs/locarchive.c (compute_hashval): Likewise.
328 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
329 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
330 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
331 * nss/getent.c (print_rpc, print_protocols): Likewise.
332 (print_passwd, print_group, print_aliases): Likewise.
333 * nis/nss-nisplus.h (niserr2nss): Likewise.
334 * nscd/connections.c (restart_p): Likewise.
335 Change return type to bool.
336
eab55bfb
RM
3372013-02-05 Roland McGrath <roland@hack.frob.com>
338
7bd642f5
RM
339 * Makeconfig (all-Depend-files): Add existing
340 $(sorted-subdirs:=/Depend) files.
341 (all-subdirs): Remove nss.
342 * sysdeps/unix/inet/Subdirs: Add it here instead.
343 * hesiod/Depend: New file.
344
573c29b2
RM
345 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
346 instead of calling alloca.
347
b2e25af0
RM
348 * io/lseek.c (__lseek): Rename to __libc_lseek.
349 Define __lseek as an alias.
350
eab55bfb
RM
351 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
352
9a0d1941
CD
3532013-02-04 Carlos O'Donell <carlos@redhat.com>
354
355 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
356 else clause and remove check for non-standard endianness.
357
b83bbec4
DM
3582013-02-04 David S. Miller <davem@davemloft.net>
359
360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
361
6277fdab
JM
3622013-02-04 Joseph Myers <joseph@codesourcery.com>
363
364 [BZ #13550]
365 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
366 (__ubp_memchr): Remove prototype.
367 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
368 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
369 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
370 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
371 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
372 Remove alias.
373 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
374 (__ubp_memchr): Likewise.
375 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
376 (__ubp_memchr): Likewise.
377 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
378 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
379 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
380 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
381 CHECK_STRING.
382 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
383 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
384 (__getcwd): Do not use CHECK_STRING.
385 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
386 <bp-checks.h>.
387 (__real_chown): Do not use CHECK_STRING.
388 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
389 <bp-checks.h>.
390 (fchownat): Do not use CHECK_STRING.
391 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
392 CHECK_STRING.
393 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
394 <bp-checks.h>.
395 (__lchown): Do not use CHECK_STRING.
396 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
397 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
398 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
399 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
401 include <bp-checks.h>.
402 (truncate64): Do not use CHECK_STRING.
403 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
404 <bp-checks.h>.
405 (__real_chown): Do not use CHECK_STRING.
406 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
407 <bp-checks.h>.
408 (__lchown): Do not use CHECK_STRING.
409 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
410 <bp-checks.h>.
411 (__chown): Do not use CHECK_STRING.
412 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
413 <bp-checks.h>.
414 (truncate64): Do not use CHECK_STRING.
415 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
416 Likewise.
417 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
418 (__xmknod): Do not use CHECK_STRING.
419 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
420 <bp-checks.h>.
421 (__xmknodat): Do not use CHECK_STRING.
422 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
423 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
424
903ae060
AS
4252013-02-04 Andreas Schwab <schwab@suse.de>
426
427 [BZ #14142]
428 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
429 * include/netdb.h: Likewise for h_errno.
430 * elf/tst-stackguard1.c: Include <tls.h>.
431
542f9466
JK
4322013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
433
434 * elf/link.h (struct link_map): Extend the l_addr comment.
435 * include/link.h (struct link_map): Likewise.
436
e782a927
JM
4372013-02-01 Joseph Myers <joseph@codesourcery.com>
438
439 [BZ #13550]
440 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
441 (BOUNDED_1): Remove macro.
442 * debug/backtrace.c: Don't include <bp-checks.h>.
443 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
444 (__backtrace): Likewise.
445 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
446 <bp-checks.h>.
447 (__backtrace): Don't use BOUNDED_1.
448 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
449 <bp-checks.h>.
450 (__backtrace): Don't use BOUNDED_1.
451 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
452 (__backtrace): Don't use BOUNDED_1.
453 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
454 (shmat): Don't use BOUNDED_N.
455
8cf28c5e
JM
4562013-01-31 Joseph Myers <joseph@codesourcery.com>
457
3a7ac8a0
JM
458 [BZ #13550]
459 * sysdeps/generic/bp-start.h: Remove file.
460 * csu/libc-start.c: Don't include <bp-start.h>.
461 (LIBC_START_MAIN): Set up __environ directly instead of using
462 INIT_ARGV_and_ENVIRON.
463 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
464 <bp-start.h>.
465
f3499f95
JM
466 [BZ #13550]
467 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
468 definitions.
469 (CHECK_FCNTL): Likewise.
470 (CHECK_N_PAGES): Likewise.
471
32a45bea
JM
472 [BZ #13550]
473 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
474 definitions.
475 (CHECK_SIGSET_NULL_OK): Likewise.
476 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
477 <bp-checks.h>.
478 (sigpending): Don't use CHECK_SIGSET.
479 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
480 <bp-checks.h>.
481 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
482 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
483 <bp-checks.h>.
484 (do_sigsuspend): Don't use CHECK_SIGSET.
485 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
486 use CHECK_SIGSET.
487 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
488 (do_sigwait): Don't use CHECK_SIGSET.
489 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
490 use CHECK_SIGSET.
491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
492 include <bp-checks.h>.
493 (sigpending): Don't use CHECK_SIGSET.
494 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
495 include <bp-checks.h>.
496 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
497 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
498 <bp-checks.h>.
499 (sigpending): Don't use CHECK_SIGSET.
500 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
501 <bp-checks.h>.
502 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
503
2e8a5c8c
JM
504 [BZ #13550]
505 * sysdeps/generic/bp-semctl.h: Remove file.
506 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
507 <bp-checks.h> and <bp-semctl.h>.
508 (__old_semctl): Don't use CHECK_SEMCTL.
509 (__new_semctl): Likewise.
510 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
511 and <bp-semctl.h>.
512 (__old_semctl): Don't use CHECK_SEMCTL.
513 (__new_semctl): Likewise.
514 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
515 <bp-checks.h> and <bp-semctl.h>.
516 (__old_semctl): Don't use CHECK_SEMCTL.
517 (__new_semctl): Likewise.
518 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
519 <bp-checks.h> and <bp-semctl.h>.
520 (semctl): Don't use CHECK_SEMCTL.
521
c2d54929
JM
522 [BZ #13550]
523 * Makerules (elide-bp-thunks): Remove variable.
524 (elide-routines.oS): Don't use $(elide-bp-thunks).
525 (elide-routines.os): Likewise.
526 (elide-routines.o): Likewise.
527 (elide-routines.op): Likewise.
528 (elide-routines.og): Likewise.
529 (objects): Don't use $(bp-thunks).
530 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
531 include.
532 (common-generated): Do not add s-proto-bp.d.
533 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
534 (int): Likewise.
535 (typ): Likewise.
536 Do not generate makefile rules for bounded-pointer thunks.
537 * sysdeps/generic/bp-thunks.h: Remove file.
538 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
539 * sysdeps/unix/s-proto-bp.S: Likewise.
540
8cf28c5e
JM
541 [BZ #15062]
542 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
543 parts of result separately when argument is not close to line from
544 -i to i and one part of argument is small.
545 * math/k_casinhf.c (__kernel_casinhf): Likewise.
546 * math/k_casinhl.c (__kernel_casinhl): Likewise.
547 * math/libm-test.inc (cacos_test): Add more tests.
548 (casin_test): Likewise.
549 (casinh_test): Likewise.
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
552
c4e33b8d
DM
5532013-01-31 David S. Miller <davem@davemloft.net>
554
555 * po/de.po: Update from translation team.
556
3b60b421
MK
5572013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
558
559 * time/tzfile.c: Include stdint.h for SIZE_MAX.
560
bb931195
TS
5612013-01-25 Thomas Schwinge <thomas@codesourcery.com>
562
b5a5da23
TS
563 * configure.in (_AC_PROG_CC_C89): New definition.
564 * configure: Regenerate.
565
bb931195
TS
566 * configure.in (AC_PROG_CPP): New definition.
567 * configure: Regenerate.
568
8c53a12c
JM
5692013-01-23 Joseph Myers <joseph@codesourcery.com>
570
571 * debug/tst-backtrace.h: New file.
572 * debug/tst-backtrace2.c: Include tst-backtrace.h.
573 (ret): Remove variable.
574 (x): Likewise.
575 (FAIL): Remove macro.
576 (NO_INLINE): Likewise.
577 (fn1): Use match function instead of strstr.
578 * debug/tst-backtrace3.c: Include tst-backtrace.h.
579 (ret): Remove variable.
580 (x): Likewise.
581 (FAIL): Remove macro.
582 (NO_INLINE): Likewise.
583 (fn): Use match function instead of strstr.
584 * debug/tst-backtrace4.c: Include tst-backtrace.h.
585 (ret): Remove variable.
586 (x): Likewise.
587 (FAIL): Remove macro.
588 (NO_INLINE): Likewise.
589 (handle_signal): Use match function instead of strstr.
590 * debug/tst-backtrace5.c: Include tst-backtrace.h.
591 (ret): Remove variable.
592 (x): Likewise.
593 (FAIL): Remove macro.
594 (NO_INLINE): Likewise.
595 (handle_signal): Use match function instead of strstr.
596
4858fa2a
RM
5972013-01-23 Roland McGrath <roland@hack.frob.com>
598
599 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
600
bae8e7f5
DM
6012013-01-23 David S. Miller <davem@davemloft.net>
602
603 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
604 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
605 argument of CAS if possible.
606 * sysdeps/sparc/sparc64/bits/atomic.h
607 (__arch_compare_and_exchange_val_32_acq): Likewise.
608 (__arch_compare_and_exchange_val_64_acq): Likewise.
609
9cbbc4ae
PT
6102013-01-23 Pino Toscano <toscano.pino@tiscali.it>
611
612 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
613 * sysdeps/posix/ulimit.c: ... this.
92a601b8 614 Include <limits.h>.
67b3f58c 615 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 616
5655a0b5
AC
6172013-01-23 Adam Conrad <adconrad@0c3.net>
618
619 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
620 (LDFLAGS-tst-array5): Likewise.
621
052aff95
JM
6222013-01-23 Joseph Myers <joseph@codesourcery.com>
623
624 [BZ #15036]
625 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
626 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
627 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
628 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
629
7c1e01aa
DM
6302013-01-21 David S. Miller <davem@davemloft.net>
631
632 * sysdeps/sparc/backtrace.c: New file.
633 * sysdeps/sparc/sparc32/backtrace.h: New file.
634 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
635 * sysdeps/sparc/sparc64/backtrace.h: New file.
636 * sysdeps/sparc/sparc64/backtrace.c: Delete.
637 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
638 -funwind-tables.
639
ab087e0a
AS
6402013-01-21 Andreas Schwab <schwab@suse.de>
641
642 [BZ #15020]
643 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
644 closed its stdout.
645
ed689c2f
AS
6462013-01-20 Andreas Schwab <schwab@linux-m68k.org>
647
648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
649 "mpa2.h".
650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
651
31d470ac
JM
6522013-01-18 Joseph Myers <joseph@codesourcery.com>
653 Mark Mitchell <mark@codesourcery.com>
654 Tom de Vries <tom@codesourcery.com>
655 Paul Pluzhnikov <ppluzhnikov@google.com>
656
657 * debug/tst-backtrace2.c: New file.
658 * debug/tst-backtrace3.c: Likewise.
659 * debug/tst-backtrace4.c: Likewise.
660 * debug/tst-backtrace5.c: Likewise.
661 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
662 (CFLAGS-tst-backtrace3.c): Likewise.
663 (CFLAGS-tst-backtrace4.c): Likewise.
664 (CFLAGS-tst-backtrace5.c): Likewise.
665 (LDFLAGS-tst-backtrace2): Likewise.
666 (LDFLAGS-tst-backtrace3): Likewise.
667 (LDFLAGS-tst-backtrace4): Likewise.
668 (LDFLAGS-tst-backtrace5): Likewise.
669 (tests): Add new tests tst-backtrace2, tst-backtrace3,
670 tst-backtrace4 and tst-backtrace5.
671
90567f30 6722013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
673 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
674
675 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
676 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
677 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
678 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
680 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
681 "+r" and remove output regs list as redundant. Add explicit inline
682 asm to specify register of return val to work around compiler codegen
683 bug. Remove (int) cast on return value. Add return type parameter to
684 use in macro so that this macro does not truncate return value for
685 64-bit values.
686 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
687 pass to INTERNAL_VSYSCALL_NCS.
688 (INLINE_VSYSCALL): Add 'long int' as return type to
689 INTERNAL_VSYSCALL_NCS macro invocation.
690 (INTERNAL_VSYSCALL): Add 'long int' as return type to
691 INTERNAL_VSYSCALL_NCS macro invocation.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
693
d3b9ea61
SP
6942013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
695
0b57daeb
SP
696 [BZ #14496]
697 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
698 Fix application of SIMD FP exception mask.
699
caa99d06
SP
700 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
701 mp_no from a power of two.
702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
703 __mpexp_twomm1. Use __pow_mp.
704
d3b9ea61
SP
705 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
706 multiplication.
707
1dbaee3c
DM
7082013-01-17 David S. Miller <davem@davemloft.net>
709
710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
711
728d7b43
JM
7122013-01-17 Joseph Myers <joseph@codesourcery.com>
713
714 [BZ #15023]
715 * include/complex.h: Condition contents on [!_COMPLEX_H].
716 (__kernel_casinhf): New prototype.
717 (__kernel_casinh): Likewise.
718 (__kernel_casinhl): Likewise.
719 * math/Makefile (libm_calls): Add k_casinh.
720 * math/k_casinh.c: New file.
721 * math/k_casinhf.c: Likewise.
722 * math/k_casinhl.c: Likewise.
723 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
724 finite nonzero arguments.
725 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
726 finite nonzero arguments.
727 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
728 finite nonzero arguments.
729 * math/s_casinh.c: Do not include <float.h>.
730 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
731 * math/s_casinhf.c: Do not include <float.h>.
732 (__casinhf): Move code for finite nonzero arguments to
733 k_casinhf.c.
734 * math/s_casinhl.c: Do not include <float.h>.
735 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
736 redefine.
737 (__casinhl): Move code for finite nonzero arguments to
738 k_casinhl.c.
739 * math/libm-test.inc (cacos_test): Add more tests.
740 * sysdeps/i386/fpu/libm-test-ulps: Update.
741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
742
2a26ef3a
PT
7432013-01-17 Pino Toscano <toscano.pino@tiscali.it>
744
745 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
746 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
747 [!HAVE_MREMAP]: Remove [defined linux] case.
748 * malloc/arena.c: Do not include <malloc-sysdep.h>.
749
a897655d
SP
7502013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
751
752 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
753
881ebe89 7542013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
755
756 * elf/elf.h (R_386_SIZE32): New relocation.
757 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
758 R_386_SIZE32.
759 (elf_machine_rela): Likewise.
760 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
761 R_X86_64_SIZE64 and R_X86_64_SIZE32.
762
59981e9b
JM
7632013-01-17 Joseph Myers <joseph@codesourcery.com>
764
765 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
766 (FP_FAST_FMA): Do not define.
767 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
768 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
769 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
770 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
771 !_SOFT_FLOAT]: Likewise.
772 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
773 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
774 value.
775 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
776 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
777 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
778 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
779 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
780 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
781 file.
782
cfa8054f
AS
7832013-01-16 Andreas Schwab <schwab@suse.de>
784
785 [BZ #14327]
786 * include/stdlib.h (__mktemp): Add declaration.
787 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
788 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
789
dd930cc5
SP
7902013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
791
881ebe89
SP
792 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
793 definitions.
794 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
795 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
796 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
797 definitions here.
798 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
799 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
800 definitions.
801 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
802 and ONE.
803 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
804 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
805 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
806 definitions.
807 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
808 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
809 definitions.
810 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 811
dd930cc5
SP
812 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
813
c19a9f89
DM
8142013-01-15 David S. Miller <davem@davemloft.net>
815
1aa61767
DM
816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
817 trunc{,f} to libm-sysdep_routes.
818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
820 file.
821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
823 file.
824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
825 file.
826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
828 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
829 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
830 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
831 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
832 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
833 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
834
c42d5e98
DM
835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
836 nearbyint{,f} to libm-sysdep_routes.
837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
839 New file.
840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
841 file.
842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
843 New file.
844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
845 file.
846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
849 file.
850 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
851 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
852 file.
853 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
854 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
855 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
856
c19a9f89
DM
857 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
858 libc_feholdexcept and libc_fesetenv.
859
357679d2
MF
8602013-01-15 Mike Frysinger <vapier@gentoo.org>
861
862 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
863
65a82e3d
DM
8642013-01-14 David S. Miller <davem@davemloft.net>
865
8b954ab9
DM
866 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
867 (SPARC_ASM_VIS2_IFUNC): Likewise.
868 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
870 use of 'siam' instruction.
871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
872 Likewise.
873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
874 Likewise.
875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
876 Likewise.
877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
882 file.
883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
884 file.
885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
886 file.
887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
888 file.
889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
894 new VIS2 routines.
895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
898 Likewise.
899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
904 routines to libm-sysdep_routines.
905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
906
65a82e3d
DM
907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
908 fdim/fdimf to libm-sysdep_routines.
909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
910 file.
911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
913 file.
914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
917 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
918 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
919 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
920 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
921
e34ab705
SP
9222013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
923
2a91b573
SP
924 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
925 to optimize copies.
926
1066a534
SP
927 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
930
e34ab705
SP
931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
932 local variable MPTWO.
933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
934 Likewise.
935
aba5e596
MF
9362013-01-13 Mike Frysinger <vapier@gentoo.org>
937
938 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
939 GLOB_NOESCAPE.
940
e557e9e5
MF
9412013-01-13 Mike Frysinger <vapier@gentoo.org>
942
943 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
944
0428cec9
MF
9452013-01-13 Mike Frysinger <vapier@gentoo.org>
946
947 * manual/pattern.texi (glob_t): Document gl_flags.
948 (glob64_t): Likewise.
949
8794a964
DM
9502013-01-11 David S. Miller <davem@davemloft.net>
951
66438c3f
RM
952 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
953 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
954 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
955 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
956 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
957 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
958 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
959 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
960 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
961 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
962 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
963 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
964 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
965
4ae4244d
DM
966 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
967 sparc V9 rather than using V8 code.
968 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
969 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
970
8794a964
DM
971 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
972 Move to...
973 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
974 Here.
975
6270516e
RM
9762013-01-11 Roland McGrath <roland@hack.frob.com>
977
978 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
979 not in the main loop.
980 * configure: Regenerated.
981
6a57d931
JM
9822013-01-11 Joseph Myers <joseph@codesourcery.com>
983
984 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
985 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
986 to just #else.
987 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
988 [!__GLIBC_HAVE_LONG_LONG] case.
989 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
990 condition to just #else.
991 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
992 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
993 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
994 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
995 unconditional.
996 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
997 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
998 #elif condition to just #else.
999 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1000 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1001 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1002 #elif condition to just #else.
1003
0e8529e9
SE
10042013-01-11 Steve Ellcey <sellcey@mips.com>
1005
1006 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1007 (EF_MIPS_ARCH_64): Fix value.
1008 (EF_MIPS_ARCH_32R2): New.
1009 (EF_MIPS_ARCH_64R2): New.
1010
740b3dbe
L
10112013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * Makeconfig (+link-pie-before-libc): New.
1014 (+link-pie-after-libc): Likewise.
1015 (+link-pie-tests): Likewise.
1016 (+link-pie): Rewritten.
1017 (link-before-libc): Remove $(config-LDFLAGS).
1018 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1019 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1020 (config-LDFLAGS): Renamed to ...
1021 (rtld-LDFLAGS): This.
1022 (rtld-tests-LDFLAGS): New macro.
1023 (link-libc-rpath-link): Likewise.
1024 (link-libc-tests-rpath-link): Likewise.
1025 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1026 (link-libc): Prepand $(link-libc-rpath-link).
1027 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1028 (test-program-prefix): New macro.
1029 (test-via-rtld-prefix): Likewise.
1030 (test-program-cmd): Likewise.
1031 (host-test-program-cmd): Likewise.
1032 * Makefile ($(common-objpfx)testrun.sh): Replace
1033 $(run-program-prefix) with $(test-program-prefix).
1034 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1035 $(rtld-LDFLAGS).
1036 ($(common-objpfx)shlib.lds): Likewise.
1037 (build-module-helper): Likewise.
1038 ($(common-objpfx)format.lds): Likewise.
1039 * Rules (binaries-pie-tests): New.
1040 (binaries-pie-notests): Likewise.
1041 (binaries-pie): Rewritten.
1042 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1043 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1044 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1045 (make-test-out): Replace $(host-built-program-cmd) with
1046 $(host-test-program-cmd).
1047 * config.make.in (build-hardcoded-path-in-tests): New variable.
1048 * configure.in (--enable-hardcoded-path-in-tests): New configure
1049 option.
1050 (hardcoded_path_in_tests): New AC_SUBST.
1051 * configure: Regenerated.
1052 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1053 $(built-program-cmd) with $(test-program-cmd).
1054 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1055 (test_program_cmd): This.
1056 * elf/Makefile ($(objpfx)order.out): Run test with
1057 $(test-program-prefix).
1058 ($(objpfx)order2.out): Likewise.
1059 ($(objpfx)tst-initorder.out): Likewise.
1060 ($(objpfx)tst-initorder2.out): Likewise.
1061 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1062 $(test-program-cmd).
1063 ($(objpfx)tst-array1-static.out): Likewise.
1064 ($(objpfx)tst-array2.out): Likewise.
1065 ($(objpfx)tst-array3.out): Likewise.
1066 ($(objpfx)tst-array4.out): Likewise.
1067 ($(objpfx)tst-array5.out): Likewise.
1068 ($(objpfx)tst-array5-static.out): Likewise.
1069 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1070 $(test-program-cmd).
1071 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1072 $(run-program-prefix) with $(test-program-prefix).
1073 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1074 (test_program_prefix): This.
1075 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1076 $(run-program-prefix) with $(test-program-prefix).
1077 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1078 (test_program_prefix): This.
1079 * iconvdata/tst-tables.sh: Likewise.
1080 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1081 $(run-program-prefix) with $(test-program-prefix).
1082 ($(objpfx)tst-translit.out): Likewise.
1083 ($(objpfx)tst-gettext2.out): Likewise.
1084 ($(objpfx)tst-gettext4.out): Likewise.
1085 ($(objpfx)tst-gettext6.out): Likewise.
1086 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1087 (test_program_prefix): This.
1088 * intl/tst-gettext2.sh: Likewise.
1089 * intl/tst-gettext4.sh Likewise.
1090 * intl/tst-gettext6.sh: Likewise.
1091 * intl/tst-translit.sh: Likewise.
1092 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1093 with $(test-program-cmd).
1094 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1095 $(run-program-prefix) with $(test-program-prefix).
1096 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1097 (test_program_prefix): This.
1098 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1099 $(run-program-prefix) with $(test-program-prefix).
1100 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1101 (test_program_prefix): This.
1102 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1103 * posix/Makefile ($(objpfx)globtest.out): Replace
1104 $(run-via-rtld-prefix) and $(test-wrapper) with
1105 $(test-program-prefix) and $(test-via-rtld-prefix).
1106 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1107 $(test-program-prefix).
1108 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1109 $(host-test-program-cmd).
1110 (tst-spawn-ARGS): Likewise.
1111 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1112 $(test-program-prefix).
1113 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1114 (test_via_rtld_prefix): This.
1115 (test_wrapper): Renamed to ...
1116 (test_program_prefix): This.
1117 (run_program_prefix): Replaced by test_program_prefix.
1118 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1119 (test_program_prefix): This.
1120 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1121 with $(host-test-program-cmd).
1122 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1123 $(run-program-prefix) with $(test-program-prefix).
1124 ($(objpfx)tst-printf.out): Likewise.
1125 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1126 $(test-program-cmd).
1127 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1128 (test_program_prefix): This.
1129 * stdio-common/tst-unbputc.sh: Likewise.
1130 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1131 $(run-program-prefix) with $(test-program-prefix).
1132 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1133 (test_program_prefix): This.
1134 * string/Makefile ($(objpfx)tst-svc.out): Replace
1135 $(built-program-cmd) with $(test-program-cmd).
1136
c6fe55cf
AJ
11372013-01-11 Andreas Jaeger <aj@suse.de>
1138
1139 [BZ #15003]
1140 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1141 value. Sync with Linux 3.7.
1142
9e6919c8
DM
11432013-01-10 David S. Miller <davem@davemloft.net>
1144
1145 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1146 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1147 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1148
1c9f1a02
RM
11492013-01-10 Roland McGrath <roland@hack.frob.com>
1150
1151 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1152 never set.
1153 * configure: Regenerated.
1154
b9de2dde
DM
11552013-01-10 David S. Miller <davem@davemloft.net>
1156
1157 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1158 sparc V9 rather than using V8 code.
1159 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1160 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1161
e7f68ef4
RM
11622013-01-10 Roland McGrath <roland@hack.frob.com>
1163
1164 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1165 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1166 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1167 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1168 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1169 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1170 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1171 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1172 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1173 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1174 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1175 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1176 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1177 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1178 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1179 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1180 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1181 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1182 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1183 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1184 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1185 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1186 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1187 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1188 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1189 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1190 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1191
5a47cc9c
DM
11922013-01-10 David S. Miller <davem@davemloft.net>
1193
1194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1195
4cf8f209
L
11962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 * posix/Makefile (tests-static): New variable.
1199 (tests): Add $(tests-static).
1200 (tst-exec-static-ARGS): New variable.
1201 (tst-spawn-static-ARGS): Likewise.
1202 * posix/tst-exec-static.c: New file.
1203 * posix/tst-spawn-static.c: Likewise.
1204 * posix/tst-exec.c: Support run directly.
1205 * posix/tst-spawn.c: Likewise.
1206
fed0faa1
JM
12072013-01-10 Joseph Myers <joseph@codesourcery.com>
1208
828beb13
JM
1209 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1210 long.
1211 * math/bits/mathcalls.h (llrint): Likewise.
1212 (llround): Likewise.
1213 * stdlib/stdlib.h (struct drand48_data): Likewise.
1214 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1215 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1216 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1217 Likewise.
1218 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1219 Likewise.
1220 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1221 (elf_greg_t): Likewise.
1222 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1223 (__jmp_buf): Likewise.
1224 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1225 definitions.
1226 (llrint): Likewise, for all definitions.
1227 (llrintl): Likewise.
1228
fed0faa1
JM
1229 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1230 Remove [__GNUC__] condition.
1231 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1232 condition to just [__USE_ISOC99].
1233 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1234
1a20cb20
L
12352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1236
1237 [BZ #14200]
1238 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1239 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1240 defined.
1241 (_POSIX_V6_ILP32_OFF32): Likewise.
1242 (_XBS5_ILP32_OFF32): Likewise.
1243 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1244 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1245
751b85f7
SP
12462013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1247
7490eb81
SP
1248 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1249
751b85f7
SP
1250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1251 doubles __mpexp_twomm1. Adjust usage.
1252 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1253 Remove.
1254
988197f0
AS
12552013-01-10 Andreas Schwab <schwab@suse.de>
1256
1257 [BZ #14964]
1258 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1259 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1260
e83d7298
DM
12612013-01-09 David S. Miller <davem@davemloft.net>
1262
034ed64b 1263 [BZ #15003]
e83d7298
DM
1264 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1265 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1266 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1267 TCP_FASTOPEN): Define.
1268 (tcp_repair_opt): New structure.
1269 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1270 enum values.
1271 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1272 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1273 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1274 (tcp_cookie_transactions): New structure.
1275
d5e0b9bd
AB
12762013-01-09 Anton Blanchard <anton@samba.org>
1277
1278 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1279 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1280 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1282
0c07e3ea
JM
12832013-01-09 Joseph Myers <joseph@codesourcery.com>
1284
1285 * include/features.h (__USE_ANSI): Remove.
1286
232f7002
RM
12872013-01-09 Roland McGrath <roland@hack.frob.com>
1288
ad98e30c
RM
1289 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1290
232f7002
RM
1291 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1292
950c99ca
SP
12932013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1294
b5792741
SP
1295 * sysdeps/s390/fpu/libm-test-ulps: Update.
1296
47cf2278
SP
1297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1298
950c99ca
SP
1299 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1300 (__acr): Likewise.
1301 (__cpy): Likewise.
1302 (norm): Likewise.
1303 (denorm): Likewise.
1304 (__mp_dbl): Likewise.
1305 (__dbl_mp): Likewise.
1306 (add_magnitudes): Likewise.
1307 (sub_magnitudes): Likewise.
1308 (__add): Likewise.
1309 (__sub): Likewise.
1310 (__mul): Likewise.
1311 (__inv): Likewise.
1312 (__dvd): Likewise.
1313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1314 (__acr): Likewise.
1315 (__cpy): Likewise.
1316 (norm): Likewise.
1317 (denorm): Likewise.
1318 (__mp_dbl): Likewise.
1319 (__dbl_mp): Likewise.
1320 (add_magnitudes): Likewise.
1321 (sub_magnitudes): Likewise.
1322 (__add): Likewise.
1323 (__sub): Likewise.
1324 (__mul): Likewise.
1325 (__inv): Likewise.
1326 (__dvd): Likewise.
1327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1328 (__acr): Likewise.
1329 (__cpy): Likewise.
1330 (norm): Likewise.
1331 (denorm): Likewise.
1332 (__mp_dbl): Likewise.
1333 (__dbl_mp): Likewise.
1334 (add_magnitudes): Likewise.
1335 (sub_magnitudes): Likewise.
1336 (__add): Likewise.
1337 (__sub): Likewise.
1338 (__mul): Likewise.
1339 (__inv): Likewise.
1340 (__dvd): Likewise.
1341
eede9df9
JM
13422013-01-08 Joseph Myers <joseph@codesourcery.com>
1343
1344 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1345 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1346 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1347 2 && __USE_EXTERN_INLINES]: Likewise.
1348
c40ea3d9
AJ
13492013-01-08 Andreas Jaeger <aj@suse.de>
1350
1351 [BZ# 14985]
1352 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1353 Remove.
1354 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1355 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1356
2ccdea26
AB
13572013-01-07 Anton Blanchard <anton@samba.org>
1358
1359 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1360 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1361 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1362 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1363 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1364 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1365 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1366 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1368 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1369 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1370 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1371 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1372 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1373 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1374 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1375 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1376 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1377 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1378 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1379 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1380 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1381 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1382 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1383 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1384 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1385 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1386 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1389 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1391 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1392 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1393 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1394 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1395 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1396 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1397 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1398 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1399 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1400 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1401 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1402
a9708fed
JM
14032013-01-07 Joseph Myers <joseph@codesourcery.com>
1404
375607b9
JM
1405 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1406 (__MALLOC_PMT): Likewise.
1407 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1408 [__GNUC__], only on [_LIBC].
1409 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1410 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1411 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1412 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1413 forward declaration.
1414 (realloc_hook_ini): Likewise.
1415 (memalign_hook_ini): Likewise.
1416 (__libc_memalign): Do not use __MALLOC_PMT in variable
1417 declaration.
1418 (__libc_valloc): Likewise.
1419 (__libc_pvalloc): Likewise.
1420 (__libc_calloc): Likewise.
1421 (__posix_memalign): Likewise.
1422
a9708fed
JM
1423 [BZ #14996]
1424 * math/s_casinh.c: Include <float.h>.
1425 (__casinh): Do not do computation with squaring and square root
1426 for large arguments.
1427 * math/s_casinhf.c: Include <float.h>.
1428 (__casinhf): Do not do computation with squaring and square root
1429 for large arguments.
1430 * math/s_casinhl.c: Include <float.h>.
1431 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1432 (__casinhl): Do not do computation with squaring and square root
1433 for large arguments.
1434 * math/libm-test.inc (casin_test): Add more tests.
1435 (casinh_test): Likewise.
1436 * sysdeps/i386/fpu/libm-test-ulps: Update.
1437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1438
afec409a
L
14392013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1440
1441 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1442 (__x86_64_raw_data_cache_size): Likewise.
1443 (__x86_64_data_cache_size_half): Likewise.
1444 (__x86_64_raw_data_cache_size_half): Likewise.
1445 (__x86_64_shared_cache_size): Likewise.
1446 (__x86_64_raw_shared_cache_size): Likewise.
1447 (__x86_64_shared_cache_size_half): Likewise.
1448 (__x86_64_raw_shared_cache_size_half): Likewise.
1449 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1450 to ...
1451 (__x86_data_cache_size): This.
1452 (__x86_64_raw_data_cache_size): Renamed to ...
1453 (__x86_raw_data_cache_size): This.
1454 (__x86_64_data_cache_size_half): Renamed to ...
1455 (__x86_data_cache_size_half): This.
1456 (__x86_64_raw_data_cache_size_half): Renamed to ...
1457 (__x86_raw_data_cache_size_half): This.
1458 (__x86_64_shared_cache_size): Renamed to ...
1459 (__x86_shared_cache_size): This.
1460 (__x86_64_raw_shared_cache_size): Renamed to ...
1461 (__x86_raw_shared_cache_size): This.
1462 (__x86_64_shared_cache_size_half): Renamed to ...
1463 (__x86_shared_cache_size_half): This.
1464 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1465 (__x86_raw_shared_cache_size_half): This.
1466 * sysdeps/x86_64/memcpy.S: Updated.
1467 * sysdeps/x86_64/memset.S: Likewise.
1468 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1470 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1471
0b3986d0
DM
14722013-01-04 David S. Miller <davem@davemloft.net>
1473
1474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1475
e47686e9
AS
14762013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1477
d643bac1
AS
1478 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1479 1 to avoid redefinition warning.
1480 (__USE_GNU): Don't define.
1481 (init_signaling_nan): Protoize.
1482
e47686e9
AS
1483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1484
b18decba
SP
14852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1486
fffb407f
SP
1487 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1489 (__cpymn): Likewise.
1490 (norm): Remove commented code.
1491 (denorm): Likewise.
1492 (__mp_dbl): Likewise.
1493 (__inv): Likewise.
1494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1495 (__cpymn): Likewise.
1496 (norm): Remove commented code.
1497 (denorm): Likewise.
1498 (__mp_dbl): Likewise.
1499 (__inv): Likewise.
1500
b18decba
SP
1501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1502 mp_no value for 1.0 and 2.0.
1503 (norm): Use RADIXI instead of radixi.d.
1504 (denorm): Likewise.
1505 (__mul): Use 0.0 instead of zero.d.
1506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1507 mp_no value for 1.0 and 2.0.
1508 (norm): Use RADIXI instead of radixi.d.
1509 (denorm): Likewise.
1510 (__mul): Use 0.0 instead of zero.d.
1511
cdc1c96f
JM
15122013-01-04 Joseph Myers <joseph@codesourcery.com>
1513
1514 [BZ #14994]
1515 * math/s_casinh.c (__casinh): Reduce finite argument to first
1516 quadrant then set signs of results at the end.
1517 * math/s_casinhf.c (__casinhf): Likewise.
1518 * math/s_casinhl.c (__casinhl): Likewise.
1519 * math/libm-test.inc (casin_test): Add more tests.
1520 (casinh_test): Likewise.
1521 * sysdeps/i386/fpu/libm-test-ulps: Update.
1522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1523
302913e1
SP
15242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1525
6420d207
SP
1526 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1527
a9e48ab4
SP
1528 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1529
b7837264
SP
1530 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1531 declarations.
1532 (denorm): Likewise.
1533 (__mp_dbl): Likewise.
1534 (__inv): Likewise.
1535
f8af25d2
SP
1536 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1537 and adjust the header comment.
1538
302913e1
SP
1539 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1540 variable name from declaration.
1541
5d7dd1ca
L
15422013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1545 Initialize COMMON_CPUID_INDEX_7 element.
1546 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1547 (CPUID_RTM): Likewise.
1548 (HAS_RTM): Likewise.
1549 (COMMON_CPUID_INDEX_7): New enum.
1550
2f5f40f4
AS
15512013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1552
1553 [BZ #14981]
1554 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1555 size is zero, record memory as freed.
1556
4056f4a0
AJ
15572013-01-03 Andreas Jaeger <aj@suse.de>
1558
1559 * po/ia.po: Add new Interlingua translation.
1560
ab15736f 15612012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1562
1563 * locale/programs/localedef.c: Fix description of '--posix' flag.
1564
568035b7
JM
15652013-01-02 Joseph Myers <joseph@codesourcery.com>
1566
e6898b8d
JM
1567 * NEWS: Update dates in second copyright notice.
1568 * README: Update copyright dates in example.
1569 * manual/libc.texinfo: Update copyright dates.
1570 * scripts/test-installation.pl: Update copyright date in --version
1571 output.
1572
0e2f9562
JM
1573 * hurd/ctty-input.c: Fix copyright notice formatting.
1574 * hurd/ctty-output.c: Likewise.
1575 * hurd/dtable.c: Likewise.
1576 * hurd/hurd-raise.c: Likewise.
1577 * hurd/hurdprio.c: Likewise.
1578 * hurd/msgportdemux.c: Likewise.
1579 * misc/sys/file.h: Likewise.
1580 * misc/sys/ioctl.h: Likewise.
1581 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1582 * sysdeps/mach/hurd/chdir.c: Likewise.
1583 * sysdeps/mach/hurd/fchdir.c: Likewise.
1584 * sysdeps/mach/hurd/rename.c: Likewise.
1585 * sysdeps/mach/hurd/rmdir.c: Likewise.
1586 * sysdeps/mach/hurd/seekdir.c: Likewise.
1587 * sysdeps/mach/hurd/setsid.c: Likewise.
1588 * sysdeps/posix/wait3.c: Likewise.
1589
568035b7
JM
1590 * All files with FSF copyright notices: Update copyright dates
1591 using scripts/update-copyrights.
1592 * intl/plural.c: Regenerated.
1593 * locale/programs/charmap-kw.h: Likewise.
1594 * locale/programs/locfile-kw.h: Likewise.
1595
da08f647
SP
15962013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1597
0f5477af
SP
1598 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1599 four values.
1600
44e0d4c2
SP
1601 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1602 calculation loop and add branch prediction.
1603
4d55b4e5
SP
1604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1605 check access beyond bounds of m1np.
1606
da08f647
SP
1607 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1608 MPTWO.
1609 (__inv): Remove local variable MPTWO to use the global
1610 constant.
1611 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1612 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1613 variable MPTWO.
1614 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1615 MP3HALFS static const.
1616
8e051029
DM
16172013-01-01 David S. Miller <davem@davemloft.net>
1618
1619 * po/ca.po: Update from translation team.
1620
f4cf5f2d
JM
16212013-01-01 Joseph Myers <joseph@codesourcery.com>
1622
1623 * scripts/update-copyrights: New file.
1624 * Makeconfig: Reformat copyright notice.
1625 * ctype/ctype.h: Likewise.
1626 * debug/swprintf_chk.c: Likewise.
1627 * elf/dl-cache.c: Likewise.
1628 * elf/dl-debug.c: Likewise.
1629 * elf/dl-object.c: Likewise.
1630 * grp/initgroups.c: Likewise.
1631 * hurd/Makefile: Likewise.
1632 * hurd/hurd/signal.h: Likewise.
1633 * hurd/hurdfault.c: Likewise.
1634 * hurd/hurdioctl.c: Likewise.
1635 * hurd/hurdlookup.c: Likewise.
1636 * hurd/intr-msg.c: Likewise.
1637 * iconv/gconv_open.c: Likewise.
1638 * libio/swprintf.c: Likewise.
1639 * locale/lc-ctype.c: Likewise.
1640 * locale/nl_langinfo.c: Likewise.
1641 * mach/Machrules: Likewise.
1642 * mach/Makefile: Likewise.
1643 * malloc/obstack.h: Likewise.
1644 * manual/Makefile: Likewise.
1645 * manual/tsort.awk: Likewise.
1646 * misc/bits/stab.def: Likewise.
1647 * nis/nis_print_group_entry.c: Likewise.
1648 * nis/nis_table.c: Likewise.
1649 * nis/nss_compat/compat-pwd.c: Likewise.
1650 * nis/nss_compat/compat-spwd.c: Likewise.
1651 * po/Makefile: Likewise.
1652 * posix/fnmatch.c: Likewise.
1653 * posix/regex.h: Likewise.
1654 * resolv/Makefile: Likewise.
1655 * resolv/nss_dns/dns-network.c: Likewise.
1656 * resolv/res_hconf.c: Likewise.
1657 * scripts/gen-sorted.awk: Likewise.
1658 * soft-fp/soft-fp.h: Likewise.
1659 * stdio-common/printf.h: Likewise.
1660 * stdlib/monetary.h: Likewise.
1661 * stdlib/random.c: Likewise.
1662 * stdlib/random_r.c: Likewise.
1663 * sysdeps/generic/Makefile: Likewise.
1664 * sysdeps/gnu/Makefile: Likewise.
1665 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1672 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1673 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1674 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1675 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1676 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1677 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1678 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1679 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1693 * sysdeps/mach/hurd/errnos.awk: Likewise.
1694 * sysdeps/mach/hurd/fork.c: Likewise.
1695 * sysdeps/mach/hurd/getcwd.c: Likewise.
1696 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1697 * sysdeps/mach/hurd/mmap.c: Likewise.
1698 * sysdeps/mach/hurd/utimes.c: Likewise.
1699 * sysdeps/mach/hurd/xmknod.c: Likewise.
1700 * sysdeps/posix/profil.c: Likewise.
1701 * sysdeps/posix/readdir_r.c: Likewise.
1702 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1703 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1704 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1705 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1707 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1708 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1709 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1711 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1712 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1713 * sysdeps/pthread/lio_listio.c: Likewise.
1714 * sysdeps/sparc/dl-procinfo.h: Likewise.
1715 * sysdeps/unix/i386/sysdep.S: Likewise.
1716 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1717 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1718 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1719 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1721 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1722 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1723 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1724 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1725 * sysdeps/wordsize-32/divdi3.c: Likewise.
1726 * time/sys/time.h: Likewise.
1727 * wcsmbs/Makefile: Likewise.
1728
0549fbba
DM
17292013-01-01 David S. Miller <davem@davemloft.net>
1730
a141f1a7
DM
1731 * po/fr.po: Update from translation team.
1732
0549fbba
DM
1733 * catgets/gencat.c: Update copyright year.
1734 * csu/version.c: Likewise.
1735 * debug/catchsegv.sh: Likewise.
1736 * debug/pcprofiledump.c: Likewise.
1737 * debug/xtrace.sh: Likewise.
1738 * elf/ldconfig.c: Likewise.
1739 * elf/ldd.bash.in: Likewise.
1740 * elf/pldd.c: Likewise.
1741 * elf/sotruss.ksh: Likewise.
1742 * elf/sprof.c: Likewise.
1743 * iconv/iconv_prog.c: Likewise.
1744 * iconv/iconvconfig.c: Likewise.
1745 * locale/programs/locale.c: Likewise.
1746 * locale/programs/localedef.c: Likewise.
1747 * login/programs/pt_chown.c: Likewise.
1748 * malloc/memusage.sh: Likewise.
1749 * malloc/memusagestat.c: Likewise.
1750 * malloc/mtrace.pl: Likewise.
1751 * nscd/nscd.c: Likewise.
1752 * nss/getent.c: Likewise.
1753 * nss/makedb.c: Likewise.
1754 * posix/getconf.c: Likewise.
1755
18ea052c
SP
17562012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1757
1758 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1759 numbers.
1760
9c89fca6
MF
17612012-12-30 Mike Frysinger <vapier@gentoo.org>
1762
1763 * math/bits/mathcalls.h (modf): Use __nonnull.
1764
085ec079
SP
17652012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1766
1767 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1768 (split): Use macro CN instead of the bare value.
1769 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1770 could be used.
1771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1772 instead of the bare value.
1773 (power1): Likewise.
1774
6d9f97e1
SP
17752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1776
d63f73be
SP
1777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1778 __ATAN_TWOM.
1779 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1780
6d9f97e1
SP
1781 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1782 their values.
1783 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1784 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1785 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1786 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1787
4c4febf5
AJ
17882012-12-28 Andreas Jaeger <aj@suse.de>
1789
af5843ef
AJ
1790 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1791 values are from Linux 3.7.
1792
4c4febf5
AJ
1793 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1794 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1795
99136f82
SP
17962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1797
2f216c3c 1798 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1799 TRUE case.
1800
99136f82
SP
1801 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1802 (norm): Likewise.
1803 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1804 variables with preprocessor constants.
1805 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1806 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1807 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1808
7fffbdff
BH
18092012-12-27 Bruno Haible <bruno@clisp.org>
1810
1811 [BZ #14317]
1812 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1813 only if needed.
1814
b76eb5f0
SP
18152012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1816
31a7fe5c
SP
1817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1818 and use variable directly.
1819 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1820
b76eb5f0
SP
1821 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1822 MPONE.
1823 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1824 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1825 variable MPONE.
1826 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1828 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1829 include directive. Remove local variable MPONE.
1830 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1831 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1833
2c8bfe7d
DM
18342012-12-25 David S. Miller <davem@davemloft.net>
1835
1836 * version.h (RELEASE): Set to "development".
1837 (VERSION): Set to "2.17.90".
1838 * NEWS: Add 2.18 section.
1839
147d03b0
DM
18402012-12-21 David S. Miller <davem@davemloft.net>
1841
1842 * po/hr.po: Update from translation team.
1843
a8ebb2b9
AK
18442012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1845
1846 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1847
95b4f1b6
SE
18482012-12-19 Steve Ellcey <sellcey@mips.com>
1849
b2d94007 1850 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1851
cedb2a90
MS
18522012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1853
1854 * manual/contrib.texi (Contributors): Spelling correction.
1855
bbf527d6
DM
18562012-12-15 David S. Miller <davem@davemloft.net>
1857
1858 * po/ru.po: Update from translation team.
1859
bc38c906
DM
18602012-12-13 David S. Miller <davem@davemloft.net>
1861
85429b1a
DM
1862 * NEWS: Mention IFUNC testsuite enhancements.
1863
d283e353
DM
1864 * po/pl.po: Update from translation team.
1865 * po/bg.po: Likewise.
1866
bc38c906
DM
1867 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1868 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1869
a181b0d7
DM
18702012-12-11 David S. Miller <davem@davemloft.net>
1871
4641d57e
DM
1872 * po/sv.po: Update from translation team.
1873
f7bc6495
DM
1874 * po/vi.po: Update from translation team.
1875
6fc9048f
DM
1876 * po/cs.po: Update from translation team.
1877
a181b0d7
DM
1878 * po/de.po: Update from translation team.
1879 * po/eo.po: Likewise.
1880 * po/nl.po: Likewise.
1881
f70bfe80
SP
18822012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1883
3c8b4190
SP
1884 [BZ #14246]
1885 * manual/argp.texi (Argp Helper Functions): Move node to follow
1886 Argp Parsing State.
1887
f70bfe80
SP
1888 [BZ #14872]
1889 * manual/conf.texi (Limits on File System Capacity): Mention if
1890 terminating null is included in the max size.
1891
188f0adf
AJ
18922012-12-10 Andreas Jaeger <aj@suse.de>
1893
1894 * po/cs.po: Update from translation team.
1895
56e7d3ad
SP
18962012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1897
1898 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1899 void pointer and cast to uintptr_t.
1900 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1901 path.
1902 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1903 * sysdeps/s390/s390-64/memset.S: Likewise.
1904
76f2d2ea 19052012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1906
1907 [BZ #14833]
1908 * menual/message.texi (Message Translation): Fix typos.
1909 (Helper programs for gettext): Likewise.
1910
67cbf9a2
AS
19112012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1912
1913 [BZ #14898]
1914 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1915 Change to -1.
1916
682d0e9a
DM
19172012-12-07 David S. Miller <davem@davemloft.net>
1918
1919 * po/libc.pot: Update.
1920
573cd484
RH
19212012-12-07 Richard Henderson <rth@redhat.com>
1922
7e9da188 1923 [BZ #10114]
573cd484
RH
1924 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1925 normal/normal case to before the switch.
1926 (_FP_DIV): Likewise.
1927
e933a943
MF
19282012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1929 Mike Frysinger <vapier@gentoo.org>
1930
1931 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1932 check for __NR_fadvise64_64.
1933
82123268
CM
19342012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1935
1936 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1937 0, not just to plain "0" as a statement.
1938 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1939 with cw.
1940
d9814526
JM
19412012-12-06 Joseph Myers <joseph@codesourcery.com>
1942
1943 * NEWS: Use sourceware.org in Bugzilla URL.
1944
7728c574
SP
19452012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1946
f16946dd
SP
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1948 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1949
5704bbcb
SP
1950 * stdio-common/tst-put-error.c (do_test): Add newline to the
1951 padded test to ensure flush.
1952
17aa0516
JL
19532012-12-05 Jeff Law <law@redhat.com>
1954
1955 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1956
363313b5
JM
19572012-12-05 Joseph Myers <joseph@codesourcery.com>
1958
effbd42a
JM
1959 * README: Don't refer to ports add-on as distributed separately.
1960 Mention AArch64 in list of systems supported in the ports add-on.
1961
87600365
JM
1962 * LICENSES: Add more non-FSF copyright and license notices.
1963
a0d7066a
JM
1964 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1965 ((unused)).
1966
66ca5a5b
JM
1967 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1968
363313b5
JM
1969 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1970 10000 as width of padded output.
1971
b37984ad
JM
19722012-12-04 Joseph Myers <joseph@codesourcery.com>
1973
9003570a
JM
1974 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1975
b37984ad
JM
1976 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1977 variable LX with __attribute__ ((unused)).
1978 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1979 Likewise.
1980 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1982 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1983 with __attribute__ ((unused)).
1984
c8df52ec
DM
19852012-12-04 David S. Miller <davem@abraco.davemloft.net>
1986
1987 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1988
b3b099af
JM
19892012-12-04 Joseph Myers <joseph@codesourcery.com>
1990
c33aa6e3
JM
1991 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1992 (CFLAGS-nldbl-acos.c): New variable.
1993 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1994 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1995 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1996 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1997 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1998 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1999 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2000 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2001 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2002 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2003 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2004 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2005 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2006 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2007 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2008 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2009 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2010 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2011 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2012 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2013 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2014 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2015 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2016 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2017 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2018 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2019 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2020 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2021 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2022 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2023 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2024 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2025 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2026 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2027 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2028 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2029 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2030 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2031 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2032 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2033 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2034 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2035 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2036 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2037 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2038 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2039 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2040 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2041 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2042 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2043 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2044 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2045 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2046 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2047 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2048 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2049 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2050 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2051 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2052 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2053 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2054 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2055 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2056 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2057 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2058 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2059 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2060 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2061 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2062 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2063 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2064 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2065 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2066 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2067 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2068 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2069 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2070 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2071 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2072 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2073 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2074 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2075 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2076 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2077 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2078 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2079 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2080 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2081 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2082 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2083 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2084 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2085 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2086 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2087 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2088 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2089 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2090
20f0018d
JM
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2092 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2093
b3b099af
JM
2094 [BZ #14914]
2095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2096 whole low double instead of just low 47 bits when splitting values
2097 into two parts.
2098
029264d1
AM
20992012-12-03 Allan McRae <allan@archlinux.org>
2100
2101 * manual/stdio.texi (Predefined Printf Handlers): Remove
2102 @hsep and @vsep usage.
2103
c9d6789e
MF
21042012-12-03 Mike Frysinger <vapier@gentoo.org>
2105
2106 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2107 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2108
4b7634a5
JL
21092012-12-03 Jeff Law <law@redhat.com>
2110
2111 * time/sys/time.h (settimeofday): Do not mark TV argument
2112 as __nonnull.
2113
eb6cbd24
MF
21142012-12-01 Mike Frysinger <vapier@gentoo.org>
2115
2116 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2117 when currently writing and seek to current position when not.
2118 * libio/Makefile (tests): Remove bug-fclose1.
2119 * libio/bug-fclose1.c: Delete.
2120
f638872a
JM
21212012-12-01 Joseph Myers <joseph@codesourcery.com>
2122
2123 * manual/arith.texi (feenableexcept): Fix typo.
2124 (fedisableexcept): Likewise.
2125
48085d14
RM
21262012-11-30 Roland McGrath <roland@hack.frob.com>
2127
2128 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2129 second, differently-typed declaration, rather than a cast.
2130
1a538b9f
SP
21312012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2132
2133 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2134 * include/rpc/svc.h: ... here.
2135
d07f2ff1 21362012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2137
2138 [BZ #13013]
2139 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2140 depending n and resplen2 to catch cases where answer
2141 equals answerp2.
2142
c93ec1f0
CD
21432012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2144
2145 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2146 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2147
37db69de
MF
21482012-11-29 Mike Frysinger <vapier@gentoo.org>
2149
2150 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2151
e10c4e4f
RM
21522012-11-29 Roland McGrath <roland@hack.frob.com>
2153
2154 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2155
2af1b328
JL
21562012-11-28 Jeff Law <law@redhat.com>
2157
2158 [BZ #13761]
2159 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2160 dataset_temporary. Track alloca usage into alloca_used.
2161 If dataset is large allocate and release it via malloc/free.
2162
111db5b1
FW
21632012-06-04 Florian Weimer <fweimer@redhat.com>
2164
f06cc227 2165 [BZ #14197]
111db5b1
FW
2166 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2167
dd694abd
DM
21682012-11-28 David S. Miller <davem@davemloft.net>
2169
2170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2171
9984dd01
JM
21722012-11-28 Joseph Myers <joseph@codesourcery.com>
2173
2174 [BZ #14803]
2175 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2176 of pi/2 rounded to nearest to 64 bits.
2177 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2178 nearest to 64 bits.
2179 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2180 bits.
2181
14bc93a9
JL
21822012-11-28 Jeff Law <law@redhat.com>
2183 Martin Osvald <mosvald@redhat.com>
2184
2185 [BZ #14889]
2186 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2187 * sunrpc/svc.c: Include time.h.
2188 (__svc_accept_failed): New function.
2189 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2190 any reason other than EINTR, call __svc_accept_failed.
2191 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2192 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2193
e3c6aa3a
AS
21942012-11-28 Andreas Schwab <schwab@suse.de>
2195
2196 * scripts/abilist.awk: Also handle indirect functions in .opd
2197 section.
2198
1bead169
JM
21992012-11-28 Joseph Myers <joseph@codesourcery.com>
2200
2201 [BZ #13881]
2202 * sysdeps/x86/fpu/powl_helper.c: New file.
2203 * sysdeps/x86/fpu/Makefile: Likewise.
2204 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2205 (p3): New object.
2206 (__ieee754_powl): Use __powl_helper for finite arguments except
2207 integer exponents below 8.
2208 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2209 (p3): New object.
2210 (__ieee754_powl): Use __powl_helper for finite arguments except
2211 integer exponents below 8.
2212 * math/libm-test.inc (pow_test): Add more tests and enable some
2213 previously disabled tests.
2214 * sysdeps/i386/fpu/libm-test-ulps: Update.
2215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216
0817d63d
SP
22172012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2218 Carlos O'Donell <carlos_odonell@mentor.com>
2219
2220 * nss/makedb.c (is_prime): Assert that input is odd and greater
2221 than 4. Note that fact in a comment too.
2222 (next_prime): Add 4 to input.
2223
de2fd463
SP
22242012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2225
2226 [BZ #11741]
2227 * libio/Makefile (tests): Add test case tst-fwrite-error.
2228 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2229 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2230 * libio/tst-fwrite-error.c: New test case.
2231
c515fb51
L
22322012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2235 before casting to void *.
2236 * include/libc-internal.h (__pointer_type): New macro.
2237 (__integer_if_pointer_type_sub): Likewise.
2238 (__integer_if_pointer_type): Likewise.
2239 (cast_to_integer): Likewise.
2240 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2241 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2242 before casting to atomic64_t.
2243 (atomic_exchange_acq): Likewise.
2244 (__arch_exchange_and_add_body): Likewise.
2245 (__arch_add_body): Likewise.
2246 (atomic_add_negative): Likewise.
2247 (atomic_add_zero): Likewise.
2248
4cf77aa9
JM
22492012-11-26 Joseph Myers <joseph@codesourcery.com>
2250
2251 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2252 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2253 (add_fdes): Likewise.
2254 (linear_search_fdes): Likewise.
2255 (binary_search_unencoded_fdes): Likewise.
2256
d260b3b4
AS
22572012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2258
2259 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2260
67060746
AC
22612012-11-24 Adam Conrad <adconrad@0c3.net>
2262
2263 * configure.in: Autodetect C++ header directories.
2264 * configure: Regenerated.
2265
800938a1
MF
22662012-11-23 Mike Frysinger <vapier@gentoo.org>
2267
2268 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2269
4e6e34e6
AS
22702012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2271
2272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2273
7c7feb47
JM
22742012-11-22 Joseph Myers <joseph@codesourcery.com>
2275
7184dcdf
JM
2276 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2277 LDBL_MANT_DIG == 106]: Disable some tests.
2278 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2279 Likewise.
2280 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2281 Likewise.
2282
0a42601f
JM
2283 [BZ #14871]
2284 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2285 input for small inputs. Return +/- pi/2 for large inputs.
2286 * math/libm-test.inc (atan_test): Add more tests.
2287
79c9b9fe
JM
2288 * sysdeps/generic/unwind-dw2-fde-glibc.c
2289 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2290 __attribute__ ((unused)).
2291
c60d3bf2
JM
2292 [BZ #14645]
2293 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2294 x * y if x and y are nonzero and z is zero.
2295
ef1e0867
JM
2296 [BZ #14811]
2297 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2298 nonzero exponents with absolute value below 0x1p-117 to +/-
2299 0x1p-117.
2300
1468ded3
JM
2301 [BZ #14869]
2302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2303 up arguments below 2**-450, not just those below 2**-500.
2304 * math/libm-test.inc (hypot_test): Add another test.
2305
8e27e3cc
JM
2306 [BZ #14868]
2307 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2308 Return a+b for ratio over 2**120, not 2**60.
2309 * math/libm-test.inc (hypot_test): Add another test.
2310
c9c0279b
JM
2311 * math/libm-test.inc (clog_test): Use
2312 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2313 (clog10_test): Likewise.
2314
7c7feb47
JM
2315 [BZ #6778]
2316 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2317
fff1530e
AS
23182012-11-22 Andreas Schwab <schwab@suse.de>
2319
2320 * sysdeps/i386/fpu/libm-test-ulps: Update.
2321
94558d30
PT
23222012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2323
2324 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2325 printf output with newline.
2326
7e1be741
L
23272012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2328
6bfea974
L
2329 [BZ #14865]
2330 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2331 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2332 -z nodlopen, -z initfirst and -z execstack support.
2333 * configure: Regenerated.
2334
7e1be741
L
2335 * elf/elf.h (DF_1_NODIRECT): New macro.
2336 (DF_1_IGNMULDEF): Likewise.
2337 (DF_1_NOKSYMS): Likewise.
2338 (DF_1_NOHDR): Likewise.
2339 (DF_1_EDITED): Likewise.
2340 (DF_1_NORELOC): Likewise.
2341 (DF_1_SYMINTPOSE): Likewise.
2342 (DF_1_GLOBAUDIT): Likewise.
2343 (DF_1_SINGLETON): Likewise.
2344 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2345 DT_1_SUPPORTED_MASK bits.
2346 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2347
105ce2ce
CD
23482012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2349
2350 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2351
123be9de
TS
23522012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2353
d072f3f7
TS
2354 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2355 macro.
2356
123be9de
TS
2357 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2358 (sendmmsg): Move declarations...
2359 * socket/sys/socket.h: ... here.
2360 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2361 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2362 include it from...
2363 * socket/recvmmsg.c: ... this new file.
2364 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2365 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2366 definition of __sendmmsg hidden.
2367 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2368 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2369 Move ENOSYS stub into and include it from...
2370 * socket/sendmmsg.c: ... this new file.
2371 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2372 (sysdep_routines): Move recvmmsg and sendmmsg...
2373 * socket/Makefile (routines): ... here.
2374 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2375 (GLIBC_PRIVATE): Add __sendmmsg.
2376 * include/sys/socket.h (__sendmmsg): Add declarations.
2377 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2378 sendmmsg.
2379
cf9a5d18
JM
23802012-11-20 Joseph Myers <joseph@codesourcery.com>
2381
2382 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2383 variable I1 with __attribute__ ((unused)).
2384 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2385
ecd4caf9
JM
23862012-11-19 Joseph Myers <joseph@codesourcery.com>
2387
be14d48f
JM
2388 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2389 DUMMY variables with __attribute__ ((unused)).
2390
ecd4caf9
JM
2391 * bits/byteswap.h: Include <bits/types.h>.
2392 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2393
986cab95
PT
23942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2395
2396 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2397 string_t. Do not manually set errno.
2398 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2399 length with __strnlen. Make sure to both set errno and return it on
2400 failure.
2401
6d33cc9d
DM
24022012-11-19 David S. Miller <davem@davemloft.net>
2403
2404 With help from Joseph Myers.
2405 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2406 very large arguments properly.
2407 * math/libm-test.inc (atan_test): New tests.
2408 (atan2_test): New tests.
2409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2411
ee663277
JM
24122012-11-19 Joseph Myers <joseph@codesourcery.com>
2413
877f2d8e
JM
2414 [BZ #14856]
2415 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2416 Define to 3.
2417
116fc08a
JM
2418 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2419 [POSIX] (EADDRNOTAVAIL): Likewise.
2420 [POSIX] (EAFNOSUPPORT): Likewise.
2421 [POSIX] (EALREADY): Likewise.
2422 [POSIX] (ECONNABORTED): Likewise.
2423 [POSIX] (ECONNREFUSED): Likewise.
2424 [POSIX] (ECONNRESET): Likewise.
2425 [POSIX] (EDESTADDRREQ): Likewise.
2426 [POSIX] (EDQUOT): Likewise.
2427 [POSIX] (EHOSTUNREACH): Likewise.
2428 [POSIX] (EIDRM): Likewise.
2429 [POSIX] (EISCONN): Likewise.
2430 [POSIX] (ELOOP): Likewise.
2431 [POSIX] (EMULTIHOP): Likewise.
2432 [POSIX] (ENETDOWN): Likewise.
2433 [POSIX] (ENETUNREACH): Likewise.
2434 [POSIX] (ENOBUFS): Likewise.
2435 [POSIX] (ENODATA): Likewise.
2436 [POSIX] (ENOLINK): Likewise.
2437 [POSIX] (ENOMSG): Likewise.
2438 [POSIX] (ENOPROTOOPT): Likewise.
2439 [POSIX] (ENOSR): Likewise.
2440 [POSIX] (ENOSTR): Likewise.
2441 [POSIX] (ENOTCONN): Likewise.
2442 [POSIX] (ENOTSOCK): Likewise.
2443 [POSIX] (EOPNOTSUPP): Likewise.
2444 [POSIX] (EOVERFLOW): Likewise.
2445 [POSIX] (EPROTO): Likewise.
2446 [POSIX] (EPROTONOSUPPORT): Likewise.
2447 [POSIX] (EPROTOTYPE): Likewise.
2448 [POSIX] (ESTALE): Likewise.
2449 [POSIX] (ETIME): Likewise.
2450 [POSIX] (ETXTBSY): Likewise.
2451 [POSIX] (EWOULDBLOCK): Likewise.
2452 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2453 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2454 [POSIX] (SEEK_CUR): Likewise.
2455 [POSIX] (SEEK_END): Likewise.
2456 [POSIX || UNIX98] (mode_t): Do not require.
2457 [POSIX] (off_t): Likewise.
2458 [POSIX] (pid_t): Likewise.
2459 [POSIX] (sys/stat.h): Do not allow header.
2460 [POSIX] (unistd.h): Likewise.
2461 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2462 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2463 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2464 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2465 require.
2466 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2467 sigevent): Specify elements.
2468 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2469 entry.
2470 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2471 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2472
a483863f
JM
2473 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2474 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2475 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2476 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2477 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2478 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2479 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2480 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2481 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2482 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2483 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2484 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2485 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2486 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2487 Likewise.
2488 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2489 Likewise.
2490 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2491 Likewise.
2492 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2493 Likewise.
2494 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2495 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2496 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2497 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2498 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2499 Specify lower bound on value.
2500 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2501 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2502 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2503 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2504 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2505 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2506 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2507 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2508 value.
2509 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2510 as optional.
2511 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2512 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2513 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2514 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2515 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2516 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2517 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2518 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2519 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2520 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2521 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2522 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2523 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2524 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2525 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2526 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2527 entry.
2528 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2529 optional.
2530 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2531 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2532 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2533 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2534 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2535 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2536 Likewise.
2537 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2538 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2539 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2540 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2541 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2542 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2543 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2544 as optional.
2545 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2546 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2547 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2548 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2549 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2550 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2551 specify as optional.
2552 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2553 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2554 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2555 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2556 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2557 [XPG3] (NL_LANGMAX): Likewise.
2558 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2559 [POSIX || XPG3] (NL_NMAX): Likewise.
2560 [POSIX || XPG3] (NL_SETMAX): Likewise.
2561 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2562 [XPG3] (NZERO): Likewise.
2563 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2564 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2565 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2566 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2567 (REG_ERANGE): Expect.
2568 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2569 optional-constant.
2570 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2571 Use (void) in prototype.
2572 [POSIX] (*_t): Allow.
2573 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2574 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2575 (WRDE_BADVAL): Expect.
2576
5ba924e3
JM
2577 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2578 expect.
2579 [XPG3 || XPG4] (O_RSYNC): Likewise.
2580 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2581 Likewise.
2582 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2583 [XPG3 || XPG4] (sigqueue): Likewise.
2584 [XPG3 || XPG4] (sigtimedwait): Likewise.
2585 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2586 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2587 [XPG3 || XPG4] (vsnprintf): Likewise.
2588 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2589 Likewise.
2590 [XPG3 || XPG4] (blksize_t): Likewise.
2591 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2592 Likewise.
2593 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2594 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2595 [XPG3 || XPG4] (struct itimerspec): Likewise.
2596 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2597 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2598 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2599 [XPG3 || XPG4] (clockid_t): Likewise.
2600 [XPG3 || XPG4] (timer_t): Likewise.
2601 [XPG3 || XPG4] (clock_getres): Likewise.
2602 [XPG3 || XPG4] (clock_gettime): Likewise.
2603 [XPG3 || XPG4] (clock_settime): Likewise.
2604 [XPG3 || XPG4] (nanosleep): Likewise.
2605 [XPG3 || XPG4] (timer_create): Likewise.
2606 [XPG3 || XPG4] (timer_delete): Likewise.
2607 [XPG3 || XPG4] (timer_gettime): Likewise.
2608 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2609 [XPG3 || XPG4] (timer_settime): Likewise.
2610 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2611 [XPG3 || XPG4] (getlogin_r): Likewise.
2612 [XPG3 || XPG4] (pread): Likewise.
2613 [XPG3 || XPG4] (pthread_atfork): Likewise.
2614 [XPG3 || XPG4] (pwrite): Likewise.
2615
ee663277
JM
2616 [BZ #14835]
2617 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2618 <bits/siginfo.h>.
2619
942caa16
PT
26202012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2621
e19af380
PT
2622 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2623 finalizing MALLSTREAM.
2624
942caa16
PT
2625 * sysdeps/mach/hurd/syncfs.c: New file.
2626
cfde9b46
SP
26272012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2628
2629 [BZ #14719]
2630 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2631 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2632 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2633 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2634 (_nss_dns_gethostbyname4_r): Likewise.
2635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2636 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2637
f6da27e5
PH
26382012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2639
2640 [BZ #13763]
2641 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2642
6665d4a2
SM
26432012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2644
1f51ee92
SM
2645 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2646 * elf/cache.c (print_entry): Print ",AArch64" for
2647 FLAG_AARCH64_LIB64
2648
6665d4a2
SM
2649 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2650 * elf/cache.c (print_entry): Print ",hard-float" for
2651 FLAG_ARM_LIBHF.
2652
05b227bd
DM
26532012-11-18 David S. Miller <davem@davemloft.net>
2654
2655 With help from Joseph Myers.
2656 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2657 cutoff to 2**-13.
2658 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2659 cutoff to 2**-25.
2660 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2661 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2662 small.
2663 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2664 * math/libm-test.inc (y0_test): New tests.
2665 (y1_test): New tests.
2666 * sysdeps/i386/fpu/libm-test-ulps: Update.
2667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2669
786b0b67
AS
26702012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2671
2672 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2673 64-bit targets.
2674 * configure: Regenerated.
2675
8e18b86d
DM
26762012-11-17 David S. Miller <davem@davemloft.net>
2677
2678 [BZ #14811]
2679 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2680 nonzero exponents with absolute value below 0x1p-128 to +/-
2681 0x1p-128.
2682
531f1ae0
JM
26832012-11-17 Joseph Myers <joseph@codesourcery.com>
2684
12df29e2
JM
2685 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2686
150dc1a0
JM
2687 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2688
531f1ae0
JM
2689 * posix/getconf-speclist.c: New file.
2690 * posix/posix-envs.def: Likewise.
2691 * posix/confstr.c (START_ENV_GROUP): New macro.
2692 (END_ENV_GROUP): Likewise.
2693 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2694 (KNOWN_PRESENT_ENV_STRING): Likewise.
2695 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2696 (UNKNOWN_ENVIRONMENT): Likewise.
2697 (confstr): Include posix-envs.def instead of handling
2698 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2699 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2700 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2701 (END_ENV_GROUP): Likewise.
2702 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2703 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2704 (UNKNOWN_ENVIRONMENT): Likewise.
2705 (__sysconf): Include posix-envs.def instead of handling associated
2706 cases directly here.
2707 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2708 preprocessing getconf-speclist.c rather than running getconf or
2709 generating empty file.
2710
a93f9cbc
PT
27112012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2712
2713 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2714
d64d9f87
AL
27152012-11-16 Andrej Lajovic <natrij@gmail.com>
2716
2717 [BZ #14672]
2718 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2719
447885eb
DM
27202012-11-16 David S. Miller <davem@davemloft.net>
2721
2722 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2723 smaller than LDBL_EPSILON/2.0L, just return xm1.
2724
bcbf9830
L
27252012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2726
2727 * elf/tst-array1.c (init): Set constructor priority to 1000.
2728 (fini): Set destructor priority to 1000.
2729 * elf/tst-array2dep.c: Likewise.
2730
2b766585
SP
27312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2732
2733 [BZ #11741]
2734 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2735 (_IO_new_file_xsputn): Also return EOF if none of the input
2736 data was written when overflow failed.
2737 * libio/iopadn.c (_IO_padn): Likewise.
2738 * libio/iowpadn.c (_IO_wpadn): Likewise.
2739 * stdio-common/tst-put-error.c: Add copyright notice.
2740 (do_test): Add case for printing padded string.
2741 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2742 _IO_padn returned error.
2743 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2744 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2745 return EOF.
2746
b1848fde
SP
27472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2748
2749 * libio/libioP.h: Add comment note that the references to C++
2750 bits are now obsolete.
2751
2fd89785
MS
27522012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2753
2754 * math/libm-test.inc (check_complex): Use asprintf.
2755
e3ea5409
JM
27562012-11-14 Joseph Myers <joseph@codesourcery.com>
2757
2758 * debug/pcprofiledump.c (print_version): Update copyright year.
2759 * malloc/memusagestat.c (print_version): Likewise.
2760
2e64d265
L
27612012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2762
2763 [BZ #14831]
2764 * elf/Makefile (tests): Add tst-audit8.
2765 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2766 ($(objpfx)tst-audit8.out): New target.
2767 (tst-audit8-ENV): New variable.
2768 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2769 audit if l_reloc_result is NULL.
2770 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2771 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2772 * elf/tst-audit8.c: New file.
2773
c485e4d2
MS
27742012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2775
2776 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2777 * misc/Makefile (CFLAGS-select.c): Define.
2778 * posix/Makefile (CFLAGS-pause.c): Define.
2779
3a0d900a
DM
27802012-11-13 David S. Miller <davem@davemloft.net>
2781
2782 * crypt/Makefile: Move test targets after toplevel Rules
2783 inclusion. Grab any necessary sysdep routines when linking.
2784 * crypt/md5.c (md5_process_block): Remove define, we will always
2785 name it __md5_process_block.
2786 (md5_finish_ctx): Update md5_process_block call.
2787 (md5_stream): Likewise.
2788 (md5_process_bytes): Likewise.
2789 (md5_process_block): Rename to __md5_process_block and move to ...
2790 * crypt/md5-block.c: ... here.
2791 * crypt/sha256.c (sha256_process_block): Move to ...
2792 * crypt/sha256-block.c: ... here.
2793 * crypt/sha512.c (sha512_process_block): Move to ...
2794 * crypt/sha512-block.c: ... here.
2795 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2796 path.
2797 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2798 * sysdeps/sparc/sparc64/multiarch/Makefile
2799 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2800 crypt subdir.
2801 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2802 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2803 multiarch changes.
2804 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2805 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2806 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2807 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2808 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2809 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2810 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2811 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2812 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2813 file.
2814 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2815 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2816 file.
2817 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2818
8ca89318
JM
28192012-11-13 Joseph Myers <joseph@codesourcery.com>
2820
e27d476a
JM
2821 * timezone/tzselect.ksh: Update from tzcode git revision
2822 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2823 * timezone/zdump.c: Likewise.
2824 * timezone/zic.c: Likewise.
2825 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2826 in TZVERSION setting, not $(PKGVERSION).
2827 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2828 REPORT_BUGS_TO settings.
2829
8ca89318
JM
2830 [BZ #14838]
2831 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2832 macro.
2833
47594329
MS
28342012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2835
2836 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2837 detection to immediately after _FP_ROUND().
2838 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2839 bits are 0.
2840
640ac3f1
DM
28412012-11-11 David S. Miller <davem@davemloft.net>
2842
2843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2844 inttypes.h
2845 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2846 __close rather than their public counterparts.
2847
3d2577bb
JM
28482012-11-10 Joseph Myers <joseph@codesourcery.com>
2849
2850 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2851 file.
2852 [UNIX98] (sem_timedwait): Do not expect.
2853 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2854 [XPG4 || UNIX98] (sockatmark): Do not expect.
2855 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2856 (clock_getcpuclockid): Do not expect.
2857 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2858 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2859 Do not expect.
2860 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2861 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2862 [UNIX98] (vwscanf): Likewise.
2863 [UNIX98] (vswscanf): Likewise.
2864
fb1ae1ee
JM
28652012-11-09 Joseph Myers <joseph@codesourcery.com>
2866
9ec6f8bd
JM
2867 * timezone/version.h: Remove file.
2868 * timezone/README: Do not refer to version.h.
2869 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2870 $(objpfx)version.h.
2871 ($(objpfx)zdump.o): Likewise.
c3f81911 2872 ($(objpfx)version.h): New target.
9ec6f8bd 2873
0aa8f8a1
JM
2874 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2875 2012i.
2876 * timezone/README: Don't mention modification to tzselect.ksh.
2877 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2878 work on unmodified tzselect.ksh. Substitute version numbers in
2879 tzselect.ksh.
2880
4e87147f
JM
2881 * Makefile (format-me): Remove.
2882 (INSTALL): Adjust indentation. Use commands directly instead of
2883 using $(format-me).
2884
8b748aed
JM
2885 * aclocal.m4 (ACX_PKGVERSION): New macro.
2886 (ACX_BUGURL): Likewise.
2887 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2888 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2889 (REPORT_BUGS_TO): Likewise.
2890 * configure: Regenerated.
2891 * config.h.in (PKGVERSION): New macro.
2892 (REPORT_BUGS_TO): Likewise.
2893 * config.make.in (PKGVERSION): New variable.
2894 (PKGVERSION_TEXI): Likewise.
2895 (REPORT_BUGS_TO): Likewise.
2896 (REPORT_BUGS_TEXI): Likewise.
2897 * Makefile (format-me): Use -I$(common-objpfx)manual.
2898 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2899 ($(common-objpfx)manual/%): New target.
2900 (manual/%): Remove target.
2901 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2902 (print_version): Use PKGVERSION.
2903 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2904 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2905 and REPORT_BUGS_TO.
2906 ($(objpfx)xtrace): Likewise.
2907 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2908 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2909 (print_version): Use PKGVERSION.
2910 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2911 (do_version): Use PKGVERSION.
2912 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2913 REPORT_BUGS_TO.
2914 (common-ldd-rewrite): Likewise.
2915 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2916 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2917 (print_version): Use PKGVERSION.
2918 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2919 * elf/pldd.c (argp_program_bug_address): Remove variable.
2920 (more_help): New function.
2921 (argp): Use more_help.
2922 (print_version): Use PKGVERSION.
2923 * elf/sln.c (main): Use PKGVERSION.
2924 (usage): Use REPORT_BUGS_TO.
2925 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2926 (top level): Use PKGVERSION.
2927 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2928 (print_version): Use PKGVERSION.
2929 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2930 (print_version): Use PKGVERSION.
2931 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2932 (print_version): Use PKGVERSION.
2933 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2934 (print_version): Use PKGVERSION.
2935 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2936 (print_version): Use PKGVERSION.
2937 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2938 (print_version): Use PKGVERSION.
2939 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2940 and BUGURL.
2941 ($(objpfx)memusage): Likewise.
2942 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2943 (do_version): Use PKGVERSION.
2944 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2945 (print_version): Use PKGVERSION.
2946 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2947 ($PKGVERSION): New variable.
2948 ($REPORT_BUGS_TO): Likewise.
2949 (usage): Use $REPORT_BUGS_TO.
2950 (top level): Use $PKGVERSION.
2951 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2952 ($(objpfx)pkgvers.texi): New rule.
2953 ($(objpfx)stamp-pkgvers): Likewise.
2954 * manual/install.texi: Include pkgvers.texi.
2955 (--with-pkgversion): Document new configure option.
2956 (--with-bugurl): Likewise.
2957 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2958 than necessarily for this particular distribution. Use
2959 REPORT_BUGS_TO for where to report bugs.
2960 * INSTALL: Regenerated.
2961 * manual/libc.texinfo: Include pkgvers.texi.
2962 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2963 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2964 (print_version): Use PKGVERSION.
2965 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2966 (print_version): Use PKGVERSION.
2967 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2968 (print_version): Use PKGVERSION.
2969 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2970 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2971 macro.
2972 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2973 (print_version): Use PKGVERSION.
2974 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2975 (print_version): Use PKGVERSION.
2976 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2977 and PKGVERSION.
2978
92e4b6a9
JM
2979 * timezone/checktab.awk: Update from tzcode 2012i.
2980 * timezone/ialloc.c: Likewise.
2981 * timezone/private.h: Likewise.
2982 * timezone/scheck.c: Likewise.
2983 * timezone/tzfile.h: Likewise.
2984 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2985 (TZVERSION): Hardcode tzcode version number.
2986 * timezone/zdump.c: Update from tzcode 2012i.
2987 * timezone/zic.c: Likewise.
2988 * timezone/version.h: New file.
2989 * timezone/README: Describe version.h. Update upstream location.
2990
9bde902c
JM
2991 [BZ #14824]
2992 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2993 (mktemp): Enable declaration.
2994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2995 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2997 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2998 Likewise.
2999 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3000 Likewise.
3001 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3002 Likewise.
3003 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3004 Likewise.
3005 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3006 Likewise.
3007 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3008 Likewise.
3009
fb1ae1ee
JM
3010 [BZ #14821]
3011 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3012 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3013 for copies of such integer values.
3014 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3015 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3016
2c1adbcb
AJ
30172012-11-09 Andreas Jaeger <aj@suse.de>
3018
3019 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3020 definitions and declarations that are provided by
3021 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3022
d0f8457e
AK
30232012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3024
3a235abb 3025 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3026 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3027 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3028 definition.
3029
57241e26
MS
30302012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3031
3032 * elf/elf.h: Update comment before AArch64 relocations.
3033
60e8270d
DM
30342012-11-07 David S. Miller <davem@davemloft.net>
3035
3036 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3038 (__start_context): Declare.
3039 (__makecontext_ret): Delete.
3040 (__makecontext): Hook up __start_context instead of
3041 __makecontext_ret.
3042 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3043 (sysdep_routines): Add __start_context when in stdlib.
3044
0fbb0fbc
JM
30452012-11-07 Joseph Myers <joseph@codesourcery.com>
3046
3047 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3048 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3049 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3050 hardcoded "nm".
3051 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3052 (READELF): New variable. Use it instead of hardcoded "readelf".
3053
eb48db7e
L
30542012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3055
3056 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3057 * sysdeps/x86/Makefile: Here.
3058 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3059 * sysdeps/x86/tst-xmmymm.sh: This.
3060
05bcf62a
JM
30612012-11-07 Joseph Myers <joseph@codesourcery.com>
3062
c4b6cf53
JM
3063 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3064 expectations.
3065 [UNIX98] (pthread_barrier_t): Do not expect.
3066 [UNIX98] (pthread_barrierattr_t): Likewise.
3067 [UNIX98] (pthread_spinlock_t): Likewise.
3068 [UNIX98] (pthread_barrier_destroy): Likewise.
3069 [UNIX98] (pthread_barrier_init): Likewise.
3070 [UNIX98] (pthread_barrier_wait): Likewise.
3071 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3072 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3073 [UNIX98] (pthread_barrierattr_init): Likewise.
3074 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3075 [UNIX98] (pthread_getcpuclockid): Likewise.
3076 [UNIX98] (pthread_mutex_timedlock): Likewise.
3077 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3078 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3079 [UNIX98] (pthread_sigmask): Likewise.
3080 [UNIX98] (pthread_spin_destroy): Likewise.
3081 [UNIX98] (pthread_spin_init): Likewise.
3082 [UNIX98] (pthread_spin_lock): Likewise.
3083 [UNIX98] (pthread_spin_trylock): Likewise.
3084 [UNIX98] (pthread_spin_unlock): Likewise.
3085 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3086 Do not expect.
3087 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3088 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3089 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3090 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3091 [XPG3 || XPG4] (pthread_key_t): Likewise.
3092 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3093 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3094 [XPG3 || XPG4] (pthread_once_t): Likewise.
3095 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3096 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3097 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3098 [XPG3 || XPG4] (pthread_t): Likewise.
3099
cbe6e120
JM
3100 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3101 not expect.
3102 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3103
1b126443
JM
3104 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3105 Change function return type to int.
3106
b961a573
JM
3107 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3108 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3109 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3110 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3111 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3112 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3113 [!POSIX] (posix_madvise): Likewise.
3114 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3115 && !UNIX98].
3116 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3117 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3118 (mode_t): Likewise.
3119 (posix_mem_offset): Likewise.
3120 (posix_typed_mem_get_info): Likewise.
3121 (posix_typed_mem_open): Likewise.
3122
9e188909
JM
3123 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3124 Change condition to [XOPEN2K8].
3125
05bcf62a
JM
3126 * conform/conformtest.pl: Preprocess allow-header data with -x c
3127 instead of from stdin.
3128 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3129 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3130 [C99-based standards] (cerfc): Likewise.
3131 [C99-based standards] (cexp2): Likewise.
3132 [C99-based standards] (cexpm1): Likewise.
3133 [C99-based standards] (clog10): Likewise.
3134 [C99-based standards] (clog1p): Likewise.
3135 [C99-based standards] (clog2): Likewise.
3136 [C99-based standards] (clgamma): Likewise.
3137 [C99-based standards] (ctgamma): Likewise.
3138 [C99-based standards] (cerff): Likewise.
3139 [C99-based standards] (cerfcf): Likewise.
3140 [C99-based standards] (cexp2f): Likewise.
3141 [C99-based standards] (cexpm1f): Likewise.
3142 [C99-based standards] (clog10f): Likewise.
3143 [C99-based standards] (clog1pf): Likewise.
3144 [C99-based standards] (clog2f): Likewise.
3145 [C99-based standards] (clgammaf): Likewise.
3146 [C99-based standards] (ctgammaf): Likewise.
3147 [C99-based standards] (cerfl): Likewise.
3148 [C99-based standards] (cerfcl): Likewise.
3149 [C99-based standards] (cexp2l): Likewise.
3150 [C99-based standards] (cexpm1l): Likewise.
3151 [C99-based standards] (clog10l): Likewise.
3152 [C99-based standards] (clog1pl): Likewise.
3153 [C99-based standards] (clog2l): Likewise.
3154 [C99-based standards] (clgammal): Likewise.
3155 [C99-based standards] (ctgammal): Likewise.
3156 * conform/data/inttypes.h-data [C99-based standards]: Include
3157 stdint.h-data. Remove all expectations for stdint.h contents.
3158 [C99-based standards] (PRI*): Do not allow.
3159 [C99-based standards] (SCN*): Likewise.
3160 [C99-based standards] (*_t): Likewise.
3161 [C99-based-standards] (PRId8): Expect macro.
3162 [C99-based-standards] (PRIi8): Likewise.
3163 [C99-based-standards] (PRIo8): Likewise.
3164 [C99-based-standards] (PRIu8): Likewise.
3165 [C99-based-standards] (PRIx8): Likewise.
3166 [C99-based-standards] (PRIX8): Likewise.
3167 [C99-based-standards] (SCNd8): Likewise.
3168 [C99-based-standards] (SCNi8): Likewise.
3169 [C99-based-standards] (SCNo8): Likewise.
3170 [C99-based-standards] (SCNu8): Likewise.
3171 [C99-based-standards] (SCNx8): Likewise.
3172 [C99-based-standards] (PRIdLEAST8): Likewise.
3173 [C99-based-standards] (PRIiLEAST8): Likewise.
3174 [C99-based-standards] (PRIoLEAST8): Likewise.
3175 [C99-based-standards] (PRIuLEAST8): Likewise.
3176 [C99-based-standards] (PRIxLEAST8): Likewise.
3177 [C99-based-standards] (PRIXLEAST8): Likewise.
3178 [C99-based-standards] (SCNdLEAST8): Likewise.
3179 [C99-based-standards] (SCNiLEAST8): Likewise.
3180 [C99-based-standards] (SCNoLEAST8): Likewise.
3181 [C99-based-standards] (SCNuLEAST8): Likewise.
3182 [C99-based-standards] (SCNxLEAST8): Likewise.
3183 [C99-based-standards] (PRIdFAST8): Likewise.
3184 [C99-based-standards] (PRIiFAST8): Likewise.
3185 [C99-based-standards] (PRIoFAST8): Likewise.
3186 [C99-based-standards] (PRIuFAST8): Likewise.
3187 [C99-based-standards] (PRIxFAST8): Likewise.
3188 [C99-based-standards] (PRIXFAST8): Likewise.
3189 [C99-based-standards] (SCNdFAST8): Likewise.
3190 [C99-based-standards] (SCNiFAST8): Likewise.
3191 [C99-based-standards] (SCNoFAST8): Likewise.
3192 [C99-based-standards] (SCNuFAST8): Likewise.
3193 [C99-based-standards] (SCNxFAST8): Likewise.
3194 [C99-based-standards] (PRId16): Likewise.
3195 [C99-based-standards] (PRIi16): Likewise.
3196 [C99-based-standards] (PRIo16): Likewise.
3197 [C99-based-standards] (PRIu16): Likewise.
3198 [C99-based-standards] (PRIx16): Likewise.
3199 [C99-based-standards] (PRIX16): Likewise.
3200 [C99-based-standards] (SCNd16): Likewise.
3201 [C99-based-standards] (SCNi16): Likewise.
3202 [C99-based-standards] (SCNo16): Likewise.
3203 [C99-based-standards] (SCNu16): Likewise.
3204 [C99-based-standards] (SCNx16): Likewise.
3205 [C99-based-standards] (PRIdLEAST16): Likewise.
3206 [C99-based-standards] (PRIiLEAST16): Likewise.
3207 [C99-based-standards] (PRIoLEAST16): Likewise.
3208 [C99-based-standards] (PRIuLEAST16): Likewise.
3209 [C99-based-standards] (PRIxLEAST16): Likewise.
3210 [C99-based-standards] (PRIXLEAST16): Likewise.
3211 [C99-based-standards] (SCNdLEAST16): Likewise.
3212 [C99-based-standards] (SCNiLEAST16): Likewise.
3213 [C99-based-standards] (SCNoLEAST16): Likewise.
3214 [C99-based-standards] (SCNuLEAST16): Likewise.
3215 [C99-based-standards] (SCNxLEAST16): Likewise.
3216 [C99-based-standards] (PRIdFAST16): Likewise.
3217 [C99-based-standards] (PRIiFAST16): Likewise.
3218 [C99-based-standards] (PRIoFAST16): Likewise.
3219 [C99-based-standards] (PRIuFAST16): Likewise.
3220 [C99-based-standards] (PRIxFAST16): Likewise.
3221 [C99-based-standards] (PRIXFAST16): Likewise.
3222 [C99-based-standards] (SCNdFAST16): Likewise.
3223 [C99-based-standards] (SCNiFAST16): Likewise.
3224 [C99-based-standards] (SCNoFAST16): Likewise.
3225 [C99-based-standards] (SCNuFAST16): Likewise.
3226 [C99-based-standards] (SCNxFAST16): Likewise.
3227 [C99-based-standards] (PRId32): Likewise.
3228 [C99-based-standards] (PRIi32): Likewise.
3229 [C99-based-standards] (PRIo32): Likewise.
3230 [C99-based-standards] (PRIu32): Likewise.
3231 [C99-based-standards] (PRIx32): Likewise.
3232 [C99-based-standards] (PRIX32): Likewise.
3233 [C99-based-standards] (SCNd32): Likewise.
3234 [C99-based-standards] (SCNi32): Likewise.
3235 [C99-based-standards] (SCNo32): Likewise.
3236 [C99-based-standards] (SCNu32): Likewise.
3237 [C99-based-standards] (SCNx32): Likewise.
3238 [C99-based-standards] (PRIdLEAST32): Likewise.
3239 [C99-based-standards] (PRIiLEAST32): Likewise.
3240 [C99-based-standards] (PRIoLEAST32): Likewise.
3241 [C99-based-standards] (PRIuLEAST32): Likewise.
3242 [C99-based-standards] (PRIxLEAST32): Likewise.
3243 [C99-based-standards] (PRIXLEAST32): Likewise.
3244 [C99-based-standards] (SCNdLEAST32): Likewise.
3245 [C99-based-standards] (SCNiLEAST32): Likewise.
3246 [C99-based-standards] (SCNoLEAST32): Likewise.
3247 [C99-based-standards] (SCNuLEAST32): Likewise.
3248 [C99-based-standards] (SCNxLEAST32): Likewise.
3249 [C99-based-standards] (PRIdFAST32): Likewise.
3250 [C99-based-standards] (PRIiFAST32): Likewise.
3251 [C99-based-standards] (PRIoFAST32): Likewise.
3252 [C99-based-standards] (PRIuFAST32): Likewise.
3253 [C99-based-standards] (PRIxFAST32): Likewise.
3254 [C99-based-standards] (PRIXFAST32): Likewise.
3255 [C99-based-standards] (SCNdFAST32): Likewise.
3256 [C99-based-standards] (SCNiFAST32): Likewise.
3257 [C99-based-standards] (SCNoFAST32): Likewise.
3258 [C99-based-standards] (SCNuFAST32): Likewise.
3259 [C99-based-standards] (SCNxFAST32): Likewise.
3260 [C99-based-standards] (PRId64): Likewise.
3261 [C99-based-standards] (PRIi64): Likewise.
3262 [C99-based-standards] (PRIo64): Likewise.
3263 [C99-based-standards] (PRIu64): Likewise.
3264 [C99-based-standards] (PRIx64): Likewise.
3265 [C99-based-standards] (PRIX64): Likewise.
3266 [C99-based-standards] (SCNd64): Likewise.
3267 [C99-based-standards] (SCNi64): Likewise.
3268 [C99-based-standards] (SCNo64): Likewise.
3269 [C99-based-standards] (SCNu64): Likewise.
3270 [C99-based-standards] (SCNx64): Likewise.
3271 [C99-based-standards] (PRIdLEAST64): Likewise.
3272 [C99-based-standards] (PRIiLEAST64): Likewise.
3273 [C99-based-standards] (PRIoLEAST64): Likewise.
3274 [C99-based-standards] (PRIuLEAST64): Likewise.
3275 [C99-based-standards] (PRIxLEAST64): Likewise.
3276 [C99-based-standards] (PRIXLEAST64): Likewise.
3277 [C99-based-standards] (SCNdLEAST64): Likewise.
3278 [C99-based-standards] (SCNiLEAST64): Likewise.
3279 [C99-based-standards] (SCNoLEAST64): Likewise.
3280 [C99-based-standards] (SCNuLEAST64): Likewise.
3281 [C99-based-standards] (SCNxLEAST64): Likewise.
3282 [C99-based-standards] (PRIdFAST64): Likewise.
3283 [C99-based-standards] (PRIiFAST64): Likewise.
3284 [C99-based-standards] (PRIoFAST64): Likewise.
3285 [C99-based-standards] (PRIuFAST64): Likewise.
3286 [C99-based-standards] (PRIxFAST64): Likewise.
3287 [C99-based-standards] (PRIXFAST64): Likewise.
3288 [C99-based-standards] (SCNdFAST64): Likewise.
3289 [C99-based-standards] (SCNiFAST64): Likewise.
3290 [C99-based-standards] (SCNoFAST64): Likewise.
3291 [C99-based-standards] (SCNuFAST64): Likewise.
3292 [C99-based-standards] (SCNxFAST64): Likewise.
3293 [C99-based-standards] (PRIdMAX): Likewise.
3294 [C99-based-standards] (PRIiMAX): Likewise.
3295 [C99-based-standards] (PRIoMAX): Likewise.
3296 [C99-based-standards] (PRIuMAX): Likewise.
3297 [C99-based-standards] (PRIxMAX): Likewise.
3298 [C99-based-standards] (PRIXMAX): Likewise.
3299 [C99-based-standards] (SCNdMAX): Likewise.
3300 [C99-based-standards] (SCNiMAX): Likewise.
3301 [C99-based-standards] (SCNoMAX): Likewise.
3302 [C99-based-standards] (SCNuMAX): Likewise.
3303 [C99-based-standards] (SCNxMAX): Likewise.
3304 [C99-based-standards] (PRIdPTR): Likewise.
3305 [C99-based-standards] (PRIiPTR): Likewise.
3306 [C99-based-standards] (PRIoPTR): Likewise.
3307 [C99-based-standards] (PRIuPTR): Likewise.
3308 [C99-based-standards] (PRIxPTR): Likewise.
3309 [C99-based-standards] (PRIXPTR): Likewise.
3310 [C99-based-standards] (SCNdPTR): Likewise.
3311 [C99-based-standards] (SCNiPTR): Likewise.
3312 [C99-based-standards] (SCNoPTR): Likewise.
3313 [C99-based-standards] (SCNuPTR): Likewise.
3314 [C99-based-standards] (SCNxPTR): Likewise.
3315 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3316 allow.
3317 * conform/data/stdint.h-data: Update comments to clarify
3318 requirements.
3319 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3320 type.
3321 [C99-based standards] (INT8_MAX): Likewise.
3322 [C99-based standards] (INT16_MIN): Likewise.
3323 [C99-based standards] (INT16_MAX): Likewise.
3324 [C99-based standards] (INT32_MIN): Likewise.
3325 [C99-based standards] (INT32_MAX): Likewise.
3326 [C99-based standards] (INT64_MIN): Likewise.
3327 [C99-based standards] (INT64_MAX): Likewise.
3328 [C99-based standards] (UINT8_MAX): Likewise.
3329 [C99-based standards] (UINT16_MAX): Likewise.
3330 [C99-based standards] (UINT32_MAX): Likewise.
3331 [C99-based standards] (UINT64_MAX): Likewise.
3332 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3333 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3334 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3335 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3336 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3337 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3338 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3339 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3340 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3341 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3342 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3343 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3344 [C99-based standards] (INT_FAST8_MIN): Likewise.
3345 [C99-based standards] (INT_FAST8_MAX): Likewise.
3346 [C99-based standards] (INT_FAST16_MIN): Likewise.
3347 [C99-based standards] (INT_FAST16_MAX): Likewise.
3348 [C99-based standards] (INT_FAST32_MIN): Likewise.
3349 [C99-based standards] (INT_FAST32_MAX): Likewise.
3350 [C99-based standards] (INT_FAST64_MIN): Likewise.
3351 [C99-based standards] (INT_FAST64_MAX): Likewise.
3352 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3353 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3354 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3355 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3356 [C99-based standards] (INTPTR_MIN): Likewise.
3357 [C99-based standards] (INTPTR_MAX): Likewise.
3358 [C99-based standards] (UINTPTR_MAX): Likewise.
3359 [C99-based standards] (INTMAX_MIN): Likewise.
3360 [C99-based standards] (INTMAX_MAX): Likewise.
3361 [C99-based standards] (UINTMAX_MAX): Likewise.
3362 [C99-based standards] (PTRDIFF_MIN): Likewise.
3363 [C99-based standards] (PTRDIFF_MAX): Likewise.
3364 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3365 [C99-based standards] (SIZE_MAX): Likewise.
3366 [C99-based standards] (WCHAR_MAX): Likewise.
3367 [C99-based standards] (WINT_MAX): Likewise.
3368 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3369 constraint on value.
3370 [C99-based standards] (WCHAR_MIN): Likewise.
3371 [C99-based standards] (WINT_MIN): Likewise.
3372 [C99-based standards] (*_t): Allow.
3373 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3374 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3375 Include math.h-data and complex.h-data. Remove all expectations
3376 of math.h and complex.h contents.
3377 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3378 at end of line.
3379 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3380 (struct tm): Expect tag.
3381 [C99-based-standards] (wcstof): Expect function.
3382 [C99-based-standards] (wcstold): Likewise.
3383 [C99-based-standards] (wcstoll): Likewise.
3384 [C99-based-standards] (wcstoull): Likewise.
3385 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3386 macro-int-constant. Specify type.
3387 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3388 constraint on value.
3389 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3390 Specify type.
3391 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3392 Specify value.
3393 [ISO C standards]: Do not allow headers.
3394 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3395 wcs[abcdefghijklmnopqrstuvwxyz]*.
3396 [ISO C standards] (*_t): Do not allow.
3397 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3398 Expect function.
3399 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3400 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3401 Specify type.
3402 [ISO C standards]: Do not allow headers.
3403 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3404 is[abcdefghijklmnopqrstuvwxyz]*.
3405 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3406 to[abcdefghijklmnopqrstuvwxyz]*.
3407 [ISO C standards] (*_t): Do not allow.
3408 * conform/data/stdalign.h-data: New file.
3409 * conform/data/stdbool.h-data: Likewise.
3410 * conform/data/stdnoreturn.h-data: Likewise.
3411
7514feb8
RM
34122012-11-07 Roland McGrath <roland@hack.frob.com>
3413
3414 [BZ #14815]
3415 * manual/filesys.texi (Directory Entries): Typo fix.
3416 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3417
19b2ecfc
MS
34182012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3419
3420 * elf/elf.h (EM_AARCH64): New macro.
3421 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3422 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3423 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3424 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3425 (R_AARCH64_TLSDESC): Likewise.
3426 (NT_ARM_TLS): Likewise.
3427 (NT_ARM_HW_BREAK): Likewise.
3428 (NT_ARM_HW_WATCH): Likewise.
3429
60e235ee
JM
34302012-11-07 Joseph Myers <joseph@codesourcery.com>
3431
3432 [BZ #14811]
3433 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3434 (__ieee754_powl): Saturate nonzero exponents with absolute value
3435 below 0x1p-79 to +/- 0x1p-79.
3436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3437 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3438 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3439 nonzero exponents with absolute value below 0x1p-32 to +/-
3440 0x1p-32.
3441 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3442 (__ieee754_powl): Saturate nonzero exponents with absolute value
3443 below 0x1p-79 to +/- 0x1p-79.
3444 * math/libm-test.inc (pow_test): Add more tests.
3445
0ab234b7
AK
34462012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3447
3448 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3449 _dl_s390_cap_flags with kernel. Increase string length.
3450 (_dl_s390_platforms): Add z196 and zEC12.
3451
45832f74
JM
34522012-11-07 Joseph Myers <joseph@codesourcery.com>
3453
3454 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3455 Change XOPEN21K to XOPEN2K.
3456
19218757
MK
34572012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3458
3459 * string/memmove.c: Use memcpy when possible.
3460
c5f45721
AJ
34612012-11-06 Andreas Jaeger <aj@suse.de>
3462
3463 * po/eo.po: Update from translation team.
3464
82477c28
JM
34652012-11-06 Joseph Myers <joseph@codesourcery.com>
3466
3467 [BZ #14793]
3468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3469 exponent and small x and y exponents, scale x or y up. Increase
3470 by 2 the exponent used in scaling up.
3471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3473 * math/libm-test.inc (fma_test): Add more tests.
3474 (fma_test_towardzero): Likewise.
3475 (fma_test_downward): Likewise.
3476 (fma_test_upward): Likewise.
3477
99252c8c
JM
34782012-11-05 Joseph Myers <joseph@codesourcery.com>
3479
acfa885f
JM
3480 [BZ #14805]
3481 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3482 fenv_t *.
3483
99252c8c
JM
3484 [BZ #14801]
3485 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3486 namespace for names of struct fields.
3487 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3488 fenv_t fields.
3489 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3490 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3491
d6d98dea
ST
34922012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3493
3494 [BZ #3665]
3495 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3496
e10bb107
TS
34972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3498
3499 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3500 PTR_DEMANGLE.
3501
3502 [BZ #5246]
3503 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3504 PTR_DEMANGLE.
3505
a0c2940d
JM
35062012-11-04 Joseph Myers <joseph@codesourcery.com>
3507
3508 [BZ #14797]
3509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3510 definitely overflow as x * y not x * y + z.
3511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3513 * math/libm-test.inc (fma_test): Add more tests.
3514 (fma_test_towardzero): Likewise.
3515 (fma_test_downward): Likewise.
3516 (fma_test_upward): Likewise.
3517
b830319d
TS
35182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3519
3520 [BZ #157]
3521
3522 * include/stub-tag.h: Remove file.
3523 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3524 '#include' of it.
3525 * manual/maint.texi (Porting): Don't reference it.
3526 * Makerules ($(objpfx)stubs): Likewise.
3527 * dirent/closedir.c: Don't include <stub-tag.h>.
3528 * dirent/dirfd.c: Likewise.
3529 * dirent/fdopendir.c: Likewise.
3530 * dirent/getdents.c: Likewise.
3531 * dirent/getdents64.c: Likewise.
3532 * dirent/opendir.c: Likewise.
3533 * dirent/readdir.c: Likewise.
3534 * dirent/readdir64.c: Likewise.
3535 * dirent/readdir64_r.c: Likewise.
3536 * dirent/readdir_r.c: Likewise.
3537 * dirent/rewinddir.c: Likewise.
3538 * dirent/seekdir.c: Likewise.
3539 * dirent/telldir.c: Likewise.
3540 * gmon/profil.c: Likewise.
3541 * grp/setgroups.c: Likewise.
3542 * inet/if_index.c: Likewise.
3543 * io/access.c: Likewise.
3544 * io/chdir.c: Likewise.
3545 * io/chmod.c: Likewise.
3546 * io/chown.c: Likewise.
3547 * io/close.c: Likewise.
3548 * io/dup.c: Likewise.
3549 * io/dup2.c: Likewise.
3550 * io/dup3.c: Likewise.
3551 * io/euidaccess.c: Likewise.
3552 * io/faccessat.c: Likewise.
3553 * io/fchdir.c: Likewise.
3554 * io/fchmod.c: Likewise.
3555 * io/fchmodat.c: Likewise.
3556 * io/fchown.c: Likewise.
3557 * io/fchownat.c: Likewise.
3558 * io/fcntl.c: Likewise.
3559 * io/flock.c: Likewise.
3560 * io/fstatfs.c: Likewise.
3561 * io/fstatfs64.c: Likewise.
3562 * io/fstatvfs.c: Likewise.
3563 * io/fstatvfs64.c: Likewise.
3564 * io/futimens.c: Likewise.
3565 * io/fxstat.c: Likewise.
3566 * io/fxstat64.c: Likewise.
3567 * io/fxstatat.c: Likewise.
3568 * io/fxstatat64.c: Likewise.
3569 * io/getcwd.c: Likewise.
3570 * io/isatty.c: Likewise.
3571 * io/lchmod.c: Likewise.
3572 * io/lchown.c: Likewise.
3573 * io/link.c: Likewise.
3574 * io/linkat.c: Likewise.
3575 * io/lseek.c: Likewise.
3576 * io/lseek64.c: Likewise.
3577 * io/lxstat64.c: Likewise.
3578 * io/mkdir.c: Likewise.
3579 * io/mkdirat.c: Likewise.
3580 * io/mkfifo.c: Likewise.
3581 * io/mkfifoat.c: Likewise.
3582 * io/open.c: Likewise.
3583 * io/open64.c: Likewise.
3584 * io/openat.c: Likewise.
3585 * io/openat64.c: Likewise.
3586 * io/pipe.c: Likewise.
3587 * io/pipe2.c: Likewise.
3588 * io/poll.c: Likewise.
3589 * io/posix_fadvise.c: Likewise.
3590 * io/posix_fadvise64.c: Likewise.
3591 * io/posix_fallocate.c: Likewise.
3592 * io/posix_fallocate64.c: Likewise.
3593 * io/read.c: Likewise.
3594 * io/readlink.c: Likewise.
3595 * io/readlinkat.c: Likewise.
3596 * io/rmdir.c: Likewise.
3597 * io/sendfile.c: Likewise.
3598 * io/sendfile64.c: Likewise.
3599 * io/statfs.c: Likewise.
3600 * io/statfs64.c: Likewise.
3601 * io/statvfs.c: Likewise.
3602 * io/statvfs64.c: Likewise.
3603 * io/symlink.c: Likewise.
3604 * io/symlinkat.c: Likewise.
3605 * io/ttyname.c: Likewise.
3606 * io/ttyname_r.c: Likewise.
3607 * io/umask.c: Likewise.
3608 * io/unlink.c: Likewise.
3609 * io/unlinkat.c: Likewise.
3610 * io/utime.c: Likewise.
3611 * io/utimensat.c: Likewise.
3612 * io/write.c: Likewise.
3613 * io/xmknod.c: Likewise.
3614 * io/xmknodat.c: Likewise.
3615 * io/xstat.c: Likewise.
3616 * io/xstat64.c: Likewise.
3617 * login/getpt.c: Likewise.
3618 * login/grantpt.c: Likewise.
3619 * login/unlockpt.c: Likewise.
3620 * math/e_acoshl.c: Likewise.
3621 * math/e_acosl.c: Likewise.
3622 * math/e_asinl.c: Likewise.
3623 * math/e_atan2l.c: Likewise.
3624 * math/e_atanhl.c: Likewise.
3625 * math/e_coshl.c: Likewise.
3626 * math/e_expl.c: Likewise.
3627 * math/e_fmodl.c: Likewise.
3628 * math/e_gammal_r.c: Likewise.
3629 * math/e_hypotl.c: Likewise.
3630 * math/e_j0l.c: Likewise.
3631 * math/e_j1l.c: Likewise.
3632 * math/e_jnl.c: Likewise.
3633 * math/e_lgammal_r.c: Likewise.
3634 * math/e_log10l.c: Likewise.
3635 * math/e_log2l.c: Likewise.
3636 * math/e_logl.c: Likewise.
3637 * math/e_powl.c: Likewise.
3638 * math/e_rem_pio2l.c: Likewise.
3639 * math/e_sinhl.c: Likewise.
3640 * math/e_sqrtl.c: Likewise.
3641 * math/fclrexcpt.c: Likewise.
3642 * math/fedisblxcpt.c: Likewise.
3643 * math/feenablxcpt.c: Likewise.
3644 * math/fegetenv.c: Likewise.
3645 * math/fegetexcept.c: Likewise.
3646 * math/fegetround.c: Likewise.
3647 * math/feholdexcpt.c: Likewise.
3648 * math/fesetenv.c: Likewise.
3649 * math/fesetround.c: Likewise.
3650 * math/feupdateenv.c: Likewise.
3651 * math/fgetexcptflg.c: Likewise.
3652 * math/fraiseexcpt.c: Likewise.
3653 * math/fsetexcptflg.c: Likewise.
3654 * math/ftestexcept.c: Likewise.
3655 * math/k_cosl.c: Likewise.
3656 * math/k_rem_pio2l.c: Likewise.
3657 * math/k_sinl.c: Likewise.
3658 * math/k_tanl.c: Likewise.
3659 * math/s_asinhl.c: Likewise.
3660 * math/s_atanl.c: Likewise.
3661 * math/s_cbrtl.c: Likewise.
3662 * math/s_erfl.c: Likewise.
3663 * math/s_expm1l.c: Likewise.
3664 * math/s_log1pl.c: Likewise.
3665 * math/s_tanhl.c: Likewise.
3666 * misc/acct.c: Likewise.
3667 * misc/brk.c: Likewise.
3668 * misc/chflags.c: Likewise.
3669 * misc/chroot.c: Likewise.
3670 * misc/fchflags.c: Likewise.
3671 * misc/fgetxattr.c: Likewise.
3672 * misc/flistxattr.c: Likewise.
3673 * misc/fremovexattr.c: Likewise.
3674 * misc/fsetxattr.c: Likewise.
3675 * misc/fsync.c: Likewise.
3676 * misc/ftruncate.c: Likewise.
3677 * misc/futimes.c: Likewise.
3678 * misc/futimesat.c: Likewise.
3679 * misc/getdomain.c: Likewise.
3680 * misc/getdtsz.c: Likewise.
3681 * misc/gethostid.c: Likewise.
3682 * misc/gethostname.c: Likewise.
3683 * misc/getloadavg.c: Likewise.
3684 * misc/getpagesize.c: Likewise.
3685 * misc/getsysstats.c: Likewise.
3686 * misc/getxattr.c: Likewise.
3687 * misc/gtty.c: Likewise.
3688 * misc/ioctl.c: Likewise.
3689 * misc/lgetxattr.c: Likewise.
3690 * misc/listxattr.c: Likewise.
3691 * misc/llistxattr.c: Likewise.
3692 * misc/lremovexattr.c: Likewise.
3693 * misc/lsetxattr.c: Likewise.
3694 * misc/lutimes.c: Likewise.
3695 * misc/madvise.c: Likewise.
3696 * misc/mincore.c: Likewise.
3697 * misc/mlock.c: Likewise.
3698 * misc/mlockall.c: Likewise.
3699 * misc/mmap.c: Likewise.
3700 * misc/mprotect.c: Likewise.
3701 * misc/msync.c: Likewise.
3702 * misc/munlock.c: Likewise.
3703 * misc/munlockall.c: Likewise.
3704 * misc/munmap.c: Likewise.
3705 * misc/preadv.c: Likewise.
3706 * misc/preadv64.c: Likewise.
3707 * misc/ptrace.c: Likewise.
3708 * misc/pwritev.c: Likewise.
3709 * misc/pwritev64.c: Likewise.
3710 * misc/readv.c: Likewise.
3711 * misc/reboot.c: Likewise.
3712 * misc/remap_file_pages.c: Likewise.
3713 * misc/removexattr.c: Likewise.
3714 * misc/revoke.c: Likewise.
3715 * misc/select.c: Likewise.
3716 * misc/setdomain.c: Likewise.
3717 * misc/setegid.c: Likewise.
3718 * misc/seteuid.c: Likewise.
3719 * misc/sethostid.c: Likewise.
3720 * misc/sethostname.c: Likewise.
3721 * misc/setregid.c: Likewise.
3722 * misc/setreuid.c: Likewise.
3723 * misc/setxattr.c: Likewise.
3724 * misc/sstk.c: Likewise.
3725 * misc/stty.c: Likewise.
3726 * misc/swapoff.c: Likewise.
3727 * misc/swapon.c: Likewise.
3728 * misc/sync.c: Likewise.
3729 * misc/syncfs.c: Likewise.
3730 * misc/syscall.c: Likewise.
3731 * misc/truncate.c: Likewise.
3732 * misc/ualarm.c: Likewise.
3733 * misc/usleep.c: Likewise.
3734 * misc/ustat.c: Likewise.
3735 * misc/utimes.c: Likewise.
3736 * misc/vhangup.c: Likewise.
3737 * misc/writev.c: Likewise.
3738 * posix/_exit.c: Likewise.
3739 * posix/alarm.c: Likewise.
3740 * posix/execve.c: Likewise.
3741 * posix/fexecve.c: Likewise.
3742 * posix/fork.c: Likewise.
3743 * posix/fpathconf.c: Likewise.
3744 * posix/getaddrinfo.c: Likewise.
3745 * posix/getegid.c: Likewise.
3746 * posix/geteuid.c: Likewise.
3747 * posix/getgid.c: Likewise.
3748 * posix/getgroups.c: Likewise.
3749 * posix/getlogin.c: Likewise.
3750 * posix/getlogin_r.c: Likewise.
3751 * posix/getpgid.c: Likewise.
3752 * posix/getpid.c: Likewise.
3753 * posix/getppid.c: Likewise.
3754 * posix/getresgid.c: Likewise.
3755 * posix/getresuid.c: Likewise.
3756 * posix/getsid.c: Likewise.
3757 * posix/getuid.c: Likewise.
3758 * posix/glob64.c: Likewise.
3759 * posix/nanosleep.c: Likewise.
3760 * posix/pathconf.c: Likewise.
3761 * posix/pause.c: Likewise.
3762 * posix/posix_madvise.c: Likewise.
3763 * posix/pread.c: Likewise.
3764 * posix/pread64.c: Likewise.
3765 * posix/pwrite.c: Likewise.
3766 * posix/pwrite64.c: Likewise.
3767 * posix/sched_getaffinity.c: Likewise.
3768 * posix/sched_getp.c: Likewise.
3769 * posix/sched_gets.c: Likewise.
3770 * posix/sched_primax.c: Likewise.
3771 * posix/sched_primin.c: Likewise.
3772 * posix/sched_rr_gi.c: Likewise.
3773 * posix/sched_setaffinity.c: Likewise.
3774 * posix/sched_setp.c: Likewise.
3775 * posix/sched_sets.c: Likewise.
3776 * posix/sched_yield.c: Likewise.
3777 * posix/setgid.c: Likewise.
3778 * posix/setlogin.c: Likewise.
3779 * posix/setpgid.c: Likewise.
3780 * posix/setresgid.c: Likewise.
3781 * posix/setresuid.c: Likewise.
3782 * posix/setsid.c: Likewise.
3783 * posix/setuid.c: Likewise.
3784 * posix/sleep.c: Likewise.
3785 * posix/spawni.c: Likewise.
3786 * posix/sysconf.c: Likewise.
3787 * posix/times.c: Likewise.
3788 * posix/wait.c: Likewise.
3789 * posix/wait3.c: Likewise.
3790 * posix/wait4.c: Likewise.
3791 * posix/waitpid.c: Likewise.
3792 * resolv/gai_sigqueue.c: Likewise.
3793 * resource/getpriority.c: Likewise.
3794 * resource/getrlimit.c: Likewise.
3795 * resource/getrusage.c: Likewise.
3796 * resource/nice.c: Likewise.
3797 * resource/setpriority.c: Likewise.
3798 * resource/setrlimit.c: Likewise.
3799 * resource/ulimit.c: Likewise.
3800 * rt/aio_cancel.c: Likewise.
3801 * rt/aio_fsync.c: Likewise.
3802 * rt/aio_read.c: Likewise.
3803 * rt/aio_sigqueue.c: Likewise.
3804 * rt/aio_suspend.c: Likewise.
3805 * rt/aio_write.c: Likewise.
3806 * rt/clock_getres.c: Likewise.
3807 * rt/clock_gettime.c: Likewise.
3808 * rt/clock_nanosleep.c: Likewise.
3809 * rt/clock_settime.c: Likewise.
3810 * rt/lio_listio.c: Likewise.
3811 * rt/mq_close.c: Likewise.
3812 * rt/mq_getattr.c: Likewise.
3813 * rt/mq_notify.c: Likewise.
3814 * rt/mq_open.c: Likewise.
3815 * rt/mq_receive.c: Likewise.
3816 * rt/mq_send.c: Likewise.
3817 * rt/mq_setattr.c: Likewise.
3818 * rt/mq_timedreceive.c: Likewise.
3819 * rt/mq_timedsend.c: Likewise.
3820 * rt/mq_unlink.c: Likewise.
3821 * rt/shm_open.c: Likewise.
3822 * rt/shm_unlink.c: Likewise.
3823 * rt/timer_create.c: Likewise.
3824 * rt/timer_delete.c: Likewise.
3825 * rt/timer_getoverr.c: Likewise.
3826 * rt/timer_gettime.c: Likewise.
3827 * rt/timer_settime.c: Likewise.
3828 * setjmp/__longjmp.c: Likewise.
3829 * setjmp/setjmp.c: Likewise.
3830 * signal/kill.c: Likewise.
3831 * signal/killpg.c: Likewise.
3832 * signal/raise.c: Likewise.
3833 * signal/sigaction.c: Likewise.
3834 * signal/sigaltstack.c: Likewise.
3835 * signal/sigblock.c: Likewise.
3836 * signal/sigignore.c: Likewise.
3837 * signal/sigintr.c: Likewise.
3838 * signal/signal.c: Likewise.
3839 * signal/sigpause.c: Likewise.
3840 * signal/sigpending.c: Likewise.
3841 * signal/sigqueue.c: Likewise.
3842 * signal/sigreturn.c: Likewise.
3843 * signal/sigset.c: Likewise.
3844 * signal/sigsetmask.c: Likewise.
3845 * signal/sigstack.c: Likewise.
3846 * signal/sigsuspend.c: Likewise.
3847 * signal/sigtimedwait.c: Likewise.
3848 * signal/sigvec.c: Likewise.
3849 * signal/sigwait.c: Likewise.
3850 * signal/sigwaitinfo.c: Likewise.
3851 * signal/sysv_signal.c: Likewise.
3852 * socket/accept.c: Likewise.
3853 * socket/accept4.c: Likewise.
3854 * socket/bind.c: Likewise.
3855 * socket/connect.c: Likewise.
3856 * socket/getpeername.c: Likewise.
3857 * socket/getsockname.c: Likewise.
3858 * socket/getsockopt.c: Likewise.
3859 * socket/isfdtype.c: Likewise.
3860 * socket/listen.c: Likewise.
3861 * socket/recv.c: Likewise.
3862 * socket/recvfrom.c: Likewise.
3863 * socket/recvmsg.c: Likewise.
3864 * socket/send.c: Likewise.
3865 * socket/sendmsg.c: Likewise.
3866 * socket/sendto.c: Likewise.
3867 * socket/setsockopt.c: Likewise.
3868 * socket/shutdown.c: Likewise.
3869 * socket/sockatmark.c: Likewise.
3870 * socket/socket.c: Likewise.
3871 * socket/socketpair.c: Likewise.
3872 * stdio-common/ctermid.c: Likewise.
3873 * stdio-common/cuserid.c: Likewise.
3874 * stdio-common/remove.c: Likewise.
3875 * stdio-common/rename.c: Likewise.
3876 * stdio-common/renameat.c: Likewise.
3877 * stdio-common/tempname.c: Likewise.
3878 * stdlib/getcontext.c: Likewise.
3879 * stdlib/makecontext.c: Likewise.
3880 * stdlib/setcontext.c: Likewise.
3881 * stdlib/swapcontext.c: Likewise.
3882 * stdlib/system.c: Likewise.
3883 * streams/fattach.c: Likewise.
3884 * streams/fdetach.c: Likewise.
3885 * streams/getmsg.c: Likewise.
3886 * streams/getpmsg.c: Likewise.
3887 * streams/putmsg.c: Likewise.
3888 * streams/putpmsg.c: Likewise.
3889 * sysdeps/unix/bsd/getpt.c: Likewise.
3890 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3891 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3892 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3894 Likewise.
3895 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3896 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3897 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3898 * sysvipc/msgctl.c: Likewise.
3899 * sysvipc/msgget.c: Likewise.
3900 * sysvipc/msgrcv.c: Likewise.
3901 * sysvipc/msgsnd.c: Likewise.
3902 * sysvipc/semctl.c: Likewise.
3903 * sysvipc/semget.c: Likewise.
3904 * sysvipc/semop.c: Likewise.
3905 * sysvipc/semtimedop.c: Likewise.
3906 * sysvipc/shmat.c: Likewise.
3907 * sysvipc/shmctl.c: Likewise.
3908 * sysvipc/shmdt.c: Likewise.
3909 * sysvipc/shmget.c: Likewise.
3910 * termios/tcdrain.c: Likewise.
3911 * termios/tcflow.c: Likewise.
3912 * termios/tcflush.c: Likewise.
3913 * termios/tcgetattr.c: Likewise.
3914 * termios/tcgetpgrp.c: Likewise.
3915 * termios/tcsendbrk.c: Likewise.
3916 * termios/tcsetattr.c: Likewise.
3917 * termios/tcsetpgrp.c: Likewise.
3918 * time/adjtime.c: Likewise.
3919 * time/clock.c: Likewise.
3920 * time/getitimer.c: Likewise.
3921 * time/gettimeofday.c: Likewise.
3922 * time/setitimer.c: Likewise.
3923 * time/settimeofday.c: Likewise.
3924 * time/stime.c: Likewise.
3925 * time/time.c: Likewise.
3926
39272012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3928
a20492cf
PT
3929 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3930 /usr/old/bin.
3931
72e182e3
PT
3932 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3933 instead of spaces.
3934 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3935
fbeafede
JM
39362012-11-03 Joseph Myers <joseph@codesourcery.com>
3937
5b5b04d6
JM
3938 [BZ #14796]
3939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3940 FE_TONEAREST before applying Dekker multiplication and Knuth
3941 addition. Clear inexact exceptions and check for exact zero
3942 results afterwards.
3943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3944 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3946 * math/libm-test.inc (fma_test): Add more tests.
3947 (fma_test_towardzero): Likewise.
3948 (fma_test_downward): Likewise.
3949 (fma_test_upward): Likewise.
3950 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3951 function.
3952 (libc_fesetround): New macro.
3953 (libc_fesetroundf): Likewise.
3954 (libc_fesetroundl): Likewise.
3955 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3956 function.
3957 (libc_fesetround_387): Likewise.
3958 (libc_fesetroundf): New macro.
3959 (libc_fesetround): Likewise.
3960 (libc_fesetroundl): Likewise.
3961 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3962 function.
3963 (libc_fesetroundf): New macro.
3964 (libc_fesetround): Likewise.
3965 (libc_fesetroundl): Likewise.
3966 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3967 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3968 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3969 libm_hidden_ver.
3970 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3971 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3972 libm_hidden_def.
3973 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3974 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3975 libm_hidden_ver.
3976 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3977 libm_hidden_def.
3978
fbeafede
JM
3979 [BZ #3439]
3980 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3981 integer constant usable in #if and use that to give value to enum
3982 constant.
3983 (FE_DIVBYZERO): Likewise.
3984 (FE_UNDERFLOW): Likewise.
3985 (FE_OVERFLOW): Likewise.
3986 (FE_INVALID): Likewise.
3987 (FE_INVALID_SNAN): Likewise.
3988 (FE_INVALID_ISI): Likewise.
3989 (FE_INVALID_IDI): Likewise.
3990 (FE_INVALID_ZDZ): Likewise.
3991 (FE_INVALID_IMZ): Likewise.
3992 (FE_INVALID_COMPARE): Likewise.
3993 (FE_INVALID_SOFTWARE): Likewise.
3994 (FE_INVALID_SQRT): Likewise.
3995 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3996 (FE_TONEAREST): Likewise.
3997 (FE_TOWARDZERO): Likewise.
3998 (FE_UPWARD): Likewise.
3999 (FE_DOWNWARD): Likewise.
4000 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4001 (FE_DIVBYZERO): Likewise.
4002 (FE_OVERFLOW): Likewise.
4003 (FE_UNDERFLOW): Likewise.
4004 (FE_INEXACT): Likewise.
4005 (FE_TONEAREST): Likewise.
4006 (FE_DOWNWARD): Likewise.
4007 (FE_UPWARD): Likewise.
4008 (FE_TOWARDZERO): Likewise.
4009 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4010 (FE_UNDERFLOW): Likewise.
4011 (FE_OVERFLOW): Likewise.
4012 (FE_DIVBYZERO): Likewise.
4013 (FE_INVALID): Likewise.
4014 (FE_TONEAREST): Likewise.
4015 (FE_TOWARDZERO): Likewise.
4016 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4017 (FE_OVERFLOW): Likewise.
4018 (FE_UNDERFLOW): Likewise.
4019 (FE_DIVBYZERO): Likewise.
4020 (FE_INEXACT): Likewise.
4021 (FE_TONEAREST): Likewise.
4022 (FE_TOWARDZERO): Likewise.
4023 (FE_UPWARD): Likewise.
4024 (FE_DOWNWARD): Likewise.
4025 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4026 (FE_DIVBYZERO): Likewise.
4027 (FE_OVERFLOW): Likewise.
4028 (FE_UNDERFLOW): Likewise.
4029 (FE_INEXACT): Likewise.
4030 (FE_TONEAREST): Likewise.
4031 (FE_DOWNWARD): Likewise.
4032 (FE_UPWARD): Likewise.
4033 (FE_TOWARDZERO): Likewise.
4034
105ca950
CM
40352012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4036
4037 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4038
a542b389
AS
40392012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4040
4041 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4042 commands. Quote $PWD.
4043 (blacklist_exports): Don't use remove_newlines. Replace "declare
4044 -x" by "export".
4045 (remove_newlines): Remove.
4046
f62c8abc
L
40472012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4048
4049 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4050 * stdlib/stdlib.h (atof): Moved to ...
4051 * include/bits/stdlib-float.h: Here. New file.
4052 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4053 * stdlib/bits/stdlib-float.h: New file.
4054 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4055 -mno-sse -mno-mmx.
4056 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4057 <xmmintrin.h>.
4058
0155d5b2
JM
40592012-11-02 Joseph Myers <joseph@codesourcery.com>
4060
a68d0680
JM
4061 * conform/conformtest.pl (@headers): Add fenv.h.
4062 * conform/data/fenv.h-data: New file.
4063 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4064 include of <math/fenv.h>.
4065
caf7f573
JM
4066 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4067 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4068 && !UNIX98]. Enables tests for XOPEN2K8.
4069 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4070 POSIX2008]: Likewise.
4071
6c073ad6
JM
4072 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4073 (struct rusage): Do not expect type or its members.
4074
0155d5b2
JM
4075 [BZ #3439]
4076 * math/math.h (FP_NAN): Define macro to integer constant usable in
4077 #if and use that to give value to enum constant.
4078 (FP_INFINITE): Likewise.
4079 (FP_ZERO): Likewise.
4080 (FP_SUBNORMAL): Likewise.
4081 (FP_NORMAL): Likewise.
4082
b5dcacb4
AS
40832012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4084
4085 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4086 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4087 arguments.
4088
f7934be8
RM
40892012-11-02 Roland McGrath <roland@hack.frob.com>
4090
4091 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4092 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4093 autoconf-time if not.
4094 * configure.in: Remove AC_PREREQ.
4095
d7d08bde
TMQMF
40962012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4097
4098 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4099 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4100 of the internal implementation.
4101
dcdae19a
JM
41022012-11-02 Joseph Myers <joseph@codesourcery.com>
4103
4104 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4105 except include of <misc/sys/syslog.h>.
4106
d6cffd3e
AS
41072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4108
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4110 function returns with a NULL context exit with zero.
4111
b3563932
TMQMF
41122012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4113
4114 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4115
b288a93d
L
41162012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4117
4118 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4119 (run_program_cmd): This.
4120 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4121 (tst_langinfo): New variable. Use it.
4122
a2421a68
SAS
41232012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4124
4125 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4126 floating point opcodes.
4127
6f796e1b
TS
41282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4129
7402596b
TS
4130 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4131 variable.
4132
d0d4f868
TS
4133 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4134
6f796e1b
TS
4135 * sysdeps/mach/hurd/powerpc: Remove directory.
4136 * sysdeps/mach/powerpc: Likewise.
4137
4da224a2
AS
41382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4139
4140 * scripts/check-local-headers.sh: Ignore c++ headers.
4141
341dd673
TS
41422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4143
4144 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4145 __libc_cleanup_region_start argument.
4146
473611b2
JM
41472012-11-01 Joseph Myers <joseph@codesourcery.com>
4148
4149 [BZ #14784]
4150 [BZ #14785]
4151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4152 x * y using scaling, not as x * y + z.
4153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4155 * math/libm-test.inc (fma_test): Add more tests.
4156 (fma_test_towardzero): Likewise.
4157 (fma_test_downward): Likewise.
4158 (fma_test_upward): Likewise.
4159
4078da3d
TS
41602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4161
4162 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4163
903252aa
JM
41642012-10-31 Joseph Myers <joseph@codesourcery.com>
4165
4166 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4167 New variable.
4168
cbc818d0
TS
41692012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4170
4171 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4172
5a03cb1e
AS
41732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4174
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4176 Fix sort order.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4178 Likewise.
4179
90aff2ff
TMQMF
41802012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4181
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4183 Fix the order of the list for glibc 2.17.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4185 Likewise.
4186
1818fcb7
AS
41872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4188
4189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4190
ef82f4da
JM
41912012-10-31 Joseph Myers <joseph@codesourcery.com>
4192
16a0e2ec
JM
4193 [BZ #14610]
4194 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4195 for low part of x being zero before using __atanl (y).
4196 * math/libm-test.inc (atan2_test): Add another test.
4197
0eb69512
JM
4198 * manual/install.texi (Configuring and compiling): Document
4199 general use of test-wrapper and test-wrapper-env.
4200 * INSTALL: Regenerated.
4201
ef82f4da
JM
4202 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4203 (__fma): Do not extract and scale down low bits on after-rounding
4204 systems when result rounded to normal precision would have normal
4205 exponent.
4206 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4207 (__fmal): Do not extract and scale down low bits on after-rounding
4208 systems when result rounded to normal precision would have normal
4209 exponent.
4210 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4211 (__fmal): Do not extract and scale down low bits on after-rounding
4212 systems when result rounded to normal precision would have normal
4213 exponent.
4214 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4215 macro.
4216 (fma_test): Add more tests.
4217 (fma_test_towardzero): Likewise.
4218 (fma_test_downward): Likewise.
4219 (fma_test_upward): Likewise.
4220
954ef0d9
L
42212012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4222
4223 * sysdeps/i386/tininess.h: Renamed to ...
4224 * sysdeps/x86/tininess.h: This.
4225 * sysdeps/x86_64/tininess.h: Removed.
4226
df61ffb2
JM
42272012-10-30 Joseph Myers <joseph@codesourcery.com>
4228
4229 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4230 input. Use $(build-program-cmd).
4231 ($(objpfx)tst-array1-static.out): Likewise.
4232 ($(objpfx)tst-array2.out): Likewise.
4233 ($(objpfx)tst-array3.out): Likewise.
4234 ($(objpfx)tst-array4.out): Likewise.
4235 ($(objpfx)tst-array5.out): Likewise.
4236 ($(objpfx)tst-array5-static.out): Likewise.
4237
01767843
CM
42382012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4239
47cc1490
CM
4240 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4241 if defined.
4242
01767843
CM
4243 * nss/nsswitch.h (nss_interface_function): Provide new
4244 macro for use with NSS functions.
4245 * grp/initgroups.c: Use new macro.
4246 * nss/getXXbyYY.c: Likewise.
4247 * nss/getXXbyYY_r.c: Likewise.
4248 * nss/getXXent.c: Likewise.
4249 * nss/getXXent_r.c: Likewise.
4250 * sysdeps/posix/getaddrinfo.c: Likewise.
4251
8321aa97
AJ
42522012-10-30 Andreas Jaeger <aj@suse.de>
4253
4254 * po/ru.po: Update Russion translation from translation project.
4255
2a27fd6d
JM
42562012-10-30 Joseph Myers <joseph@codesourcery.com>
4257
8627a232
JM
4258 [BZ #14152]
4259 [BZ #14783]
4260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4261 result and shift together with sticky bit instead of replicating
4262 round-to-nearest rounding.
4263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4265 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4266 missing underflow exceptions.
4267 (fma_test_towardzero): Add more tests.
4268 (fma_test_downward): Likewise.
4269 (fma_test_upward): Likewise.
4270
2a27fd6d
JM
4271 [BZ #14047]
4272 * sysdeps/generic/tininess.h: New file.
4273 * sysdeps/i386/tininess.h: Likewise.
4274 * sysdeps/sh/tininess.h: Likewise.
4275 * sysdeps/x86_64/tininess.h: Likewise.
4276 * stdlib/tst-strtod-underflow.c: Likewise.
4277 * stdlib/tst-tininess.c: Likewise.
4278 * stdlib/strtod_l.c: Include <tininess.h>.
4279 (round_and_return): Do not set errno for exact underflow cases.
4280 Force an underflow exception when setting errno for underflow.
4281 Determine underflow based on rounding to normal precision if
4282 TININESS_AFTER_ROUNDING.
4283 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4284 ERANGE for exact underflow cases.
4285 * stdlib/Makefile (tests): Add tst-tininess and
4286 tst-strtod-underflow.
4287 ($(objpfx)tst-tininess): Use $(link-libm).
4288 ($(objpfx)tst-strtod-underflow): Likewise.
4289
e7170363
AJ
42902012-10-30 Andreas Jaeger <aj@suse.de>
4291
e5088dc6
AJ
4292 [BZ#14767]
4293 * elf/Makefile (tests): Remove conditional for have-initfini-array
4294 since this is now always required and the variable does not exist
4295 anymore.
4296 (tests-static): Likewise.
4297 (modules-names): Likewise.
4298
e7170363 4299 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4300
4301 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4302 merged with constructor/destructor.
4303 (init_array): Likewise.
4304 * elf/tst-array2dep.c (fini_array): Likewise.
4305 (init_array): Likewise.
4306
60457d8a
MF
43072012-10-29 Mike Frysinger <vapier@gentoo.org>
4308
4309 * manual/message.texi: Delete @cartouche tags.
4310
8bece752
PT
43112012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4312
94ce799f
PT
4313 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4314 EOPNOTSUPP.
4315 * sysdeps/mach/hurd/fsync.c: Likewise.
4316
8bece752
PT
4317 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4318 [_POSIX_REALTIME_SIGNALS]: Change condition to
4319 [_POSIX_REALTIME_SIGNALS > 0].
4320
86ebe6b1
AJ
43212012-10-27 Andreas Jaeger <aj@suse.de>
4322
4323 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4324 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4326 [__WORDSIZE != 64]: Likewise.
4327
54399c08
L
43282012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * iconvdata/tst-table.sh: Remove ${SHELL}.
4331 * iconvdata/tst-tables.sh: Likewise.
4332
e2211bed
DM
43332012-10-25 David S. Miller <davem@davemloft.net>
4334
4335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4336 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4337 of strtoull.
4338
f303f97c
DM
4339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4340 ifunc-impl-list.c
4341 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4342 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4343 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4344 file.
4345
1e9d84cd
RM
43462012-10-25 Roland McGrath <roland@hack.frob.com>
4347
4348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4349 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4350 __getdirentries.
4351
df381762
JM
43522012-10-25 Joseph Myers <joseph@codesourcery.com>
4353 Jim Blandy <jimb@codesourcery.com>
4354
4355 * scripts/cross-test-ssh.sh: New file.
4356 * manual/install.texi (Configuring and compiling): Document use of
4357 cross-test-ssh.sh.
4358 * INSTALL: Regenerated.
4359
bff64913
PT
43602012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4361
4362 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4363 EOPNOTSUPP.
4364
25fe8932
JM
43652012-10-25 Joseph Myers <joseph@codesourcery.com>
4366
4367 * Makeconfig (run-program-prefix): Fix comment.
4368
cc1290d0
JM
43692012-10-24 Joseph Myers <joseph@codesourcery.com>
4370 Jim Blandy <jimb@codesourcery.com>
4371
4372 * Makeconfig (test-wrapper): New variable,
4373 (test-wrapper-env): Likewise.
4374 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4375 (run-built-tests): Define to yes.
4376 (run-program-prefix): Use $(test-wrapper).
4377 (built-program-cmd): Likewise.
4378 * Rules (make-test-out): Use $(test-wrapper-env) and
4379 $(host-built-program-cmd).
4380 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4381 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4382 tst-pathopt.sh.
4383 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4384 $(test-wrapper-env) to tst-rtld-load-self.sh.
4385 ($(objpfx)order2.out): Use $(test-wrapper).
4386 ($(objpfx)tst-initorder.out): Likewise.
4387 ($(objpfx)tst-initorder2.out): Likewise.
4388 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4389 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4390 (test_wrapper_env): New variable. Use it to run ld.so.
4391 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4392 Use it to run ld.so.
4393 (test_wrapper_env): Likewise.
4394 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4395 $(test-wrapper) to run-iconv-test.sh.
4396 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4397 (ICONV): Use $test_wrapper.
4398 * posix/Makefile ($(objpfx)globtest.out): Pass
4399 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4400 globtest.sh, not $(run-program-prefix).
4401 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4402 (test_wrapper): Likewise.
4403 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4404 set together with run_via_rtld_prefix.
4405 (run_program_prefix): Define in terms of test_wrapper and
4406 run_via_rtld_prefix.
4407
6e6249d0
RM
44082012-10-24 Roland McGrath <roland@hack.frob.com>
4409
4410 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4411 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4412 Targets removed.
4413
4414 [BZ #14743]
4415 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4416 Declare __clock_getres, __clock_gettime, __clock_settime,
4417 __clock_nanosleep, and __clock_getcpuclockid.
4418 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4419 Remove librt_hidden_def (clock_gettime).
4420 * sysdeps/unix/clock_gettime.c: Likewise.
4421 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4422 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4423 * rt/clock_getres.c: Define __clock_getres as an alias.
4424 * sysdeps/posix/clock_getres.c: Likewise.
4425 * rt/clock_settime.c: Define __clock_settime as an alias.
4426 * sysdeps/unix/clock_settime.c: Likewise.
4427 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4428 * sysdeps/unix/clock_nanosleep.c: Likewise.
4429 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4430 * rt/clock-compat.c: New file.
4431 * rt/Makefile (librt-routines): Add clock-compat and move
4432 $(clock-routines) to ...
4433 (routines): ... here, new variable.
4434 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4435 Don't add get_clockfreq here.
4436 * rt/Versions (libc: GLIBC_2.17): New version set.
4437 Add clock_* symbols here.
4438 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4440 (GLIBC_2.17): Add clock_* symbols.
4441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4445 Likewise.
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4447 Likewise.
4448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4452 * NEWS: Mention the move.
4453
4454 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4455 Use __open, __read, __close rather than their public counterparts.
4456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4457 (__get_clockfreq_via_cpuinfo): Likewise.
4458 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4459 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4460
4461 * config.h.in (HAVE_IFUNC): New #undef.
4462 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4463 was successful.
4464 * configure: Regenerated.
4465
0cae3f4b
MF
44662012-10-24 Mike Frysinger <vapier@gentoo.org>
4467
4468 * configure.in: Move READELF check to start of file.
4469 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4470 libc_cv_asm_gnu_indirect_function in the process.
4471 * configure: Regenerated.
4472
8175a253
MF
44732012-10-24 Mike Frysinger <vapier@gentoo.org>
4474
4475 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4476 send the output to /dev/null.
4477 (libc_cv_cc_with_libunwind): Likewise.
4478 (libc_cv_as_noexecstack): Likewise.
4479 * configure: Regenerate.
4480
0708a7d1
JM
44812012-10-24 Joseph Myers <joseph@codesourcery.com>
4482
10b40d85
JM
4483 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4484
0708a7d1
JM
4485 * posix/globtest.sh (TMPDIR): Do not set.
4486 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4487 (testout): Likewise.
4488
9fddec1a
AJ
44892012-10-24 Andreas Jaeger <aj@suse.de>
4490
3a8db22f
AJ
4491 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4492 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4493 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4494 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4495 posix_fadvise64, posix_fallocate64.
4496
9fddec1a
AJ
4497 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4498 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4499 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4500 Likewise.
4501 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4502 Likewise.
4503 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4504
4505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4506 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4507 <bits/fcntl-linux.h>.
4508 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4509
4510 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4511 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4512 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4513 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4514 [__WORDSIZE != 64]: Likewise.
4515
ebfd1bbd
JM
45162012-10-23 Joseph Myers <joseph@codesourcery.com>
4517
03ac099f
JM
4518 * Makeconfig (run-built-tests): New variable.
4519 * Rules [$(cross-compiling) = yes]: Change condition to
4520 [$(run-built-tests) = no].
4521 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4522 to [$(run-built-tests) = yes].
4523 * elf/Makefile [$(cross-compiling) = no]: Likewise
4524 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4525 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4526 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4527 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4528 * io/Makefile [$(cross-compiling) = no]: Likewise.
4529 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4530 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4531 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4532 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4533 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4534 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4535 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4536 * string/Makefile [$(cross-compiling) = no]: Likewise.
4537
ebfd1bbd
JM
4538 * posix/Makefile ($(objpfx)globtest.out): Pass
4539 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4540 $(rtld-installed-name).
4541 * posix/globtest.sh (elf_objpfx): Remove variable.
4542 (rtld_installed_name): Likewise.
4543 (library_path): Likewise.
4544 (run_program_prefix): New variable. Use for running globtest
4545 binary.
4546
166bca24
JB
45472012-10-23 Jim Blandy <jimb@codesourcery.com>
4548 Joseph Myers <joseph@codesourcery.com>
4549
4550 * Makeconfig (host-built-program-cmd): New variable.
4551 * elf/Makefile (tst-stackguard1-ARGS): Use
4552 $(host-built-program-cmd).
4553 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4554 (tst-spawn-ARGS): Likewise.
4555 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4556
88866099
JM
45572012-10-23 Joseph Myers <joseph@codesourcery.com>
4558 Jim Blandy <jimb@codesourcery.com>
4559
4560 * Makeconfig (run-via-rtld-prefix): New variable.
4561 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4562 (built-program-cmd): Likewise.
4563
b4b4c296
AJ
45642012-10-22 Andreas Jaeger <aj@suse.de>
4565
4566 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4567 __O_RSYNC if it exists, otherwise to O_SYNC.
4568
6fb54a22
JB
45692012-10-22 Jim Blandy <jimb@codesourcery.com>
4570 Joseph Myers <joseph@codesourcery.com>
4571
4572 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4573 /dev/null.
4574 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4575 from /dev/null
4576 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4577 /dev/null.
4578
481b90b9
AJ
45792012-10-22 Andreas Jaeger <aj@suse.de>
4580
2a0e2669
AJ
4581 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4582 Define always.
4583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4584
76e38f9a
AJ
4585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4586 bits/fcntl-linux.h.
4587
7cd37b43
AJ
4588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4589 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4590
481b90b9
AJ
4591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4592 to __O_LARGEFILE.
4593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4594 to __O_LARGEFILE.
4595
aba75984
JB
45962012-10-21 Jim Blandy <jimb@codesourcery.com>
4597 Joseph Myers <joseph@codesourcery.com>
4598
4599 * config.make.in (NM): New variable.
4600
88d4247f
AJ
46012012-10-21 Andreas Jaeger <aj@suse.de>
4602
4603 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4604 definitions and declarations that are provided by
4605 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4606
f2eed205
L
46072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4608
4609 [BZ #14683]
4610 * elf/Makefile (tests-static): Add tst-leaks1-static.
4611 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4612 ($(objpfx)tst-leaks1-static): New rule.
4613 ($(objpfx)tst-leaks1-static-mem): Likewise.
4614 (tst-leaks1-static-ENV): New macro.
4615 * elf/dl-open.c (dl_open_worker): Check the main application
4616 only if SHARED is defined.
4617 * elf/tst-leaks1-static.c: New file.
4618
335e6931
AJ
46192012-10-20 Andreas Jaeger <aj@suse.de>
4620
4621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4622 generic values for Linux.
4623 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4624 and declarations that are provided by <bits/fcntl-linux.h> and
4625 include <bits/fcntl-linux.h>.
4626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4628
ac5c94d3
RM
46292012-10-20 Roland McGrath <roland@hack.frob.com>
4630
4631 * io/fcntl.h: Move include of <bits/types.h> to the top and
4632 include it unconditionally.
4633
de54b33a
L
46342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4635
228cfb01
L
4636 * wcsmbs/Makefile (tests-ifunc): New variable.
4637 (tests): Add $(tests-ifunc).
4638 * wcsmbs/test-wcschr-ifunc.c: New file.
4639 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4640 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4641 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4642 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4643 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4644
69f07e5f
L
4645 * string/Makefile (tests-ifunc): New variable.
4646 (tests): Add $(tests-ifunc).
4647 * string/test-memccpy.c (TEST_NAME): New macro.
4648 * string/test-memchr.c (TEST_NAME): Likewise.
4649 * string/test-memcmp.c (TEST_NAME): Likewise.
4650 * string/test-memcpy.c (TEST_NAME): Likewise.
4651 * string/test-memmem.c (TEST_NAME): Likewise.
4652 * string/test-memmove.c (TEST_NAME): Likewise.
4653 * string/test-memset.c (TEST_NAME): Likewise.
4654 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4655 * string/test-stpcpy.c (TEST_NAME): Likewise.
4656 * string/test-stpncpy.c (TEST_NAME): Likewise.
4657 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4658 * string/test-strcasestr.c (TEST_NAME): Likewise.
4659 * string/test-strcat.c (TEST_NAME): Likewise.
4660 * string/test-strchr.c (TEST_NAME): Likewise.
4661 * string/test-strcmp.c(TEST_NAME): Likewise.
4662 * string/test-strcpy.c (TEST_NAME): Likewise.
4663 * string/test-strcspn.c (TEST_NAME): Likewise.
4664 * string/test-strlen.c (TEST_NAME): Likewise.
4665 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4666 * string/test-strncmp.c (TEST_NAME): Likewise.
4667 * string/test-strncpy.c (TEST_NAME): Likewise.
4668 * string/test-strnlen.c (TEST_NAME): Likewise.
4669 * string/test-strpbrk.c (TEST_NAME): Likewise.
4670 * string/test-strrchr.c (TEST_NAME): Likewise.
4671 * string/test-strspn.c (TEST_NAME): Likewise.
4672 * string/test-strstr.c (TEST_NAME): Likewise.
4673 * string/test-bcopy-ifunc.c: New file.
4674 * string/test-bzero-ifunc.c: Likewise.
4675 * string/test-memccpy-ifunc.c: Likewise.
4676 * string/test-memchr-ifunc.c: Likewise.
4677 * string/test-memcmp-ifunc.c: Likewise.
4678 * string/test-memcpy-ifunc.c: Likewise.
4679 * string/test-memmem-ifunc.c: Likewise.
4680 * string/test-memmove-ifunc.c: Likewise.
4681 * string/test-mempcpy-ifunc.c: Likewise.
4682 * string/test-memset-ifunc.c: Likewise.
4683 * string/test-rawmemchr-ifunc.c: Likewise.
4684 * string/test-stpcpy-ifunc.c: Likewise.
4685 * string/test-stpncpy-ifunc.c: Likewise.
4686 * string/test-strcasecmp-ifunc.c: Likewise.
4687 * string/test-strcasestr-ifunc.c: Likewise.
4688 * string/test-strcat-ifunc.c: Likewise.
4689 * string/test-strchr-ifunc.c: Likewise.
4690 * string/test-strchrnul-ifunc.c: Likewise.
4691 * string/test-strcmp-ifunc.c: Likewise.
4692 * string/test-strcpy-ifunc.c: Likewise.
4693 * string/test-strcspn-ifunc.c: Likewise.
4694 * string/test-strlen-ifunc.c: Likewise.
4695 * string/test-strncasecmp-ifunc.c: Likewise.
4696 * string/test-strncat-ifunc.c: Likewise.
4697 * string/test-strncmp-ifunc.c: Likewise.
4698 * string/test-strncpy-ifunc.c: Likewise.
4699 * string/test-strnlen-ifunc.c: Likewise.
4700 * string/test-strpbrk-ifunc.c: Likewise.
4701 * string/test-strrchr-ifunc.c: Likewise.
4702 * string/test-strspn-ifunc.c: Likewise.
4703 * string/test-strstr-ifunc.c: Likewise.
4704
de54b33a
L
4705 * debug/Makefile (tests-ifunc): New variable.
4706 (tests): Add $(tests-ifunc).
4707 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4708 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4709 * debug/test-stpcpy_chk-ifunc.c: New file.
4710 * debug/test-strcpy_chk-ifunc.c: Likewise.
4711
88481c16
SP
47122012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4713
4714 [BZ #13601]
4715 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4716 header is not read in.
4717
135948bd
JM
47182012-10-19 Joseph Myers <joseph@codesourcery.com>
4719
89f1c388
JM
4720 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4721 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4722 directly. Pass built executable to script as
4723 $(built-program-cmd).
4724 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4725 $testprogram without using LD_LIBRARY_PATH and $ldso.
4726
e40a0d21
JM
4727 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4728 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4729 $(rtld-installed-name).
4730 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4731 (rtld_installed_name): Likewise.
4732 (library_path): Likewise.
4733 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4734 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4735 $(run-program-prefix) to tst-tables.sh.
4736 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4737 it to run tst-table-from and tst-table-to.
4738 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4739 Pass it to tst-table.sh.
4740 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4741 $(run-program-prefix) to tst-gettext.sh.
4742 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4743 tst-translit.sh.
4744 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4745 tst-gettext2.sh.
4746 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4747 to run tst-gettext.
4748 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4749 to run tst-gettext2.
4750 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4751 to run tst-translit.
4752 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4753 $(run-program-prefix) to tst-mtrace.sh.
4754 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4755 to run tst-mtrace.
4756 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4757 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4758 $(rtld-installed-name).
4759 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4760 (rtld_installed_name): Likewise.
4761 (run_program_prefix): New variable. Use it to run wordexp-test.
4762
728e272a
JM
4763 * Makeconfig (ARCH): Remove all definitions.
4764 (machine): Likewise.
4765 [ARCH]: Remove conditional code.
4766 [!objdir]: Give error.
4767 [!objdir] (objpfx): Remove.
4768 [!objdir] (common-objpfx): Likewise.
4769 [!objdir] (common-objdir): Likewise.
4770 * configure.in (config_makefile): Remove. Hardcode Makefile in
4771 AC_CONFIG_FILES call.
4772 * configure: Regenerated.
4773
d528cdcf
JM
4774 [BZ #13888]
4775 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4776 or TMPDIR.
4777 (testout): Likewise.
4778
135948bd
JM
4779 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4780 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4781 $(rtld-installed-name).
4782 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4783 (rtld_installed_name): Likwise.
4784 (runit): Remove function.
4785 (run_getconf): New variable, Use it for running getconf binary.
4786
38c78296
L
47872012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4788
4789 [BZ #14716]
4790 * string/test-memmem.c (check_result): New function.
4791 (do_one_test): Use it.
4792 (check1): New function.
4793 (test_main): Use it.
4794
d077f65f
MT
47952012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4796
4797 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4798
ced52c71
JM
47992012-10-18 Joseph Myers <joseph@codesourcery.com>
4800
4801 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4802 (_G_LSEEK64): Likewise.
4803 (_G_MMAP64): Likewise.
4804 (_G_FSTAT64): Likewise.
4805 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4806 (_G_LSEEK64): Likewise.
4807 (_G_MMAP64): Likewise.
4808 (_G_FSTAT64): Likewise.
4809 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4810 unconditional. Call __mmap64 directly.
4811 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4812 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4813 __lseek64 directly.
4814 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4815 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4816 __mmap64 directly.
4817 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4818 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4819 __lseek64 directly.
4820 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4821 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4822 __lseek64 directly.
4823 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4824 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4825 __lseek64 directly.
4826 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4827 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4828 __fxstat64 directly.
4829 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4830 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4831 unconditional.
4832 (freopen64) [!_G_OPEN64]: Remove conditional code.
4833 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4834 unconditional.
4835 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4836 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4837 unconditional.
4838 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4839 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4840 unconditional.
4841 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4842 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4843 unconditional.
4844 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4845 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4846 unconditional.
4847 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4848 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4849 unconditional.
4850 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4851 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4852 unconditional.
4853 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4854
b741de23
SP
48552012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4856
4857 [BZ #12140]
4858 * manual/memory.texi (Malloc Tunable Parameters): Add note
4859 about free list pointers overwriting some perturb bytes.
4860 Wording suggested by Roland McGrath.
4861
f9b9d9c9
JM
48622012-10-17 Joseph Myers <joseph@codesourcery.com>
4863
4864 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4865 (lgamma_test): Likewise.
4866 (tgamma_test): Likewise.
4867
172a631a
FW
48682012-10-16 Florian Weimer <fweimer@redhat.com>
4869
4870 [BZ #14700]
4871 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4872 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4873
e9f37252
MK
48742012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4875
4876 * NEWS: Mention BZ #14716.
4877 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4878 when removing AVAILABLE1_USES_J macro.
4879
d394eb74
L
48802012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4881
4882 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4883 (__bswap_64): __uint64_t for unsigned 64-bit int.
4884
ca38dc17
AS
48852012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4886
4887 * include/string.h (memmem): Declare libc hidden alias.
4888 * string/memmem.c (memmem): Define libc hidden alias.
4889 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4890 __read, __close instead of open, read, close.
4891
9a387d1f
L
48922012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4893
ac49ecaf
L
4894 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4895 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4896 global and hidden.
4897 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4898 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4899 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4900 Likewise.
4901 (__rawmemchr_sse2): Likewise.
4902 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4903 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4904 (__strchr_sse2): Likewise.
4905 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4906 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4907 (__strcasecmp_sse2): Likewise.
4908 (__strncasecmp_sse2): Likewise.
4909 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4910 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4911 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4912 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4913 (__strrchr_sse2): Likewise.
4914 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4915 ifunc-impl-list.c.
4916 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4917 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4918 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4919 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4920 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4921 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4922 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4923 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4924 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4925 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4926 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4927 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4928 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4929 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4930 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4931 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4932 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4933 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4934 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4935 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4936 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4937 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4938 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4939 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4940 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4941 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4942 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4943 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4944 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4945 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4946
b090e8ea
L
4947 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4948 global and hidden.
4949 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4950 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4951 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4952 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4953 Likewise.
4954 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4955 Likewise.
4956 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4957 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4958 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4959 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4960 ifunc-impl-list.c.
4961 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4968 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4969 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4970 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4971 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4972 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4973 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4974 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4975 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4976 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4977 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4978 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4979 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4980 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4981 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4982 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4983 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4984 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4985 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4986 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4987 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4988 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4989 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4990 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4991 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4992 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4993 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4994 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4995 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4996 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4997 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4998 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4999 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5000 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5001 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5002
11dd4af6
L
5003 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5004 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5005 * include/ifunc-impl-list.h: New file.
5006 * misc/ifunc-impl-list.c: Likewise.
5007 * misc/Makefile (routines): Add ifunc-impl-list.
5008 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5009 * string/test-string.h: Include <ifunc-impl-list.h>.
5010 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5011 impl_array): New variables.
5012 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5013 are defined.
5014 (test_init): Call __libc_ifunc_impl_list to initialize
5015 func_list if TEST_IFUNC and TEST_NAME are defined.
5016
9a387d1f
L
5017 * string/Makefile (strop-tests): Add bcopy and bzero.
5018 * string/test-bcopy.c: New file.
5019 * string/test-bzero.c: Likewise.
5020 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5021 defined.
5022 * string/test-memset.c: Support bzero test if TEST_BZERO is
5023 defined.
5024 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5025 __libc_memmove.
5026 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5027 __libc_memset.
5028 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5029 of memset.
5030
472371b9
JM
50312012-10-10 Joseph Myers <joseph@codesourcery.com>
5032
1e4a9536
JM
5033 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5034 * configure: Regenerated.
5035
d173d12e
JM
5036 * Makeconfig (+link-static-before-libc): Don't include
5037 $(link-static-libc).
5038
472371b9
JM
5039 * libio/libio.h (_IO_pos_t): Remove.
5040
89a3ad0b
AO
50412012-10-10 Alexandre Oliva <aoliva@redhat.com>
5042
5043 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5044 McGrath.
5045
e7451425
AO
50462012-10-10 Alexandre Oliva <aoliva@redhat.com>
5047
5048 * crypt/crypt-entry.c: Include fips-private.h.
5049 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5050 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5051 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5052 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5053
4ba74a35
AO
50542012-10-10 Alexandre Oliva <aoliva@redhat.com>
5055
5056 * crypt/crypt-private.h: Include stdbool.h.
5057 (_ufc_setup_salt_r): Return bool.
5058 * crypt/crypt-entry.c: Include errno.h.
5059 (__crypt_r): Return NULL with EINVAL for bad salt.
5060 * crypt/crypt_util.c (bad_for_salt): New.
5061 (_ufc_setup_salt_r): Check that salt is long enough and within
5062 the specified alphabet.
5063 * crypt/badsalttest.c: New file.
5064 * crypt/Makefile (tests): Add it.
5065 ($(objpfx)badsalttest): New.
5066
f96f1242
MK
50672012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5068
5069 * NEWS: Add entry for BZ #14602.
5070
0e8e0c1c
JM
50712012-10-09 Joseph Myers <joseph@codesourcery.com>
5072
5073 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5074 type-generic.
5075 * math/libm-test.inc: Update comment listing what functions and
5076 macros are tested.
5077 (isgreater_test): New function.
5078 (isgreaterequal_test): Likewise.
5079 (isless_test): Likewise.
5080 (islessequal_test): Likewise.
5081 (islessgreater_test): Likewise.
5082 (isunordered_test): Likewise.
5083 (main): Call the new functions.
5084
273edc5e
RM
50852012-10-09 Roland McGrath <roland@hack.frob.com>
5086
b8493de0
RM
5087 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5088 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5089 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5090 * sysdeps/i386/configure: Regenerated.
5091 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5092 * sysdeps/mach/configure: Regenerated.
5093 * sysdeps/mach/hurd/configure: Regenerated.
5094 * sysdeps/powerpc/configure: Regenerated.
5095 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5096 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5097 * sysdeps/s390/s390-32/configure: Regenerated.
5098 * sysdeps/s390/s390-64/configure: Regenerated.
5099 * sysdeps/sh/configure: Regenerated.
5100 * sysdeps/sparc/configure: Regenerated.
5101 * sysdeps/unix/sysv/linux/configure: Regenerated.
5102 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5103 * sysdeps/x86_64/configure: Regenerated.
5104
273edc5e
RM
5105 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5106 defined. Don't check if MAP is NULL.
5107
c8450f70
JM
51082012-10-09 Joseph Myers <joseph@codesourcery.com>
5109
5110 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5111 (_G_stat64): Likewise.
5112 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5113 (_G_stat64): Likewise.
5114 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5115 instead of struct _G_stat64.
5116 * libio/fileops.c (mmap_remap_check): Likewise.
5117 (decide_maybe_mmap): Likewise.
5118 (_IO_new_file_seekoff): Likewise.
5119 (_IO_file_stat): Likewise.
5120 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5121 _G_off64_t.
5122 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5123 instead of struct _G_stat64.
5124 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5125
57e605ba
MK
51262012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5127
5128 [BZ #14602]
5129 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5130 Replace with ...
5131 (CHECK_EOL): New macro.
5132 (two_way_short_needle): Check beginning of haystack for EOL. Use
5133 CHECK_EOL.
5134 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5135 Replace with CHECK_EOL.
5136 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5137 Replace with CHECK_EOL.
5138
ef1bb361
JM
51392012-10-08 Joseph Myers <joseph@codesourcery.com>
5140
5141 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5142 type-generic.
5143 * math/libm-test.inc: Update comment listing what functions and
5144 macros are tested.
5145 (finite_test): New function.
5146 (isinf_test): Likewise.
5147 (isnan_test): Likewise.
5148 (fpclassify_test): Test subnormal input.
5149 (isfinite_test): Likewise.
5150 (isnormal_test): Likewise.
5151 (main): Call the new functions.
5152
55f11534
JN
51532012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5154
5155 [BZ #14660]
5156 * Makerules (%.dynsym): Force C locale when running
5157 $(OBJDUMP) --dynamic-syms.
5158
1ab29350
AS
51592012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5160
5161 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5162 <stdint.h>.
5163
f1ecb7ef
DM
51642012-10-06 David S. Miller <davem@davemloft.net>
5165
5166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5167 upper 32-bits of the length value in %o2 since we use branch-on-register
5168 tests which consider the entire 64-bit register.
5169
5d41d91a
L
51702012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5171
5172 * string/test-strstr.c (check2): Add a test for page boundary.
5173
3baddb72
DM
51742012-10-05 David S. Miller <davem@davemloft.net>
5175
5176 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5178 file.
5179 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5180 sysdep_routines.
5181 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5182 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5183 and bzero when HWCAP_SPARC_CRYPTO is present.
5184
9cee5585
L
51852012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5186
d7e0dab9
L
5187 [BZ #14602]
5188 * string/test-strstr.c (check2): New function.
5189 (test_main): Call check2.
5190
03759f47
L
5191 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5192 and bug-strchr1.
5193 * string/bug-strcasestr1.c (do_test): Moved to ...
5194 * string/test-strcasestr.c (check1): Here. New function.
5195 (do_one_test): Break out result checking code into ...
5196 (check_result): This. New function.
5197 (do_one_test): Call check_result.
5198 (test_main): Call check1.
5199 * string/bug-strchr1.c (do_test): Moved to ...
5200 * string/test-strchr.c (check1): Here. New function.
5201 (do_one_test): Break out result checking code into ...
5202 (check_result): This. New function.
5203 (do_one_test): Call check_result.
5204 (test_main): Call check1.
5205 * string/bug-strstr1.c (main): Moved to ...
046f153e 5206 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5207 (do_one_test): Break out result checking code into ...
5208 (check_result): This. New function.
5209 (do_one_test): Call check_result.
5210 (test_main): Call check1.
5211 * string/bug-strcasestr1.c: Removed.
5212 * string/bug-strchr1.c: Likewise.
5213 * string/bug-strstr1.c: Likewise.
5214
53cea63e
L
5215 * elf/Makefile (dl-routines): Add hwcaps.
5216 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5217 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5218 (_dl_important_hwcaps): Moved to ...
5219 * elf/dl-hwcaps.c: Here. New file.
5220 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5221
9cee5585 5222 [BZ #14557]
bb859b06
L
5223 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5224 if IS_IN_rtld isn't defined.
5225
9cee5585
L
5226 * elf/dl-support.c (_dl_sysinfo_map): New.
5227 Include "get-dynamic-info.h" and "setup-vdso.h".
5228 (_dl_non_dynamic_init): Call setup_vdso.
5229 * elf/dynamic-link.h: Don't include <assert.h>.
5230 (elf_get_dynamic_info): Moved to ...
5231 * elf/get-dynamic-info.h: Here. New file.
5232 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5233 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5234 * elf/setup-vdso.h: Here. New file.
5235 * elf/rtld.c: Include "setup-vdso.h".
5236 (dl_main): Call setup_vdso.
5237
23c31b76
JM
52382012-10-05 Joseph Myers <joseph@codesourcery.com>
5239
28234b07
JM
5240 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5241 creal in comment listing functions tested. List finite, isinf,
5242 isnan, isless, islessequal, isgreater, isgreaterequal,
5243 islessgreater, isunordered, lgamma_r and pow10 as functions and
5244 macros not tested. Mention which functions not tested are aliases
5245 for other functions. Fix typo. Note that signs of NaNs are not
5246 tested.
5247
23c31b76
JM
5248 * scripts/config.guess: Update from config.git.
5249 * scripts/config.sub: Likewise.
5250
9043e228
RM
52512012-10-04 Roland McGrath <roland@hack.frob.com>
5252
5253 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5254 * misc/madvise.c (madvise): Renamed to __madvise.
5255 Make madvise a weak alias.
5256 * include/sys/mman.h: Declare __madvise.
5257 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5258 * sysdeps/unix/syscalls.list
5259 (madvise): Make __madvise the strong name, and madvise a weak alias.
5260 * sysdeps/unix/sysv/linux/syscalls.list
5261 (madvise, mmap): Remove redundant entries.
5262 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5263 * malloc/malloc.c (mtrim): Likewise.
5264 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5265
f57f8055
RM
52662012-10-03 Roland McGrath <roland@hack.frob.com>
5267
5268 * sysdeps/mach/hurd/dl-cache.c: File removed.
5269 * config.h.in (USE_LDCONFIG): New #undef.
5270 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5271 * configure: Regenerated.
5272 * elf/Makefile (dl-routines): Add dl-cache only under
5273 [$(use-ldconfig) = yes].
5274 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5275 cache on [USE_LDCONFIG].
5276 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5277 [USE_LDCONFIG].
5278 * elf/rtld.c (dl_main): Likewise.
5279
5bb0c10a
PT
52802012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5281
5282 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5283 _SC_LEVEL4_CACHE_LINESIZE.
5284
010188c6
RM
52852012-10-03 Roland McGrath <roland@hack.frob.com>
5286
5287 * sysdeps/unix/bsd/confstr.h: File removed.
5288
b6c5ec07
AO
52892012-10-02 Alexandre Oliva <aoliva@redhat.com>
5290
5291 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5292 sys/sdt-config.h.
5293
408223d4
RM
52942012-10-02 Roland McGrath <roland@hack.frob.com>
5295
5296 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5297 Make 'mapoff' field ElfW(Off) rather than off_t.
5298
bb9510dc
DL
52992012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5300
fc997c6e
DL
5301 * nscd/Makefile: Remove nscd-cflags and all its users.
5302 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5303 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5304
bb9510dc
DL
5305 [BZ #10631]
5306 * malloc.c (malloc_printerr): Clarify error message.
5307
05699367
L
53082012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5309
5310 [BZ #14648]
5311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5312 Set bit_FMA_Usable if FMA is supported.
5313 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5314 macro.
5315 (bit_FMA4_Usable): Updated.
5316 (index_FMA_Usable): New macro.
5317 (CPUID_FMA): Likewise
5318 (HAS_FMA): Defined with bit_FMA_Usable.
5319
51367701
RM
53202012-10-01 Roland McGrath <roland@hack.frob.com>
5321
5322 * bits/types.h (__swblk_t): Type removed.
5323 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5324 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5326 (__SWBLK_T_TYPE): Likewise.
5327 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5328 (__SWBLK_T_TYPE): Likewise.
5329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5330 (__SWBLK_T_TYPE): Likewise.
5331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5332 (__SWBLK_T_TYPE): Likewise.
5333
4d57bf63 53342012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5335 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5336
5337 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5338 (xdr_mapname): Use YPMAXMAP as maxsize.
5339 (xdr_peername): Use YPMAXPEER as maxsize.
5340 (xdr_keydat): Use YPAXRECORD as maxsize.
5341 (xdr_valdat): Use YPMAXRECORD as maxsize.
5342
93c65d43
RM
53432012-10-01 Roland McGrath <roland@hack.frob.com>
5344
497a03d6
RM
5345 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5346
93c65d43
RM
5347 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5348 * csu/init-first.c: ... here.
5349 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5350 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5351 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5353 * sysdeps/i386/init-first.c: File removed.
5354 * sysdeps/sh/init-first.c: File removed.
5355
bec749fd
JM
53562012-10-01 Joseph Myers <joseph@codesourcery.com>
5357
5358 [BZ #14645]
5359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5360 if x * y might underflow to zero and z is zero.
5361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5363 * math/libm-test.inc (min_subnorm_value): New variable.
5364 (fma_test): Add more tests.
5365 (fma_test_towardzero): Likewise.
5366 (fma_test_downward): Likewise
5367 (fma_test_upward): Likewise.
5368 (initialize): Set min_subnorm_value.
5369
8ec5b013
JM
53702012-09-29 Joseph Myers <joseph@codesourcery.com>
5371
5372 [BZ #14638]
5373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5374 0 + 0.
5375 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5376 mode for addition resulting in exact zero.
5377 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5379 exact 0 + 0.
5380 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5382 * math/libm-test.inc (fma_test): Add more tests.
5383 (fma_test_towardzero): New function.
5384 (fma_test_downward): Likewise.
5385 (fma_test_upward): Likewise.
5386 (main): Call the new functions.
5387
b1fa802e
DM
53882012-09-28 David S. Miller <davem@davemloft.net>
5389
5390 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5391
d3b9fd9e
RM
53922012-09-28 Roland McGrath <roland@hack.frob.com>
5393
ea4d37b3
RM
5394 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5395 instead of SIGALRM.
5396
ac51c949
RM
5397 * sysdeps/gnu/_G_config.h: Moved to ...
5398 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5399 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5400 * sysdeps/generic/_G_config.h: ... here.
5401
28c195f7
RM
5402 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5403
848917f9
RM
5404 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5405
6bacf05b
RM
5406 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5407 Conditionalize target on [libnss_test1.so-version].
5408
91363dbb
RM
5409 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5410
cc87f7d8
RM
5411 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5412 (elfobjdir): Move out of conditionals.
5413
b1c608fe
RM
5414 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5415 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5416 (__nss_lookup_function): Conditionalize label remove_from_tree on
5417 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5418
1d9a6d96
DM
54192012-09-28 David S. Miller <davem@davemloft.net>
5420
5421 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5422 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5423 file.
5424 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5425 sysdep_routines.
5426 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5428 when HWCAP_SPARC_CRYPTO is present.
5429
72581615
PT
54302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5431
5432 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5433
715a900c
JL
54342012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5435
5436 [BZ #6530]
5437 * stdio-common/vfprintf.c (process_string_arg): Revert
5438 2000-07-22 change.
5439
54402011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5441
5442 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5443 for testcase.
5444 * stdio-common/tst-sprintf.c: Include <locale.h>
5445 (main): Test sprintf's handling of incomplete multibyte
5446 characters.
5447
9bac1d86
L
54482012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5449
5450 * elf/dl-runtime.c (VERSYMIDX): Removed.
5451 * elf/dl-version.c (VERSYMIDX): Likewise.
5452 * elf/do-rel.h (VERSYMIDX): Likewise.
5453 (VALIDX): Likewise.
5454 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5455 * elf/rtld.c (VALIDX): Likewise.
5456 (ADDRIDX): Likewise.
9bac1d86
L
5457 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5458 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5459 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5460 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5461 (VALIDX): Likewise.
5462 (ADDRIDX): Likewise.
9bac1d86 5463
b31606c0
PT
54642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5465
5466 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5467
11541177
JL
54682012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5469
5470 [BZ #11438]
5471 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5472 to global scope.
5473 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5474 addresses are in the same scope as 192.0.2/24.
5475 * posix/gai.conf: Document new scope table defaults.
5476
adb26fae
SP
54772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5478
5479 [BZ #5298]
5480 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5481 for ftell. Compute offsets from write pointers instead.
5482 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5483
4573c6b0
SP
54842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5485
5486 [BZ #14543]
5487 * libio/Makefile (tests): New test case tst-fseek.
5488 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5489 combination works in wide mode.
5490 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5491 state when the external buffer state changes.
5492
aa9bbfe6
DM
54932012-09-27 David S. Miller <davem@davemloft.net>
5494
5495 [BZ #14376]
5496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5497 pass reloc->r_addend in as the 'high' argument to
5498 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5499
784421e7
DM
5500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5501
c39bc8b8
PT
55022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5503
5504 * rt/tst-aio2.c: Include <pthread.h>.
5505 * rt/tst-aio3.c: Likewise.
5506
1ccc2399
SE
55072012-09-27 Steve Ellcey <sellcey@mips.com>
5508
5509 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5510
31ed4153
L
55112012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5512
25f5f885
L
5513 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5514 contents on [SHARED].
31ed4153 5515
b7bfe116
MP
55162012-09-26 Marek Polacek <polacek@redhat.com>
5517
5518 [BZ #14530]
5519 [BZ #13741]
5520 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5521 for C++ and GCC <4.3 as well as for non GCC compilers.
5522
43c4edba
MT
55232012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5524
5525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5526
6a1bf82f
RM
55272012-09-25 Roland McGrath <roland@hack.frob.com>
5528
5529 * Makefile.in (all, install): Declare with .PHONY.
5530 Reported by Michael Hope <michael.hope@linaro.org>.
5531
8ad11b9a
TMQMF
55322012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5533
5534 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5535 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5536 system header.
5537 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5538 Likewise.
5539 (sydep_routines): Add the new and the internal functions.
5540 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5541 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5543 (GLIBC_2.17): Add the new function.
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5545 (GLIBC_2.17): Likewise.
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5547 (GLIBC_2.17): Likewise.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5549 (GLIBC_2.17): Likewise.
5550 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5551
7e2fca8d
AM
55522012-09-25 Alan Modra <amodra@gmail.com>
5553
5554 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5555 Add release barrier before setting once_control to say
5556 initialisation is done. Add hints on lwarx. Use macro in
5557 place of isync.
5558 (clear_once_control): Add release barrier.
5559
b87c4b24
JM
55602012-09-25 Joseph Myers <joseph@codesourcery.com>
5561
d032e0d2
JM
5562 [BZ #13629]
5563 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5564 specially.
5565 * math/s_clog10.c (__clog10): Likewise.
5566 * math/s_clog10f.c (__clog10f): Likewise.
5567 * math/s_clog10l.c (__clog10l): Likewise.
5568 * math/s_clogf.c (__clogf): Likewise.
5569 * math/s_clogl.c (__clogl): Likewise.
5570 * math/Makefile (libm-calls): Add x2y2m1.
5571 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5572 (__x2y2m1): Likewise.
5573 (__x2y2m1l): Likewise.
5574 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5575 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5578 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5579 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5580 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5581 * sysdeps/i386/fpu/libm-test-ulps: Update.
5582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5583
b87c4b24
JM
5584 [BZ #14621]
5585 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5586 int as type of variable DEPTH.
5587 (glob): Use size_t instead of int as type of variables NEWCOUNT
5588 and OLD_PATHC.
5589
6d3bf199
LD
55902012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5591
22bf5c17
LD
5592 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5593 Add s_sincosf-sse2.
5594 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5595 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5596 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5597 macros for using routine as __sincosf_ia32.
5598 Use macro for function declaration and weak_alias.
5599 * sysdeps/i386/fpu/libm-test-ulps: Update.
5600
5601 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5603
5604 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5605 subnormal argument.
5606 * math/s_cexpf.c (__cexpf): Likewise.
5607 * math/s_csinf.c (__csinf): Likewise.
5608 * math/s_csinhf.c (__csinhf): Likewise.
5609 * math/s_ctanf.c (__ctanf): Likewise.
5610 * math/s_ctanhf.c (__ctanhf): Likewise.
5611 * math/s_ccosh.c (__ccoshf): Likewise.
5612 * math/s_cexp.c (__cexpl): Likewise.
5613 * math/s_csin.c (__csin): Likewise.
5614 * math/s_csinh.c (__csinh): Likewise.
5615 * math/s_ctan.c (__ctan): Likewise.
5616 * math/s_ctanh.c (ctanh): Likewise.
5617 * math/s_ccoshl.c (__ccoshl): Likewise.
5618 * math/s_cexpl.c (__cexpl): Likewise.
5619 * math/s_csinl.c (__csinl): Likewise.
5620 * math/s_csinhl.c (__csinhl): Likewise.
5621 * math/s_ctanl.c (__ctanl): Likewise.
5622 * math/s_ctanhl.c (__ctanhl): Likewise.
5623
203e5603
JM
56242012-09-25 Joseph Myers <joseph@codesourcery.com>
5625
5626 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5627 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5628 (_IO_off_t): Define to __off_t, not _G_off_t.
5629 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5630 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5631 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5632 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5633 type of __dummy and __dummy2 fields.
5634 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5635 (_G_ssize_t): Likewise.
5636 (_G_off_t): Likewise.
5637 (_G_pid_t): Likewise.
5638 (_G_uid_t): Likewise.
5639 (_G_wchar_t): Likewise.
5640 (_G_wint_t): Likewise.
5641 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5642 (_G_ssize_t): Likewise.
5643 (_G_off_t): Likewise.
5644 (_G_pid_t): Likewise.
5645 (_G_uid_t): Likewise.
5646 (_G_wchar_t): Likewise.
5647 (_G_wint_t): Likewise.
5648 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5649 (_G_ssize_t): Likewise.
5650 (_G_off_t): Likewise.
5651 (_G_pid_t): Likewise.
5652 (_G_uid_t): Likewise.
5653 (_G_wchar_t): Likewise.
5654 (_G_wint_t): Likewise.
5655
9fab36eb
SP
56562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5657
5658 * malloc/arena.c: Include malloc-sysdep.h.
5659 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5660 is sufficient to shrink the heap or an unmap is needed.
5661 * sysdeps/generic/malloc-sysdep.h: New file. Define
5662 new function check_may_shrink_heap.
5663 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5664 new function check_may_shrink_heap.
5665
2b4f00d1
SP
56662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5667
5668 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5669 comments.
5670
9a9028b1
DL
56712012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5672
57c69bef
DL
5673 * catgets/test-gencat.sh: Add "set -e".
5674 * elf/tst-pathopt.sh: Likewise.
5675 * grp/tst_fgetgrent.sh: Likewise.
5676 * iconvdata/run-iconv-test.sh: Likewise.
5677 * intl/tst-gettext.sh: Likewise.
5678 * intl/tst-gettext2.sh: Likewise.
5679 * intl/tst-gettext4.sh: Likewise.
5680 * intl/tst-gettext6.sh: Likewise.
5681 * intl/tst-translit.sh: Likewise.
5682 * io/ftwtest-sh: Likewise.
5683 * libio/test-freopen.sh: Likewise.
5684 * malloc/tst-mtrace.sh: Likewise.
5685 * posix/globtest.sh: Likewise.
5686 * posix/tst-getconf.sh: Likewise.
5687 * posix/wordexp-tst.sh: Likewise.
5688 * stdio-common/tst-printf.sh: Likewise.
5689 * stdio-common/tst-unbputc.sh: Likewise.
5690 * stdlib/tst-fmtmsg.sh: Likewise.
5691 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5692 * catgets/Makefile: Do not specify -e option when running
5693 testsuite shell scripts.
5694 * elf/Makefile: Likewise.
5695 * grp/Makefile: Likewise.
5696 * iconvdata/Makefile: Likewise.
5697 * intl/Makefile: Likewise.
5698 * io/Makefile: Likewise.
5699 * libio/Makefile: Likewise.
5700 * malloc/Makefile: Likewise.
5701 * posix/Makefile: Likewise.
5702 * stdio-common/Makefile: Likewise.
5703 * stdlib/Makefile: Likewise.
5704 * sysdeps/x86_64/Makefile: Likewise.
5705
9a9028b1
DL
5706 * io/ftwtest-sh: Add copyright header.
5707 * posix/globtest.sh: Likewise.
5708 * posix/tst-getconf.sh: Likewise.
5709 * posix/wordexp-tst.sh: Likewise.
5710 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5711
ced6f16e
L
57122012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5713
94b32c39
L
5714 [BZ #13679]
5715 * Makeconfig (+link): Defined as $(+link-static) if
5716 $(build-shared) isn't yes.
5717 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5718 isn't yes.
5719 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5720
189e935b
L
5721 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5722
ced6f16e
L
5723 [BZ #14562]
5724 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5725 new chunk size with MALLOC_ALIGN_MASK.
5726
a9f8e53a
JM
57272012-09-24 Joseph Myers <joseph@codesourcery.com>
5728
5729 [BZ #5044]
5730 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5731 <rounding-mode.h>.
5732 (__printf_fphex): Determine rounding using get_rounding_mode and
5733 round_away.
5734 * stdio-common/tst-printf-round.c (struct hex_test): New
5735 structure.
5736 (hex_tests): New variable.
5737 (test_hex_in_one_mode): New function.
5738 (do_test): Also run tests for hex float output.
5739
43153109
JM
57402012-09-21 Joseph Myers <joseph@codesourcery.com>
5741
5742 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5743 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5744 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5745 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5746 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5747 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5748 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5749 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5750
8a26625d
JM
57512012-09-20 Joseph Myers <joseph@codesourcery.com>
5752
5753 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5754 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5755 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5756 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5757
f3fd569c
DL
57582012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5759
5760 [BZ #14579]
5761 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5762 mode only.
5763 * elf/tst-rtld-load-self.sh: New test.
5764 * elf/Makefile: Run it.
5765
63bbedd4
JM
57662012-09-18 Joseph Myers <joseph@codesourcery.com>
5767
5768 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5769 (tst-writev-ENV): Remove.
5770 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5771
626f8b6a
CM
57722012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5773
5774 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5775
b7aaa4d6
JM
57762012-09-17 Joseph Myers <joseph@codesourcery.com>
5777
5778 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5779 unconditional.
5780 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5781 Likewise.
5782 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5783 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5784 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5785 Likewise.
5786
65513990
L
57872012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5788
5789 [BZ #14587]
5790 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5791 * config.make.in (have-cpp-asm-debuginfo): Removed.
5792 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5793 * configure: Regenerated.
5794
784761be
JM
57952012-09-14 Joseph Myers <joseph@codesourcery.com>
5796
5797 [BZ #5044]
5798 * stdio-common/printf_fp.c: Include <stdbool.h> and
5799 <rounding-mode.h>.
5800 (___printf_fp): Determine rounding using get_rounding_mode and
5801 round_away.
5802 * stdio-common/tst-printf-round.c: New file.
5803 * stdio-common/Makefile (tests): Add tst-printf-round.
5804 (link-libm): New variable.
5805 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5806
9503345f
L
58072012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5808
5809 [BZ #14576]
5810 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5811 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5812 Likewise.
5813 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5814 Likewise.
5815
ad35fc00
JM
58162012-09-13 Joseph Myers <joseph@codesourcery.com>
5817
5818 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5819 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5820 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5821 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5822
6c9b0f68
JM
58232012-09-12 Joseph Myers <joseph@codesourcery.com>
5824
5825 [BZ #14518]
5826 * include/rounding-mode.h: New file.
5827 * sysdeps/generic/get-rounding-mode.h: Likewise.
5828 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5829 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5830 (MAX_VALUE): New macro.
5831 (MIN_VALUE): Likewise.
5832 (overflow_value): New function.
5833 (underflow_value): Likewise.
5834 (round_and_return): Use overflow_value and underflow_value to
5835 determine return values in overflow and underflow cases. Use
5836 round_away to determine rounding depending on rounding mode.
5837 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5838 determine return values in overflow and underflow cases.
5839 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5840 (struct test_results): New structure.
5841 (struct test): Use struct test_results to store expected results
5842 for all rounding modes.
5843 (TEST): Include expected results for all rounding modes.
5844 (test_in_one_mode): New function.
5845 (do_test): Use test_in_one_mode to compute and check results.
5846 Check results for all rounding modes.
5847 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5848 $(link-libm).
5849
19fcedd5
AM
58502012-12-09 Allan McRae <allan@archlinux.org>
5851
1e9d84cd 5852 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5853
8bbfd2f1
JM
58542012-09-11 Joseph Myers <joseph@codesourcery.com>
5855
5856 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5857 (_G_int32_t): Likewise.
5858 (_G_uint16_t): Likewise.
5859 (_G_uint32_t): Likewise.
5860 (_G_HAVE_BOOL): Likewise.
5861 (_G_HAVE_ATEXIT): Likewise.
5862 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5863 (_G_HAVE_IO_FILE_OPEN): Likewise.
5864 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5865 (_G_int32_t): Likewise.
5866 (_G_uint16_t): Likewise.
5867 (_G_uint32_t): Likewise.
5868 (_G_HAVE_BOOL): Likewise.
5869 (_G_HAVE_ATEXIT): Likewise.
5870 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5871 (_G_HAVE_IO_FILE_OPEN): Likewise.
5872 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5873 (_G_int32_t): Likewise.
5874 (_G_uint16_t): Likewise.
5875 (_G_uint32_t): Likewise.
5876 (_G_HAVE_BOOL): Likewise.
5877 (_G_HAVE_ATEXIT): Likewise.
5878 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5879 (_G_HAVE_IO_FILE_OPEN): Likewise.
5880
b1dc5912
L
58812012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5882
5883 * csu/libc-tls.c: Update copyright years.
5884
0e886ef9
JM
58852012-09-10 Joseph Myers <joseph@codesourcery.com>
5886
28361c5e
JM
5887 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5888 [!_G_USING_THUNKS]: Remove conditional code.
5889 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5890 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5891
0e886ef9
JM
5892 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5893 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5894 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5895 (_G_VTABLE_LABEL_PREFIX): Likewise.
5896 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5897 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5898 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5899 (_G_VTABLE_LABEL_PREFIX): Likewise.
5900 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5901 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5902 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5903 (_G_VTABLE_LABEL_PREFIX): Likewise.
5904 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5905
bcba7aa2
L
59062012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5907
5908 * libio/Makefile: Include ../Makeconfig before tests.
5909 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5910 only if $(build-shared) is yes.
5911
06585ee8
L
5912 * iconv/gconv_db.c: Update copyright years.
5913
80ccd52c
LD
59142012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5915
5916 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5917 unwind info if defined PIC. Fix special cases description.
5918 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5919
5920 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5921 DP_HI_MASK entry.
5922 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5923
691bc9c1
L
59242012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5925
3d9b46b3
L
5926 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5927
de2139a9
L
5928 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5929 is NULL.
5930
5ca78dd0
L
5931 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5932 (LDLIBS-tst-chk4): This.
5933 (LDFLAGS-tst-chk5): Renamed to ...
5934 (LDLIBS-tst-chk5): This.
5935 (LDFLAGS-tst-chk6): Renamed to ...
5936 (LDLIBS-tst-chk6): This.
5937 (LDFLAGS-tst-lfschk4): Renamed to ...
5938 (LDLIBS-tst-lfschk4): This.
5939 (LDFLAGS-tst-lfschk5): Renamed to ...
5940 (LDLIBS-tst-lfschk5): This.
5941 (LDFLAGS-tst-lfschk6): Renamed to ...
5942 (LDLIBS-tst-lfschk6): This.
5943
691bc9c1
L
5944 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5945 on $(common-objpfx)soversions.mk.
5946
65cafb1c
JM
59472012-09-07 Joseph Myers <joseph@codesourcery.com>
5948
5949 [BZ #10014]
5950 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5951 example host name.
5952
c78ab094
SP
59532012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5954
5955 * malloc/arena.c (arena_get_retry): New function that gets
5956 another arena for the caller to try its request on.
5957 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5958 current arena cannot fulfill the request.
5959 (__libc_memalign): Likewise.
5960 (__libc_memalign): Likewise.
5961 (__libc_pvalloc): Likewise.
5962 (__libc_calloc): Likewise.
5963
01f49f59
JT
59642012-09-05 John Tobey <john.tobey@gmail.com>
5965
5966 [BZ #13542]
5967 * manual/arith.texi (Operations on Complex): Fix description
5968 of carg branch cut.
5969
4c23fed5
JM
59702012-09-06 Joseph Myers <joseph@codesourcery.com>
5971
1d3c8572
JM
5972 [BZ #10014]
5973 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5974 host name.
5975
4c23fed5
JM
5976 [BZ #10038]
5977 * manual/memory.texi (Memory): Make order of menu items match
5978 order of sections.
5979
04570aaa
L
59802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5981
5982 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5983 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5984 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5985
b80af2f4
L
59862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5987
5988 * csu/libc-tls.c (static_dtv): Renamed to ...
5989 (_dl_static_dtv): This. Make it global.
5990 (_dl_initial_dtv): Removed.
5991 (__libc_setup_tls): Updated.
5992 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5993 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5994 DL_INITIAL_DTV.
5995
2abe9f15
PM
59962012-09-06 Petr Machata <pmachata@redhat.com>
5997
5998 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5999 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6000 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6001 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6002
0948c3af
L
60032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6004
6005 [BZ #14545]
6006 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6007 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6008 freeing dtv[-1].
6009
a5055ad1
L
60102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6011
6012 [BZ #14544]
6013 * Makeconfig (link-static-before-libc): Replace $(+prector)
6014 with $(+prectorT).
6015 (link-static-after-libc): Replace $(+postctor) with
6016 $(+postctorT).
6017 (link-bounded): Replace $(+prector)/$(+postctor) with
6018 $(+prectorT)/$(+postctorT).
6019 (+prectorT): New macro.
6020 (+postctorT): Likewise.
6021
ed8c2ecd
JM
60222012-09-06 Joseph Myers <joseph@codesourcery.com>
6023
6024 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6025 (round_str): Handle values above the maximum for IBM long double
6026 as inexact.
6027 * stdlib/tst-strtod-round.c (tests): Regenerated.
6028
14c996c8
AK
60292012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6030
6031 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6032 assembler flag.
6033 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6034 zarch_nohighgprs around the zarch optimized routines.
6035 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6036 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6037 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6038 for zarch.
6039
430d6ce6
DM
60402012-09-05 David S. Miller <davem@davemloft.net>
6041
6042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6043
ff04dda4
DM
6044 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6045 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6046 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6047 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6048 entries.
6049
24d4e01b
AO
60502012-09-05 Alexandre Oliva <aoliva@redhat.com>
6051
6052 * malloc/arena.c: Fold copyright years.
6053 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6054
61d58174
AO
60552012-09-05 Alexandre Oliva <aoliva@redhat.com>
6056
6057 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6058
20196a5e
AO
60592012-09-05 Alexandre Oliva <aoliva@redhat.com>
6060
6061 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6062
5c447383
AO
60632012-09-05 Alexandre Oliva <aoliva@redhat.com>
6064
6065 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6066 change internal state upon failure.
6067
fad64255
AO
60682012-09-05 Alexandre Oliva <aoliva@redhat.com>
6069
6070 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6071 * malloc/memusage.c (mmap): Likewise.
6072 (mmap64, mremap): Likewise. Adjust name in comment.
6073
1ffb8c90
SP
60742012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6075
6076 * libio/fileops.c: Fix typos in comments.
6077 * libio/oldfileops.c: Likewise.
6078 * libio/wfileops.c: Likewise.
6079
6ef9cc37
SP
60802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6081
6082 [BZ #1349]
6083 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6084 (tst-malloc-usable-ENV): Set environment for test case.
6085 * malloc/hooks.c (malloc_check_get_size): New function to get
6086 requested size.
6087 * malloc/malloc.c (musable): Use malloc_check_get_size.
6088 * malloc/tst-malloc-usable.c: New test case.
6089
4d038ae3
AS
60902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6091
6092 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6093
c4e85184
AM
60942012-09-05 Allan McRae <allan@archlinux.org>
6095
b9dafc56 6096 [BZ #13966]
c4e85184
AM
6097 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6098 determine header location.
6099 * configure: Regenerated.
6100
e1343020
AS
61012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6102
6103 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6104 float format.
6105 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6106 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6107 format.
e1343020
AS
6108 (test): Regenerate.
6109
0a9f1987
DM
61102012-09-04 David S. Miller <davem@davemloft.net>
6111
6112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6114 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6115
29237804
FW
61162012-09-04 Florian Weimer <fweimer@redhat.com>
6117
6118 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6119 failures.
6120
edb3cb88
FW
6121 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6122
60160d83
JM
61232012-09-04 Joseph Myers <joseph@codesourcery.com>
6124
6125 [BZ #9914]
6126 * libio/iogetdelim.c: Include <limits.h>.
6127 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6128 + len + 1 would overflow.
6129
bcd6c8dc
AJ
61302012-09-03 Andreas Jaeger <aj@suse.de>
6131
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6133 * sysdeps/i386/fpu/libm-test-ulps: Update.
6134
4ffffbd2
LD
61352012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6136
6137 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6138 Add s_sinf-sse2, s_conf-sse2.
6139
6140 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6141 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6142 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6143 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6144
6145 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6146 for using routine as __sinf_ia32.
6147 Use macro for function declaration and weak_alias.
6148 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6149 for using routine as __cosf_ia32.
6150 Use macro for function declaration and weak_alias.
6151
6152 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6153 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6154
6155 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6156 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6158
6159 * math/libm-test.inc (cos_test): Add more test cases.
6160 (sin_test): Likewise.
6161 (sincos_test): Likewise.
6162
511fa286
AK
61632012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6164
6165 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6166 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6167 hidden.
6168 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6169
5f30cfec
L
61702012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6171
6172 [BZ #14538]
6173 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6174 first element of the GOT.
6175 (elf_machine_load_address): Return the difference between
6176 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6177
0786794f
AM
61782012-09-01 Allan McRae <allan@archlinux.org>
6179
5f30cfec
L
6180 [BZ #13412]
6181 * configure.in (AWK): Require gawk version 3.0 or later.
6182 * configure: Regenerated.
0786794f 6183
26889eac
JM
61842012-09-01 Joseph Myers <joseph@codesourcery.com>
6185
6186 * sysdeps/unix/sysv/linux/kernel-features.h
6187 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6188 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6189 [__NR_clock_getres]: Make code unconditional.
6190 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6191 (clock_getcpuclockid): Remove code left unreachable by removal of
6192 conditionals.
6193 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6194 code unconditional.
6195 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6196 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6197 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6198 Make code unconditional.
6199 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6200 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6201 * sysdeps/unix/sysv/linux/clock_settime.c
6202 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6203 conditional code.
6204 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6205 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6206
d22e28b0
L
62072012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6208
6209 [BZ #14476]
6210 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6211 scripts/test-installation.pl.
6212
6213 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6214 and $ld_so_version if it is set.
6215
050af9c4
SP
62162012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6217
6218 [BZ #14516]
6219 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6220 failure if reading from procfs failed.
6221 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6222
ad845c0b
JM
62232012-08-27 Joseph Myers <joseph@codesourcery.com>
6224
6225 * sysdeps/unix/sysv/linux/kernel-features.h
6226 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6227 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6228 Remove conditional code.
6229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6230 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6231 Remove conditional code.
6232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6233 * sysdeps/unix/sysv/linux/i386/fxstat.c
6234 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6236 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6237 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6239 * sysdeps/unix/sysv/linux/i386/lxstat.c
6240 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6242 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6243 Remove conditional code.
6244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6245 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6246 Remove conditional code.
6247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6248 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6249 <kernel-features.h>.
6250 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6251 Remove.
6252 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6253 Remove conditional code.
6254 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6255 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6256 Remove conditional.
6257
5dbf56af
MF
62582012-08-27 Mike Frysinger <vapier@gentoo.org>
6259
6260 [BZ #5400]
6261 * NEWS: Add fixed bug number.
6262
d6e70f43
JM
62632012-08-27 Joseph Myers <joseph@codesourcery.com>
6264
7efb4737
JM
6265 [BZ #14519]
6266 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6267 underflowing exponent in case of negative sign.
6268 * stdlib/tst-strtod-round-data: Add more tests.
6269 * stdlib/tst-strtod-round.c (tests): Regenerated.
6270
af92131a
JM
6271 [BZ #3479]
6272 * stdlib/strtod_l.c (NDIG): Remove.
6273 (HEXNDIG): Likewise.
6274 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6275 smallest representable value.
6276 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6277 lie within an exact representation of 1/2 ulp of the result.
6278 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6279 unconditionally.
6280 (TENS_P9_IDX): Define unconditionally.
6281 (TENS_P9_SIZE): Likewise.
6282 (TENS_P10_IDX): Likewise.
6283 (TENS_P10_SIZE): Likewise.
6284 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6285 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6286 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6287 entries for 10^2^13 and 10^2^14.
6288 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6289 (TENS_P13_IDX): Define.
6290 (TENS_P13_SIZE): Likewise.
6291 (TENS_P14_IDX): Likewise.
6292 (TENS_P14_SIZE): Likewise.
6293 (_fpioconst_pow10): Change array size to
6294 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6295 unconditional.
6296 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6297 1024]: Add entries for 10^2^13 and 10^2^14.
6298 [LAST_POW10 > _LAST_POW10]: Remove #error.
6299 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6300 (_fpioconst_pow10): Change array size to
6301 FPIOCONST_POW10_ARRAY_SIZE.
6302 * stdlib/gen-fpioconst.c: New file.
6303 * stdlib/gen-tst-strtod-round.c: Likewise.
6304 * stdlib/tst-strtod-round-data: Likewise.
6305 * stdlib/tst-strtod-round.c: Likewise.
6306 * stdlib/Makefile (tests): Add tst-strtod-round.
6307
d6e70f43
JM
6308 [BZ #14459]
6309 * stdlib/strtod_l.c: Include <stdint.h>.
6310 (NDEBUG): Do not define.
6311 (round_and_return): Change EXPONENT parameter to type intmax_t.
6312 Rearrange calculations to avoid internal overflow possibilities.
6313 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6314 Rearrange calculations to avoid internal overflow possibilities.
6315 Assert that number fits inside MPNSIZE limbs.
6316 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6317 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6318 calculations and add assertions to avoid internal overflow
6319 possibilities. Add casts to avoid signed/unsigned operations.
6320 * stdlib/tst-strtod-overflow.c: New file.
6321 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6322
1f529f7d
MP
63232012-08-25 Marek Polacek <polacek@redhat.com>
6324
6325 * time/time.h: Fix some typos in comments.
6326
59a629f1
RM
63272012-08-23 Roland McGrath <roland@hack.frob.com>
6328
6329 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6330 * posix/tst-rfc3484-2.c: Likewise.
6331 * posix/tst-rfc3484-3.c: Likewise.
6332
d3bafbc9
SM
63332012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6334
6335 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6336 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6337
4efcc022
JM
63382012-08-23 Joseph Myers <joseph@codesourcery.com>
6339
6340 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6341 #include of fxstatat64.c.
6342
3cc3ef96
RM
63432012-08-22 Roland McGrath <roland@hack.frob.com>
6344
f04e2132
RM
6345 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6346 * shadow/getspent_r.c: Likewise.
6347 * shadow/getspnam.c: Likewise.
6348 * shadow/getspnam_r.c: Likewise.
6349 * gshadow/getsgent.c: Likewise.
6350 * gshadow/getsgent_r.c: Likewise.
6351 * gshadow/getsgnam.c: Likewise.
6352 * gshadow/getsgnam_r.c: Likewise.
6353 * inet/getnetbyad.c: Likewise.
6354 * inet/getnetbyad_r.c: Likewise.
6355 * inet/getnetbynm.c: Likewise.
6356 * inet/getnetbynm_r.c: Likewise.
6357 * inet/getnetent.c: Likewise.
6358 * inet/getnetent_r.c: Likewise.
6359 * inet/getproto.c: Likewise.
6360 * inet/getproto_r.c: Likewise.
6361 * inet/getprtent.c: Likewise.
6362 * inet/getprtent_r.c: Likewise.
6363 * inet/getprtname.c: Likewise.
6364 * inet/getprtname_r.c: Likewise.
6365 * inet/getrpcbyname.c: Likewise.
6366 * inet/getrpcbyname_r.c: Likewise.
6367 * inet/getrpcbynumber.c: Likewise.
6368 * inet/getrpcbynumber_r.c: Likewise.
6369 * inet/getrpcent.c: Likewise.
6370 * inet/getrpcent_r.c: Likewise.
6371 * inet/getaliasent.c: Likewise.
6372 * inet/getaliasent_r.c: Likewise.
6373 * inet/getaliasname.c: Likewise.
6374 * inet/getaliasname_r.c: Likewise.
6375 * nscd/getgrgid_r.c: Likewise.
6376 * nscd/getgrnam_r.c: Likewise.
6377 * nscd/gethstbyad_r.c: Likewise.
6378 * nscd/gethstbynm3_r.c: Likewise.
6379 * nscd/getpwnam_r.c: Likewise.
6380 * nscd/getpwuid_r.c: Likewise.
6381 * nscd/getsrvbynm_r.c: Likewise.
6382 * nscd/getsrvbypt_r.c: Likewise.
6383 * nscd/gai.c: Likewise.
6384
c53d909c
RM
6385 * configure.in (build_nscd): New substituted variable, set
6386 by --disable-build-nscd and defaults to $use_nscd.
6387 * configure: Regenerated.
6388 * config.make.in (build-nscd): New substituted variable.
6389 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6390 Change conditional to require [$(build-nscd) = yes] as well.
6391 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6392
3cc3ef96
RM
6393 [BZ# 13696]
6394 * configure.in (use_nscd): New substituted variable, set by
6395 --disable-nscd. If enabled, define USE_NSCD.
6396 * configure: Regenerated.
6397 * config.h.in: Add USE_NSCD.
6398 * config.make.in (use-nscd): New substituted variable.
6399 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6400 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6401 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6402 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6403 (CFLAGS-getgrnam_r.c): Likewise.
6404 (CFLAGS-initgroups.c): Likewise.
6405 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6406 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6407 Variables removed.
6408 * inet/getnetgrent_r.c
6409 (nscd_setnetgrent): New function, broken out of ...
6410 (setnetgrent): ... here. Call it.
6411 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6412 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6413 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6414 * nscd/Makefile (routines, aux): Move definitions after include of
6415 Makeconfig. Conditionalize on [$(use-nscd) != no].
6416 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6417 Conditionalize on [USE_NSCD].
6418 (is_nscd, nscd_init_cb): Likewise.
6419 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6420 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6421 * nss/nss_db/db-init.c: Likewise.
6422 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6423 [USE_NSCD].
6424 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6425 (make_request): Use it.
6426 (cache_valid_p): New function.
6427 (__check_pf): Use it.
6428 * NEWS: Add item for --disable-nscd.
6429
07e51550
DL
64302012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6431
6432 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6433 to support sed >= 4.2.1-20-ga9bf076.
6434 * configure: Regenerated.
6435
35a5b08b
RM
64362012-08-22 Roland McGrath <roland@hack.frob.com>
6437
6438 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6439 Conditionalize whole body on [IREL].
6440
8479f23a
JL
64412012-08-22 Jeff Law <law@redhat.com>
6442
6443 [BZ #14505]
6444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6445 if the family is PF_UNSPEC.
6446
48da0b21
MF
64472012-08-22 Mike Frysinger <vapier@gentoo.org>
6448
6449 * Makerules (lib-version): Rename from V.
6450 (install-lib-nosubdir): Change V to lib-version.
6451
15d0da8c
WS
64522012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6453
6454 [BZ #14252]
6455 * powerpc32/power6/wcschr.c: New file.
6456 * powerpc32/power6/wcscpy.c: New file.
6457 * powerpc32/power6/wcsrchr.c: New file.
6458 * powerpc64/power6/wcschr.c: New file.
6459 * powerpc64/power6/wcscpy.c: New file.
6460 * powerpc64/power6/wcsrchr.c: New file.
6461
bcca0895
MK
64622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6463
6464 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6465 (two_way_short_needle): Use it.
5a4aaa33
RM
6466 * string/strstr.c (AVAILABLE1_USES_J): Define.
6467 * string/strcasestr.c: Likewise.
99677e57
MK
6468
6469 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6470 array references.
6471 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6472
400726de
MK
6473 [BZ #11607]
6474 * NEWS: Add an entry.
6475 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6476 define their defaults.
6477 (two_way_short_needle): Detect end-of-string on-the-fly.
6478 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6479 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6480 * string/bug-strcasestr1.c: New test.
6481 * string/Makefile: Run it.
6482
20a71f2c
MK
64832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6484
6485 [BZ #11607]
6486 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6487 the first character.
6488
21ad0558
RM
64892012-08-21 Roland McGrath <roland@hack.frob.com>
6490
6491 * csu/elf-init.c (__libc_csu_irel): Function removed.
6492 * csu/libc-start.c (apply_irel): New function.
6493 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6494
0e1d9911
JM
64952012-08-21 Joseph Myers <joseph@codesourcery.com>
6496
6497 * sysdeps/unix/sysv/linux/kernel-features.h
6498 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6499 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6500 <kernel-features.h>.
6501 [__NR_fadvise64_64]: Make code unconditional.
6502 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6503 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6504 !__NR_fadvise64_64)]: Likewise.
6505 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6506 !__NR_fadvise64_64))]: Likewise.
6507 [__NR_fadvise64]: Make code unconditional.
6508 [!__NR_fadvise64]: Remove conditional code.
6509 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6510 <kernel-features.h>.
6511 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6512 unconditional.
6513 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6514 conditional code.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6516 not include <kernel-features.h>.
6517 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6518 unconditional.
6519 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6520 conditional code.
6521 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6522 include <kernel-features.h>.
6523 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6524 unconditional.
6525 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6526 conditional code.
6527
14a50c9d
WS
65282012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6529
6530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6531 slight instruction rearrangements per scrollpipe analysis.
6532 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6533
c0f4faf0
RM
65342012-08-20 Roland McGrath <roland@hack.frob.com>
6535
696da859
RM
6536 * manual/syslog.texi (syslog; vsyslog, closelog):
6537 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6538 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6539
c0f4faf0
RM
6540 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6541 DSOCAPS to match condition on defining it.
6542
348363b2
JM
65432012-08-20 Joseph Myers <joseph@codesourcery.com>
6544
a35cbf28
JM
6545 * sysdeps/unix/sysv/linux/kernel-features.h
6546 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6548 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6549 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6551 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6552 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6554 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6555 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6556
445f7ecd
JM
6557 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6558 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6559
348363b2
JM
6560 * sysdeps/unix/sysv/linux/kernel-features.h
6561 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6562 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6563 unconditional.
6564 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6565 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6566 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6567 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6568 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6569 Make code unconditional.
6570 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6571 (__mmap64) [!__NR_mmap2]: Likewise.
6572 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6573 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6574 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6575 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6576 [__NR_mmap2]: Make code unconditional.
6577 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6578 (__mmap64) [!__NR_mmap2]: Likewise.
6579
bc5bc0e5
AK
65802012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6581
6582 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6583
88d506de
AJ
65842012-08-18 Andreas Jaeger <aj@suse.de>
6585
6586 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6587
493387d2
MF
65882012-08-18 Mike Frysinger <vapier@gentoo.org>
6589
6590 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6591 * include/unistd.h (__have_sock_cloexec): Likewise.
6592 (__have_pipe2): Likewise.
6593 (__have_dup3): Likewise.
6594
a277af22
MF
65952012-08-18 Mike Frysinger <vapier@gentoo.org>
6596
6597 [BZ #9685]
6598 * include/unistd.h (__have_pipe2): Change define into an extern int.
6599 (__have_dup3): Likewise.
6600 * socket/have_sock_cloexec.c: Include fcntl.h.
6601 (__have_pipe2): New variable.
6602 (__have_dup3): Likewise.
6603
fdab8fd3
MF
66042012-08-17 Mike Frysinger <vapier@gentoo.org>
6605
6606 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6607
31035e80
MP
66082012-08-17 Marek Polacek <polacek@redhat.com>
6609
6610 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6611 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6612
3bd9e993
RM
66132012-08-17 Roland McGrath <roland@hack.frob.com>
6614
c91c505f
RM
6615 * configure.in: Add AC_SUBST for sysheaders.
6616 * configure: Regenerated.
6617 * config.make.in (sysheaders): New substituted variable.
6618
7c6f9d53
RM
6619 * sysdeps/unix/mkfifo.c: Moved ...
6620 * sysdeps/posix/mkfifo.c: ... here.
6621 * sysdeps/unix/mkfifoat.c: Moved ...
6622 * sysdeps/posix/mkfifoat.c: ... here.
6623
6624 * sysdeps/unix/utime.c: Moved ...
6625 * sysdeps/posix/utime.c: ... here.
6626
6627 * sysdeps/unix/time.c: Moved ...
6628 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6629 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6630 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6631
6632 * sysdeps/unix/nice.c: Moved ...
6633 * sysdeps/posix/nice.c: ... here.
6634
6635 * sysdeps/unix/alarm.c: Moved ...
6636 * sysdeps/posix/alarm.c: ... here.
6637
3bd9e993
RM
6638 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6639
d1f09384
JL
66402012-08-17 Jeff Law <law@redhat.com>
6641
6642 * intl/Makefile (codeset_mo): New variable.
6643 ($(codeset_mo)): New target.
6644 (tst-codeset.out): Depend on that. Remove explicit rule.
6645 (tst-gettext3.out, tst-gettext5.out): Likewise.
6646 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6647 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6648 * intl/tst-codeset.sh: Remove.
6649 * intl/tst-gettext3.sh: Likewise.
6650 * intl/tst-gettext5.sh: Likewise.
6651
2ae1ae5c
RM
66522012-08-17 Roland McGrath <roland@hack.frob.com>
6653
c31fdb83
RM
6654 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6655 * sysdeps/unix/syscalls.list: ... here.
6656
a0844057
RM
6657 * sysdeps/posix/getaddrinfo.c
6658 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6659 (gaiconf_init, gaiconf_reload): Use them.
6660 [!_STATBUF_ST_NSEC]
6661 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6662 Define using time_t rather than struct timespec.
6663
750c1f2a
RM
6664 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6665 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6666 Macros removed.
6667 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6668 [!NO_THREADS].
6669 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6670 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6671 Likewise.
6672
2ae1ae5c
RM
6673 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6674 __libc_cleanup_push argument.
6675
e66a42f5
RM
6676 * bits/param.h: New file.
6677 * misc/sys/param.h: New file.
6678 * include/sys/param.h: New file.
6679 * misc/Makefile (headers): Add bits/param.h.
6680 * sysdeps/generic/sys/param.h: File removed.
6681 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6682 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6683 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6684 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6685
b7c08a66
RM
6686 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6687 last change.
6688
b2e1c562
RM
6689 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6690 [_IO_MTSAFE_IO].
6691 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6692 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6693 New macros.
6694
c75ccd4c
RM
6695 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6696 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6697 rather than -D_IO_MTSAFE_IO conditionally.
6698 * stdio-common/Makefile (CPPFLAGS): Likewise.
6699 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6700 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6701 Use $(libio-mtsafe).
6702 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6703 of -D_IO_MTSAFE_IO.
6704 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6705 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6706 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6707 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6708 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6709 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6710 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6711 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6712 (CFLAGS-fread_u_chk.c): Likewise.
6713 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6714 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6715 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6716 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6717 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6718 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6719 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6720 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6721 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6722
6723 * libio/Makefile: Test [$(libc-reentrant) = yes]
6724 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6725
6726 * Makeconfig
6727 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6728 * sysdeps/pthread/configure: File removed.
6729 * sysdeps/pthread/Makeconfig: New file.
6730 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6731 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6732
d9195db8
GB
67332012-08-16 Gary Benson <gbenson@redhat.com>
6734
6735 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6736 unmapping the first object in a namespace.
6737
86466cd9
RM
67382012-08-16 Roland McGrath <roland@hack.frob.com>
6739
6740 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6741 (__internal_setnetgrent): ... this. Add internal_function to
6742 definition. Add libc_hidden_def.
6743 (setnetgrent): Update caller.
6744 (internal_endnetgrent): Renamed to ...
6745 (__internal_endnetgrent): ... this. Add internal_function to
6746 definition. Add libc_hidden_def.
6747 (endnetgrent): Update caller.
6748 (internal_getnetgrent_r): Renamed to ...
6749 (__internal_getnetgrent_r): ... this. Add internal_function to
6750 definition. Add libc_hidden_def.
6751 (__getnetgrent_r): Update caller.
6752 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6753
c3c8283c
JM
67542012-08-16 Joseph Myers <joseph@codesourcery.com>
6755
6756 * stdlib/longlong.h: Update from GCC.
6757
db1ee0a8
RM
67582012-08-16 Roland McGrath <roland@hack.frob.com>
6759
6760 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6761 on _QL, which is set by umul_ppmm but never used.
6762 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6763 variables, which are set by GMP macros but never used.
6764 * stdio-common/_itowa.c (_itowa): Likewise.
6765 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6766 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6767
30f69637
CD
67682012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6769
6770 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6771 struct La_sh_regs is not constant.
6772 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6773 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6774 and struct La_sparc64_regs are not constant.
6775
93a78ac4
JM
67762012-08-16 Joseph Myers <joseph@codesourcery.com>
6777
6778 * sysdeps/unix/sysv/linux/kernel-features.h
6779 (__ASSUME_POSIX_TIMERS): Remove.
6780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6781 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6782 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6783 Make code unconditional.
6784 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6785 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6786 Make code unconditional.
6787 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6788 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6789 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6790 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6791 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6792 Make code unconditional.
6793 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6794 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6795 (__libc_missing_posix_timers): Remove.
6796
dd924cd7
RM
67972012-08-15 Roland McGrath <roland@hack.frob.com>
6798
4b4f2771
RM
6799 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6800 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6801
601c888b
RM
6802 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6803
176790a7
RM
6804 * elf/dl-sym.c: Include <stdlib.h>.
6805
329bc018
RM
6806 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6807 constants, which avoids warnings in 32-bit builds.
6808
e04e272d
RM
6809 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6810 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6811
952bf94a
RM
6812 * misc/lseek.c: File moved to ...
6813 * io/lseek.c: ... here.
6814
7c99b50a
RM
6815 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6816
dd924cd7
RM
6817 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6818 shifting LEN more than 31 bits at once.
6819
b3f479a8
LD
68202012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6821
6822 [BZ #14195]
8c4ae0d4
RM
6823 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6824 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6825 * string/test-strncasecmp.c (check1): Renamed to...
6826 (bz12205): ...this.
6827 (bz14195): Add new testcase for two empty input strings and N > 0.
6828 (test_main): Call new testcase, adapt for renamed function.
6829
9c55864e
AJ
68302012-08-15 Andreas Jaeger <aj@suse.de>
6831
6832 [BZ #14090]
6833 * crypt/md5test2.c: New test, based on test supplied by Serge
6834 Belyshev <belyshev@depni.sinp.msu.ru>.
6835 * crypt/Makefile (xtests): Add md5test-giant..
6836 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6837
02dcb6c5
PE
68382012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6839
6840 [BZ #14090]
6841 * crypt/md5.c (md5_process_block): Don't assume the buffer
6842 length is less than 2**32.
6843 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6844 length is less than 2**64.
6845
a3f95dcc
RM
68462012-08-15 Roland McGrath <roland@hack.frob.com>
6847
be75d758
RM
6848 * string/str-two-way.h: Include <sys/param.h>.
6849 (MAX): Macro removed.
6850
7312ca90
RM
6851 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6852 Move #define and #undef of memmove to just before and after
6853 including <string.h>.
6854
9a0a5486
RM
6855 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6856 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6857 and after including <string.h>. Move declarations of
6858 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6859 to before #include "string/memmove.c".
6860
67cc348d
RM
6861 * include/dirent.h: Declare __getdirentries.
6862
a3f95dcc
RM
6863 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6864 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6865
ca98e171
MF
68662012-08-14 Mike Frysinger <vapier@gentoo.org>
6867
6868 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6869 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6870 * sysdeps/i386/configure: Regenerated.
6871 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6872 STABS_CURRENT_FILE, and STABS_FUN.
6873 (END): Remove call to STABS_FUN_END.
6874 (STABS_CURRENT_FILE1): Delete.
6875 (STABS_CURRENT_FILE): Likewise.
6876 (STABS_FUN): Likewise.
6877 (STABS_FUN_END): Likewise.
6878 (STABS_FUN2): Likewise.
6879 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6880 * sysdeps/x86_64/configure: Regenerated.
6881
5908bf46
RM
68822012-08-14 Roland McGrath <roland@hack.frob.com>
6883
6884 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6885 * elf/dl-lookup.c: Likewise.
5908bf46 6886
f2c05b9e
JM
68872012-08-14 Joseph Myers <joseph@codesourcery.com>
6888
6889 * sysdeps/unix/sysv/linux/kernel-features.h
6890 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6891 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6892 unconditionally.
6893 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6894 unconditionally.
6895 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6896 condition on __ASSUME_CLONE_THREAD_FLAGS.
6897
e11f5155
AJ
68982012-08-14 Andreas Jaeger <aj@suse.de>
6899
6900 * sysdeps/i386/fpu/libm-test-ulps: Update.
6901
51a9ba86
MK
69022012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6903
2fdd4f78
AJ
6904 * include/atomic.h (atomic_exchange_and_add): Split into ...
6905 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6906 New atomic macros.
51a9ba86 6907
ba6cba9e
MT
69082012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6909
6910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6911
42443a47
JL
69122012-08-13 Jeff Law <law@redhat.com>
6913
6914 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6915 null byte in the output string.
6916
121dce05
JM
69172012-08-10 Joseph Myers <joseph@codesourcery.com>
6918
6919 * sysdeps/unix/sysv/linux/kernel-features.h
6920 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6921 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6922 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6923 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6924 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6925 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6926 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6927
bf51f568
JL
69282012-08-09 Jeff Law <law@redhat.com>
6929
6930 [BZ #13939]
6931 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6932 When avoid_arena is set, don't retry in the that arena. Pick the
6933 next one, whatever it might be.
6934 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6935 (arena_lock): Pass in new parameter to arena_get2.
6936 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6937 arena_get2.
6938 (__libc_malloc): Unify retrying after main arena failure with
6939 __libc_memalign version.
6940 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6941
f85fa270
L
69422012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6943
6944 [BZ #14166]
6945 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6946 to __redirect_strstr.
6947 (__strstr_sse42): Use typeof __redirect_strstr.
6948 (__strstr_ia32): Likewise.
6949 (__libc_strstr): New prototype.
6950 (strstr): Renamed to ...
6951 (__libc_strstr): This.
6952 (strstr): New strong alias of __libc_strstr.
6953 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6954 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6955 __redirect_time.
6956 Include <time.h>.
6957 (__libc_time): New prototype.
6958 (time_ifunc): Replace time with __libc_time.
6959 (time): New strong alias and hidden definition of __libc_time.
6960 (__GI_time): Remove strong alias.
6961 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6962 Include <stddef.h>.
6963 (memmove): Redefined to __redirect_memmove.
6964 (__memmove_sse2): Use typeof __redirect_memmove.
6965 (__memmove_ssse3): Likewise.
6966 (__memmove_ssse3_back): Likewise.
6967 (__libc_memmove): New prototype.
6968 (memmove): Renamed to ...
6969 (__libc_memmove): This.
6970 (memmove): New strong alias of __libc_memmove.
6971
33b4a91e
MS
69722012-08-08 Mark Salter <msalter@redhat.com>
6973
6974 * elf/elf.h
6975 (R_MN10300_TLS_GD): Define.
6976 (R_MN10300_TLS_LD): Likewise.
6977 (R_MN10300_TLS_LDO): Likewise.
6978 (R_MN10300_TLS_GOTIE): Likewise.
6979 (R_MN10300_TLS_IE): Likewise.
6980 (R_MN10300_TLS_LE): Likewise.
6981 (R_MN10300_TLS_DTPMOD): Likewise.
6982 (R_MN10300_TLS_DTPOFF): Likewise.
6983 (R_MN10300_TLS_TPOFF): Likewise.
6984 (R_MN10300_SYM_DIFF): Likewise.
6985 (R_MN10300_ALIGN): Likewise.
6986 (R_MN10300_NUM): Update.
6987
b36137f1
JM
69882012-08-08 Joseph Myers <joseph@codesourcery.com>
6989
6990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6991 Remove.
6992
cdd915fd
RM
69932012-08-08 Roland McGrath <roland@hack.frob.com>
6994
a2433aac
RM
6995 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6996
cdd915fd
RM
6997 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6998 sysdeps/unix -> sysdeps/posix move.
6999 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7000
bf9b740a
AM
70012012-08-07 Allan McRae <allan@archlinux.org>
7002
7003 [BZ #14303]
7004 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7005 (SUNOS_CPP): Likewise.
7006 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7007 not found.
7008 (open_input): Call CPP using execvp.
7009
93df14ee
JM
70102012-08-07 Joseph Myers <joseph@codesourcery.com>
7011
7012 * sysdeps/unix/sysv/linux/kernel-features.h
7013 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7014 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7015 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7016 (__ASSUME_WAITID_SYSCALL): Likewise.
7017 * sysdeps/unix/sysv/linux/dl-execstack.c
7018 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7019 code unconditional.
7020 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7021 conditional code.
7022 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7023 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7024 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7025 code.
7026 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7027 unconditional.
7028 [__ASSUME_WAITID_SYSCALL]: Likewise.
7029 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7030
d34689de
RM
70312012-08-07 Roland McGrath <roland@hack.frob.com>
7032
a281decc
RM
7033 * sysdeps/unix/closedir.c: Renamed to ...
7034 * sysdeps/posix/closedir.c: ... here.
7035 * sysdeps/unix/dirfd.c: Renamed to ...
7036 * sysdeps/posix/dirfd.c: ... here.
7037 * sysdeps/unix/dirstream.h: Renamed to ...
7038 * sysdeps/posix/dirstream.h: ... here.
7039 * sysdeps/unix/fdopendir.c: Renamed to ...
7040 * sysdeps/posix/fdopendir.c: ... here.
7041 * sysdeps/unix/opendir.c: Renamed to ...
7042 * sysdeps/posix/opendir.c: ... here.
7043 * sysdeps/unix/readdir.c: Renamed to ...
7044 * sysdeps/posix/readdir.c: ... here.
7045 * sysdeps/unix/readdir_r.c: Renamed to ...
7046 * sysdeps/posix/readdir_r.c: ... here.
7047 * sysdeps/unix/rewinddir.c: Renamed to ...
7048 * sysdeps/posix/rewinddir.c: ... here.
7049 * sysdeps/unix/seekdir.c: Renamed to ...
7050 * sysdeps/posix/seekdir.c: ... here.
7051 * sysdeps/unix/telldir.c: Renamed to ...
7052 * sysdeps/posix/telldir.c: ... here.
7053 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7054 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7055 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7056 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7057
22895b47
RM
7058 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7059 * bits/fcntl.h: ... here.
7060
707a53b6
RM
7061 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7062 not 0.
7063 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7064 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7065 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7066 (struct flock): Move l_start, l_len to the beginning.
7067 Use __pid_t for l_pid.
7068 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7069 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7070 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7071 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7072 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7073 [__USE_LARGEFILE64] (struct flock64): New type.
7074 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7075
f0bd3e25
RM
7076 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7077 * bits/dirent.h: ... here.
7078
d34689de
RM
7079 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7080 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7081
6dad2c06
JM
70822012-08-07 Joseph Myers <joseph@codesourcery.com>
7083
7084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7085 Change from 2.6.0 to 2.6.16.
7086 * sysdeps/unix/sysv/linux/configure: Regenerated.
7087 * sysdeps/unix/sysv/linux/kernel-features.h
7088 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7089 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7090 version.
7091 (__ASSUME_UTIMES): Likewise.
7092 (__ASSUME_CLONE_STOPPED): Remove.
7093 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7094 architectures, not kernel version.
7095 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7096 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7097 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7098 (__ASSUME_WAITID_SYSCALL): Likewise.
7099 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7100 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7101 * README: State 2.6.16 as minimum Linux kernel version. Do not
7102 refer to older versions.
7103
03af9520
RM
71042012-08-06 Roland McGrath <roland@hack.frob.com>
7105
8e49df1d
RM
7106 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7107 Define alphasort64 as an alias.
7108 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7109 Define versionsort64 as an alias.
7110 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7111 Define scandir64 as an alias.
7112 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7113 Define scandirat64 as an alias.
7114 * dirent/alphasort64.c (alphasort64):
7115 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7116 * dirent/versionsort64.c: Likewise.
7117 * dirent/scandir64.c: Likewise.
7118 * dirent/scandirat64.c: Likewise.
7119 * sysdeps/wordsize-64/alphasort.c: File removed.
7120 * sysdeps/wordsize-64/alphasort64.c: File removed.
7121 * sysdeps/wordsize-64/scandir.c: File removed.
7122 * sysdeps/wordsize-64/scandir64.c: File removed.
7123 * sysdeps/wordsize-64/scandirat.c: File removed.
7124 * sysdeps/wordsize-64/scandirat64.c: File removed.
7125 * sysdeps/wordsize-64/versionsort.c: File removed.
7126 * sysdeps/wordsize-64/versionsort64.c: File removed.
7127 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7128 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7129 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7130 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7131 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7132 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7133 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7134 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7135
7136 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7138 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7140 [defined __arch64__ || defined __sparcv9]
7141 (__INO_T_MATCHES_INO64_T): New macro.
7142 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7143 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7144 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7145 * sysdeps/unix/sysv/linux/bits/dirent.h
7146 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7147 (_DIRENT_MATCHES_DIRENT64): New macro.
7148
03af9520
RM
7149 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7150 Define lockf64 as an alias.
7151 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7152 Define fseeko64 as an alias.
7153 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7154 Define ftello64 as an alias.
7155 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7156 Define _IO_fgetpos64 and fgetpos64 as aliases.
7157 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7158 Define _IO_fsetpos64 and fsetpos64 as aliases.
7159 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7160 Conditionalize body on this.
7161 * libio/fseeko64.c: Likewise.
7162 * libio/ftello64.c: Likewise.
7163 * libio/iofgetpos64.c: Likewise.
7164 * libio/iofsetpos64.c: Likewise.
7165 * sysdeps/wordsize-64/lockf.c: File removed.
7166 * sysdeps/wordsize-64/lockf64.c: File removed.
7167 * sysdeps/wordsize-64/fseeko.c: File removed.
7168 * sysdeps/wordsize-64/fseeko64.c: File removed.
7169 * sysdeps/wordsize-64/ftello.c: File removed.
7170 * sysdeps/wordsize-64/ftello64.c: File removed.
7171 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7172 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7173 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7174 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7175 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7176 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7177 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7178 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7179 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7180 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7181 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7182 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7183 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7184 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7185
7186 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7188 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7190 [defined __arch64__ || defined __sparcv9]
7191 (__OFF_T_MATCHES_OFF64_T): New macro.
7192 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7193 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7195 (__OFF_T_MATCHES_OFF64_T): New macro.
7196
c5757acd
L
71972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7198
7199 * stdlib/secure-getenv.c (__secure_getenv): Replace
7200 GLIBC_2_16 with GLIBC_2_17.
7201
3a31811e
L
72022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7203
7204 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7205 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7206
faa2bccb
DM
72072012-08-03 David S. Miller <davem@davemloft.net>
7208
7209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7210
85fe1997
JM
72112012-08-03 Joseph Myers <joseph@codesourcery.com>
7212
7213 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7214 Remove.
7215 (__ASSUME_CORRECT_SI_PID): Likewise.
7216 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7217 (__ASSUME_TMPFS_NAME): Likewise.
7218 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7219 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7220 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7221 (HAVE_AUX_SECURE): Make definition unconditional.
7222 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7223 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7224
4f75b7a0
RM
72252012-08-03 Roland McGrath <roland@hack.frob.com>
7226
7227 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7228 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7229 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7230 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7231 __eloop_threshold instead of SYMLOOP_MAX.
7232
7233 * sysdeps/generic/eloop-threshold.h: New file.
7234 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7235 of MAXSYMLINKS.
7236 * elf/chroot_canon.c (chroot_canon): Likewise.
7237
7aab07e4
JM
72382012-08-03 Joseph Myers <joseph@codesourcery.com>
7239
7240 [BZ #13717]
7241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7242 Change to 2.6.0 everywhere.
7243 * sysdeps/unix/sysv/linux/configure: Regenerated.
7244 * sysdeps/unix/sysv/linux/kernel-features.h
7245 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7246 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7247 kernel versions.
7248 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7249 (__ASSUME_FUTEX_REQUEUE): Remove.
7250 (__ASSUME_STATFS64): Define unconditionally.
7251 (__ASSUME_AT_SECURE): Likewise.
7252 (__ASSUME_CORRECT_SI_PID): Likewise.
7253 (__ASSUME_TGKILL): Define without depending on kernel version for
7254 i386.
7255 (__ASSUME_UTIMES): Likewise.
7256 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7257 kernel version.
7258 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7259 (__ASSUME_TMPFS_NAME): Likewise.
7260 * README: Update reference to Linux kernel versions.
7261
b67e9372
MP
72622012-08-02 Marek Polacek <polacek@redhat.com>
7263
1f529f7d 7264 [BZ# 14150]
b67e9372
MP
7265 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7266 libc_cv_asm_type_prefix with %.
7267 * configure: Regenerated.
d2441631
RM
7268 * include/libc-symbols.h: Remove comment about
7269 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7270 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7271 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7272 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7273 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7274 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7275 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7276 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7277 * elf/tst-unique2mod1.c: Likewise.
7278 * elf/tst-unique1mod2.c: Likewise.
7279 * elf/tst-unique1mod1.c: Likewise.
7280 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7281 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7282 Replace ASM_TYPE_DIRECTIVE with .type.
7283 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7284 * sysdeps/i386/sysdep.h: Likewise.
7285 * sysdeps/x86_64/sysdep.h: Likewise.
7286 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7288 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7289 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7290 * sysdeps/powerpc/powerpc32/sysdep.h:
7291 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7292 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7293 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7294 * sysdeps/i386/fpu/e_powf.S: Likewise.
7295 * sysdeps/i386/fpu/e_expl.S: Likewise.
7296 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7297 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7298 * sysdeps/i386/fpu/e_pow.S: Likewise.
7299 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7300 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7301 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7302 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7303 * sysdeps/i386/fpu/e_log2.S: Likewise.
7304 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7305 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7306 * sysdeps/i386/fpu/e_powl.S: Likewise.
7307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7308 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7309 * sysdeps/i386/fpu/e_logl.S: Likewise.
7310 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7311 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7312 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7313 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7314 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7315 * sysdeps/i386/fpu/e_log.S: Likewise.
7316 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7317 * sysdeps/i386/fpu/e_logf.S: Likewise.
7318 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7319 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7320 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7321 * sysdeps/i386/fpu/e_log10.S: Likewise.
7322 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7323 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7324 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7325 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7326 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7327 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7328 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7329 * sysdeps/i386/i686/strtok.S: Likewise.
7330 * sysdeps/i386/i386-mcount.S: Likewise.
7331 * sysdeps/i386/strtok.S: Likewise.
7332 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7333 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7334 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7335 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7336 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7337 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7338 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7339 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7340 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7341 * sysdeps/x86_64/_mcount.S: Likewise.
7342 * sysdeps/x86_64/strtok.S: Likewise.
7343 * sysdeps/sh/_mcount.S: Likewise.
7344
2747bf9a
RM
73452012-08-01 Roland McGrath <roland@hack.frob.com>
7346
7347 * libio/iofopen.c: Include <fcntl.h>.
7348 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7349 (_IO_fopen64, fopen64): Define as aliases.
7350 * libio/iofopen64.c: Include <fcntl.h>.
7351 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7352 Conditionalize body on this.
7353 * sysdeps/wordsize-64/iofopen.c: File removed.
7354 * sysdeps/wordsize-64/iofopen64.c: File removed.
7355
3fb791b8
MP
73562012-08-01 Marek Polacek <polacek@redhat.com>
7357
7358 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7359 Use dlfcn directly instead of a variable.
7360 (binfmt-subdir): Do not define.
7361 (dlfcn): Likewise.
7362
a9f1039f
JM
73632012-08-01 Joseph Myers <joseph@codesourcery.com>
7364
23bddc06
JM
7365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7366 Remove all definitions.
7367 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7368 <kernel-features.h>.
7369 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7370 (miss_F_GETOWN_EX): Remove all definitions.
7371 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7372 macro definition.
7373 [!__ASSUME_FCNTL64]: Remove conditional code.
7374 [__ASSUME_FCNTL64]: Make code unconditional.
7375 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7376 <kernel-features.h>.
7377 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7378 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7379 (lockf64) [__NR_fcntl64]: Make code unconditional.
7380 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7381
a9f1039f
JM
7382 * sysdeps/unix/sysv/linux/kernel-features.h
7383 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7384 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7385 Make code unconditional.
7386 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7387 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7389 [__NR_vfork]: Make code unconditional.
7390 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7391 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7393 [__NR_vfork]: Make code unconditional.
7394 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7395 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7396
09c0ee5f
RM
73972012-08-01 Roland McGrath <roland@hack.frob.com>
7398
48aec5b9
RM
7399 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7400 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7401
cd97c966
RM
7402 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7403 Define mkstemp64 as an alias.
3f55550c
RM
7404 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7405 Define mkstemps64 as an alias.
cd97c966
RM
7406 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7407 Define mkostemp64 as an alias.
b8625cfc
RM
7408 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7409 Define mkostemps64 as an alias.
cd97c966
RM
7410 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7411 Conditionalize body on this.
7412 * misc/mkostemp64.c: Likewise.
b8625cfc 7413 * misc/mkostemps64.c: Likewise.
3f55550c 7414 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7415 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7416 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7417 * sysdeps/wordsize-64/mkostemp.c: File removed.
7418 * sysdeps/wordsize-64/mkstemp.c: File removed.
7419 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7420 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7421 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7422 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7423
09c0ee5f
RM
7424 [BZ #14138]
7425 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7426 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7427 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7428 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7429
7430 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7431 compat_symbol macros from <shlib-compat.h> rather than the underlying
7432 default_symbol_version and symbol_version macros, so that DEFAULT
7433 lines in shlib-versions are respected.
7434 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7435
7e66ee51
FW
74362012-08-01 Florian Weimer <fweimer@redhat.com>
7437
7438 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7439 Declare with warn_unused_result.
7440 (setgid, setregid, setegid, setresgid): Likewise.
7441 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7442 Likewise.
7443 * WUR-REPORT: Remove set*id functions.
7444
d2a54255
PT
74452012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7446
7447 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7448
7ecdb005
RM
74492012-07-31 Roland McGrath <roland@hack.frob.com>
7450
789bd351
RM
7451 * include/sys/socket.h (__libc_accept, __libc_accept4):
7452 Add attribute_hidden.
7453 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7454
40ce302d
RM
7455 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7456 use of PTR_MANGLE.
7457 * inet/getnetgrent_r.c (setup): Likewise.
7458
7ecdb005
RM
7459 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7460
e2eabb2c
DM
74612012-07-31 David S. Miller <davem@davemloft.net>
7462
7463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7464
d0419dbf
JM
74652012-07-31 Joseph Myers <joseph@codesourcery.com>
7466
7467 [BZ #13629]
7468 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7469 value between 1.0 and 2.0 and smaller part has absolute value less
7470 than 1.0.
7471 * math/s_clog10.c (__clog10): Likewise.
7472 * math/s_clog10f.c (__clog10f): Likewise.
7473 * math/s_clog10l.c (__clog10l): Likewise.
7474 * math/s_clogf.c (__clogf): Likewise.
7475 * math/s_clogl.c (__clogl): Likewise.
7476 * math/libm-test.inc (clog_test): Add more tests.
7477 (clog10_test): Likewise.
7478 * sysdeps/i386/fpu/libm-test-ulps: Update.
7479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7480
2bc13872
FW
74812012-07-31 Florian Weimer <fweimer@redhat.com>
7482
7483 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7484 Exit with zero in case no suitable GID is found, and write a
7485 message to standard error.
7486
bea9b193
RM
74872012-07-30 Roland McGrath <roland@hack.frob.com>
7488
7489 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7490 rather than to 1.
7491 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7492 (MAXPATHLEN): Removed.
7493 (NOGROUP, NODEV): New macros.
7494 (setbit, clrbit, isset, isclr): New macros.
7495 (howmany, roundup, powerof2): New macros.
7496 (DEV_BSIZE): New macro.
7497
7498 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7499 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7500
7501 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7502 definition on [!__NO_LONG_DOUBLE_MATH].
7503
7504 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7505 PTR_MANGLE and PTR_DEMANGLE.
7506
7507 * socket/accept4.c (accept4): Rename to __libc_accept4.
7508 Define accept4 as a weak alias.
7509
7510 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7511 on [_DIRENT_HAVE_D_TYPE].
7512 * io/ftw.c (ftw_dir): Likewise.
7513
7514 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7515
7516 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7517
7518 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7519 Use the BSD numbers rather than the arbitrary ones we had.
7520 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7521 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7522 (SIGXCPU, SIGXFSZ): New macros.
7523 (_NSIG): Now 32.
7524
7525 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7526 initializer on [_LIBC_REENTRANT].
7527
7528 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7529 definitions inside [_POSIX_MAPPED_FILES].
7530
7531 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7532
7533 * dirent/opendir.c: Include <fcntl.h>.
7534
7535 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7536 (__libc_getspecific): Likewise.
7537 (__libc_key_create): Likewise.
7538
7539 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7540 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7541 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7542 (tmpfile64): Define as alias.
7543 * sysdeps/wordsize-64/tmpfile.c: File removed.
7544 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7545 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7546 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7547
7548 * stdio-common/vfscanf.c: Include <stdbool.h>.
7549 * nss/makedb.c: Likewise.
7550 * stdio-common/_i18n_number.h: Likewise.
7551 * argp/argp-help.c: Likewise.
7552 * posix/wordexp.c: Likewise.
7553 * sysdeps/posix/spawni.c: Likewise.
7554 * nss/nss_files/files-initgroups.c: Likewise.
7555 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7556 * nss/nss_files/files-initgroups.c: Likewise.
7557 * nss/nss_db/db-netgrp.c: Likewise.
7558 * nss/nss_db/db-initgroups.c: Likewise.
7559 * io/fchmodat.c: Include <sys/stat.h>.
7560
7561 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7562 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7563
7564 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7565 [HAVE_MMAP].
7566
7567 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7568 Add multiple inclusion protection.
7569
e5abc686
DM
75702012-07-27 David S. Miller <davem@davemloft.net>
7571
7572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7573
815e6fa3
GB
75742012-07-27 Gary Benson <gbenson@redhat.com>
7575
7576 [BZ #14298]
7577 * elf/rtld.c: Include <stap-probe.h>.
7578 (dl_main): Added static probes "init_start" and "init_complete".
7579 * elf/dl-load.c: Include <stap-probe.h>.
7580 (lose): Take new parameter "nsid".
7581 Added static probe "map_failed".
7582 (_dl_map_object_from_fd): Pass namespace id to lose.
7583 Added static probe "map_start".
7584 (open_verify): Pass namespace id to lose.
7585 * elf/dl-open.c: Include <stap-probe.h>.
7586 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7587 and "reloc_complete".
7588 * elf/dl-close.c: Include <stap-probe.h>.
7589 (_dl_close_worker): Added static probes "unmap_start" and
7590 "unmap_complete".
7591 * elf/rtld-debugger-interface.txt: New file documenting the above.
7592
9f98c16c
RM
75932012-07-26 Roland McGrath <roland@hack.frob.com>
7594
7595 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7596 rather than a string variable.
7597 * sunrpc/rpc_main.c (h_output): Likewise.
7598 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7599
f3c22df3
PT
76002012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7601
7602 * inet/check_native.c: New file.
7603
3129cfc6
JM
76042012-07-26 Joseph Myers <joseph@codesourcery.com>
7605
da865e95
JM
7606 [BZ #13629]
7607 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7608 if larger part has absolute value 1.0.
7609 * math/s_clog10.c (__clog10): Likewise.
7610 * math/s_clog10f.c (__clog10f): Likewise.
7611 * math/s_clog10l.c (__clog10l): Likewise.
7612 * math/s_clogf.c (__clogf): Likewise.
7613 * math/s_clogl.c (__clogl): Likewise.
7614 * math/libm-test.inc (clog_test): Add more tests.
7615 (clog10_test): Likewise.
7616 * sysdeps/i386/fpu/libm-test-ulps: Update.
7617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7618
3129cfc6
JM
7619 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7620 (pltexit): Likewise.
7621 (La_regs): Likewise.
7622 (La_retval): Likewise.
7623 (int_retval): Likewise.
7624 Update #error for removed macros to refer only to definitions in
7625 tst-audit.h.
7626 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7627 macro.
7628 (pltexit): Likewise.
7629 (La_regs): Likewise.
7630 (La_retval): Likewise.
7631 (int_retval): Likewise.
7632 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7633 macro.
7634 (pltexit): Likewise.
7635 (La_regs): Likewise.
7636 (La_retval): Likewise.
7637 (int_retval): Likewise.
7638 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7639 macro.
7640 (pltexit): Likewise.
7641 (La_regs): Likewise.
7642 (La_retval): Likewise.
7643 (int_retval): Likewise.
7644 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7645 macro.
7646 (pltexit): Likewise.
7647 (La_regs): Likewise.
7648 (La_retval): Likewise.
7649 (int_retval): Likewise.
7650 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7651 macro.
7652 (pltexit): Likewise.
7653 (La_regs): Likewise.
7654 (La_retval): Likewise.
7655 (int_retval): Likewise.
7656 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7657 macro.
7658 (pltexit): Likewise.
7659 (La_regs): Likewise.
7660 (La_retval): Likewise.
7661 (int_retval): Likewise.
7662 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7663 macro definitions in tst-audit.h.
7664 * sysdeps/i386/tst-audit.h: New file.
7665 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7666 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7667 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7668 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7669 * sysdeps/sh/tst-audit.h: Likewise.
7670 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7671 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7672 * sysdeps/x86_64/tst-audit.h: Likewise.
7673
bfc07087
AJ
76742012-07-26 Andreas Jaeger <aj@suse.de>
7675
b1b2aaf8
AJ
7676 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7677 ptrace.
7678
7679 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7680 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7681 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7682 PTRACE_O_MASK.
7683 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7684 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7685 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7686
bfc07087
AJ
7687 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7688 value.
7689
7690 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7691 _sigsys.
7692 (si_call_addr, si_syscall, si_arch): Define new macro.
7693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7694 _sigsys.
7695 (si_call_addr, si_syscall, si_arch): Define new marcro.
7696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7697 _sigsys.
7698 (si_call_addr, si_syscall, si_arch): Define new macro.
7699 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7700 _sigsys.
7701 (si_call_addr, si_syscall, si_arch): Define new macro.
7702
89b4b02f
JM
77032012-07-25 Joseph Myers <joseph@codesourcery.com>
7704
7705 [BZ #13717]
7706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7707 Change to 2.4.21 where previously 2.4.1.
7708 * sysdeps/unix/sysv/linux/configure: Regenerated.
7709 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7710 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7711 Linux kernel version.
7712 (__ASSUME_STD_AUXV): Remove.
7713 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7714 kernel version.
7715 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7716 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7717 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7718 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7719 (__ASSUME_NETLINK_SUPPORT): Likewise.
7720 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7721 (__no_netlink_support): Remove conditional definition.
7722 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7723 Remove.
7724 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7725 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7726 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7727 (if_nameindex_ioctl): Remove.
7728 (if_nameindex_netlink): Do not handle __no_netlink_support.
7729 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7730 code.
7731 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7732 Remove conditional code.
7733 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7734 code.
7735 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7736 unconditional.
7737 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7738 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7739 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7740 Remove.
7741 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7742 [!__ASSUME_STD_AUXV]: Remove conditional code.
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7744 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7745 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7747 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7748 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7749 code.
7750 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7752 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7753 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7754 conditional code.
7755 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7757 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7758 code.
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7760 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7761 conditional code.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7763 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7764 code unconditional.
7765 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7766 conditional code.
7767 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7768 unconditional.
7769 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7770 conditional code.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7772 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7773 unconditional.
7774 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7775 conditional code.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7777 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7778 code unconditional.
7779 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7780 conditional code.
7781 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7782 unconditional.
7783 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7784 conditional code.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7786 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7787 code unconditional.
7788 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7789 conditional code.
7790 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7791 unconditional.
7792 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7793 conditional code.
7794
842a39cd
AS
77952012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7796
7797 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7798 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7799 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7800 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7801 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7802 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7803 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7804 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7805 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7806 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7807 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7808 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7809 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7810 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7811 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7812 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7813 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7814 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7815 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7817 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7818 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7819 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7820
84b3fd84
FW
78212012-07-25 Florian Weimer <fweimer@redhat.com>
7822
7823 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7824 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7825 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7826 Introduce __libc_secure_getenv.
0c7936d5
FW
7827 * stdlib/Versions (2.17): Add secure_getenv
7828 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7829 * stdlib/secure-getenv.c: Rename __secure_getenv to
7830 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7831 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7832 * stdlib/tst-secure-getenv.c: New.
7833 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7834 * manual/startup.texi (Environment Access): Document
7835 secure_getenv.
84b3fd84
FW
7836 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7837 __libc_secure_getenv.
7838 * inet/ruserpass.c (ruserpass): Likewise.
7839 * malloc/mtrace.c (mtrace): Likewise.
7840 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7841 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7842 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7843 * sysdeps/posix/tempname.c: Likewise. Evaluate
7844 HAVE_SECURE_GETENV.
7845 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7846 __secure_getenv to __libc_secure_getenv.
84b3fd84 7847 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7849 Likewise.
7850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7851 Likewise.
7852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7859
56e49b71
JM
78602012-07-25 Joseph Myers <joseph@codesourcery.com>
7861
7862 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7863 (struct La_i86_retval): Likewise.
7864 (struct La_x86_64_regs): Likewise.
7865 (struct La_x86_64_retval): Likewise.
7866 (struct La_x32_regs): Likewise.
7867 (struct La_x32_retval): Likewise.
7868 (struct La_ppc32_regs): Likewise.
7869 (struct La_ppc32_retval): Likewise.
7870 (struct La_ppc64_regs): Likewise.
7871 (struct La_ppc64_retval): Likewise.
7872 (struct La_sh_regs): Likewise.
7873 (struct La_sh_retval): Likewise.
7874 (struct La_s390_32_regs): Likewise.
7875 (struct La_s390_32_retval): Likewise.
7876 (struct La_s390_64_regs): Likewise.
7877 (struct La_s390_64_retval): Likewise.
7878 (struct La_sparc32_regs): Likewise.
7879 (struct La_sparc32_retval): Likewise.
7880 (struct La_sparc64_regs): Likewise.
7881 (struct La_sparc64_retval): Likewise.
7882 (struct audit_ifaces): Remove architecture-specific pltenter and
7883 pltexit members.
7884 * sysdeps/i386/ldsodefs.h: New file.
7885 * sysdeps/powerpc/ldsodefs.h: Likewise.
7886 * sysdeps/s390/ldsodefs.h: Likewise.
7887 * sysdeps/sh/ldsodefs.h: Likewise.
7888 * sysdeps/sparc/ldsodefs.h: Likewise.
7889 * sysdeps/x86_64/ldsodefs.h: Likewise.
7890
354691b7
MP
78912012-07-25 Marek Polacek <polacek@redhat.com>
7892
7893 [BZ #6808]
7894 * math/libm-test.inc (yn_test): Add another test.
7895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7896 to ERANGE when the result is +-Inf.
7897 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7898 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7899 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7900 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7901
bf9e2071
JM
79022012-07-24 Joseph Myers <joseph@codesourcery.com>
7903
7904 * conform/data/time.h-data (NULL): Use macro-constant. Require
7905 equal to 0.
7906 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7907 clock_t.
7908 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7909
57633811
TS
79102012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7911
7912 * configure.in <sysdeps resolving>: Correct printing
7913 Implies_before.
7914 * configure: Regenerate.
7915
c23c33b0
TS
79162012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7917
7918 * math/w_ilogb.c: Include <limits.h>.
7919 * math/w_ilogbl.c: Likewise.
7920
b5982523
JM
79212012-07-20 Joseph Myers <joseph@codesourcery.com>
7922
7923 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7924 va_copy. Document allowing for unavailable va_copy only as
7925 pre-C99 compatibility.
7926 * manual/string.texi (Copying and Concatenation): Use va_copy
7927 instead of __va_copy in concat example.
7928
ac4ea442
PT
79292012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7930
7931 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7932 (__sendto): Use create_address_port. Initialize APORT and deallocate
7933 it if not null.
7934
f98eafbd
PT
7935 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7936 with O_NOLINK passed to __file_name_lookup.
7937
898c7aab
PT
7938 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7939 with O_NOLINK passed to __file_name_lookup.
7940
0ced335a
PT
7941 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7942 negative N or less than NGIDS.
7943
b3404dbd
PT
7944 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7945 type to string_t. Set ERANGE as errno and return it if NAME is not big
7946 enough. Use memcpy instead of strncpy.
7947
0f48659e
JM
79482012-07-20 Joseph Myers <joseph@codesourcery.com>
7949
7950 * elf/Makefile (check-data): Remove.
7951 (localplt.data): New vpath directive.
7952 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7953 instead of $(check-data).
7954 * scripts/data/localplt-generic.data: Move to ...
7955 * sysdeps/generic/localplt.data: ... here.
7956 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7957 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7958 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7960 ... here.
7961 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7963 ... here.
7964 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7966 ... here.
7967 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7969 ... here.
7970 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7972 ... here.
7973 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7975 ... here.
7976
d37cbdaa
AZ
79772012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7978
7979 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7980 PPC32 and PPC64 files.
7981 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7982 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7983
46f85fc2
AK
79842012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7985
7986 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7987 __makecontext_ret to ...
7988 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7989 ... here and call exit if uc_link is NULL. New file.
7990 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7991 __makecontext_ret.S.
7992 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7993 __makecontext_ret to ...
7994 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7995 ... here and call exit if uc_link is NULL. New file.
7996 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7997 __makecontext_ret.S.
7998
08f43f9b
AK
79992012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8000
8001 * elf/elf.h (R_390_IRELATIVE): New definition.
8002 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8003 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8004 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8005 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8006 (elf_machine_lazy_rel): Likewise.
8007 * sysdeps/s390/dl-irel.h: New file.
8008 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8009 * sysdeps/s390/s390-64/memset.S: New asm code.
8010 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8011 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8012 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8013 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8014 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8015 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8016 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8017 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8018 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8019 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8020 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8021 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8022 * sysdeps/s390/s390-32/memset.S: New asm code.
8023 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8024
3b05db33
MP
80252012-07-17 Marek Polacek <polacek@redhat.com>
8026
8027 [BZ #14349]
8028 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8029 * sysdeps/s390/s390-64/configure.in: Likewise.
8030 * sysdeps/sparc/configure.in: Likewise.
8031 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8032 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8033 * sysdeps/i386/configure.in: Likewise.
8034 * sysdeps/x86_64/configure.in: Likewise.
8035 * sysdeps/sh/configure.in: Likewise.
8036 * sysdeps/s390/s390-32/configure: Regenerated.
8037 * sysdeps/s390/s390-64/configure: Likewise.
8038 * sysdeps/x86_64/configure: Likewise.
8039 * sysdeps/sh/configure: Likewise.
8040 * sysdeps/powerpc/powerpc64/configure: Likewise.
8041 * sysdeps/powerpc/powerpc32/configure: Likewise.
8042 * sysdeps/sparc/configure: Likwise.
8043 * sysdeps/i386/configure: Likewise.
8044
a66877c6
MP
8045 * elf/dl-open.c: Comment fixes.
8046
cfc82fd8
JM
80472012-07-17 Joseph Myers <joseph@codesourcery.com>
8048
bd29910a
JM
8049 * Makefile [CXX] (check-data): Remove.
8050 [CXX] (c++-types.data): New vpath directive.
8051 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8052 vpath. Do not allow for C++ type data being missing.
8053 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8054 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8055 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8056 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8057 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8058 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8059 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8061 ... here.
8062 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8064 ... here.
8065 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8067 ... here.
8068 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8070 ... here.
8071 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8073 ... here.
8074 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8076 ... here.
8077 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8079 ... here.
8080 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8082
cfc82fd8
JM
8083 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8084 definitions to architecture-specific files.
8085 (TLS_IE): Likewise.
8086 (TLS_LD): Likewise.
8087 (TLS_GD): Likewise.
8088 * sysdeps/i386/tls-macros.h: New file.
8089 * sysdeps/powerpc/tls-macros.h: Likewise.
8090 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8091 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8092 * sysdeps/sh/tls-macros.h: Likewise.
8093 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8094 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8095 * sysdeps/x86_64/tls-macros.h: Likewise.
8096
f7db3170
TS
80972012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8098
07cbfc23
TS
8099 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8100 zero value for regular exit case.
8101
f7db3170
TS
8102 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8103 (__start_context): Preserve zero value for regular exit case.
8104
dc97c227
TS
81052012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8106 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8107
8108 * manual/setjmp.texi (setcontext): Clarify normal process
8109 termination when uc_link is the null pointer.
8110 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8111 exit call.
8112
d0cd7d02
AS
81132012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8114
8115 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8116 preprocessor. Test for each exception mask separately.
8117
dd318934
AJ
81182012-07-16 Andreas Jaeger <aj@suse.de>
8119
8120 * po/ru.po: Update from translation team.
8121
8048311a
JM
81222012-07-15 Joseph Myers <joseph@codesourcery.com>
8123
8124 * conform/data/string.h-data (NULL): Use macro-constant. Require
8125 equal to 0.
8126 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8127 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8128 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8129 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8131
b637d46e
AJ
81322012-07-13 Andreas Jaeger <aj@suse.de>
8133
8134 * po/fr.po: Update from translation team.
8135
541428fe
MP
81362012-07-12 Marek Polacek <polacek@redhat.com>
8137
8138 [BZ #14173]
8139 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8140 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8141 loop condition.
8142
ec332e94
JM
81432012-07-12 Joseph Myers <joseph@codesourcery.com>
8144
8145 [BZ #13717]
8146 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8147 Change to 2.4.1 where previously 2.4.0.
8148 * sysdeps/unix/sysv/linux/configure: Regenerated.
8149 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8150 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8151 version.
8152 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8153 (__ASSUME_AT_CLKTCK): Remove.
8154 (__ASSUME_AT_PAGESIZE): Likewise.
8155 (__ASSUME_AT_XID): Likewise.
8156 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8157 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8158 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8159 unconditionally.
8160 (HAVE_AUX_PAGESIZE): Likewise.
8161 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8162 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8163 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8164
7b6e99be
JB
81652012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8166
8167 [BZ #14307]
8168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8169 the temporary buffer used to invoke __gethostbyname2_r,
8170 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8171 host_data / struct gaih_addrtuple.
8172 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8173 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8174 header file nss/nsswitch.h.
8175 * nss/nsswitch.h (global scope): Add definition of implementation
8176 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8177 resolv/nss_dns/dns-host.c).
8178
608404eb
AJ
81792012-07-11 Andreas Jaeger <aj@suse.de>
8180
8181 * po/fr.po: Update from translation team.
8182
71220aca
AJ
8183 * po/sv.po: Update from translation team
8184 * po/fr.po: Another update from translation team.
8185
28cfe843
AZ
81862012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8187
8188 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8189 for subnormals or multiply small sinh result by itself.
8190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8192
6b90f981
DM
81932012-07-11 David S. Miller <davem@davemloft.net>
8194
8195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8196
c6825772
AS
81972012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8198
8199 [BZ #14347]
8200 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8201 (INTERNAL_MARK): Shift it here.
8202
7b8e0d49
MP
82032012-07-10 Marek Polacek <polacek@redhat.com>
8204
8205 [BZ #14151]
8206 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8207 libc_cv_asm_global_directive with .globl.
8208 * configure: Regenerated.
8209 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8210 with .globl.
8211 * sysdeps/i386/configure: Regenerated.
8212 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8213 with .globl.
8214 * sysdeps/x86_64/configure: Regenerated.
8215 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8216 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8217 * elf/tst-unique2mod2.c: Likewise.
8218 * elf/tst-unique2mod1.c: Likewise.
8219 * elf/tst-unique1mod2.c: Likewise.
8220 * elf/tst-unique1mod1.c: Likewise.
8221 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8222 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8223 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8224 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8225 * sysdeps/mach/sysdep.h: Likewise.
8226 * sysdeps/i386/sysdep.h: Likewise.
8227 * sysdeps/i386/i386-mcount.S: Likewise.
8228 * sysdeps/x86_64/_mcount.S: Likewise.
8229 * sysdeps/x86_64/sysdep.h: Likewise.
8230 * sysdeps/sh/_mcount.S: Likewise.
8231 * sysdeps/sh/sysdep.h: Likewise.
8232 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8233 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8234 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8235 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8236 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8237 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8238 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8239 * locale/localeinfo.h: Likewise.
8240 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8241 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8242
6c55cda3
RM
82432012-07-09 Roland McGrath <roland@hack.frob.com>
8244
8245 [BZ #14336]
8246 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8247 system".
8248 * manual/message.texi (The Uniforum approach): Likewise.
8249 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8250 (glibc iconv Implementation): Likewise.
8251
638a572e
JM
82522012-07-09 Joseph Myers <joseph@codesourcery.com>
8253
8254 [BZ #14337]
8255 * math/s_clog.c (__clog): Avoid scaling a value down where that
8256 could result in underflow.
8257 * math/s_clog10.c (__clog10): Likewise.
8258 * math/s_clog10f.c (__clog10f): Likewise.
8259 * math/s_clog10l.c (__clog10l): Likewise.
8260 * math/s_clogf.c (__clogf): Likewise.
8261 * math/s_clogl.c (__clogl): Likewise.
8262 * math/libm-test.inc (clog_test): Add more tests.
8263 (clog10_test): Likewise.
8264 * sysdeps/i386/fpu/libm-test-ulps: Update.
8265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8266
261f4859
AS
82672012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8268
0abaf3e4
AS
8269 [BZ #14283]
8270 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8271 by 7 not 8 to examine high bit of fractional part.
8272
261f4859
AS
8273 [BZ #14042]
8274 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8275 for call to __mcount_internal.
8276 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8277 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8278 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8279
f17ac40d
JM
82802012-07-06 Joseph Myers <joseph@codesourcery.com>
8281
9ad63c23
JM
8282 [BZ #14154]
8283 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8284 approximation for values within 0x1p-13f of an odd multiple of
8285 pi/4.
8286 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8287 exception. Add more tests.
8288 * sysdeps/i386/fpu/libm-test-ulps: Update.
8289
f17ac40d
JM
8290 [BZ #6778]
8291 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8292 inputs and return -1 for them. Do not check for +Inf in case not
8293 reachable for +Inf.
8294 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8295 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8296 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8297 and return -1 for them. Do not check for +Inf in case not
8298 reachable for +Inf.
8299 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8300 define.
8301 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8302 and return -1 for them. Do not check for +Inf in case not
8303 reachable for +Inf.
8304 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8305 spurious underflow.
8306 * sysdeps/i386/fpu/libm-test-ulps: Update.
8307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8308
fb21f89b
MF
83092012-07-06 Mike Frysinger <vapier@gentoo.org>
8310
8311 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8312
cdfe2c5e
JM
83132012-07-05 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #14157]
8316 [BZ #14331]
8317 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8318 could result in spurious underflow. Scale down values above
8319 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8320 * math/s_csqrtf.c (__csqrtf): Likewise.
8321 * math/s_csqrtl.c (__csqrtl): Likewise.
8322 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8323 spurious underflow.
8324 * sysdeps/i386/fpu/libm-test-ulps: Update.
8325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8326
70d35b67
AS
83272012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8328
704bc459
AS
8329 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8330 xopen-msg.sed.
8331 * catgets/xopen-msg.awk: New file.
8332 * catgets/xopen-msg.sed: Removed.
8333
70d35b67
AS
8334 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8335 po2text.sed.
8336 * intl/po2test.awk: New file.
8337 * intl/po2test.sed: Removed.
8338
ca61cf32
JM
83392012-07-04 Joseph Myers <joseph@codesourcery.com>
8340
8341 [BZ #14328]
8342 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8343 or multiply small sinh result by itself.
8344 * math/s_ctanf.c (__ctanf): Likewise.
8345 * math/s_ctanh.c (__ctanh): Likewise.
8346 * math/s_ctanhf.c (__ctanhf): Likewise.
8347 * math/s_ctanhl.c (__ctanhl): Likewise.
8348 * math/s_ctanl.c (__ctanl): Likewise.
8349 * math/libm-test.inc (ctan_test_tonearest): New function.
8350 (ctan_test_towardzero): Likewise.
8351 (ctan_test_downward): Likewise.
8352 (ctan_test_upward): Likewise.
8353 (ctanh_test_tonearest): Likewise.
8354 (ctanh_test_towardzero): Likewise.
8355 (ctanh_test_downward): Likewise.
8356 (ctanh_test_upward): Likewise.
8357 (main): Call these new functions.
8358 * sysdeps/i386/fpu/libm-test-ulps: Update.
8359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8360
ca48a46a
MF
83612012-07-03 Mike Frysinger <vapier@gentoo.org>
8362
8363 * .gitignore: Delete /ports entry.
8364
9d63d37d
AJ
83652012-07-03 Andreas Jaeger <aj@suse.de>
8366
8367 * po/bg.po: Update from translation team.
8368 * po/cs.po: Likewise.
8369 * po/de.po: Likewise.
8370 * po/hr.po: Likewise.
8371 * po/nl.pl: Likewise.
8372 * po/pl.po: Likewise.
8373 * po/vi.po: Likewise.
8374
370ca3d2
JM
83752012-07-03 Joseph Myers <joseph@codesourcery.com>
8376
95f5a9a8
JM
8377 * Makeconfig [!+link] (+link-before-libc): New variable.
8378 [!+link] (+link-after-libc): Likewise.
8379 [!+link] (+link-tests): Likewise.
8380 [!+link] (+link): Define in terms of $(+link-before-libc) and
8381 $(+link-after-libc).
8382 [!+link-static] (+link-static-before-libc): New variable.
8383 [!+link-static] (+link-static-after-libc): Likewise.
8384 [!+link-static] (+link-static-tests): Likewise.
8385 [!+link-static] (+link-static): Define in terms of
8386 $(+link-static-before-libc) and $(+link-static-after-libc).
8387 [build-shared] (link-libc-before-gnulib): New variable.
8388 [build-shared] (link-libc-tests): Likewise.
8389 [build-shared] (link-libc): Define in terms of
8390 $(link-libc-before-gnulib).
8391 [!build-shared] (link-libc-tests): New variable.
8392 (link-libc-static-tests): New variable.
8393 [!gnulib] (gnulib-arch): New variable.
8394 [!gnulib] (gnulib-tests): Likewise.
8395 [!gnulib] (static-gnulib-arch): Likewise.
8396 [!gnulib] (static-gnulib-tests): Likewise.
8397 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8398 Define with "=" instead of ":=".
8399 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8400 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8401 * Rules (binaries-all-notests): New variable.
8402 (binaries-all-tests): Likewise.
8403 (binaries-static-notests): Likewise.
8404 (binaries-static-tests): Likewise.
8405 (binaries-all): Define using $(binaries-all-notests) and
8406 $(binaries-all-tests).
8407 (binaries-static): Define using $(binaries-static-notests) and
8408 $(binaries-static-tests).
8409 (binaries-shared-tests): New variable.
8410 (binaries-shared-notests): Likewise.
8411 (binaries-shared): Remove variable.
8412 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8413 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8414 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8415 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8416 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8417 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8418 * elf/Makefile (sln-modules): New variable.
8419 (extra-objs): Add $(sln-modules:=.o).
8420 (ldconfig-modules): Add static-stubs.
8421 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8422 * elf/static-stubs.c: New file.
8423
7a845b2c
JM
8424 [BZ #14283]
8425 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8426 by 7 not 8 to examine high bit of fractional part. Use volatile
8427 variables when splitting into final array of floats if
8428 __FLT_EVAL_METHOD__ != 0.
8429 * math/libm-test.inc (cos_test): Add another test.
8430 (sin_test): Likewise.
8431 * sysdeps/i386/fpu/libm-test-ulps: Update.
8432
e2283f38
JM
8433 [BZ #14273]
8434 * math/libm-test.inc (cosh_test): Add more tests.
8435
370ca3d2
JM
8436 * version.h (RELEASE): Set to "development".
8437 (VERSION): Set to "2.16.90".
8438
ee9247c3
CD
84392012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8440
8441 * NEWS: Update copyright. Remove last-updated date.
8442 Mention math library bug fixes and timezone data changes.
8443 * README: Mention GNU/Hurd, x32, and HPPA support status.
8444
4648c381
TS
84452012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8446
8447 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8448
aac78a43
AJ
84492012-06-27 Andreas Jaeger <aj@suse.de>
8450
8451 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8452
ed3dbfad
AJ
84532012-06-25 Andreas Jaeger <aj@suse.de>
8454
8455 * sysdeps/s390/fpu/libm-test-ulps: Update.
8456
4d0ee855
AS
84572012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8458 Thomas Schwinge <thomas@codesourcery.com>
8459
8460 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8461 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8463 fanotify_mark.
8464
af1bce34
TS
84652012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8466
a9fa33ba
TS
8467 * sysdeps/mach/start.c: Remove file.
8468 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8469 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8470 * sysdeps/sh/init-first.c: Likewise.
8471
58f902b8
TS
8472 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8473 registers for frame unwinding purposes, add CFI directives.
8474 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8475 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8476 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8477 Likewise.
8478
1518f58b
TS
8479 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8480 __fortify_fail returning.
8481 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8482
db9b5059
TS
8483 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8484 sysdeps/sh/____longjmp_chk.S.
8485 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8486 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8487 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8488 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8489
967705fe
TS
8490 * sysdeps/sh/abort-instr.h: New file.
8491 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8492 process in case exit returns.
8493
a9def8c4
TS
8494 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8495 initialize the GOT register before use.
8496
2a649725
TS
8497 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8498 calculation of ARGC > 4.
8499
af1bce34
TS
8500 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8501 meaningful names to some local labels.
8502
d230f50a
KK
85032012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8504 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8505
8506 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8507 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8508 (__arch_compare_and_exchange_val_16_acq): Likewise.
8509 (__arch_compare_and_exchange_val_32_acq): Likewise.
8510 (atomic_exchange_and_add): Fix gUSA sequence.
8511 (atomic_add): Likewise.
8512 (atomic_add_negative): Likewise.
8513 (atomic_add_zero): Likewise.
8514 (atomic_bit_test_set): Likewise.
8515
0479b305
AS
85162012-06-22 Andreas Schwab <schwab@redhat.com>
8517
8518 [BZ #13579]
8519 * include/link.h (struct link_map): Add l_free_initfini.
8520 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8521 l_initfini.
8522 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8523 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8524 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8525 set.
8526
0e3933b9
CD
85272012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8528
8529 * configure.in: Use AC_LANG_SOURCE.
8530 * configure: Regenerate.
8531
4248b1b1
RM
85322012-06-22 Roland McGrath <roland@hack.frob.com>
8533
8534 * configure.in (libc_cv_localstatedir): New substituted variable.
8535 * configure: Regenerated.
8536 * config.make.in (localstatedir): New variable, substituted from
8537 libc_cv_localstatedir.
8538 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8539 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8540 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8541 * sysdeps/gnu/configure: Regenerated.
8542
006dd861
JL
85432012-06-21 Jeff Law <law@redhat.com>
8544
8545 [BZ #14277]
8546 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8547 free. Simplify list management for _LIBC case.
8548
79662d42
JM
85492012-06-21 Joseph Myers <joseph@codesourcery.com>
8550
b7abb4bf
JM
8551 [BZ #14273]
8552 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8553 Clear sign bit of 64-bit integer value before comparing against
8554 overflow value.
8555
79662d42
JM
8556 * sysdeps/mach/configure: Regenerated.
8557
1f150908
L
85582012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8559
8560 [BZ #14278]
8561 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8562
28363bbf
JL
85632012-06-21 Jeff Law <law@redhat.com>
8564
8565 [BZ #13882]
8566 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8567 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8568 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8569 * elf/dl-open.c (dl_open_worker): Likewise.
8570
09615db4
CD
85712012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8572
8573 * scripts/list-sources.sh: Scan PORTS for translations.
8574 * po/libc.pot: Regenerated.
8575
2174c6dd
AJ
85762012-06-21 Andreas Jaeger <aj@suse.de>
8577
8578 [BZ #12194]
8579 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8580 warning.
8581 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8582 * bits/byteswap-16.h (__bswap_16): Likewise.
8583 * bits/byteswap.h (__bswap_constant_16): Likewise.
8584
3ee947b1
L
85852012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8586
8587 [BZ #14117]
a2f34833
L
8588 * sysdeps/i386/fpu_control.h: Removed.
8589 * sysdeps/x86_64/fpu_control.h: Moved to ...
8590 * sysdeps/x86/fpu_control.h: Here.
8591
3ee947b1
L
8592 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8593 (_FPU_SETCW): Likewise.
8594
ed1825f8
L
85952012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8596
25f1282a
L
8597 [BZ #14117]
8598 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8599 * sysdeps/x86/fpu/bits/mathinline.h: This.
8600 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8601
ed1825f8
L
8602 [BZ #14050]
8603 [BZ #14117]
8604 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8605 functions if __x86_64__ is defined.
8606
36d54b74
CLT
86072012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8608
8609 * string/endian.h: Add !__ASSEMBLER__ condition for including
8610 conversion interfaces.
8611
10285c21
JM
86122012-06-15 Joseph Myers <joseph@codesourcery.com>
8613
8614 [BZ #14241]
8615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8616 of ABS(x) in calculating zero to negative powers other than odd
8617 integers.
8618 * math/libm-test.inc (pow_test): Add more tests.
8619
06c5abbd
AJ
86202012-06-15 Andreas Jaeger <aj@suse.de>
8621
8622 * manual/contrib.texi (Contributors): Update entry of Liubov
8623 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8624 Machado Filho.
8625
a3aeac40
CH
86262012-06-15 Cyril Hrubis <metan@ucw.cz>
8627
8628 * string/string.h: Add __wur to GNU version of strerror_r.
8629
49bdf4c1
L
86302012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8631
8632 [BZ #14229]
8633 * string/Makefile (tests): Add tst-strtok_r.
8634 * string/tst-strtok_r.c: New file.
8635 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8636 RAX_LP/RDX_LP on SAVE_PTR.
8637
834f9b8d
RM
86382012-06-14 Roland McGrath <roland@hack.frob.com>
8639
8640 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8641
75fa1921
JM
86422012-06-14 Joseph Myers <joseph@codesourcery.com>
8643
8644 * libm_test.inc (csqrt_test): Allow more spurious underflow
8645 exceptions.
8646 (j0_test): Likewise.
8647 (j1_test): Likewise.
8648 (y0_test): Likewise.
8649 (y1_test): Likewise.
8650
771766df
CD
86512012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8652
8653 * po/Makefile (libc.pot): Use UTF-8 charset.
8654
ceb9e56b
PP
86552012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8656
8657 [BZ #14210]
8658 Suppress sign-conversion warning from FD_SET.
8659 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8660 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8661 not unsigned long int.
8662 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8663
ddb28975
L
86642012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8665
8666 [BZ #14050]
8667 [BZ #14117]
8668 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8669 __extern_always_inline instead of __extern_inline.
8670 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8671 (__signbit): Likewise.
8672 (__signbitl): Support C++ namespace.
8673 (lrintf): New inline function.
8674 (lrint): Likewise.
8675 (llrintf): Likewise.
8676 (llrint): Likewise.
8677 (fmaxf): Likewise.
8678 (fmax): Likewise.
8679 (fminf): Likewise.
8680 (fmin): Likewise.
8681 (rint): Likewise.
8682 (rintf): Likewise.
8683 (ceil): Likewise.
8684 (ceilf): Likewise.
8685 (floor): Likewise.
8686 (floorf): Likewise.
8687 (nearbyint): Likewise.
8688 (nearbyintf): Likewise.
8689
d7b4fb26
TS
86902012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8691
8692 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8693 non-default versions.
8694
eb55f5c2
RM
86952012-06-11 Roland McGrath <roland@hack.frob.com>
8696
8697 [BZ #14218]
8698 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8699
366af02c
TS
87002012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8701
99ff6e5c
TS
8702 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8703 (FE_UPWARD, FE_DOWNWARD): Don't define.
8704 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8705 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8706
366af02c
TS
8707 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8708 reading it.
8709 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8710 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8711
793ea851
KK
87122012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8713
8714 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8716 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8717 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8718
a728a38f
L
87192012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8720
8721 [BZ #14117]
c08010c7
L
8722 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8723 * sysdeps/i386/fpu/Implies: New file.
8724 * sysdeps/x86_64/fpu/Implies: Likewise.
8725 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8726 * sysdeps/x86/fpu/bits/fenv.h: This.
8727
a728a38f
L
8728 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8729 __SSE_MATH__.
8730
6e230d11
SP
87312012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8732
8733 [BZ #14134]
8734 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8735 character 0xffff that matches the last element of the
8736 conversion table.
8737
1b671feb
AZ
87382012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8739
8740 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8741 fmodl commit.
8742
6043738b
AZ
87432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8744
8745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8746 values higher than 25.6283.
8747
34ae0b32
AZ
87482012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8749
8750 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8751 subnormal exponent extraction and add some __builtin_expect.
8752 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8753 Fix for subnormal mantissa calculation.
8754
1214ec8f
MF
87552012-06-04 Mike Frysinger <vapier@gentoo.org>
8756
8757 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8758 cpu2 is -1 and errno is not ENOSYS.
8759
f3d1f93c
L
87602012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8761
8762 [BZ #14117]
0e4a3cd7
L
8763 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8764 * sysdeps/x86/bits/string.h: This.
8765 * sysdeps/x86_64/bits/string.h: Removed.
8766
6704c645
L
8767 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8768 if not compiling for x86-64, but compiling for >= i486.
8769
48495318
L
8770 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8771 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8772
14adcbfc
L
8773 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8774 New macro from Linux kernel 3.4.0.
8775 (FP_XSTATE_MAGIC2): Likewise.
8776 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8777 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8778 (struct _fpx_sw_bytes): New struct.
8779 (struct _xsave_hdr): Likewise.
8780 (struct _ymmh_state): Likewise.
8781 (struct _xstate): Likewise.
8782
68e408ab
L
8783 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8784 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8785 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8786 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8787 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8788 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8789
f3d1f93c
L
8790 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8791 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8792 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8793 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8794 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8795 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8796
d9dc34cd
TMQMF
87972012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8798
8799 [BZ #13743]
8800 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8801 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8802 (sysdep_headers): Include sys/platform/ppc.h.
8803 * sysdeps/powerpc/test-gettimebase.c: Test for
8804 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8805 * manual/Makefile (appendices): Include platform.texi.
8806 * manual/contrib.texi (Contributors): Update @node pointers.
8807 * manual/maint.texi (Maintenance): Likewise.
8808 (Platform): New node.
8809 * manual/platform.texi: New file. Document the new features.
8810
4af3879c
SP
88112012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8812 Jakub Jelinek <jakub@redhat.com>
8813
8814 [BZ #14188]
8815 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8816 where __builtin_expect is unavailable.
8817
2fd6ff13
DM
88182012-06-03 David S. Miller <davem@davemloft.net>
8819
8820 * stdlib/longlong.h: Updated from GCC.
8821
173f7220
AS
88222012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8823
8824 [BZ #14042]
8825 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8826 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8827 __mcount_internal.
8828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8829 (GLIBC_2.16): Likewise.
8830
f34a1c6f
L
88312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8832
8833 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8834
88a4576f
JM
88352012-06-01 Joseph Myers <joseph@codesourcery.com>
8836
ea32bcdd
JM
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8838 (default-abi): New variable.
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8840 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8841 variable.
8842 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8843 Likewise.
8844 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8845 Likewise.
8846 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8847 Likewise.
8848
88a4576f
JM
8849 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8850 definition. Document in comment.
8851
402fe938
DM
88522012-06-01 David S. Miller <davem@davemloft.net>
8853
8854 * stdlib/longlong.h: Updated from GCC.
8855
3553723f
L
88562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8857
8858 [BZ #14117]
3bd872c4
L
8859 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8860 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8861 sys/debugreg.h sys/io.h here.
8862 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8863 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8864 sys/io.h.
8865 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8866 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8867 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8868 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8869 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8870 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8871
3553723f
L
8872 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8873 Define only if __x86_64__ is defined.
8874
4842e4fe
JM
88752012-06-01 Joseph Myers <joseph@codesourcery.com>
8876
c5bfe3d5
JM
8877 [BZ #14048]
8878 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8879 Use int64_t for variable i.
8880 * math/libm-test.inc (fmod_test): Add more tests.
8881
4842e4fe
JM
8882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8883 z computation is not scheduled after fetestexcept.
8884 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8885 Use math_force_eval instead of asm to ensure calculation scheduled
8886 before exception test.
8887 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8888 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8889
efb73488
AJ
88902012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8891
8892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8893 computation is not scheduled after fetestexcept.
8894
29bcce7c
L
88952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 [BZ #14117]
8898 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8899 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8900
73a68f94
AZ
89012012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8902
8903 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8904 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8905
67b6df78
L
89062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8907
edf2933a 8908 [BZ #14117]
ebc64a18
L
8909 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8910 <bits/wordsize.h>.
8911 (__WCHAR_MIN): Support __WORDSIZE == 64.
8912 (__WCHAR_MAX): Likewise.
8913
edf2933a
L
8914 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8915 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8916
57c6cf40
L
8917 [BZ #14183]
8918 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8919 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8920
67b6df78 8921 [BZ #14117]
8eb6281e
L
8922 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8923 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8924
aac639f4
L
8925 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8926 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8927
67b6df78
L
8928 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8929 Defined to 1 if __x86_64__ isn't defined.
8930 (_STAT_VER_LINUX_OLD): New.
8931 (st_atime): Remove duplicate.
8932 (st_mtime): Likewise.
8933 (st_ctime): Likewise.
8934
1c2cfe81
DM
89352012-05-31 David S. Miller <davem@davemloft.net>
8936
8937 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8938 entries.
8939
5be8418c
AS
89402012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8941
e7725326
AS
8942 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8943 gen-libm-test.pl.
8944
5be8418c
AS
8945 [BZ #14132]
8946 * elf/dl-reloc.c: Include <_itoa.h>.
8947 (_dl_reloc_bad_type): Remove use of INTUSE.
8948 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8949 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8950 * stdio-common/psiginfo.c (psiginfo): Likewise.
8951 * stdio-common/psignal.c (psignal): Likewise.
8952 * string/strsignal.c (strsignal): Likewise.
8953 * include/signal.h (_sys_siglist): Declare hidden proto.
8954 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8955 INTVARDEF with libc_hidden_data_def.
8956 * stdio-common/itoa-udigits.c: Likewise.
8957 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8958 (_itoa_lower_digits_internal): Remove declaration.
8959 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8960 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8961 (_sys_sigabbrev_internal): Remove aliases.
8962 (_sys_siglist): Define hidden alias.
8963
507352f1
MT
89642012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8965
8966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8967 bits/sysctl.h.
8968
42bbb1c3
L
89692012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8970
8971 [BZ #14117]
6bd784b6
L
8972 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8973 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8974
8bca20f0
L
8975 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8976 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8977 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8978 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8980 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8981
f9e890a9
L
8982 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8983 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8984 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8985
471101a1
L
8986 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8987 with __addr.
8988 (insw): Likewise.
8989 (insl): Likewise.
8990 (outsb): Likewise.
8991 (outsw): Likewise.
8992 (outsl): Likewise.
8993
6451c862
L
8994 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8995 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8996 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8997
a254b8c9
L
8998 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8999 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9000 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9001 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9002 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9003 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9004
b8dfdd92
L
9005 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9006 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9007
578cd270
L
9008 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9009 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9010
de662f5f
L
9011 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9012 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9013 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9014
25653439
L
9015 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9016 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9017 to ...
9018 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9019
6bad24a0
L
9020 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9021 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9022 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9023
42bbb1c3
L
9024 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9025 for x86-64.
9026 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9027
2d10d547
JM
90282012-05-31 Joseph Myers <joseph@codesourcery.com>
9029
9030 * math/math.h (M_El): Use two more decimal places.
9031 (M_LOG2El): Likewise.
9032 (M_LOG10El): Likewise.
9033 (M_LN2l): Likewise.
9034 (M_LN10l): Likewise.
9035 (M_PIl): Likewise.
9036 (M_PI_2l): Likewise.
9037 (M_PI_4l): Likewise.
9038 (M_1_PIl): Likewise.
9039 (M_2_PIl): Likewise.
9040 (M_2_SQRTPIl): Likewise.
9041 (M_SQRT2l): Likewise.
9042 (M_SQRT1_2l): Likewise.
9043
f230c29b
DM
90442012-05-31 David S. Miller <davem@davemloft.net>
9045
9046 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9047 values between float registers.
9048 * sysdeps/sparc/sparc64/memset.S: Likewise.
9049 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9050
fed806c3
MF
90512012-05-31 Mike Frysinger <vapier@gentoo.org>
9052
9053 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9054 -D_FORTIFY_SOURCE=1.
9055 (CPPFLAGS-tst-longjmp_chk.c): Define.
9056 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9057 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9058 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9059 CFLAGS-tst-wchar-h.c.
9060
30917259
MP
90612012-05-31 Marek Polacek <polacek@redhat.com>
9062
9063 [BZ #14132]
9064 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9065 __endmntent_internal): Remove declaration.
9066 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9067 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9068 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9069
1c58d5dc
DM
90702012-05-30 David S. Miller <davem@davemloft.net>
9071
9072 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9073 (___Q_simulate_exceptions): Use real FP ops rather than writing
9074 into the %fsr.
9075 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9076 Likewise.
9077
7dc00e0d
L
90782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 [BZ #14117]
0bd53985
L
9081 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9082 * sysdeps/x86/bits/xtitypes.h: This.
9083
3a257e66
L
9084 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9085 * sysdeps/x86/bits/wordsize.h: This.
9086
62f62904
L
9087 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9088 * sysdeps/x86/bits/huge_vall.h: This.
9089
404fe9d9
L
9090 * sysdeps/i386/bits/select.h: Removed.
9091 * sysdeps/x86_64/bits/select.h: Renamed to ...
9092 * sysdeps/x86/bits/select.h: This.
9093
d48d0446
L
9094 * sysdeps/i386/bits/setjmp.h: Removed.
9095 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9096 * sysdeps/x86/bits/setjmp.h: This.
9097
7dc00e0d
L
9098 * sysdeps/i386/bits/mathdef.h: Removed.
9099 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9100 * sysdeps/x86/bits/mathdef.h: This.
9101
03277f8f
AS
91022012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9103
9104 [BZ #14132]
9105 * include/sys/socket.h (__connect_internal)
9106 (__libc_sa_len_internal): Remove declaration.
9107 (__connect, __libc_sa_len): Declare hidden_proto.
9108 (SA_LEN): Remove use of INTUSE.
9109 * socket/connect.c: Add libc_hidden_def.
9110 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9111 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9112 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9113 alias.
9114 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9115 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9116 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9117 of adding _internal alias.
9118
13764867
L
91192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9120
9121 [BZ #14117]
6bd97696
L
9122 * sysdeps/i386/bits/link.h: Removed.
9123 * sysdeps/i386/bits/linkmap.h: Likewise.
9124 * sysdeps/x86_64/bits/link.h: Renamed to ...
9125 * sysdeps/x86/bits/link.h: This.
9126 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9127 * sysdeps/x86/bits/linkmap.h: This.
9128
f726f0bb
L
9129 * sysdeps/i386/bits/endian.h: Removed.
9130 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9131 * sysdeps/x86/bits/endian.h: This.
9132
13764867
L
9133 * sysdeps/i386/bits/byteswap.h: Removed.
9134 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9135 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9136 * sysdeps/x86/bits/byteswap.h: This.
9137 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9138 * sysdeps/x86/bits/byteswap-16.h: This.
9139 * sysdeps/i386/Implies: Add x86.
9140 * sysdeps/x86_64/Implies: Likewise.
9141
ae251b0b
DM
91422012-05-30 David S. Miller <davem@davemloft.net>
9143
9144 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9145 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9146 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9147 (FP_TRAPPING_EXCEPTIONS): Define.
9148 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9149 (FP_TRAPPING_EXCEPTIONS): Define.
9150 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9151 subnormals only when inexact has been signalled or underflow
9152 exceptions are enabled.
9153 (_FP_PACK_CANONICAL): Likewise.
9154
d5c90867
L
91552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9156
9157 [BZ #14183]
9158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9159 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9160
63f1549e
RH
91612012-05-30 Richard Henderson <rth@twiddle.net>
9162
8d8f2279
RH
9163 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9164 with #ifndef NOT_IN_libc.
9165
63f1549e
RH
9166 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9167 marked to avoid plt entry.
9168
0ab0291b
L
91692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9170
9171 [BZ #14112]
9172 * Makeconfig (default-abi): New macro.
9173 (abi-includes): Likewise.
9174 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9175 $(abi-$(default-abi)-lib-soname) for soname if defined.
9176 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9177 abi-variants.
9178 * Makefile (installed-stubs): Likewise.
9179 * include/stubs-biarch.h: Removed.
9180 * scripts/lib-names.awk: Only handle one library at a time.
9181 * scripts/soversions.awk: Remove WORDSIZE support.
9182 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9183 entries.
9184 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9185 Removed.
9186 (syscall-list-default-condition): Likewise.
9187 (syscall-list-default-condition): Likewise.
9188 (syscall-list-includes): Likewise.
9189 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9190 syscall-list-* with abi-*. Handle undefined abi-variants.
9191 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9192 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9193 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9194 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9195 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9196 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9197 Removed.
9198 (syscall-list-32-options): Likewise.
9199 (syscall-list-32-condition): Likewise.
9200 (syscall-list-64-options): Likewise.
9201 (syscall-list-64-condition): Likewise.
9202 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9203 macro.
9204 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9205 Renamed to ...
9206 (abi-*): This.
9207 (abi-64-ld-soname): New macro.
9208 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9209 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9210 Renamed to ...
9211 (abi-*): This.
9212 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9213 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9214
4da0431d
JM
92152012-05-30 Joseph Myers <joseph@codesourcery.com>
9216
3a85279c
JM
9217 * sysdeps/unix/sysv/linux/kernel-features.h
9218 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9219 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9220 include <kernel-features.h>.
9221 [!__NR_ftruncate64]: Remove conditional code.
9222 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9223 [__NR_ftruncate64]: Make code unconditional.
9224 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9225 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9226 include <kernel-features.h>.
9227 [!__NR_ftruncate64]: Remove conditional code.
9228 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9229 [__NR_ftruncate64]: Make code unconditional.
9230 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9232 include <kernel-features.h>.
9233 [!__NR_ftruncate64]: Remove conditional code.
9234 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9235 [__NR_ftruncate64]: Make code unconditional.
9236 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9238 include <kernel-features.h>.
9239 [!__NR_ftruncate64]: Remove conditional code.
9240 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9241 [__NR_ftruncate64]: Make code unconditional.
9242 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9243
4da0431d
JM
9244 * configure.in (libc_cv_fpie): Weaken to a compile test using
9245 LIBC_TRY_CC_OPTION.
9246 * configure: Regenerated.
9247
11ef492c
AK
92482012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9249
9250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9254 Refreshed.
9255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9261 Refreshed.
9262
d66ef399
DM
92632012-05-27 David S. Miller <davem@davemloft.net>
9264
9265 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9266 (___Q_zero): New.
9267 (__Q_simulate_exceptions): Return void. Change to simulate
9268 exceptions by writing into the %fsr.
9269 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9270 (__Qp_handle_exceptions): Likewise.
9271 (numbers): Delete.
9272 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9273 __Qp_handle_exceptions.
9274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9275 __Qp_handle_exceptions.
9276 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9277 as unused and give dummy FP_RND_NEAREST initializer.
9278 (FP_INHIBIT_RESULTS): Define.
9279 (___Q_simulate_exceptions): Update declaration.
9280 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9281 formatting.
9282 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9283 as unused and give dummy FP_RND_NEAREST initializer.
9284 (__Qp_handle_exceptions): Update declaration.
9285 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9286 formatting.
9287
04fb54b5
TS
92882012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9289
9290 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9291 the temporary FPU control word.
9292 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9293 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9294 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9295 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9296 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9297 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9298 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9299 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9300 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9301 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9302 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9303
3f99608f
KK
93042012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9305
9306 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9307 fields.
9308
65a4de4e
CLT
93092012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9310
9311 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9312 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9313 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9314 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9315 Likewise.
9316 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9317 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9318 Likewise.
9319
15749d40
UD
93202012-05-27 Ulrich Drepper <drepper@gmail.com>
9321
9322 * po/h.po: Update from translation team.
9323
25dbcb27
AS
93242012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9325
3d3f8e55
AS
9326 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9327
25dbcb27
AS
9328 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9329 handling of denormals.
9330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9331 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9332 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9333 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9336 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9337 Likewise.
9338
7ad47a80 93392012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9340
9341 [BZ #14152]
9342 * math/libm-test.inc (fma_test): Don't always expect underflow
9343 exception.
9344
9c6ea9fa
SP
93452012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9346
9347 [BZ #12416]
9348 * elf/tst-execstack.c: Include stackinfo.h.
9349 (do_test): Adjust test case to ensure that pthread_getattr_np
9350 behaviour remains the same after marking stack executable.
9351
a8239222
JM
93522012-05-25 Joseph Myers <joseph@codesourcery.com>
9353
9354 * sysdeps/unix/sysv/linux/kernel-features.h
9355 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9356 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9357 kernel-features.h.
9358 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9359 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9360 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9361 kernel-features.h.
9362 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9363 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9364
918b5606
L
93652012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * configure.in: Define the default includes to being none.
9368 * configure: Regenerated.
9369
3a097cc7
RM
93702012-05-25 Roland McGrath <roland@hack.frob.com>
9371
8422c9a5
RM
9372 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9373 * sysdeps/x86_64/setjmp.S: Likewise.
9374 * sysdeps/i386/bsd-setjmp.S: Likewise.
9375 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9376 * sysdeps/i386/setjmp.S: Likewise.
9377 * sysdeps/i386/__longjmp.S: Likewise.
9378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9379 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9380
3a097cc7
RM
9381 * include/stap-probe.h: New file.
9382 * configure.in: Handle --enable-systemtap.
9383 * configure: Regenerated.
9384 * config.h.in (USE_STAP_PROBE): New #undef.
9385 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9386 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9387 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9388
21708942
JM
93892012-05-25 Joseph Myers <joseph@codesourcery.com>
9390
9391 [BZ #13717]
9392 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9393 to 2.4.0 where earlier.
9394 * sysdeps/unix/sysv/linux/configure: Regenerated.
9395 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9396 <kernel-features.h>.
9397 [__ASSUME_32BITUIDS]: Make code unconditional.
9398 [!__ASSUME_32BITUIDS]: Remove conditional code.
9399 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9400 <kernel-features.h>.
9401 [__ASSUME_32BITUIDS]: Make code unconditional.
9402 [!__ASSUME_32BITUIDS]: Remove conditional code.
9403 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9404 [__ASSUME_32BITUIDS]: Make code unconditional.
9405 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9406 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9407 <kernel-features.h>.
9408 [__ASSUME_32BITUIDS]: Make code unconditional.
9409 [!__ASSUME_32BITUIDS]: Remove conditional code.
9410 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9411 <kernel-features.h>.
9412 [__ASSUME_32BITUIDS]: Make code unconditional.
9413 [!__ASSUME_32BITUIDS]: Remove conditional code.
9414 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9415 <kernel-features.h>.
9416 [__ASSUME_32BITUIDS]: Make code unconditional.
9417 [!__ASSUME_32BITUIDS]: Remove conditional code.
9418 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9419 <kernel-features.h>.
9420 [__ASSUME_32BITUIDS]: Make code unconditional.
9421 [!__ASSUME_32BITUIDS]: Remove conditional code.
9422 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9423 <kernel-features.h>.
9424 [__ASSUME_32BITUIDS]: Make code unconditional.
9425 [!__ASSUME_32BITUIDS]: Remove conditional code.
9426 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9427 <kernel-features.h>.
9428 [__ASSUME_32BITUIDS]: Make code unconditional.
9429 [!__ASSUME_32BITUIDS]: Remove conditional code.
9430 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9431 <kernel-features.h>.
9432 [__ASSUME_32BITUIDS]: Make code unconditional.
9433 [!__ASSUME_32BITUIDS]: Remove conditional code.
9434 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9435 <kernel-features.h>.
9436 [__ASSUME_32BITUIDS]: Make code unconditional.
9437 [!__ASSUME_32BITUIDS]: Remove conditional code.
9438 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9439 <kernel-features.h>.
9440 [__ASSUME_32BITUIDS]: Make code unconditional.
9441 [!__ASSUME_32BITUIDS]: Remove conditional code.
9442 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9443 <kernel-features.h>.
9444 [__ASSUME_32BITUIDS]: Make code unconditional.
9445 [!__ASSUME_32BITUIDS]: Remove conditional code.
9446 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9447 <kernel-features.h>.
9448 [__NR_setresgid] (__setresgid): Do not declare.
9449 [__ASSUME_32BITUIDS]: Make code unconditional.
9450 [!__ASSUME_32BITUIDS]: Remove conditional code.
9451 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9452 <kernel-features.h>.
9453 [__NR_setresuid] (__setresuid): Do not declare.
9454 [__ASSUME_32BITUIDS]: Make code unconditional.
9455 [!__ASSUME_32BITUIDS]: Remove conditional code.
9456 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9457 <kernel-features.h>.
9458 [__ASSUME_32BITUIDS]: Make code unconditional.
9459 [!__ASSUME_32BITUIDS]: Remove conditional code.
9460 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9461 <kernel-features.h>.
9462 [__ASSUME_32BITUIDS]: Make code unconditional.
9463 [!__ASSUME_32BITUIDS]: Remove conditional code.
9464 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9465 <kernel-features.h>.
9466 [__ASSUME_32BITUIDS]: Make code unconditional.
9467 [!__ASSUME_32BITUIDS]: Remove conditional code.
9468 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9469 <kernel-features.h>.
9470 [__ASSUME_32BITUIDS]: Make code unconditional.
9471 [!__ASSUME_32BITUIDS]: Remove conditional code.
9472 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9473 <kernel-features.h>.
9474 [__ASSUME_32BITUIDS]: Make code unconditional.
9475 [!__ASSUME_32BITUIDS]: Remove conditional code.
9476 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9477 <kernel-features.h>.
9478 [__ASSUME_32BITUIDS]: Make code unconditional.
9479 [!__ASSUME_32BITUIDS]: Remove conditional code.
9480 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9481 <kernel-features.h>.
9482 [__ASSUME_32BITUIDS]: Make code unconditional.
9483 [!__ASSUME_32BITUIDS]: Remove conditional code.
9484 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9485 <kernel-features.h>.
9486 [__ASSUME_32BITUIDS]: Make code unconditional.
9487 [!__ASSUME_32BITUIDS]: Remove conditional code.
9488 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9489 <kernel-features.h>.
9490 [__ASSUME_32BITUIDS]: Make code unconditional.
9491 [!__ASSUME_32BITUIDS]: Remove conditional code.
9492 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9493 <kernel-features.h>.
9494 [__ASSUME_32BITUIDS]: Make code unconditional.
9495 [!__ASSUME_32BITUIDS]: Remove conditional code.
9496 * sysdeps/unix/sysv/linux/kernel-features.h
9497 (__ASSUME_SETRESUID_SYSCALL): Remove.
9498 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9499 (__ASSUME_32BITUIDS): Likewise.
9500 (__ASSUME_LDT_WORKS): Likewise.
9501 (__ASSUME_O_DIRECTORY): Likewise.
9502 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9503 architecture but not kernel version.
9504 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9505 (__ASSUME_MMAP2_SYSCALL): Likewise.
9506 (__ASSUME_STAT64_SYSCALL): Likewise.
9507 (__ASSUME_IPC64): Likewise.
9508 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9509 <kernel-features.h>.
9510 [__ASSUME_32BITUIDS]: Make code unconditional.
9511 [!__ASSUME_32BITUIDS]: Remove conditional code.
9512 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9513 <kernel-features.h>.
9514 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9515 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9516 132096]: Remove conditional code.
9517 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9518 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9519 <kernel-features.h>.
9520 [__ASSUME_32BITUIDS]: Make code unconditional.
9521 [!__ASSUME_32BITUIDS]: Remove conditional code.
9522 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9523 <kernel-features.h>.
9524 [__ASSUME_32BITUIDS]: Make code unconditional.
9525 [!__ASSUME_32BITUIDS]: Remove conditional code.
9526 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9527 <kernel-features.h>.
9528 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9529 unconditional.
9530 (__setresgid): Do not declare.
9531 [__ASSUME_32BITUIDS]: Make code unconditional.
9532 [!__ASSUME_32BITUIDS]: Remove conditional code.
9533 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9534 <kernel-features.h>.
9535 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9536 unconditional.
9537 (__setresuid): Do not declare.
9538 [__ASSUME_32BITUIDS]: Make code unconditional.
9539 [!__ASSUME_32BITUIDS]: Remove conditional code.
9540 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9541 <kernel-features.h>.
9542 [__ASSUME_32BITUIDS]: Make code unconditional.
9543 [!__ASSUME_32BITUIDS]: Remove conditional code.
9544 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9545 <kernel-features.h>.
9546 [__ASSUME_32BITUIDS]: Make code unconditional.
9547 [!__ASSUME_32BITUIDS]: Remove conditional code.
9548
a386f1cc
RH
95492012-05-25 Richard Henderson <rth@twiddle.net>
9550
9551 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9552 dl_hwcap to ifunc resolver.
9553 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9554 elf_ifunc_invoke.
9555 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9556 dl_hwcap to ifunc resolver.
9557 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9558
b6550497
JM
95592012-05-24 Joseph Myers <joseph@codesourcery.com>
9560
9561 [BZ #14153]
9562 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9563 for |x| <= 2**-26, not 2**-57.
9564 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9565 exception.
9566
b0bc23a1
JL
95672012-05-24 Jeff Law <law@redhat.com>
9568
9569 * stdio-common/Makefile (tests): Add bug25.
9570 * stdio-common/bug25.c: New test.
9571
347c92e9
L
95722012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9573
9574 [BZ #13576]
9575 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9576 multiple of MALLOC_ALIGNMENT in size.
9577 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9578
6bcc8b3f
JM
95792012-05-24 Joseph Myers <joseph@codesourcery.com>
9580
9581 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9582 Require >= 256.
9583 (FILENAME_MAX): Use macro-int-constant.
9584 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9585 (_IOFBF): Use macro-int-constant.
9586 (_IOLBF): Likewise.
9587 (_IONBF): Likewise.
9588 (SEEK_CUR): Likewise.
9589 (SEEK_END): Likewise.
9590 (SEEK_SET): Likewise.
9591 (TMP_MAX): Likewise.
9592 (EOF): Use macro-int-constant. Require < 0.
9593 (NULL): Use macro-constant. Require == 0.
9594 (stdin): Require type to be FILE *.
9595 (stdout): Likewise.
9596 (stderr): Likewise.
9597 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9598 macro-int-constant.
9599 (EXIT_SUCCESS): Likewise.
9600 (NULL): Use macro-constant. Require == 0.
9601 (RAND_MAX): Use macro-int-constant.
9602 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9603 [C99-based standards] (strtof): Require function.
9604 [C99-based standards] (strtold): Likewise.
9605 [C99-based standards] (strtoll): Likewise.
9606 [C99-based standards] (strtoull): Likewise.
9607 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9608 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9609 [ISO || ISO99 || ISO11] (math.h): Likewise.
9610 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9611 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9613
d18ea0c5
AS
96142012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9615
9616 [BZ #14132]
56d25bb8
AS
9617 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9618 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9619 * intl/dgettext.c (DCGETTEXT): Likewise.
9620 * intl/gettext.c (DCGETTEXT): Likewise.
9621 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9622 * posix/regex_internal.h (gettext): Likewise.
9623 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9624 Remove declaration.
9625 * include/argz.h (__argz_count_internal)
9626 (__argz_stringify_internal): Remove declaration.
9627 (__argz_count, __argz_stringify): Declare hidden proto.
9628 * intl/dcgettext.c: Remove use of INTDEF.
9629 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9630 * string/argz-stringify.c: Likewise.
9631 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9632 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9633 Declare hidden proto.
d18ea0c5
AS
9634 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9635 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9636 Declare hidden proto.
9637 * include/stdio.h (__asprintf_internal): Don't declare.
9638 (__asprintf): Don't define as macro. Declare hidden proto.
9639 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9640 (__fsetlocking): Declare hidden proto.
9641 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9642 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9643 hidden proto.
9644 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9645 (_IO_setlinebuf): Remove use of INTUSE.
9646 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9647 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9648 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9649 Remove declaration.
9650 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9651 (_IO_do_flush): Remove use of INTUSE.
9652 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9653 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9654 (_IO_adjust_column, _IO_least_wmarker)
9655 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9656 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9657 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9658 (_IO_default_doallocate, _IO_wdefault_doallocate)
9659 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9660 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9661 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9662 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9663 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9664 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9665 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9666 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9667 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9668 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9669 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9670 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9671 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9672 proto.
9673 (_IO_flush_all_internal, _IO_adjust_column_internal)
9674 (_IO_default_uflow_internal, _IO_default_finish_internal)
9675 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9676 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9677 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9678 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9679 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9680 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9681 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9682 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9683 (_IO_file_close_internal, _IO_file_close_it_internal)
9684 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9685 (_IO_file_init_internal, _IO_file_attach_internal)
9686 (_IO_file_fopen_internal, _IO_file_read_internal)
9687 (_IO_file_sync_internal, _IO_file_seek_internal)
9688 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9689 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9690 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9691 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9692 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9693 (_IO_list_all_internal, _IO_link_in_internal)
9694 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9695 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9696 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9697 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9698 (_IO_do_write_internal, _IO_padn_internal)
9699 (_IO_getline_info_internal, _IO_getline_internal)
9700 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9701 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9702 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9703 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9704 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9705 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9706 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9707 with libc_hidden_ver, remove use of INTUSE.
9708 * libio/genops.c: Likewise.
9709 * libio/freopen.c: Likewise.
9710 * libio/freopen64.c: Likewise.
9711 * libio/iofclose.c: Likewise.
9712 * libio/iofdopen.c: Likewise.
9713 * libio/iofflush.c: Likewise.
9714 * libio/iofflush_u.c: Likewise.
9715 * libio/iofgets.c: Likewise.
9716 * libio/iofgets_u.c: Likewise.
9717 * libio/iofopen.c: Likewise.
9718 * libio/iofopncook.c: Likewise.
9719 * libio/iofread.c: Likewise.
9720 * libio/iofread_u.c: Likewise.
9721 * libio/ioftell.c: Likewise.
9722 * libio/iofwrite.c: Likewise.
9723 * libio/iogetline.c: Likewise.
9724 * libio/iogets.c: Likewise.
9725 * libio/iogetwline.c: Likewise.
9726 * libio/iopadn.c: Likewise.
9727 * libio/iopopen.c: Likewise.
9728 * libio/ioseekoff.c: Likewise.
9729 * libio/ioseekpos.c: Likewise.
9730 * libio/iosetbuffer.c: Likewise.
9731 * libio/iosetvbuf.c: Likewise.
9732 * libio/ioungetc.c: Likewise.
9733 * libio/ioungetwc.c: Likewise.
9734 * libio/iovdprintf.c: Likewise.
9735 * libio/iovsprintf.c: Likewise.
9736 * libio/iovsscanf.c: Likewise.
9737 * libio/memstream.c: Likewise.
9738 * libio/obprintf.c: Likewise.
9739 * libio/oldfileops.c: Likewise.
9740 * libio/oldiofclose.c: Likewise.
9741 * libio/oldiofdopen.c: Likewise.
9742 * libio/oldiofopen.c: Likewise.
9743 * libio/oldiopopen.c: Likewise.
9744 * libio/oldstdfiles.c: Likewise.
9745 * libio/putc.c: Likewise.
9746 * libio/setbuf.c: Likewise.
9747 * libio/setlinebuf.c: Likewise.
9748 * libio/stdfiles.c: Likewise.
9749 * libio/strops.c: Likewise.
9750 * libio/vasprintf.c: Likewise.
9751 * libio/vscanf.c: Likewise.
9752 * libio/vsnprintf.c: Likewise.
9753 * libio/vswprintf.c: Likewise.
9754 * libio/wfiledoalloc.c: Likewise.
9755 * libio/wfileops.c: Likewise.
9756 * libio/wgenops.c: Likewise.
9757 * libio/wmemstream.c: Likewise.
9758 * libio/wstrops.c: Likewise.
9759 * libio/__fpurge.c: Likewise.
9760 * libio/__fsetlocking.c: Likewise.
9761 * assert/assert.c: Likewise.
9762 * debug/fgets_chk.c: Likewise.
9763 * debug/fgets_u_chk.c: Likewise.
9764 * debug/fread_chk.c: Likewise.
9765 * debug/fread_u_chk.c: Likewise.
9766 * debug/gets_chk.c: Likewise.
9767 * debug/obprintf_chk.c: Likewise.
9768 * debug/vasprintf_chk.c: Likewise.
9769 * debug/vdprintf_chk.c: Likewise.
9770 * debug/vsnprintf_chk.c: Likewise.
9771 * debug/vsprintf_chk.c: Likewise.
9772 * malloc/mtrace.c: Likewise.
9773 * misc/error.c: Likewise.
9774 * misc/syslog.c: Likewise.
9775 * stdio-common/asprintf.c: Likewise.
9776 * stdio-common/fxprintf.c: Likewise.
9777 * stdio-common/getw.c: Likewise.
9778 * stdio-common/isoc99_fscanf.c: Likewise.
9779 * stdio-common/isoc99_scanf.c: Likewise.
9780 * stdio-common/isoc99_vfscanf.c: Likewise.
9781 * stdio-common/isoc99_vscanf.c: Likewise.
9782 * stdio-common/isoc99_vsscanf.c: Likewise.
9783 * stdio-common/printf-prs.c: Likewise.
9784 * stdio-common/printf_fp.c: Likewise.
9785 * stdio-common/printf_fphex.c: Likewise.
9786 * stdio-common/printf_size.c: Likewise.
9787 * stdio-common/putw.c: Likewise.
9788 * stdio-common/scanf.c: Likewise.
9789 * stdio-common/sprintf.c: Likewise.
9790 * stdio-common/tmpfile.c: Likewise.
9791 * stdio-common/vfprintf.c: Likewise.
9792 * stdio-common/vfscanf.c: Likewise.
9793 * stdlib/strfmon_l.c: Likewise.
9794 * sunrpc/openchild.c: Likewise.
9795 * sunrpc/xdr_stdio.c: Likewise.
9796 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9797 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9798
d6c33fda
RM
97992012-05-24 Roland McGrath <roland@hack.frob.com>
9800
c1487492
RM
9801 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9802
9803 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9804 in the third column, to generate for the shared library an IFUNC
9805 that uses _dl_vdso_vsym.
9806 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9807 * Makeconfig (object-suffixes-noshared): New variable.
9808
9809 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9810 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9811 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9812 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9813
d6c33fda
RM
9814 [BZ #14132]
9815 * include/sys/time.h (__gettimeofday): Remove macro.
9816 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9817 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9818 Remove INTDEF.
9819 (__gettimeofday): Add libc_hidden_def.
9820 (gettimeofday): Add libc_hidden_weak.
9821 * sysdeps/mach/gettimeofday.c: Likewise.
9822 * sysdeps/posix/gettimeofday.c: Likewise.
9823 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9824 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9825 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9826 (__gettimeofday_internal): Remove strong_alias.
9827 (__gettimeofday): Add libc_hidden_def.
9828 (gettimeofday): Add libc_hidden_weak.
9829 * sysdeps/unix/syscalls.list (gettimeofday):
9830 Remove __gettimeofday_internal alias.
9831
b5a2bbe6
L
98322012-05-24 Daniel Jacobowitz <drow@false.org>
9833 H.J. Lu <hongjiu.lu@intel.com>
9834
9835 [BZ #12495]
9836 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9837 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9838 (largebin_index_32_big): New.
9839 (largebin_index): Use it for 16-byte alignment.
9840 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9841 correction with front_misalign.
9842
cfba4fda
L
98432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9844
7f907421
L
9845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9847 Likewise.
9848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9849 Likewise.
9850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9851 Likewise.
9852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9853 Likewise.
9854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9855 Likewise.
9856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9857 Likewise.
9858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9859 Likewise.
9860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9861 Likewise.
9862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9863 Likewise.
9864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9865 Likewise.
9866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9867 Likewise.
9868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9869 Likewise.
9870
cfba4fda
L
9871 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9872 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9873
80bad0cc
JM
98742012-05-24 Joseph Myers <joseph@codesourcery.com>
9875
7a25eb06
JM
9876 [BZ #10846]
9877 [BZ #14036]
9878 * math/libm-test.inc (exp_test): Add test from bug 14036.
9879 (pow_test): Add test from bug 10846.
9880
795405f9
JM
9881 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9882 and other flags.
9883 (special_function): Do not include flags in test name.
9884 (parse_args): Likewise.
9885 * sysdeps/i386/fpu/libm-test-ulps: Update.
9886 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9887 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9888 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9890
80bad0cc
JM
9891 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9892 exceptions.
9893 * math/libm-test.inc ("Philosophy"): Update comment about
9894 exception testing.
9895 (UNDERFLOW_EXCEPTION): New macro.
9896 (UNDERFLOW_EXCEPTION_OK): Likewise.
9897 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9898 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9899 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9900 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9901 (INVALID_EXCEPTION_OK): Update value.
9902 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9903 (OVERFLOW_EXCEPTION_OK): Likewise.
9904 (IGNORE_ZERO_INF_SIGN): Likewise.
9905 (test_exceptions): Handle underflow exceptions.
9906 (acos_test): Update for underflow exception expectations.
9907 (cexp_test): Likewise.
9908 (clog_test): Likewise.
9909 (clog10_test): Likewise.
9910 (csqrt_test): Likewise.
9911 (ctan_test): Likewise.
9912 (ctanh_test): Likewise.
9913 (exp_test): Likewise.
9914 (exp10_test): Likewise.
9915 (exp2_test): Likewise.
9916 (expm1_test): Likewise.
9917 (fma_test): Likewise.
9918 (j0_test): Likewise.
9919 (jn_test): Likewise.
9920 (nexttoward_test): Likewise.
9921 (pow_test): Likewise.
9922 (scalbn_test): Likewise.
9923 (scalbln_test): Likewise.
9924 (tan_test): Likewise.
9925 (y1_test): Likewise.
9926 * sysdeps/i386/fpu/libm-test-ulps: Update.
9927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9928
9e0e3d0b
DM
99292012-05-23 David S. Miller <davem@davemloft.net>
9930
9931 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9932 (__libc_sigaction): Remove unused local variables.
9933
ccd0a08f
L
99342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9935
9936 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9937
62bdf9a6
PE
99382012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9939
f8591f80
PE
9940 mktime: avoid signed integer overflow
9941 * time/mktime.c (__mktime_internal): Do not mishandle the case
9942 where diff == INT_MIN.
9943
94c7d826
PE
9944 mktime: simplify computation of average
9945 * time/mktime.c (ranged_convert): Use new time_t_avg function
9946 instead of rolling our own (probably-slower) code.
9947
ce73d683
PE
9948 mktime: do not assume signed right shift propagates sign bit
9949 * time/mktime.c (isdst_differ): New static function.
9950 (__mktime_internal): No need to normalize tm_isdst now.
9951 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9952 tm_isdst values.
9953
72a22e59
PE
9954 mktime: merge another wrapv change from gnulib
9955 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9956 from some compilers.
9957
68605433
PE
9958 mktime: remove incorrect attempt at unusual arithmetics
9959 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9960 The code didn't really work on such machines anyway.
9961 (TYPE_MINIMUM): Assume two's complement.
9962 (twos_complement_arithmetic): Verify that long_int and time_t
9963 are two's complement (or unsigned, in the latter case).
9964
03cf7fe3
PE
9965 mktime: check signed shifts on long_int and time_t, too
9966 * time/mktime.c (SHR): Check that shifts work as desired
9967 on the types long_int and time_t too, as SHR is used on
9968 such types.
9969
f04dfbc2
PE
9970 mktime: do not assume 'long' is wide enough
9971 * time/mktime.c (verify): Move decl up.
9972 (long_int): New type.
9973 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9974 to remove assumption in the code that 'long' is wide enough to
9975 store year values. This assumption is not true on x32 and on
9976 some non-glibc platforms.
9977
62bdf9a6
PE
9978 mktime: merge wrapv change from gnulib
9979 * time/mktime.c (WRAPV): New macro.
9980 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9981 (guess_time_tm, __mktime_internal): Do not assume that signed
9982 integer overflow wraps around; modern compilers generate code
9983 where this assumption is no longer valid.
9984
5e292e4f
L
99852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9988 Replace "jmp L(pseudo_end)" with "ret".
9989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9990 Likewise.
9991
8caf8c87
AJ
99922012-05-23 Andreas Jaeger <aj@suse.de>
9993
9994 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9995 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9996
1a09dc56
AJ
99972012-05-23 Andreas Jaeger <aj@suse.de>
9998 Maximilian Attems <max@stro.at>
9999
10000 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10001 New macros.
10002
1c87aba0
L
100032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10004
10005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10006 code so that pseudo_end is just ret and the stack pointer is
10007 correct also for static library in error case.
10008
40e45bd5
JM
100092012-05-23 Joseph Myers <joseph@codesourcery.com>
10010
c2670533
JM
10011 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10012 move to syscalls.list.
10013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10017
40e45bd5
JM
10018 * manual/install.texi (Running make install): Do not mention Linux
10019 kernel version for which pt_chown is not needed.
10020 (Linux): Do not mention problems with nscd with 2.0 kernels.
10021 * INSTALL: Regenerated.
10022
be08eda5
AJ
100232012-05-23 Andreas Jaeger <aj@suse.de>
10024
10025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10026 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10027 macro.
10028 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10030 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10032 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10034 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10035 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10036 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10037 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10038 * sysdeps/unix/sysv/linux/bits/in.h
10039 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10040
a6a056bb
RM
100412012-05-22 Roland McGrath <roland@hack.frob.com>
10042
10043 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10044 (PREPARE_VERSION): Just use assert instead, it will be elided
10045 under [NDEBUG] anyway.
10046
c9009328
L
100472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10048
10049 * sysdeps/unix/sysv/linux/Makefile: Include
10050 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10051 (sysdep_routines): Remove sysctl.
c9009328
L
10052 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10053 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10054 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10055 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10056 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10057
73338355
AJ
100582012-05-22 Andreas Jaeger <aj@suse.de>
10059
10060 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10061 that pseudo_end is just ret and the stack pointer is correct also
10062 for static library in error case.
10063
d44638b0
PP
100642012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10065
10066 [BZ #14122]
10067 * nss/nsswitch.c (defconfig_entries): New variable.
10068 (__nss_database_lookup): Don't leak defconfig entries.
10069 (nss_parse_service_list): Don't leak on error paths.
10070 (free_database_entries): New function.
10071 (free_defconfig): New function.
10072 (free_mem): Move common code to free_database_entries.
10073
31a39bd8
L
100742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10075
da0331a8
L
10076 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10077 Add arch_prctl.
10078 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10079
31a39bd8
L
10080 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10081 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10083 New macro.
10084 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10085 (INTERNAL_SYSCALL_TYPES): Likewise.
10086 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10087 (LOAD_REGS_TYPES_[1-6]): Likewise.
10088 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10089 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10090
45470df3
AZ
100912012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10092
10093 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10094 copysignl for GLIBC_2_0.
10095 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10096 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10098 logbl for GLIBC_2_0.
10099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10100 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10101
98a61bcb
L
101022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10103
a4f6e481
L
10104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10105 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10106
f63d5db6
L
10107 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10108 Use "neg %eax".
10109
98a61bcb
L
10110 * time/mktime.c: Update copyright years.
10111
95770f14
PE
101122012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10113
6226efbd
PE
10114 mktime: merge comment-quoting-style change from gnulib
10115 * time/mktime.c: Quote 'like this' in comments.
10116 The GNU coding standards suggest that we no longer quote `like this',
10117 as "`" and "'" are typically rendered asymmetrically nowadays.
10118 The typical gnulib style is to quote 'like this' when quoting
10119 code, and "like this" when quoting English.
10120
b99e4f78
PE
10121 * time/mktime.c (compile-command): Add "-I.".
10122
643e01e6
PE
10123 mktime: merge mktime-internal.h change from gnulib
10124 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10125
2554247d
PE
10126 mktime: merge time_r change from gnulib
10127 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10128
826dd0ab
PE
10129 mktime: merge DEBUG change from gnulib
10130 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10131 case system <time.h> has a #define.
10132
bd83aabe
PE
10133 mktime: merge <sys/types.h> change from gnulib
10134 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10135 since <time.t> is now guaranteed to define time_t.
10136
95770f14
PE
10137 mktime: merge HAVE_CONFIG_H change from gnulib
10138 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10139
5e1a27a9
L
101402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10141
0e44a77e
L
10142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10143 Use "neg %eax".
10144
5e1a27a9
L
10145 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10146 __rlim_t cast.
10147 (struct rusage): Use anonymous union to pad each field to
10148 __syscall_slong_t.
10149
46259bec
DM
101502012-05-21 David S. Miller <davem@davemloft.net>
10151
10152 * Makefules (o-iterator): Remove .s cases.
10153 (compile-command.s): Delete.
10154 (COMPILE.s): Delete.
10155 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10156
59f0c22e
JM
101572012-05-21 Joseph Myers <joseph@codesourcery.com>
10158
10159 * configure.in (libc_cv_predef_stack_protector): Only consider
10160 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10161 * configure: Regenerated.
10162
20c07380
L
101632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10164
bbb3154b
L
10165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10166 New macro. Use R*LP on int and pointer.
10167 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10168 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10169 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10170 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10171
20c07380
L
10172 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10173 [__WORDSIZE_TIME64_COMPAT32] instead of
10174 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10175 (struct utmp): Likewise.
10176 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10177 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10178 Renamed to ...
10179 (__WORDSIZE_TIME64_COMPAT32): This.
10180 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10181 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10182 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10183 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10184 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10185 (__WORDSIZE_TIME64_COMPAT32): New macro.
10186
d8d1017e
AJ
101872012-05-21 Andreas Jaeger <aj@suse.de>
10188
10189 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10190 only if [SHARED]. Add prototype for __wcschr_ia32.
10191
6c7fb145
RM
101922012-05-21 Roland McGrath <roland@hack.frob.com>
10193
10194 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10195 of %rbp unmolested in the jmp_buf while mangling the low bits.
10196 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10197 unmolested high bits of %rbp while demangling the low bits.
10198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10199
66274218
AJ
102002012-05-21 Andreas Jaeger <aj@suse.de>
10201
07c58f8f
AJ
10202 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10203 * sunrpc/svc_simple.c: Use it for registerrpc.
10204 * sunrpc/xcrypt.c: Use it for passwd2des.
10205
66274218
AJ
10206 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10207
61f65140
L
102082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10209
10210 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10211 Don't define if [__SYSCALL_WORDSIZE != 32].
10212 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10213 New macro.
10214
5fefb436
AJ
102152012-05-21 Bruno Haible <bruno@clisp.org>
10216 Andreas Jaeger <aj@suse.de>
10217
10218 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10219 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10220 inptr and inend for must_buffer_ch.
10221 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10222 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10223 * stdio-common/Makefile (tests): Remove bug15.
10224 (bug15-ENV): Remove macro.
10225 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10226 anymore.
10227
d8e272ab
AJ
102282012-05-19 Andreas Jaeger <aj@suse.de>
10229 Roland McGrath <roland@hack.frob.com>
10230
10231 * manual/contrib.texi: Completely rewritten. It contains now an
10232 alphabetical list of contributors and their contributions.
10233
4a56a162
RH
102342012-05-21 Richard Henderson <rth@twiddle.net>
10235
10236 * misc/getauxval.c (__getauxval): Use unsigned long int.
10237 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10238 (getauxval): Use unsigned long int.
10239
d024d23c
L
102402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10241
10242 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10243
cbc00a03
RM
102442012-05-21 Roland McGrath <roland@hack.frob.com>
10245
10246 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10247 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10248 __alignof__ (long double).
10249
478143fa
AZ
102502012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10251
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10253
c7683a6d
RH
102542012-05-20 Richard Henderson <rth@twiddle.net>
10255
10256 * misc/getauxval.c: New file.
10257 * misc/sys/auxv.h: New file.
10258 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10259 (routines): Add getauxval.
10260 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10261 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10262 * elf/dl-sysdep.c (_dl_auxv): Remove.
10263 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10264 * elf/dl-support.c (_dl_auxv): New variable.
10265 (_dl_aux_init): Initialize it.
10266 * manual/startup.texi (Auxiliary Vector): New node.
10267 * sysdeps/generic/bits/hwcap.h: New file.
10268 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10269 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10270 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10271 * sysdeps/sparc/sysdep.h: ... here. Include it.
10272 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10275 Update.
c7683a6d
RH
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10284
a6f1845d
AZ
102852012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10286
10287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10288
cbcbe830
DM
102892012-05-19 David S. Miller <davem@davemloft.net>
10290
10291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10292
e0b16cc2
JM
102932012-05-19 Joseph Myers <joseph@codesourcery.com>
10294
10295 [BZ #14123]
10296 * math/s_ccosh.c: Include <float.h>
10297 (__ccosh): Avoid internal overflow calculating sinh and cosh
10298 values before multiplying by sin and cos values.
10299 * math/s_ccoshf.c: Likewise.
10300 * math/s_ccoshl.c: Likewise.
10301 * math/s_csin.c: Likewise.
10302 * math/s_csinf.c: Likewise.
10303 * math/s_csinl.c: Likewise.
10304 * math/s_csinh.c: Likewise.
10305 * math/s_csinhf.c: Likewise.
10306 * math/s_csinhl.c: Likewise.
10307 * math/libm-test.inc (ccos_test): Add more tests.
10308 (ccosh_test): Likewise.
10309 (csin_test): Likewise.
10310 (csinh_test): Likewise.
10311 * sysdeps/i386/fpu/libm-test-ulps: Update.
10312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10313
6ad13e08
L
103142012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10315
f66f0ce8
L
10316 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10317 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10318
6ad13e08
L
10319 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10320
b1d072a7
JM
103212012-05-19 Joseph Myers <joseph@codesourcery.com>
10322
10323 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10324 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10325 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10326 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10327 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10328 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10329 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10330 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10331 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10332 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10333 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10334 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10335 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10336 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10337 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10338 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10339 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10340 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10341 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10342 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10343 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10344 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10345 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10346 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10347 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10348 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10349 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10350 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10351 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10352 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10353 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10354
9eae47cb
AJ
103552012-05-18 Andreas Jaeger <aj@suse.de>
10356
10357 * csu/.gitignore: Delete.
10358
bb07f69f
L
103592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10360
10361 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10362 (timex): Use __syscall_slong_t.
10363
e6bdb741
AJ
103642012-05-18 Andreas Jaeger <aj@suse.de>
10365 Carlos O'Donell <carlos_odonell@mentor.com>
10366
10367 * manual/install.texi (Configuring and compiling): Update
10368 description about files modified in the source directory.
d6c33fda 10369 * INSTALL: Regenerated.
e6bdb741 10370
1b74487e
L
103712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10372
10373 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10374 value. Use "or" to set return value to -1.
10375 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10376 negate return value.
10377
a88b64b9
TMQMF
103782012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10379
10380 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10381 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10382 failure if the compiler has Graphite support disabled.
10383 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10384 Likewise.
10385 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10386 CFLAGS-memmove.c): Likewise.
10387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10388 Likewise.
10389
3707636e
L
103902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10391
610b8622
L
10392 * sysdeps/x86_64/x32/_itoa.h: New file.
10393
7cd195df
L
10394 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10395 getdents system call only if kernel and user dirents have the
10396 same d_ino and d_off.
10397
94b07d20
L
10398 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10399 LLONG_MAX != LONG_MAX.
10400 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10401 (_fitoa_word): Likewise.
10402
18298070
L
10403 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10404 years.
10405 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10407 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10408
553c7ea4
L
10409 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10410 include <bits/wordsize.h>. Check __x86_64__ instead of
10411 __WORDSIZE.
10412 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10413 if __x86_64__ is defined. Use anonymous union on fpstate.
10414
3707636e
L
10415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10416 anonymous union.
10417
b53ef01a
AS
104182012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10419
37fb1dc0
AS
10420 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10421 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10422 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10423 Refer to _rtld_local_ro instead of _rtld_global_ro.
10424 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10425 Likewise.
10426 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10427 Likewise.
10428 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10429 Likewise.
10430 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10431 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10432 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10433
b53ef01a
AS
10434 * sysdeps/powerpc/powerpc32/dl-machine.c
10435 (__elf_machine_runtime_setup) [PROF]: Don't reference
10436 _dl_prof_resolve.
10437
7a185db2
AJ
104382012-05-18 Andreas Jaeger <aj@suse.de>
10439
10440 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10441 function only available for GCCs before 3.4 since GCC 3.4
10442 introduced a builtin.
10443 (lrint): Likewise.
10444 (llrintf): Likewise.
10445 (llrint): Likewise.
10446 (fmaxf): Likewise.
10447 (fmax): Likewise.
10448 (fminf): Likewise.
10449 (fmin): Likewise.
10450 (rint): Likewise.
10451 (rintf): Likewise.
10452 (nearbyint): Likewise.
10453 (nearbyintf): Likewise.
10454 (ceil): Likewise.
10455 (ceilf): Likewise.
10456 (floor): Likewise.
10457 (floorf): Likewise.
10458
3e5aef87
L
104592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10460
428bd707
L
10461 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10462 on both fields and cast pointer to __syscall_ulong_t.
10463
3e5aef87
L
10464 * bits/types.h (__fsword_t): New type.
10465 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10466 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10468 (__FSWORD_T_TYPE): Likewise.
10469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10470 (__FSWORD_T_TYPE): Likewise.
10471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10472 (__FSWORD_T_TYPE): Likewise.
10473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10474 (__FSWORD_T_TYPE): Likewise.
10475 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10476 __SWORD_TYPE with __fsword_t.
10477 (statfs64): Likewise.
10478
1ba7c3dc
DM
104792012-05-17 David S. Miller <davem@davemloft.net>
10480
10481 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10482
59910343
AJ
104832012-05-17 Andreas Jaeger <aj@suse.de>
10484
10485 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10486 warning.
10487
2e4c1e9e
L
104882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10489
10490 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10491
de7f5ce7
AJ
104922012-05-17 Andreas Jaeger <aj@suse.de>
10493
10494 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10495 when it is used.
10496
286abc3d
CM
104972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10498
10499 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10500
477cc68e
L
105012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10502
10503 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10504 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10505
1a0994f5
CD
105062012-05-17 Andreas Jaeger <aj@suse.de>
10507 Carlos O'Donell <carlos_odonell@mentor.com>
10508
10509 [BZ #14059]
10510 * sysdeps/x86_64/multiarch/init-arch.h
10511 (bit_YMM_Usable): Rename to...
10512 (bit_AVX_Usable): ... this.
10513 (bit_FMA4_Usable): New macro.
10514 (bit_XMM_state): New macro.
10515 (bit_YMM_state): New macro.
10516 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10517 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10518 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10519 (CPUID_OSXSAVE): New macro.
10520 (CPUID_AVX): New macro.
10521 (CPUID_FMA4): New macro.
10522 (index_YMM_Usable): Rename to...
10523 (index_AVX_Usable): ... this.
10524 (HAS_AVX): Use HAS_ARCH_FEATURE.
10525 (HAS_FMA4): Likewise.
10526 (HAS_YMM_USABLE): Remove.
10527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10528 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10529 are present.
10530 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10531 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10532 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10533 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10534 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10535
0af797de
CM
105362012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10537
10538 * math/libm-test.c: Support platforms without multiple rounding modes.
10539 * math/bug-nextafter.c: Support platforms without FP exceptions.
10540 * math/bug-nexttoward.c: Likewise.
10541 * math/test-fenv.c: Likewise.
10542 * math/test-misc.c: Likewise.
10543 * stdlib/bug-getcontext.c: Likewise.
10544
e39745ff
AJ
105452012-05-17 Andreas Jaeger <aj@suse.de>
10546
10547 * manual/examples/search.c (critter_cmp): Change signature to
10548 avoid warnings.
10549 * manual/string.texi (Collation Functions): Likewise.
10550
48970aba
L
105512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10552
10553 * bits/types.h: Fold copyright years.
10554 * bits/typesizes.h: Likewise.
10555 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10559 * time/time.h: Likewise.
10560
bedee953
PP
105612012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10562
10563 [BZ #208]
10564 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10565 in instead of returning them. Return void.
10566 (__libc_mallinfo): Accumulate over all arenas.
10567 (__malloc_stats): Adjust for change in int_mallinfo interface.
10568
61653dfb
RM
105692012-05-16 Roland McGrath <roland@hack.frob.com>
10570
30b99d79
RM
10571 [BZ #10375]
10572 * configure.in (NM): Add AC_CHECK_TOOL for it.
10573 (libc_extra_cflags): New substituted variable.
10574 Check for -fstack-protector being used implicitly.
10575 * configure: Regenerated.
10576 * config.make.in (config-extra-cflags): New variable,
10577 gets @libc_extra_cflags@.
10578 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10579
61653dfb
RM
10580 [BZ #10375]
10581 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10582 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10583 * configure: Regenerated.
10584 * config.make.in (CPPUNDEFS): New substituted variable.
10585 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10586 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10587 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10588
661768bb
L
105892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10590
10591 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10592 (mq_attr): Use __syscall_slong_t.
10593
d4261567
L
105942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10595
10596 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10597 Check __x86_64__ instead of __WORDSIZE.
10598 (_STAT_VER_LINUX): Likewise.
10599 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10600 __syscall_ulong_t and __syscall_slong_t.
10601 (stat64): Likewise.
10602
cf3ff365
L
106032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10604
10605 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10606
76cf3e4d
L
106072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10610
a637753a
L
106112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10612
10613 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10614 __syscall_ulong_t.
10615
d5e05119
L
10616 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10617 include <bits/wordsize.h>. Check __x86_64__ instead of
10618 __WORDSIZE.
10619 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10620 defined.
10621 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10622
f62ee380
L
10623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10624 include <bits/wordsize.h>. Check __x86_64__ instead of
10625 __WORDSIZE.
10626 (user_regs_struct): Use "__extension__ unsigned long long"
10627 instead of "unsigned long" if __x86_64__ is defined.
10628 (user): Likewise. Pad after pointer field if __ILP32__ is
10629 defined.
10630
4e124ced
JM
106312012-05-16 Joseph Myers <joseph@codesourcery.com>
10632
6a3951a0
JM
10633 * configure.in (makeinfo): Require version 4.5 or later. Allow
10634 versions 5 to 9.
10635 * configure: Regenerated.
10636 * manual/install.texi (texinfo): Increase version requirement to
10637 4.5 or later.
10638 * INSTALL: Regenerated.
10639
4e124ced
JM
10640 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10641
953ca31a
L
106422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10643
10644 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10645
617aca05
L
10646 * sysdeps/x86_64/x32/ffs.c: New file.
10647
5762f7ae
L
10648 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10649 __syscall_ulong_t.
10650 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10651 defined. Use __syscall_ulong_t.
10652 (shminfo): Use __syscall_ulong_t.
10653 (shm_info): Likewise.
10654
a26b6856
L
10655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10656 __syscall_ulong_t.
10657
cb2b9ef7
L
10658 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10659 <bits/wordsize.h>.
10660 (msgqnum_t): Use __syscall_ulong_t.
10661 (msglen_t): Likewise.
10662 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10663 __syscall_ulong_t.
10664
34683bb0
L
10665 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10666 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10667
84a68786
L
10668 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10669
48baa5f1
L
10670 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10671 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10672
180be88b
L
10673 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10674 __syscall_slong_t.
10675
5e90c8ad
L
10676 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10677 include <bits/wordsize.h>. Check __x86_64__ instead of
10678 __WORDSIZE.
10679
23dfb58b
L
10680 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10681 "unsigned long long int" if __x86_64__ is defined.
10682 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10683
ce5d54b0
L
10684 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10685 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10686 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10687
13dc9eac
L
10688 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10689 <stdint.h>.
10690 (GET_PC): Cast to uintptr_t first.
10691 (GET_FRAME): Likewise.
10692 (GET_STACK): Likewise.
10693
a7895d15
L
10694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10695 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10696 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10697 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10698 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10699 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10700 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10701 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10702 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10703 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10704 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10705 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10706 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10707 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10708 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10709 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10711 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10712 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10713 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10714 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10715 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10716 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10717 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10718 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10719 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10720 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10721 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10722 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10723
656416c9
AS
107242012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10725
5bd66283
AS
10726 * Makerules (+depfiles): Also collect depfiles from .oS in
10727 $(extra-objs).
10728 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10729 .oS, $(libnldbl-routines)).
10730
656416c9
AS
10731 * Makerules (native-compile-mkdep-flags): Define.
10732 * sunrpc/Makefile (extra-objs): Add $(addprefix
10733 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10734 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10735 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10736 calling $(make-target-directory).
10737
a46f2169
L
107382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * bits/types.h (__snseconds_t): Removed.
10741 * time/time.h (struct timespec): Replace __snseconds_t with
10742 __syscall_slong_t.
10743 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10744 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10745 Likewise.
10746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10747 (__SNSECONDS_T_TYPE): Likewise.
10748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10749 (__SNSECONDS_T_TYPE): Likewise.
10750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10751 (__SNSECONDS_T_TYPE): Likewise.
10752
6af6528b
L
107532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10754
10755 * sysdeps/mach/hurd/bits/typesizes.h
10756 (__SYSCALL_SLONG_TYPE): New macro.
10757 (__SYSCALL_ULONG_TYPE): Likewise.
10758
de986b56
L
107592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10760
10761 * bits/types.h (__syscall_slong_t): New type.
10762 (__syscall_ulong_t): Likewise.
10763
10764 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10765 (__SYSCALL_ULONG_TYPE): Likewise.
10766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10767 (__SYSCALL_SLONG_TYPE): Likewise.
10768 (__SYSCALL_ULONG_TYPE): Likewise.
10769 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10770 (__SYSCALL_SLONG_TYPE): Likewise.
10771 (__SYSCALL_ULONG_TYPE): Likewise.
10772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10773 (__SYSCALL_SLONG_TYPE): Likewise.
10774 (__SYSCALL_ULONG_TYPE): Likewise.
10775
85736dc7
L
107762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10777
10778 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10779 Add sigaltstack-offsets.sym.
10780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10781 <sigaltstack-offsets.h>.
10782 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10783 longjmp_msg pointer.
10784 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10785 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10786 signal stack.
10787 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10788
cc03b296
JM
107892012-05-15 Joseph Myers <joseph@codesourcery.com>
10790
a9538892
JM
10791 * elf/stackguard-macros.h: Remove file.
10792 * sysdeps/generic/stackguard-macros.h: New file.
10793 * sysdeps/i386/stackguard-macros.h: Likewise.
10794 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10795 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10796 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10797 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10798 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10799 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10800 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10801 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10802 <elf/stackguard-macros.h>.
10803
cc03b296
JM
10804 [BZ #14109]
10805 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10806 __aligned__ in attribute.
10807 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10808 (gregset_t): Likewise.
10809
93171016
L
108102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10811
10812 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10813 * sysdeps/x86_64/64/Implies-after: Here. New file.
10814 * sysdeps/x86_64/x32/Implies-after: New file.
10815
d86813a0
L
108162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10817
10818 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10819 and access return value for _dl_profile_fixup. Use R10_LP to
10820 load frame size.
10821
2953ec75
L
108222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10823
10824 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10825
3b550e9e
L
108262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10827
10828 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10829 * sysdeps/x86_64/x32/sysdep.h: New file.
10830
eda41706
L
108312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10832
10833 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10834 * sysdeps/x86_64/setjmp.S: Likewise.
10835
9ea01d93
AZ
108362012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10837
10838 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10839 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10840 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10841 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10842 remove unused global constant.
10843
02a91938
CM
108442012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10845
10846 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10847 include of <not-cancel.h>.
10848
6540185f
RM
108492012-05-15 Roland McGrath <roland@hack.frob.com>
10850
10851 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10852
509072a0
AJ
108532012-05-15 Jeff Law <law@redhat.com>
10854 Andreas Jaeger <aj@suse.de>
10855
10856 [BZ #13594]
10857 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10858 out from...
10859 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10860 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10861 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10862 code changing __hst_map_handle.map.
10863
ba75122d
RM
108642012-05-15 Roland McGrath <roland@hack.frob.com>
10865
10866 * configure.in (sysnames): Look for Implies-before and Implies-after
10867 files.
10868 * configure: Regenerated.
10869
890d8bd8
L
108702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10871
10872 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10873 8-byte data alignment with LP_SIZE alignment.
10874
f6ee6623
L
108752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10876
10877 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10878 into R10_LP.
10879
ea2626f6
L
108802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10881
10882 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10883
085f715e
L
108842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10885
10886 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10887 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10889 Likewise.
10890 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10891
be8498fc
L
108922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10893
10894 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10895 (stackinfo_sub_sp): Likewise.
10896
70bc83b9
L
108972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10898
10899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10900 RAX_LP.
10901
9bc0b730
L
109022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10903
10904 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10905 into R*_LP.
10906
6d2850e7
L
109072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10908
10909 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10910 sizes into R*_LP.
10911
3cb84561
L
109122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10913
10914 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10915
54e2ed81
L
109162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10917
10918 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10919 into R11_LP and load __x86_64_shared_cache_size_half into
10920 R8_LP.
10921
8a17f349
L
109222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10923
10924 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10925 R8_LP.
10926
777b1eea
AZ
109272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10928
10929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10930 logb for POWER7.
10931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10932 logbf for POWER7.
10933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10934 logbl for POWER7.
10935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10936 powerpc32/power7/fpu/s_logb.c via #include.
10937 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10938 powerpc32/power7/fpu/s_logbf.c via #include.
10939 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10940 powerpc32/power7/fpu/s_logbl.c via #include.
10941
d20d4ac2
JM
109422012-05-15 Joseph Myers <joseph@codesourcery.com>
10943
10944 * README.libm: Remove file.
10945
6cdef1ab
L
109462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10947
10948 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10949 count for x32. Use R*_LP and omit operand-size suffix.
10950
0b254d8f
L
109512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10952
10953 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10954 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10955 * sysdeps/x86_64/x32/shlib-versions: New file.
10956
ceb809dc
RM
109572012-05-14 Roland McGrath <roland@hack.frob.com>
10958
10959 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10960 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10961 Use _dl_fatal_printf instead.
10962
37f1abd4
JM
109632012-05-14 Joseph Myers <joseph@codesourcery.com>
10964
10965 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10966 set if not set by the user. Do not allow for being unset.
10967 * sysdeps/unix/sysv/linux/configure: Regenerated.
10968
11de3a33
L
109692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10970
10971 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10972 the `q' suffix from lea and replace .quad with ASM_ADDR.
10973
e02f153a
L
109742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10975
10976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10977 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10978 instead of $17.
10979 (PTR_DEMANGLE): Likewise.
10980
520ae0fd
L
109812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10982
10983 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10984 (LP_OP): Likewise.
10985 (ASM_ADDR): Likewise.
10986 (RAX_LP): Likewise.
10987 (RBP_LP): Likewise.
10988 (RBX_LP): Likewise.
10989 (RCX_LP): Likewise.
10990 (RDI_LP): Likewise.
10991 (RSI_LP): Likewise.
10992 (RSP_LP): Likewise.
10993 (R8_LP): Likewise.
10994 (R9_LP): Likewise.
10995 (R10_LP): Likewise.
10996 (R10_LP): Likewise.
10997 (R11_LP): Likewise.
10998 (R12_LP): Likewise.
10999 (R13_LP): Likewise.
11000 (R14_LP): Likewise.
11001 (R15_LP): Likewise.
11002
b985be81
L
110032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11004
11005 * sysdeps/x86_64/x32/dl-machine.h: New file.
11006
6a4888ff
AJ
110072012-05-14 Andreas Jaeger <aj@suse.de>
11008
11009 * manual/Makefile (subdir): Remove export of subdir.
11010 (all): Remove target.
11011 (.PHONY): Remove all from list.
11012 (mkinstalldirs): Remove.
11013 (.PHONY): Remove installdirs from list.
11014 ($(inst_infodir)/libc.info): Use make-target-directory.
11015 (installdirs): Remove.
11016 (subdir_%): Remove.
11017 (glibc-targets): Remove.
11018 (lib): Remove.
11019 (stubs): Remove.
11020 ($(objpfx)stubs ../po/manual.pot): Remove.
11021 ($(objpfx)stamp%): Remove.
11022 (make-target-directory): Remove.
11023 (subdir_install): Remove.
11024 (routines): Remove.
11025 (aux): Remove.
11026 (sources): Remove.
11027 (objects): Remove.
11028 (headers): Remove.
11029
11030 [BZ #13750]
11031 * manual/.gitignore: Remove, it's not needed anymore.
11032 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11033 all files in it.
11034 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11035 directory.
11036 (texis): Renamed to $(objpfx)texis.
11037 (texis-path): New, contains path to generated files.
11038 (chapters.%): Use texis-path for complete path, add extra argument
11039 libc-texinfo.sh.
11040 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11041 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11042 (summary,texi, stamp-summary): Use complete path of
11043 files. Generate files in build dir.
11044 (dir-add.texi): Build in build dir.
11045 (libm-err.texi,stamp-libm-err): Likewise.
11046 (version.texi, stamp-version): Likewise.
11047 (.%c.texi): Likewise.
11048 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11049 (mostlyclean): Remove target.
11050 (realclean): Remove target.
11051 (generated): Add new variable with contents from mostlyclean and
11052 realclean, remove entries duplicated in common-mostlyclean, add
11053 stamp-libm-err and stamp-version.
11054 (generated-dirs): Add libc directory.
11055 ($(inst_infodir)/libc.info): Install files from build dir.
11056
11057 * manual/install.texi (Configuring and compiling): Adjust since
11058 the info files are not part of the tar ball anymore.
11059
7ac77294
AJ
110602012-05-14 Andreas Jaeger <aj@suse.de>
11061
11062 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11063 variable.
11064
ffb7875d
JM
110652012-05-14 Joseph Myers <joseph@codesourcery.com>
11066
11067 [BZ #13717]
11068 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11069 to 2.2.0 where earlier.
11070 * sysdeps/unix/sysv/linux/configure: Regenerated.
11071 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11072 Remove conditional code.
11073 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11074 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11075 Remove conditional code.
11076 [!__NR_lchown]: Likewise.
11077 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11078 [__NR_lchown]: Likewise.
11079 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11080 comment referencing __ASSUME_LCHOWN_SYSCALL.
11081 * sysdeps/unix/sysv/linux/i386/sigaction.c
11082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11084 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11085 Remove conditional code.
11086 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11087 (__protocol_available): Remove #if 0 code.
11088 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11089 conditional code.
11090 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11091 * sysdeps/unix/sysv/linux/kernel-features.h
11092 (__ASSUME_GETCWD_SYSCALL): Don't define.
11093 (__ASSUME_REALTIME_SIGNALS): Likewise.
11094 (__ASSUME_PREAD_SYSCALL): Likewise.
11095 (__ASSUME_PWRITE_SYSCALL): Likewise.
11096 (__ASSUME_POLL_SYSCALL): Likewise.
11097 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11098 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11099 non-SPARC.
11100 (__ASSUME_SIOCGIFNAME): Don't define.
11101 (__ASSUME_MSG_NOSIGNAL): Likewise.
11102 (__ASSUME_SENDFILE): Define unconditionally.
11103 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11104 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11105 conditional code.
11106 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11107 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11108 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11109 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11110 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11111 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11112 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11114 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11117 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11120 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11126 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11129 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11132 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11135 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11137 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11138 Remove conditional code.
11139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11140 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11141 Remove conditional code.
11142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11143 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11144 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11145 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11146 Remove conditional code.
11147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11148 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11149 Remove conditional code.
11150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11151 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11152 Remove conditional code.
11153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11154 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11155 Remove conditional code.
11156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11157 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11158 Remove conditional code.
11159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11160 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11163 * sysdeps/unix/sysv/linux/sigaction.c
11164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11166 * sysdeps/unix/sysv/linux/sigpending.c
11167 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11168 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11169 * sysdeps/unix/sysv/linux/sigprocmask.c
11170 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11171 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11172 * sysdeps/unix/sysv/linux/sigsuspend.c
11173 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11174 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11175 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11176 (__libc_missing_rt_sigs): Remove.
11177 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11178 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11179 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11180 Remove conditional code.
11181 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11182 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11183 return 1.
11184 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11185 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11186 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11187 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11188
1bfb7291
AJ
111892012-05-14 Andreas Jaeger <aj@suse.de>
11190
caae5a81
AJ
11191 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11192 it's not used in glibc.
11193 (__coshm1): Likewise.
11194 (__acosh1p): Likewise.
11195 (__sgn): Likewise.
11196
1bfb7291
AJ
11197 * manual/string.texi (Copying and Concatenation): Add missing
11198 variable in concat example.
11199 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11200
c044d724
L
112012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11202
144c5467 11203 [BZ #14103]
c044d724
L
11204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11205 __builtin_clzl with __builtin_clzll.
11206
2523c62b
L
112072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 [BZ #14104]
11210 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11211 libc_freeres_ptr.
11212
d7bb4c42
LD
112132012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11214
11215 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11216 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11217 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11218 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11219
9dc4e1fb
MF
112202012-05-14 Mike Frysinger <vapier@gentoo.org>
11221
11222 * NEWS: Update ia64 info.
11223
c7df0112
AS
112242012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11225
11226 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11227 used as bcopy.
11228
dc70356c
TS
112292012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11230
11231 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11232 * sysdeps/unix/syscalls.list (dup3): Likewise.
11233 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11234 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11235
9fb1a21f
L
112362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11237
11238 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11239 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11240
4822a2a5
L
112412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11242
11243 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11244 thread pointer.
11245 (TLS_IE): Use mov/add instead of movq/addq to load thread
11246 pointer.
11247 (TLS_GD_PREFIX): New.
11248 (TLS_GD): Use it.
11249
842b81d6
DM
112502012-05-11 David S. Miller <davem@davemloft.net>
11251
11252 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11253 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11254 (_FPU_SETCW): Likewise.
11255
1cf463cd
L
112562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11257
11258 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11259 is 32-byte aligned.
11260
60cc4a18
AS
112612012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11262
11263 [BZ #11837]
11264 * iconvdata/gb18030.c: Update tables.
11265 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11266 characters specially.
11267 (BODY for TO_LOOP): Add encoding of missing ranges.
11268
febb44a4
TS
112692012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11270
11271 [BZ #13673]
11272 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11273 * sysdeps/mach/hurd/dup3.c: Likewise.
11274 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11275 * sysdeps/powerpc/memmove.c:: Likewise.
11276
0a10fb9e
L
112772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11278
11279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11280 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11281
df8a552f
L
112822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11283
11284 * elf/elf.h (R_X86_64_RELATIVE64): New.
11285 (R_X86_64_NUM): Updated.
11286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11287 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11288 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11289 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11290 tst-quad1pie tst-quad2pie
11291 (modules-names): Add tst-quadmod1 tst-quadmod2.
11292 ($(objpfx)tst-quad1): New dependency.
11293 ($(objpfx)tst-quad2): Likewise.
11294 ($(objpfx)tst-quad1pie): Likewise.
11295 ($(objpfx)tst-quad2pie): Likewise.
11296 * sysdeps/x86_64/tst-quad1.c: New file.
11297 * sysdeps/x86_64/tst-quad1pie.c: New file.
11298 * sysdeps/x86_64/tst-quad2.c: Likewise.
11299 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11300 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11301 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11302 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11303 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11304
f34d6f84
ST
113052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11306
f42d41d1
ST
11307 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11308 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11309 * streams/stropts.h (t_scalar_t): Define type.
11310
3c3571fc
ST
11311 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11312 (_PATH_PRESERVE): Set to "/var/lib".
11313 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11314
61f06bd3
ST
11315 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11316 instead of int.
11317
918d4d71
ST
11318 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11319 if __dir_mkfile succeeded.
11320
f34d6f84
ST
11321 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11322 checking for _hurd_dtablesize. Unlock it right after having
11323 finished _hurd_dtable allocation.
11324
10589b4a
TS
113252012-05-10 Thomas Schwinge <thomas@schwinge.name>
11326
674cdbc7
TS
11327 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11328 * sysdeps/mach/hurd/configure: Regenerated.
11329 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11330 special-casing to...
11331 * sysdeps/gnu/configure.in: ... this new file.
11332 * sysdeps/unix/sysv/linux/configure: Regenerated.
11333 * sysdeps/gnu/configure: New generated file.
11334
8e41b99f
TS
11335 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11336 for Linux: use nsec instead of usec, as well as:
11337 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11338 members of type struct timespec.
11339 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11340 New macros.
11341 (struct stat64): Likewise.
11342 (_STATBUF_ST_NSEC): New macro.
11343 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11344
10589b4a
TS
11345 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11346 __strtoul_internal rather than strtoul.
11347
63643c85
PT
113482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11349
11350 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11351 and reject them.
11352
3faebe6a
ST
113532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11354
11355 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11356 which preserves existing values.
11357 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11358
c6474b07
PT
113592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11360
11361 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11362 TIMEOUT values. Return EINVAL for NFDS values either negative or
11363 greater than FD_SETSIZE.
11364
1043890b
ST
113652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11366
11367 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11368 allocated, call __vm_protect to finish enabling the existing space, and
11369 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11370 allocate the remainder.
11371
37ed8b9b
PT
113722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11373
11374 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11375 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11376
db653660
ST
113772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11378
37ed8b9b
PT
11379 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11380 sysdeps/mach/hurd/readlink.c.
b29d4053 11381
db653660
ST
11382 * posix/tst-sysconf.c (posix_options): Only use
11383 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11384 _POSIX_SYNCHRONIZED_IO when they are defined
11385 * sysdeps/mach/hurd/bits/posix_opt.h:
11386 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11387 (_XOPEN_REALTIME): Undefine macro.
11388 (_XOPEN_REALTIME_THREADS): Undefine macro.
11389 (_XOPEN_SHM): Undefine macro.
11390 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11391 macro to -1.
11392 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11393 macro to -1.
11394 (_POSIX_ASYNC_IO): Undefine macro.
11395 (_POSIX_PRIORITIZED_IO): Undefine macro.
11396 (_POSIX_SPIN_LOCKS): Define macro to -1.
11397
ee16e894
ST
11398 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11399 SA_NODEFER, SA_RESETHAND.
11400 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11401 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11402 F_DUPFD_CLOEXEC.
11403
6103ae3b
TS
114042012-05-10 Thomas Schwinge <thomas@schwinge.name>
11405
11406 * elf/Makefile (pldd-modules): Define unconditionally.
11407
80b4e5f3
TS
114082012-05-10 Thomas Schwinge <thomas@schwinge.name>
11409
11410 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11411
edadcbd6
ST
114122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11413
11414 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11415 Return ENOENT when name is empty.
11416 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11417
80694780
TS
114182012-05-10 Thomas Schwinge <thomas@schwinge.name>
11419
1792c087
TS
11420 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11421
80694780
TS
11422 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11423
6b645f0d
ST
114242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11425
80694780
TS
11426 Fix mlock in all cases except non-readable pages.
11427 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11428 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11429
6b645f0d
ST
11430 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11431 (__mkdir): When path is `/', just fail with EEXIST.
11432 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11433
e468f8a3
TS
114342012-05-10 Thomas Schwinge <thomas@schwinge.name>
11435
11436 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11437 <sys/uio.h> (for writev).
11438 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11439 and <sys/param.h> (for MIN).
11440
a4186cff
PT
114412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11442
11443 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11444 REQUESTED_TIME. Properly set the remaining time and return EINTR
11445 if interrupted.
11446
510bbf14
TS
114472012-05-10 Thomas Schwinge <thomas@schwinge.name>
11448
11449 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11450 Depend on against $(link-rpcuserlibs).
11451
5d5722e8
ST
114522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11453
a4186cff
PT
11454 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11455 (__libc_stack_end): Do not use attribute_relro.
11456 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11457 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11458 to libthread-provided value.
a4186cff
PT
11459 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11460 attribute_relro.
5d5722e8 11461
37233df9
TS
114622012-05-10 Thomas Schwinge <thomas@schwinge.name>
11463
be971a2b
TS
11464 [BZ #3748]
11465 * bits/libc-lock.h (__libc_once_get): New macro.
11466 * sysdeps/mach/bits/libc-lock.h: Likewise.
11467 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11469 instead of using implementation details.
11470
37233df9
TS
11471 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11472 * libio/freopen.c: Likewise.
11473 * libio/freopen64.c: Likewise.
11474 * misc/syslog.c: Likewise.
11475 * nscd/connections.c: Likewise.
11476 * nscd/netgroupcache.c: Likewise.
11477 * sysdeps/posix/getcwd.c: Likewise.
11478
38de94a5
RM
114792012-05-10 Roland McGrath <roland@hack.frob.com>
11480
11481 * math/w_ilogbf.c: Add #include <limits.h>.
11482
67530489
ST
114832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11484
a4186cff 11485 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11486 path instead of returning without unlocking.
11487
67530489
ST
11488 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11489 immediate-write ioctls.
11490 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11491
5aa3a74a
TS
114922012-05-10 Thomas Schwinge <thomas@schwinge.name>
11493
18bad2ae
TS
11494 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11495 __builtin_frame_address instead of making assumptions about the
11496 location of the return address relative to DATA. Force early load of
11497 the return address.
11498 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11499 __builtin_frame_address.
11500
5aa3a74a
TS
11501 dup3 for GNU Hurd.
11502 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11503 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11504 implement dup3 and do some further code clean-ups.
11505 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11506 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11507
ecd0de9a
ST
115082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11509
cd9fa985
ST
11510 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11511
a4186cff
PT
11512 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11513 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11514 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11515 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11516 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11517 d->port.lock.
802ca5a5 11518
a4186cff
PT
11519 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11520 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11521 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11522
bcf55240
TS
115232012-05-10 Thomas Schwinge <thomas@schwinge.name>
11524
6960eb42
TS
11525 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11526 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11527 definitions.
11528
eb43375f
TS
11529 accept4 for GNU Hurd.
11530 * include/sys/socket.h (__libc_accept4): New prototype.
11531 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11532 to implement __libc_accept4.
11533 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11534 __libc_accept4.
11535 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11536
bcf55240
TS
11537 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11538 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11539 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11540 signal-defines.sym.
11541
6178c55b
ST
115422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11543
a4186cff 11544 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11545
6f080c2f
TS
115462012-05-10 Thomas Schwinge <thomas@schwinge.name>
11547
11548 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11549 assertion on O_CLOEXEC flag.
11550 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11551 * hurd/intern-fd.c: Likewise.
11552 * hurd/port2fd.c: Likewise.
11553
bcfe3a54
ST
115542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11555
11556 [BZ #3906]
11557 * bits/in.h (IPV6_PKTINFO): Define new macro.
11558 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11559
89c9aa49
AZ
115602012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11561
11562 [BZ #13954]
11563 [BZ #13955]
11564 [BZ #13956]
11565 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11567 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11568 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11570 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11571 * math/libm-test.inc (logb_test) : Additional logb tests.
11572
021db4be
AJ
115732012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11574 Andreas Jaeger <aj@suse.de>
11575
11576 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11577 * configure: Regenerated.
11578 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11579 * config.make.in (link-obsolete-rpc): New substituted variable.
11580 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11581 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11582 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11583 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11584 so that libc.a contains the symbols.
11585 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11586 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11587 * sunrpc/auth_none.c: Likewise.
11588 * sunrpc/auth_unix.c: Likewise.
11589 * sunrpc/authdes_prot.c: Likewise.
11590 * sunrpc/authuxprot.c: Likewise.
11591 * sunrpc/clnt_gen.c: Likewise.
11592 * sunrpc/clnt_perr.c: Likewise.
11593 * sunrpc/clnt_raw.c: Likewise.
11594 * sunrpc/clnt_simp.c: Likewise.
11595 * sunrpc/clnt_tcp.c: Likewise.
11596 * sunrpc/clnt_udp.c: Likewise.
11597 * sunrpc/clnt_unix.c: Likewise.
11598 * sunrpc/des_crypt.c: Likewise.
11599 * sunrpc/des_soft.c: Likewise.
11600 * sunrpc/get_myaddr.c: Likewise.
11601 * sunrpc/key_call.c: Likewise.
11602 * sunrpc/key_prot.c: Likewise.
11603 * sunrpc/netname.c: Likewise.
11604 * sunrpc/pm_getmaps.c: Likewise.
11605 * sunrpc/pm_getport.c: Likewise.
11606 * sunrpc/pmap_clnt.c: Likewise.
11607 * sunrpc/pmap_prot.c: Likewise.
11608 * sunrpc/pmap_prot2.c: Likewise.
11609 * sunrpc/pmap_rmt.c: Likewise.
11610 * sunrpc/publickey.c: Likewise.
11611 * sunrpc/rpc_cmsg.c: Likewise.
11612 * sunrpc/rpc_common.c: Likewise.
11613 * sunrpc/rpc_dtable.c: Likewise.
11614 * sunrpc/rpc_prot.c: Likewise.
11615 * sunrpc/rpc_thread.c: Likewise.
11616 * sunrpc/rtime.c: Likewise.
11617 * sunrpc/svc.c: Likewise.
11618 * sunrpc/svc_auth.c: Likewise.
11619 * sunrpc/svc_raw.c: Likewise.
11620 * sunrpc/svc_run.c: Likewise.
11621 * sunrpc/svc_tcp.c: Likewise.
11622 * sunrpc/svc_udp.c: Likewise.
11623 * sunrpc/svc_unix.c: Likewise.
11624 * sunrpc/svcauth_des.c: Likewise.
11625 * sunrpc/xcrypt.c: Likewise.
11626 * sunrpc/xdr.c: Likewise.
11627 * sunrpc/xdr_array.c: Likewise.
11628 * sunrpc/xdr_float.c: Likewise.
11629 * sunrpc/xdr_intXX_t.c: Likewise.
11630 * sunrpc/xdr_mem.c: Likewise.
11631 * sunrpc/xdr_rec.c: Likewise.
11632 * sunrpc/xdr_ref.c: Likewise.
11633 * sunrpc/xdr_sizeof.c: Likewise.
11634 * sunrpc/xdr_stdio.c: Likewise.
11635
b5c086a2
RM
116362012-05-10 Roland McGrath <roland@hack.frob.com>
11637
11638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11639 change. Update copyright years.
11640
6d74dd09
JM
116412012-05-10 Joseph Myers <joseph@codesourcery.com>
11642
11643 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11644
28e72501
MK
116452012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11646 Joseph Myers <joseph@codesourcery.com>
11647 Paul Pluzhnikov <ppluzhnikov@google.com>
11648
11649 [BZ #14012]
11650 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11651 requiring rpcgen.
11652 [cross-compiling] (extra-libs): Likewise.
11653 [cross-compiling] (extra-libs-others): Likewise.
11654 [cross-compiling] (librpcsvc-routines): Likewise.
11655 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11656 [cross-compiling] (omit-deps): Likewise.
11657 (sunrpc-CPPFLAGS): New variable.
11658 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11659 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11660 (cross-rpcgen-objs): New variable.
11661 (extra-objs): Append $(cross-rpcgen-objs).
11662 ($(cross-rpcgen-objs)): New rule.
11663 ($(objpfx)cross-rpcgen): Likewise.
11664 (rpcgen-cmd): Define to use $(built-program-file). Expand
11665 comment.
11666 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11667 ($(objpfx)x%.stmp): Likewise.
11668 * sunrpc/proto.h [IS_IN_build] (_): Define.
11669 [IS_IN_build] (_libc_intl_domainname): Likewise.
11670
c8c59454
L
116712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11672
11673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11674 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11675 and R_X86_64_TPOFF64.
11676
6f27cd16
JM
116772012-05-10 Joseph Myers <joseph@codesourcery.com>
11678
11679 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11680 sysdeps/unix/sysv/syscalls.list.
11681 (stime): Likewise.
11682 (utime): Likewise.
11683 * sysdeps/unix/sysv/syscalls.list: Remove file.
11684
02467e1c
PE
116852012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11686
11687 [BZ #3440]
11688 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11689 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11690 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11691 (__LC_IDENTIFICATION): Make these macros useful in #if
11692 expressions, as required by C99.
11693
da392631
AS
116942012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11695
11696 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11697 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11698 after this.
11699
8115f29b
L
117002012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11701
11702 * stdlib/longlong.h: Updated from GCC.
11703
bdd74070
AJ
117042012-05-09 Andreas Jaeger <aj@suse.de>
11705
edfe0dbe
AJ
11706 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11707 default is first entry.
11708 (run_mode): Set type.
11709 (main): Remove informal message about syslog.
11710 (options): Fix typo.
11711
bcfe3a54
ST
11712 [BZ #14053]
11713 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11714 to asm.
bcfe3a54
ST
11715 (lrint): Likewise.
11716 (llrintf): Likewise.
11717 (llrint): Likewise.
11718 (rint): Likewise.
11719 (rintf): Likewise.
11720 (nearbyint): Likewise.
11721 (nearbyintf): Likewise.
bdd74070 11722
91d8d69e
AJ
117232012-05-09 Andreas Jaeger <aj@suse.de>
11724 Pedro Alves <palves@redhat.com>
11725
11726 * nscd/nscd.c (run_mode): Use enum.
11727 (main): Cleanup coding style issue.
11728
bb90b80b
AJ
117292012-05-09 Alexandre Oliva <aoliva@redhat.com>
11730 Andreas Jaeger <aj@suse.de>
11731
bcfe3a54
ST
11732 * nscd/nscd.c (go_background): Replaced with...
11733 (run_mode): ... this.
bb90b80b 11734 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11735 (options): Add -F --foreground.
11736 (main): Implement it.
11737 (parse_opt): Parse it.
bb90b80b 11738
1a4b75a1
AJ
117392012-05-09 Andreas Jaeger <aj@suse.de>
11740
11741 [BZ #14083]
11742 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11743 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11744 -Wconversion warning.
11745 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11746 Likewise.
11747
b1cc2472
JM
117482012-05-09 Joseph Myers <joseph@codesourcery.com>
11749
11750 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11751 == 0.
11752 (LC_ALL): Use macro-int-constant.
11753 (LC_COLLATE): Likewise.
11754 (LC_CTYPE): Likewise.
11755 (LC_MESSAGES): Likewise.
11756 (LC_MONETARY): Likewise.
11757 (LC_NUMERIC): Likewise.
11758 (LC_TIME): Likewise.
11759 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11760 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11762 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11763 Specify type.
11764 [C99-based standards] (float_t): Expect type.
11765 [C99-based standards] (double_t): Expect type.
11766 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11767 type.
11768 [C99-based standards] (HUGE_VALL): Likewise.
11769 [C99-based standards] (INFINITY): Likewise.
11770 [C99-based standards] (NAN): Likewise.
11771 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11772 [C99-based standards] (FP_NAN): Likewise.
11773 [C99-based standards] (FP_NORMAL): Likewise.
11774 [C99-based standards] (FP_SUBNORMAL): Likewise.
11775 [C99-based standards] (FP_ZERO): Likewise.
11776 [C99-based standards] (FP_FAST_FMA): Use
11777 optional-macro-int-constant. Specify type. Require == 1.
11778 [C99-based standards] (FP_FAST_FMAF): Likewise.
11779 [C99-based standards] (FP_FAST_FMAL): Likewise.
11780 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11781 [C99-based standards] (FP_ILOGBNAN): Likewise.
11782 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11783 Specify type.
11784 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11785 [C99-based standards] (math_errhandling): Specify type.
11786 [ISO99 || ISO11] (signgam): Do not allow.
11787 [non-C99-based standards] (copysignf): Do not allow.
11788 [non-C99-based standards] (exp2f): Likewise.
11789 [non-C99-based standards] (log2f): Likewise.
11790 [non-C99-based standards] (modff): Allow.
11791 [non-C99-based standards] (erff): Do not allow.
11792 [non-C99-based standards] (erfcf): Likewise.
11793 [non-C99-based standards] (gammaf): Likewise.
11794 [non-C99-based standards] (hypotf): Likewise.
11795 [non-C99-based standards] (j0f): Likewise.
11796 [non-C99-based standards] (j1f): Likewise.
11797 [non-C99-based standards] (jnf): Likewise.
11798 [non-C99-based standards] (lgammaf): Likewise.
11799 [non-C99-based standards] (tgammaf): Likewise.
11800 [non-C99-based standards] (y0f): Likewise.
11801 [non-C99-based standards] (y1f): Likewise.
11802 [non-C99-based standards] (ynf): Likewise.
11803 [non-C99-based standards] (isnanf): Likewise.
11804 [non-C99-based standards] (acoshf): Likewise.
11805 [non-C99-based standards] (asinhf): Likewise.
11806 [non-C99-based standards] (atanhf): Likewise.
11807 [non-C99-based standards] (cbrtf): Likewise.
11808 [non-C99-based standards] (expm1f): Likewise.
11809 [non-C99-based standards] (ilogbf): Likewise.
11810 [non-C99-based standards] (log1pf): Likewise.
11811 [non-C99-based standards] (logbf): Likewise.
11812 [non-C99-based standards] (nextafterf): Likewise.
11813 [non-C99-based standards] (remainderf): Likewise.
11814 [non-C99-based standards] (rintf): Likewise.
11815 [non-C99-based standards] (scalbf): Likewise.
11816 [non-C99-based standards] (copysignl): Likewise.
11817 [non-C99-based standards] (exp2l): Likewise.
11818 [non-C99-based standards] (log2l): Likewise.
11819 [non-C99-based standards] (modfl): Allow.
11820 [non-C99-based standards] (erfl): Do not allow.
11821 [non-C99-based standards] (erfcl): Likewise.
11822 [non-C99-based standards] (gammal): Likewise.
11823 [non-C99-based standards] (hypotl): Likewise.
11824 [non-C99-based standards] (j0l): Likewise.
11825 [non-C99-based standards] (j1l): Likewise.
11826 [non-C99-based standards] (jnl): Likewise.
11827 [non-C99-based standards] (lgammal): Likewise.
11828 [non-C99-based standards] (tgammal): Likewise.
11829 [non-C99-based standards] (y0l): Likewise.
11830 [non-C99-based standards] (y1l): Likewise.
11831 [non-C99-based standards] (ynl): Likewise.
11832 [non-C99-based standards] (isnanl): Likewise.
11833 [non-C99-based standards] (acoshl): Likewise.
11834 [non-C99-based standards] (asinhl): Likewise.
11835 [non-C99-based standards] (atanhl): Likewise.
11836 [non-C99-based standards] (cbrtl): Likewise.
11837 [non-C99-based standards] (expm1l): Likewise.
11838 [non-C99-based standards] (ilogbl): Likewise.
11839 [non-C99-based standards] (log1pl): Likewise.
11840 [non-C99-based standards] (logbl): Likewise.
11841 [non-C99-based standards] (nextafterl): Likewise.
11842 [non-C99-based standards] (remainderl): Likewise.
11843 [non-C99-based standards] (rintl): Likewise.
11844 [non-C99-based standards] (scalbl): Likewise.
11845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11846 [non-C99-based standards] (FP_*): Do not allow.
11847 [C99-based standards] (FP_*): Change to
11848 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11849 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11850 allow.
11851 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11852 (SIG_ERR): Likewise.
11853 [X/Open-based standards] (SIG_HOLD): Likewise.
11854 (SIG_IGN): Likewise.
11855 (SIGABRT): Use macro-int-constant. Specify type. Require
11856 positive value.
11857 (SIGFPE): Likewise.
11858 (SIGILL): Likewise.
11859 (SIGINT): Likewise.
11860 (SIGSEGV): Likewise.
11861 (SIGTER): Likewise.
11862 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11863 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11864 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11865 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11866 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11867 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11868 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11869 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11870 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11871 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11872 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11873 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11874 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11875 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11876 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11877 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11878 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11879 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11880 [X/Open-based standards] (SIGTRAP): Likewise.
11881 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11882 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11883 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11884 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11885 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11886 allow.
11887
b9f1922d
IW
118882012-05-08 Ian Wienand <ianw@vmware.com>
11889
11890 [BZ #14080]
11891 * time/tzset.c (__tzset_parse_tz): Update default rules for
11892 daylight time changes in the Energy Policy Act of 2005.
11893
1db86e88
AJ
118942012-05-09 Andreas Jaeger <aj@suse.de>
11895
11896 [BZ #13983]
11897 * elf/ldconfig.c (parse_conf): Change string to make clear that
11898 ldconfig only issued a warning if ld.so.conf does not exist.
11899
dee4a4e3
DM
119002012-05-08 David S. Miller <davem@davemloft.net>
11901
ee0db190
DM
11902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11903 movxtod instead of popping the value on the stack.
11904
dee4a4e3
DM
11905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11906
6a43ec98
CD
119072012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11908
11909 * config.h.in: Add HAVE_ARM_PCS_VFP.
11910
05c2c961
RMG
119112012-05-08 Roland Mc Grath <roland@hack.frob.com>
11912
bcfe3a54
ST
11913 [BZ #13979]
11914 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11915 checking but the checks are disabled for any reason.
05c2c961 11916
4b30f61a
L
119172012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11918
11919 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11920 and ELF64_R_TYPE with ELFW(R_TYPE).
11921
eee2bc67
JM
119222012-05-08 Joseph Myers <joseph@codesourcery.com>
11923
7ea5391a
JM
11924 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11925 (ulimit): Likewise.
11926
eee2bc67
JM
11927 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11928 (settimeofday): Likewise.
11929
abb66a67
MF
119302012-05-08 Mike Frysinger <vapier@gentoo.org>
11931
11932 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11933 a struct th_u2 inside the union, and move tu_block/tu_code into
11934 a new th_u3 union of tu_block/tu_code inside of that. Move
11935 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11936 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11937 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11938 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11939 (th_stuff): Change to th_u1.tu_stuff.
11940 (th_data): Define.
11941 (th_msg): Change to th_u1.th_u2.tu_data.
11942
7f18b530
DM
119432012-05-07 David S. Miller <davem@davemloft.net>
11944
05760585
DM
11945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11946
7f18b530
DM
11947 [BZ #14074]
11948 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11949 (SETUP_PIC_REG): Use it.
11950 (SETUP_PIC_REG_LEAF): Use it.
11951
495fd99f
JM
119522012-05-07 Joseph Myers <joseph@codesourcery.com>
11953
11954 [BZ #13885]
11955 [BZ #13923]
11956 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11957 USE_AS_EXPM1L.
11958 (EXPL_FINITE): Likewise.
11959 (FLDLOG): Likewise.
11960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11961 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11962 e_expl.S.
11963 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11964 USE_AS_EXPM1L.
11965 (EXPL_FINITE): Likewise.
11966 (FLDLOG): Likewise.
11967 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11968 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11969 e_expl.S.
11970 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11971 test of -max_value argument for long double.
11972 * sysdeps/i386/fpu/libm-test-ulps: Update.
11973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11974
6693d694
DM
119752012-05-06 David S. Miller <davem@davemloft.net>
11976
11977 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11978 quad soft-float symbols whose references which are compiler
11979 generated.
11980 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11981
6c23e11c
JM
119822012-05-06 Joseph Myers <joseph@codesourcery.com>
11983
d8b82cad
JM
11984 [BZ #13884]
11985 [BZ #13914]
11986 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11987 USE_AS_EXP10L.
11988 (EXPL_FINITE): Likewise.
11989 (FLDLOG): Likewise.
11990 (c0): Likewise.
11991 (c1): Likewise.
11992 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11993 Adjust comments for base varying.
11994 (__expl_finite): Change alias to EXPL_FINITE.
11995 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11996 e_expl.S.
11997 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11998 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11999 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12000 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12001 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12002 USE_AS_EXP10L.
12003 (EXPL_FINITE): Likewise.
12004 (FLDLOG): Likewise.
12005 (c0): Likewise.
12006 (c1): Likewise.
12007 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12008 Adjust comments for base varying.
12009 (__expl_finite): Change alias to EXPL_FINITE.
12010 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12011 tests for bugs.
12012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12013
6c23e11c
JM
12014 [BZ #14064]
12015 * math/libm-test.inc (check_float_internal): Correct ulp
12016 calculation for subnormal expected results.
12017
29ba805c
AJ
120182012-05-06 Andreas Jaeger <aj@suse.de>
12019
12020 * Makeconfig (+math-flags): New, set to -frounding-math.
12021 (+cflags): Add +math-flags so that all of glibc gets compiled with
12022 it.
12023
12024 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12025
7b17aeda
JM
120262012-05-05 Joseph Myers <joseph@codesourcery.com>
12027
5779f134
JM
12028 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12029 Disable one test.
12030
41498f4d
JM
12031 [BZ #13787]
12032 [BZ #13922]
12033 [BZ #14036]
12034 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12035 (__ieee754_expl): Allow for and saturate large arguments.
12036 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12037 (u_threshold): Likewise.
12038 (__exp): Call __ieee754_exp before checking for overflow and
12039 underflow.
12040 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12041 (u_threshold): Likewise.
12042 (__expf): Call __ieee754_expf before checking for overflow and
12043 underflow.
12044 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12045 (u_threshold): Likewise.
12046 (__expl): Call __ieee754_expl before checking for overflow and
12047 underflow.
12048 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12049 (__ieee754_expl): Allow for and saturate large arguments.
12050 * math/libm-test.inc (exp_test): Add another test. Do not allow
12051 missing overflow exception on overflow.
12052 (expm1_test): Do not allow missing overflow exception on overflow.
12053
6698b8bf
JM
12054 * sysdeps/i386/fpu/e_expl.c: Move to ...
12055 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12056 rather than using inline asm.
12057 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12058 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12059 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12060
7b17aeda
JM
12061 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12062 (nice): Likewise.
12063 (poll): Likewise.
12064 (signal): Likewise.
12065 (time): Likewise.
12066 (times): Likewise.
12067
f7c85819
JM
120682012-05-04 Joseph Myers <joseph@codesourcery.com>
12069
12070 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12071 sysdeps/unix/common/syscalls.list.
12072 (fchmod): Likewise.
12073 (fchown): Likewise.
12074 (ftruncate): Likewise.
12075 (getrusage): Likewise.
12076 (gettimeofday): Likewise.
12077 (setpgid): Likewise.
12078 (setregid): Likewise.
12079 (setreuid): Likewise.
12080 (sigaction): Likewise.
12081 (truncate): Likewise.
12082 (vhangup): Likewise.
12083 * sysdeps/unix/common/syscalls.list: Remove file.
12084 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12085 * sysdeps/unix/sysv/linux/Implies: Likewise.
12086
336270d0
L
120872012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12088
12089 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12091 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12092 Moved to ...
12093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12094 Here.
12095 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12096 to ...
12097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12098 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12099 to ...
12100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12101 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12102 to ...
12103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12104 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12105 to ...
12106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12107 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12108 to ...
12109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12110 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12111 to ...
12112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12113 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12114 to ...
12115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12116 Here.
12117 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12118 to ...
12119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12120 Here.
12121 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12122 to ...
12123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12124 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12125 Moved to ...
12126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12127 Here.
12128 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12129 to ...
12130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12131
d128e450
JM
121322012-05-04 Joseph Myers <joseph@codesourcery.com>
12133
fa8ee516
JM
12134 * sysdeps/unix/common/bits/dirent.h: Remove file.
12135 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12136
d128e450
JM
12137 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12138 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12139 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12140 * sysdeps/unix/bsd/isatty.c: Likewise.
12141 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12142 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12143 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12144
ff8faaf0 121452012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12146
62881be4 12147 [BZ #13563]
31dc8730
AZ
12148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12149 long double comparison inaccuracies.
12150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12152
6fef930c
AS
121532012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12154
12155 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12157
8f203e6c
JM
121582012-05-04 Joseph Myers <joseph@codesourcery.com>
12159
12160 [BZ #14049]
12161 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12162 nonzero digits before rounding a hex value.
12163 * stdlib/tst-strtod.c (tests): Add another test.
12164
5197d9c2
AK
121652012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12166
12167 * sysdeps/s390/fpu/libm-test-ulps: Update.
12168
f0c1dedf
AJ
121692012-05-03 Andreas Jaeger <aj@suse.de>
12170
12171 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12172 does not get optimized out.
12173 (malloc_opt_barrier): New.
12174
a65ef2ae 121752012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12176 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12177
2b942cb7 12178 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12179 intermediate file deletion.
2b942cb7 12180 (generated): Add .symlist files.
a65ef2ae 12181
54b71e02
JM
121822012-05-03 Joseph Myers <joseph@codesourcery.com>
12183
12184 [BZ #13775]
12185 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12186 Redirect under this condition.
12187 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12188 [__USE_GNU] (__dprintf_chk): Not under this condition.
12189 [__USE_GNU] (__vdprintf_chk): Likewise.
12190 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12191 under this condition.
12192 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12193 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12194 [__USE_XOPEN2K8] (vdprintf): Likewise.
12195 [__USE_GNU] (__dprintf_chk): Not under this condition.
12196 [__USE_GNU] (__vdprintf_chk): Likewise.
12197 [__USE_GNU] (dprintf): Likewise.
12198 [__USE_GNU] (vdprintf): Likewise.
12199
d3dfcc41
RM
122002012-05-03 Roland McGrath <roland@hack.frob.com>
12201
12202 * elf/Makefile (common-generated): Set this instead of generated for
12203 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12204 $(all-built-dso)-derived lists.
12205
7ac30cc5
AJ
122062012-05-03 Andreas Jaeger <aj@suse.de>
12207
0c51e550
AJ
12208 * sysdeps/i386/fpu/libm-test-ulps: Update.
12209
7ac30cc5
AJ
12210 * FAQ: Removed.
12211 * FAQ.in: Likewise.
12212 * scripts/gen-FAQ.pl: Likewise.
12213 * manual/install.texi (Installation): Point to online location of
12214 FAQ.
12215 * Makefile (files-for-dist): Remove FAQ.
12216 (FAQ): Remove.
12217
d4c2917f
AM
122182012-05-02 Allan McRae <allan@archlinux.org>
12219
12220 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12221 (LDFLAGS-reldepmod5.so): Likewise.
12222 (LDFLAGS-reldep6mod1.so): Likewise.
12223 (LDFLAGS-reldep6mod4.so): Likewise.
12224 (LDFLAGS-reldep8mod3.so): Likewise.
12225 (LDFLAGS-unload4mod1.so): Likewise.
12226 (LDFLAGS-unload4mod2.so): Likewise.
12227 (LDFLAGS-tst-initorder): Likewise.
12228 (LDFLAGS-tst-initordera2.so): Likewise.
12229 (LDFLAGS-tst-initordera3.so): Likewise.
12230 (LDFLAGS-tst-initordera4.so): Likewise.
12231 (LDFLAGS-tst-initorderb2.so): Likewise.
12232 (LDFLAGS-noload): Likewise.
12233 (LDFLAGS-next): Likewise.
12234 (LDFLAGS-order2mod1.so): Likewise.
12235 (LDFLAGS-order2mod2.so): Likewise.
12236 (LDFLAGS-tst-initorder2): Likewise.
12237 (LDFLAGS-tst-initorder2a.so): Likewise.
12238 (LDFLAGS-tst-initorder2b.so): Likewise.
12239 (LDFLAGS-tst-initorder2c.so): Likewise.
12240 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12241
d77f993f
DM
122422012-05-02 David S. Miller <davem@davemloft.net>
12243
12244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12245
171a70b4
PP
122462012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12247
12248 [BZ #14055]
12249 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12250
0be196ad
AJ
122512012-05-02 Andreas Jaeger <aj@suse.de>
12252
12253 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12254 since we manipulate rounding mode.
12255 (CPPFLAGS-test-idouble.c): Likewise.
12256 (CPPFLAGS-test-ifloat.c): Likewise.
12257 (CFLAGS-test-ldouble.c): Likewise.
12258 (CFLAGS-test-double.c): Likewise.
12259 (CFLAGS-test-float.c): Likewise.
12260 (CFLAGS-test-misc.c): Likewise.
12261 (CFLAGS-test-test-fenv.c): Likewise.
12262
4f9d04aa
AZ
122632012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12264
2b942cb7
RM
12265 [BZ #2550]
12266 [BZ #2570]
12267 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12268 comparisons to determine direction to adjust input.
4f9d04aa 12269
82a79e7d
RM
122702012-05-01 Roland McGrath <roland@hack.frob.com>
12271
f5a01ca9
RM
12272 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12273 output to the target.
12274
90fe4186
RM
12275 * scripts/localplt.awk: New file.
12276 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12277 (check-localplt-CFLAGS): Variable removed.
12278 ($(all-built-dso:=.jmprel)): New static pattern rule.
12279 (generated): Add those targets.
12280 (localplt-built-dso): New variable.
12281 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12282
12283 * elf/check-localplt.c: File removed.
12284
82397ed6
RM
12285 * scripts/check-execstack.awk: New file.
12286 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12287 (check-execstack-CFLAGS): Variable removed.
12288 ($(objpfx)check-execstack.h): Target removed.
12289 ($(objpfx)execstack-default): New target.
12290 (generated): Add that instead of check-execstack.h.
12291 ($(all-built-dso:=.phdr)): New static pattern rule.
12292 (generated): Add those targets.
12293 * elf/check-execstack.c: File removed.
12294
82a79e7d
RM
12295 * scripts/check-textrel.awk: New file.
12296 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12297 (check-textrel-CFLAGS): Variable removed.
12298 (all-built-dso): Use := to define.o
12299 ($(all-built-dso:=.dyn)): New static pattern rule.
12300 (generated): Add those targets.
12301 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12302 * config.make.in (READELF): New substituted variable.
12303 * elf/check-textrel.c: File removed.
12304
62fde54f 123052012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12306
615605c9
JM
12307 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12308 allow.
12309 * conform/data/ctype.h-data [C99-based standards] (isblank):
12310 Expect function.
12311 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12312 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12314 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12315 Specify type. Require positive value.
12316 (EILSEQ): Likewise.
12317 (ERANGE): Likewise.
12318 [ISO || POSIX] (EILSEQ): Do not expect.
12319 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12320 Specify type. Require positive value.
12321 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12322 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12323 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12324 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12325 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12326 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12327 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12328 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12329 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12330 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12331 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12332 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12333 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12334 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12335 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12336 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12337 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12338 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12339 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12340 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12341 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12342 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12343 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12344 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12345 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12346 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12347 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12348 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12349 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12350 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12351 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12352 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12353 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12354 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12355 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12356 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12357 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12358 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12359 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12360 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12361 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12362 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12363 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12364 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12365 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12366 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12367 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12368 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12369 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12370 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12371 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12372 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12373 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12374 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12375 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12376 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12377 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12380 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12383 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12384 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12385 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12386 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12387 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12388 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12390 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12391 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12392 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12393 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12394 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12395 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12396 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12397 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12398 Require >= 2.
12399 (FLT_ROUNDS): Expect as macro, not constant.
12400 (FLT_MANT_DIG): Use macro-int-constant.
12401 (DBL_MANT_DIG): Likewise.
12402 (LDBL_MANT_DIG): Likewise.
12403 (FLT_DIG): Likewise.
12404 (DBL_DIG): Likewise.
12405 (LDBL_DIG): Likewise.
12406 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12407 (DBL_MIN_EXP): Likewise.
12408 (LDBL_MIN_EXP): Likewise.
12409 (FLT_MAX_EXP): Use macro-int-constant.
12410 (DBL_MAX_EXP): Likewise.
12411 (LDBL_MAX_EXP): Likewise.
12412 (FLT_MAX_10_EXP): Likewise.
12413 (DBL_MAX_10_EXP): Likewise.
12414 (LDBL_MAX_10_EXP): Likewise.
12415 (FLT_MAX): Use macro-constant.
12416 (DBL_MAX): Likewise.
12417 (LDBL_MAX): Likewise.
12418 (FLT_EPSILON): Use macro-constant. Give upper bound.
12419 (DBL_EPSILON): Likewise.
12420 (LDBL_EPSILON): Likewise.
12421 (FLT_MIN): Likewise.
12422 (DBL_MIN): Likewise.
12423 (LDBL_MIN): Likewise.
12424 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12425 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12426 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12427 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12428 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12429 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12430 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12431 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12432 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12433 [ISO11] (FLT_TRUE_MIN): Likewise.
12434 [ISO11] (LDBL_TRUE_MIN): Likewise.
12435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12436 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12437 (SCHAR_MIN): Use macro-int-constant. Specify type.
12438 (SCHAR_MAX): Likewise.
12439 (UCHAR_MAX): Likewise.
12440 (CHAR_MIN): Likewise.
12441 (CHAR_MAX): Likewise.
12442 (MB_LEN_MAX): Use macro-int-constant.
12443 (SHRT_MIN): Use macro-int-constant. Specify type.
12444 (SHRT_MAX): Likewise.
12445 (USHRT_MAX): Likewise.
12446 (INT_MAX): Likewise.
12447 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12448 bound negative.
12449 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12450 bound with "U".
12451 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12452 bound with "L".
12453 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12454 bound negative. Suffix upper bound with "L".
12455 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12456 bound with "UL".
12457 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12458 Specify type.
12459 [C99-based standards] (LLONG_MAX): Likewise.
12460 [C99-based standards] (ULLONG_MAX): Likewise.
12461 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12462 == 0.
12463 [ISO11] (max_align_t): Require type.
12464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12465
c9140a62
JM
12466 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12467 from $CFLAGS, without defining away __attribute__ calls.
12468 (checknamespace): Use $CFLAGS_namespace.
12469
9af0bf29
JM
12470 * conform/conformtest.pl (@keywords): Only include C99 keywords
12471 for standards based on C99 or C11.
12472
343222a2
JM
12473 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12474 Disable tests.
12475 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12476 UNIX98]: Likewise.
12477
661f8cf0
JM
12478 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12479 usability of symbols in #if.
12480
ee74b9cb
JM
12481 * conform/conformtest.pl: If macro or constant types start
12482 "promoted:", expect the symbol to be of the following type
12483 promoted by the integer promotions.
62fde54f 12484
aafc49b3
JM
12485 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12486 in one place. Also handle "macro-constant".
12487
fefdf574
JM
12488 * conform/conformtest.pl: Only accept expected macro values with
12489 "==". Parse all "macro" lines in one place.
12490 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12491
f2d922fe
JM
12492 * conform/conformtest.pl: Handle braced types on "constant" lines
12493 instead of handling "typed-constant".
12494 * conform/data/signal.h-data: Use "constant" instead of
12495 "typed-constant".
12496
d22956c9
JM
12497 * conform/conformtest.pl: Handle "optional-" at start of lines in
12498 one place rather than duplicating several cases. Handle each
12499 format of "macro" line with initial "optional-".
12500
028e2e38
JM
12501 * conform/conformtest.pl: Only accept expected constant or
12502 optional-constant values with "==". Parse all "constant" lines in
12503 one place. Parse all "optional-constant" lines in one place.
12504 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12505 * conform/data/fmtmsg.h-data: Likewise.
12506 * conform/data/netinet/in.h-data: Likewise.
12507 * conform/data/tar.h-data: Likewise.
12508 * conform/data/limits.h-data: Use "==" form on "constant" and
12509 "optional-constant" lines.
12510
1b8f2850
JM
12511 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12512 Use -std=c99 for XOPEN2K.
12513 (@knownproblems): Remove.
12514 (newtoken): Don't check %isknown.
12515
a05a144b
JM
12516 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12517 Do not expect macro.
12518 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12519 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12520 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12521 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12522 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12523 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12524 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12525 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12526 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12527 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12528 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12529 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12530 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12531 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12532 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12533 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12534 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12535 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12536 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12537 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12538 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12540 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12541 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12542 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12543 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12544 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12545 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12546 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12547 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12548 [XPG3] (acosh): Likewise.
12549 [XPG3] (asinh): Likewise.
12550 [XPG3] (atanh): Likewise.
12551 [XPG3] (cbrt): Likewise.
12552 [XPG3] (expm1): Likewise.
12553 [XPG3] (ilogb): Likewise.
12554 [XPG3] (log1p): Likewise.
12555 [XPG3] (logb): Likewise.
12556 [XPG3] (nextafter): Likewise.
12557 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12558 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12559 [XPG3] (remainder): Likewise.
12560 [XPG3] (rint): Likewise.
12561 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12562 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12563 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12564 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12565 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12566 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12567 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12568 [UNIX98 || XOPEN2K] (scalb): Expect.
12569 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12570 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12571 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12572 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12573 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12574 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12575 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12576 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12577 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12580 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12581 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12582 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12583 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12584 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12585 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12586 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12587 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12588 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12589 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12590 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12591 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12592 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12599 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12600 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12601 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12602 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12603 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12604 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12605 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12606 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12607 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12608 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12609 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12610 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12611 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12613 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12614 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12615 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12616 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12617 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12618 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12619 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12620 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12621 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12622 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12623 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12624 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12625 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12626 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12627 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12628 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12629 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12630 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12631 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12632 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12633 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12634 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12635 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12636 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12637 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12638 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12639 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12640 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12641 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12642 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12643 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12644 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12645 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12646 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12647 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12648 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12649 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12650 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12651 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12652 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12653 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12654 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12655 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12656 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12657 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12658 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12659 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12660 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12661 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12662 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12663 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12664 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12665 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12666 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12667 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12668 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12669 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12670 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12671 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12672 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12673 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12674 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12675 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12676 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12677 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12678 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12679 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12680 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12681 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12682 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12683 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12684 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12685 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12686 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12687 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12688 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12689 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12690 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12691 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12692 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12693 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12694 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12695 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12696 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12697 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12698 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12699 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12700 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12701 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12702 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12703 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12704 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12705 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12706
73c5ebe3
JM
12707 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12708 _XOPEN_SOURCE_EXTENDED for XPG4.
12709
39c33b6c
JM
12710 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12711
62fde54f
JM
12712 * Makeconfig (localtime): Remove variable.
12713 (inst_localtime-file): Likewise.
12714
0741d64c
AS
127152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12716
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12718 Update.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12720 Update.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12722 Update.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12724 Update.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12726 Update.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12728 Update.
12729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12730 Update.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12732 Update.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12734 Update.
12735
7cb029ee
JM
127362012-05-01 Joseph Myers <joseph@codesourcery.com>
12737
12738 [BZ #2550]
12739 [BZ #2570]
12740 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12741 comparisons to determine direction to adjust input.
12742 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12743 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12744 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12745 Likewise.
12746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12747 Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12749 Likewise.
12750 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12751 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12752 Likewise.
12753 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12754 Likewise.
12755 * math/libm-test.inc (nexttoward_test): Add more tests.
12756
412bd966
AS
127572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12758
12759 [BZ #14040]
12760 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12761 in version GLIBC_2.1, not GLIBC_2.0.
12762 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12763 Likewise.
12764
9568c0c2
JM
127652012-04-30 Joseph Myers <joseph@codesourcery.com>
12766
adfbc8ac
JM
12767 [BZ #13942]
12768 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12769 (1 - x) * (1 + x).
12770 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12771 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12772 * math/libm-test.inc (acos_test): Add more tests.
12773 (asin_test): Likewise.
12774 * sysdeps/i386/fpu/libm-test-ulps: Update.
12775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12776
5ba3cc69
JM
12777 [BZ #14034]
12778 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12779 of square root.
12780 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12781 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12782 * math/libm-test.inc (acos_test_tonearest): New function.
12783 (acos_test_towardzero): Likewise.
12784 (acos_test_downward): Likewise.
12785 (acos_test_upward): Likewise.
12786 (asin_test_tonearest): Likewise.
12787 (asin_test_towardzero): Likewise.
12788 (asin_test_downward): Likewise.
12789 (asin_test_upward): Likewise.
12790 (main): Call the new functions.
12791 * sysdeps/i386/fpu/libm-test-ulps: Update.
12792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12793
9568c0c2
JM
12794 [BZ #13884]
12795 [BZ #13924]
12796 * math/e_exp10.c: Include <float.h>.
12797 (__ieee754_exp10): Handle underflow here rather than multiplying
12798 large negative argument by M_LN10.
12799 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12800 of __ieee754_expf.
12801 * math/e_exp10l.c: Include <float.h>.
12802 (__ieee754_exp10l): Handle underflow here rather than multiplying
12803 large negative argument by M_LN10l.
12804 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12805 spurious overflow exception on underflow.
12806
5ac3ea17
MP
128072012-04-29 Marek Polacek <polacek@redhat.com>
12808
12809 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12810 (__fortify_function): New macro.
12811 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12812 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12813 __extern_always_inline.
12814 * libio/bits/stdio2.h: Likewise.
12815 * libio/bits/stdio.h: Likewise.
12816 * string/string.h: Likewise.
12817 * string/bits/string3.h: Likewise.
12818 * include/stdio.h: Likewise.
12819 * stdlib/bits/stdlib.h: Likewise.
12820 * stdlib/stdlib.h: Likewise.
12821 * rt/bits/mqueue2.h: Likewise.
12822 * rt/mqueue.h: Likewise.
12823 * posix/bits/unistd.h: Likewise.
12824 * posix/unistd.h: Likewise.
12825 * io/bits/poll2.h: Likewise.
12826 * io/bits/fcntl2.h: Likewise.
12827 * io/fcntl.h: Likewise.
12828 * io/sys/poll.h: Likewise.
12829 * misc/bits/syslog.h: Likewise.
12830 * misc/bits/syslog-ldbl.h: Likewise.
12831 * misc/sys/syslog.h: Likewise.
12832 * socket/bits/socket2.h: Likewise.
12833 * socket/sys/socket.h: Likewise.
12834 * debug/tst-chk1.c: Likewise.
12835 * wcsmbs/bits/wchar2.h: Likewise.
12836 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12837 * wcsmbs/wchar.h: Likewise.
12838
ecf0ebfb
AJ
128392012-04-29 Andreas Jaeger <aj@suse.de>
12840
12841 * Makerules (tests): Remove enable-check-abi protection.
12842 (check-abi-warn): Remove.
12843 (check-abi-%): Remove check-abi-warn usage.
12844
12845 * configure.in: Remove check-abi configure option.
12846 * configure: Regenerated.
12847 * config.make.in (enable-check-abi): Remove.
12848
6d5c57fa
AS
128492012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12850
24c5d07e 12851 [BZ #14033]
ded5180a
AS
12852 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12853 double functions to double *_finite functions.
12854
7e0d315d
AS
12855 [BZ #13941]
12856 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12857 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12858 LDBL_MIN_EXP.
12859 * stdio-common/Makefile (tests): Add tst-sprintf3.
12860 * stdio-common/tst-sprintf3.c: New file.
12861
6d5c57fa
AS
12862 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12863 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12864
0749ff8b
JM
128652012-04-28 Joseph Myers <joseph@codesourcery.com>
12866
12867 * conform/conformtest.pl: Remove duplicate typed-constant
12868 handling.
12869
8dbd5d7b
DM
128702012-04-28 David S. Miller <davem@davemloft.net>
12871
12872 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12873 (check-abi-%): Remove AWK script prerequisite and explicit
12874 abilist directory.
12875 (check-abi): Rewrite to just diff the symlist with the abilist.
12876 (config-tls, config-abi-config): Delete, no longer used.
12877 (update-abi-%): Remove AWK script and explicit abilist directory.
12878 (update-abi): Rewrite to simply compare and conditionally copy the
12879 symlist and the sysdep abilist file. Remove update-abi-config
12880 checks.
12881 * abilist/ld.abilist: Remove.
12882 * abilist/libBrokenLocale.abilist: Remove.
12883 * abilist/libanl.abilist: Remove.
12884 * abilist/libcrypt.abilist: Remove.
12885 * abilist/libdl.abilist: Remove.
12886 * abilist/librt.abilist: Remove.
12887 * abilist/libthread_db.abilist: Remove.
12888 * abilist/libutil.abilist: Remove.
12889 * scripts/extract-abilist.awk: Remove.
12890 * scripts/merge-abilist.awk: Remove.
12891 * sysdeps/generic/libcidn.abilist: New file.
12892 * sysdeps/generic/libnss_compat.abilist: New file.
12893 * sysdeps/generic/libnss_db.abilist: New file.
12894 * sysdeps/generic/libnss_dns.abilist: New file.
12895 * sysdeps/generic/libnss_files.abilist: New file.
12896 * sysdeps/generic/libnss_hesiod.abilist: New file.
12897 * sysdeps/generic/libnss_nis.abilist: New file.
12898 * sysdeps/generic/libnss_nisplus.abilist: New file.
12899 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12900 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12901 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12902 file.
12903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12904 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12905 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12906 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12907 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12908 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12909 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12910 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12911 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12912 file.
12913 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12914 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12915 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12916 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12917 file.
12918 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12919 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12920 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12921 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12922 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12923 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12924 file.
12925 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12926 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12927 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12928 file.
12929 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12931 New file.
12932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12933 New file.
12934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12935 New file.
12936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12937 New file.
12938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12939 New file.
12940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12941 New file.
12942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12943 New file.
12944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12945 New file.
12946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12947 New file.
12948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12949 New file.
12950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12951 New file.
12952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12953 New file.
12954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12955 New file.
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12957 file.
12958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12959 New file.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12961 New file.
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12963 file.
12964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12965 New file.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12967 New file.
12968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12969 file.
12970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12971 New file.
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12973 New file.
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12975 New file.
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12977 New file.
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12979 New file.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12981 New file.
12982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12984 file.
12985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12986 New file.
12987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12988 file.
12989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12990 file.
12991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12992 file.
12993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12994 file.
12995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12996 file.
12997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12998 New file.
12999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13000 file.
13001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13002 file.
13003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13004 New file.
13005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13006 file.
13007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13009 file.
13010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13011 New file.
13012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13013 file.
13014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13015 file.
13016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13017 file.
13018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13019 file.
13020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13021 file.
13022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13023 New file.
13024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13025 file.
13026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13027 file.
13028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13029 New file.
13030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13031 file.
13032 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13033 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13034 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13035 file.
13036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13037 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13038 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13039 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13040 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13041 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13042 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13043 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13044 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13045 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13048 file.
13049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13050 New file.
13051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13052 file.
13053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13054 file.
13055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13056 file.
13057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13058 file.
13059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13060 file.
13061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13062 New file.
13063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13064 New file.
13065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13066 file.
13067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13068 New file.
13069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13070 file.
13071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13073 file.
13074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13075 New file.
13076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13077 file.
13078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13079 file.
13080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13081 file.
13082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13083 file.
13084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13085 file.
13086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13087 New file.
13088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13089 New file.
13090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13091 file.
13092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13093 New file.
13094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13095 file.
13096
41d73a1b
JM
130972012-04-28 Joseph Myers <joseph@codesourcery.com>
13098
13099 * conform/conformtest.pl: Fix typo in handling typed-constant from
13100 allow-header.
13101
28aeeda4
JM
131022012-04-27 Joseph Myers <joseph@codesourcery.com>
13103
adae8f5e
JM
13104 * README: Cut down references to pre-2.6 Linux kernels and
13105 Linuxthreads. Update lists of configurations in libc and ports
13106 and sort alphabetically. Say "or newer" with Linux kernel version
13107 requirements.
13108
28aeeda4
JM
13109 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13110
a462cb63
RA
131112012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13112
13113 [BZ #887]
13114 * math/libm-test.inc (logb_test_downward): New test to expose
13115 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13116 rounding mode.
13117
6ad3493e
JM
131182012-04-27 Joseph Myers <joseph@codesourcery.com>
13119
13120 [BZ #14027]
13121 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13122 to be done.
13123 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13124 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13125
2ce4f015
JM
131262012-04-26 Joseph Myers <joseph@codesourcery.com>
13127
5aeb141a
JM
13128 * sysdeps/unix/i386/brk.S: Remove file.
13129 * sysdeps/unix/i386/dl-brk.S: Likewise.
13130 * sysdeps/unix/i386/pipe.S: Likewise.
13131 * sysdeps/unix/i386/sigreturn.S: Likewise.
13132 * sysdeps/unix/i386/syscall.S: Likewise.
13133 * sysdeps/unix/i386/vfork.S: Likewise.
13134 * sysdeps/unix/i386/wait.S: Likewise.
13135
7143acae
JM
13136 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13137 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13138
2ce4f015
JM
13139 * configure.in (arm*-none*): Do not allow without
13140 --enable-hacker-mode.
13141 (netbsd*): Remove case setting base_os.
13142 (386bsd*): Likewise.
13143 (freebsd*): Likewise.
13144 (bsdi*): Likewise.
13145 (osf*): Likewise.
13146 (sunos*): Likewise.
13147 (ultrix*): Likewise.
13148 (newsos*): Likewise.
13149 (dynix*): Likewise.
13150 (*bsd*): Likewise.
13151 (sysv*): Likewise.
13152 (isc*): Likewise.
13153 (esix*): Likewise.
13154 (sco*): Likewise.
13155 (minix*): Likewise.
13156 (irix4*): Likewise.
13157 (irix6*): Likewise.
13158 (solaris[2-9]*): Likewise.
13159 (none): Likewise.
13160 * configure: Regenerated.
13161
0ac229c8
AZ
131622012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13163
13164 [BZ #11521]
13165 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13166 overflow or cancellation in calculating denominator.
13167 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13169 down expression to avoid unexpected rounding in newer GCCs.
13170 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13171
33f244f4
DM
131722012-04-26 David S. Miller <davem@davemloft.net>
13173
13174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13175 long-double compat symbols.
13176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13189
cfa1f3e8
DM
131902012-04-25 David S. Miller <davem@davemloft.net>
13191
13192 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13193 HWCAP_* values only after the memory barriers have been defined.
13194 (atomic_full_barrier): Define.
13195 (atomic_read_barrier): Define.
13196 (atomic_write_barrier): Define.
13197
6e236b92
SP
131982012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13199
13200 * shlib-versions: Add libgcc_s version information.
13201 * sysdeps/generic/libgcc_s.h: Remove.
13202 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13203 libgcc_s.h.
13204 * sysdeps/gnu/unwind-resume.c: Likewise.
13205 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13206
aab39a09
DM
132072012-04-25 David S. Miller <davem@davemloft.net>
13208
13209 * sysdeps/unix/sparc/brk.S: Delete.
13210 * sysdeps/unix/sparc/dl-brk.S: Delete.
13211 * sysdeps/unix/sparc/pipe.S: Delete.
13212 * sysdeps/unix/sparc/sysdep.S: Delete.
13213 * sysdeps/unix/sparc/sysdep.h: Delete.
13214 * sysdeps/unix/sparc/vfork.S: Delete.
13215 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13216 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13217 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13218 ret_ERRVAL, r0, r1, MOVE): Define.
13219 (JUMPTARGET): Remove.
13220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13221 sysdeps/unix/sparc/sysdep.h
13222 (ENTRY, END): Remove.
13223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13224
a3cc4f48
JM
132252012-04-25 Joseph Myers <joseph@codesourcery.com>
13226
2ed8cda2
JM
13227 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13228 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13229 -DIS_IN_build.
13230
35d76d59
JM
13231 * timezone/README: Update upstream location and email address for
13232 tzcode and tzdata.
13233 * timezone/zdump.c: Update from tzcode 2012b.
13234 * timezone/zic.c: Likewise.
13235
a3cc4f48
JM
13236 * configure.in (libc_cv_as_needed): Remove test.
13237 * configure: Regenerated.
13238 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13239 conditional definition.
13240 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13241 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13242 * config.make.in (have-as-needed): Remove variable.
13243
ceab42c3
SP
132442012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13245 Paul Pluzhnikov <ppluzhnikov@google.com>
13246
13247 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13248 strings correctly.
13249
3ce2865f
CLT
132502012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13251
13252 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13253 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13254 * sysdeps/sh/strlen.S: Likewise.
13255
f37e0d68
JM
132562012-04-24 Joseph Myers <joseph@codesourcery.com>
13257
ae186e9a
JM
13258 * sysdeps/unix/fork.S: Remove file.
13259 * sysdeps/unix/i386/fork.S: Likewise.
13260 * sysdeps/unix/sparc/fork.S: Likewise.
13261
b96914af
JM
13262 * sysdeps/unix/system.c: Remove file.
13263 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13264
f37e0d68
JM
13265 * sysdeps/unix/getegid.S: Remove file.
13266 * sysdeps/unix/geteuid.S: Likewise.
13267
87ef29ca
RM
132682012-04-24 Roland McGrath <roland@hack.frob.com>
13269
83bcd236
RM
13270 * scripts/check-localplt.awk: New file.
13271 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13272 of diff.
13273 * scripts/data/localplt-generic.data: Add a comment.
13274
87ef29ca
RM
13275 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13276 NODE when __dir_mkfile failed.
13277 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13278 Reported by Ludovic Courtès <ludo@gnu.org>.
13279
e5a6e567
AJ
132802012-04-24 Andreas Jaeger <aj@suse.de>
13281
13282 * Makerules (common-clean): Also remove gen-as-const-headers
13283 files.
13284
c1820385
JM
132852012-04-24 Joseph Myers <joseph@codesourcery.com>
13286
13287 * Makerules (native-compile): Do not change working directory for
13288 build. Use $(OUTPUT_OPTION) in command.
13289 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13290
94e02fc4
AZ
132912012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13292
13293 [BZ #13886]
13294 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13295 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13296 * math/libm-test.inc (floor_test): Add more tests.
13297 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13298
3a533ca3
JM
132992012-04-24 Joseph Myers <joseph@codesourcery.com>
13300
940ab4b3
JM
13301 * sysdeps/unix/getdents.c: Remove file.
13302 * sysdeps/unix/sysv/getdents.c: Likewise.
13303 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13304
90e037bd
JM
13305 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13306 sysdeps/unix/mman/syscalls.list.
13307 (mmap): Likewise.
13308 (mprotect): Likewise.
13309 (msync): Likewise.
13310 (munmap): Likewise.
13311 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13312 * sysdeps/unix/mman/syscalls.list: Remove.
13313 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13314
3a533ca3
JM
13315 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13316 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13317 * configure: Regenerated.
13318 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13319 $(libgcc_s_suffix).
13320 * config.make.in (libgcc_s_suffix): Remove variable.
13321
1ad743de
JM
133222012-04-23 Joseph Myers <joseph@codesourcery.com>
13323
4ad451e2
JM
13324 * sysdeps/unix/sysv/gethostname.c: Move to ...
13325 * sysdeps/posix/gethostname.c: ... here.
13326
5e37ce39
JM
13327 * sysdeps/unix/execve.S: Remove file.
13328
1ad743de
JM
13329 * sysdeps/unix/_exit.S: Remove file.
13330
4e681b5b
AJ
133312012-04-23 Andreas Jaeger <aj@suse.de>
13332
13333 [BZ #13739]
13334 * manual/Makefile: Remove make dist support, there's no
13335 need for a stand-alone documentation tar ball.
13336 (TEXI2DVI): Define always, it's not in Makeconfig.
13337 (dist): Removed.
13338 (tar-it): Removed.
13339 (edition): Removed.
13340 (glibc-doc-$(edition).tar): Removed
13341 (%.Z): Removed.
13342 (%.gz): Removed.
13343 (%.uu): Removed.
13344 (ETAGS): Remove, it's in Makeconfig.
13345 (move-if-change): Remove, it's in Makeconfig.
13346
38686a03 133472012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13348
13349 [BZ #13970]
13350 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13351 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13352 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13353 (strtod_l, strtof_l, strtold_l): Remove __wur.
13354 It is not necessarily an error to ignore strtol's return value.
13355 One can reliably look at the stored endptr to decide whether
13356 the number had valid syntax.
13357
7c0616fa
AJ
133582012-04-21 Andreas Jaeger <aj@suse.de>
13359
803cb6b7 13360 [BZ #13739]
7c0616fa
AJ
13361 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13362
b0fe253f
JM
133632012-04-21 Joseph Myers <joseph@codesourcery.com>
13364
13365 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13366 * sysdeps/unix/sysv/Versions: Remove file.
13367
8280f22d
MT
133682012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13369
13370 [BZ #13927]
13371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13372
75ce411f 133732012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13374
13375 [BZ #7064]
13376 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13377 version from __vm86.
13378
097d59fa
JM
133792012-04-20 Joseph Myers <joseph@codesourcery.com>
13380
a90f3bcb
JM
13381 * sysdeps/unix/common/lxstat.c: Remove file.
13382 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13383
edc7ea78
JM
13384 * sysdeps/unix/sysv/Makefile: Remove file.
13385
cb78c221
JM
13386 * sysdeps/unix/sysv/direct.h: Remove file.
13387
efa6a45f
JM
13388 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13389 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13390 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13391 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13392 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13393 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13394 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13395
9c9f2d0c
JM
13396 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13397
4541c83b
JM
13398 * sysdeps/unix/xmknod.c: Remove file.
13399 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13400
f5d153a0
JM
13401 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13402
aa746595
JM
13403 * sysdeps/unix/sysv/i386/time.S: Remove file.
13404
cce5905e
JM
13405 * sysdeps/unix/fxstat.c: Remove file.
13406 * sysdeps/unix/xstat.c: Likewise.
13407 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13408
37fa3841
JM
13409 * sysdeps/unix/sysv/sigaction.c: Remove file.
13410
ff1962a3
JM
13411 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13412 (sysdep_headers): Remove variable.
13413 [termio.h not in sysdep_headers] (generated): Likewise.
13414 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13415 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13416 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13417 * sysdeps/unix/sysv/tcflow.c: Likewise.
13418 * sysdeps/unix/sysv/tcflush.c: Likewise.
13419 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13420 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13421 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13422 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13423 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13424
e7740d31
JM
13425 * sysdeps/unix/siglist.c: Remove file.
13426
ee06f18b
JM
13427 * sysdeps/unix/getppid.S: Remove file.
13428
097d59fa
JM
13429 * sysdeps/unix/mkdir.c: Remove file.
13430 * sysdeps/unix/rmdir.c: Likewise.
13431
ff3d51ec
AS
134322012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13433
13434 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13435 ERR_MAX value.
13436 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13437 errlist-compat value.
13438
50f81fd7
DM
134392012-04-18 David S. Miller <davem@davemloft.net>
13440
13441 * sysdeps/generic/memcopy.h (reg_char): Delete.
13442 * debug/strcat_chk.c: Use char, not reg_char.
13443 * debug/strcpy_chk.c: Likewise.
13444 * debug/strncat_chk.c: Likewise.
13445 * debug/strncpy_chk.c: Likewise.
13446 * string/memchr.c: Likewise.
13447 * string/memrchr.c: Likewise.
13448 * string/rawmemchr.c: Likewise.
13449 * string/strcat.c: Likewise.
13450 * string/strchr.c: Likewise.
13451 * string/strchrnul.c: Likewise.
13452 * string/strcmp.c: Likewise.
13453 * string/strcpy.c: Likewise.
13454 * string/strncat.c: Likewise.
13455 * string/strncmp.c: Likewise.
13456 * string/strncpy.c: Likewise.
13457
8ff41c46
WS
134582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13459
13460 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13461 __builtin_memcopy is called when src and dest ranges are known to not
13462 overlap.
13463
6b652f46
WS
134642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13465
13466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13467 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13468 fwd_align_merge macro call.
13469 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13470 bwd_align_merge macro call.
13471 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13472
b282631e
WS
134732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13474
13475 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13476 bwd_align_merge macros.
13477 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13478 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13479 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13480
95aa737c
DM
134812012-04-18 David S. Miller <davem@davemloft.net>
13482
13483 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13484
7a99a614
AJ
134852012-04-18 Andreas Jaeger <aj@suse.de>
13486
13487 [BZ# 6794]
13488 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13489 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13490 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13491
13492 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13493 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13494 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13495
13496 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13497 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13498 Adjust for changed ldbl-128 files.
13499
13500 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13501 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13502 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13503
e5270c23
DM
135042012-04-17 David S. Miller <davem@davemloft.net>
13505
13506 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13507
fb5e92c9
AS
135082012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13509
13510 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13511 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13512 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13513 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13514 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13515 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13516
76da7265
AZ
135172012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13518
13519 [BZ #6794]
13520 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13521 * math/libm-test.inc: Add ilogb errno and exception tests.
13522 * math/w_ilogb.c: New file: ilogb wrapper.
13523 * math/w_ilogbf.c: New file: ilogbf wrapper.
13524 * math/w_ilogbl.c: New file: ilogbl wrapper.
13525 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13526 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13527 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13528 exception being thrown with 0.0 as argument.
13529 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13530 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13531 exception being thrown with 0.0 as argument.
13532 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13533 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13534 exception being thrown with 0.0 as argument.
13535 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13536 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13537 exception being thrown with 0.0 as argument.
13538 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13539 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13540 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13541 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13542 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13543 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13544 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13545 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13546 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13547
0396e69d
PB
135482012-04-17 Petr Baudis <pasky@ucw.cz>
13549
13550 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13551 with altivec.
13552
750b5926
MP
135532012-04-16 Marek Polacek <polacek@redhat.com>
13554
13555 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13556
751728a1
MP
135572012-04-16 Marek Polacek <polacek@redhat.com>
13558
13559 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13560 operands of fdivp instruction.
13561
34a27407
L
135622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13563
13564 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13565 * elf/tst-auditmod3b.c: Likewise.
13566 * elf/tst-auditmod4b.c: Likewise.
13567 * elf/tst-auditmod5b.c: Likewise.
13568 * elf/tst-auditmod6b.c: Likewise.
13569 * elf/tst-auditmod6c.c: Likewise.
13570 * elf/tst-auditmod7b.c: Likewise.
13571 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13572 * sysdeps/x86_64/preconfigure.in: Likewise.
13573 * sysdeps/x86_64/preconfigure: Regenerated.
13574
7e73e17d
L
135752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13576
13577 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13578 __ILP32__.
13579
c7a6ab72
AB
135802012-04-13 Antoine Balestrat <merkil33@gmail.com>
13581
13582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13583 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13584
a9e8e0e0
CL
135852012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13586
13587 [BZ #13973]
13588 * locale/iso-639.def: Fix gl language name. Spotted by
13589 Yaron Shahrabani.
13590
ec98af7d
RM
135912012-04-12 Roland McGrath <roland@hack.frob.com>
13592
13593 [BZ #2074]
13594 * libio/libio.h (__io_write_fn): Update comment.
13595
247c3ede
PB
135962012-04-12 Petr Baudis <pasky@ucw.cz>
13597
13598 [BZ #2074]
13599 * stdio.texi (Hook Functions): The user provided writer function
13600 is not allowed to return -1.
13601
55939d6d
DM
136022012-04-11 David S. Miller <davem@davemloft.net>
13603
13604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13605
90020f5a
MF
136062012-04-11 Mike Frysinger <vapier@gentoo.org>
13607
13608 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13609 Add a leading slash to rtkaio.
13610
288f9098
JM
136112012-04-11 Jim Meyering <meyering@redhat.com>
13612
90020f5a
MF
13613 [BZ #11959]
13614 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13615 It is not necessarily an error to ignore fwrite's return
13616 value. One can reliably use ferror to test for errors after
13617 the fact.
288f9098 13618
4be2b570
L
136192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13620
13621 * bits/types.h (__snseconds_t): New type.
13622 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13623
13624 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13626 (__SNSECONDS_T_TYPE): Likewise.
13627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13628 (__SNSECONDS_T_TYPE): Likewise.
13629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13630 (__SNSECONDS_T_TYPE): Likewise.
13631
288f9098 136322012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13633
13634 [BZ #2636]
13635 * manual/time.texi (Processor Time): Return type of times is
13636 elapsed real time since an arbitrary point in the past.
13637 (CPU Time): Move CLK_TCK from here...
13638 (Processor Time): ...to here. Correct description.
13639 * manual/conf.texi (Constants for Sysconf): Correct description of
13640 _SC_CLK_TCK.
13641
d7dd4413
DM
136422012-04-10 David S. Miller <davem@davemloft.net>
13643
13644 [BZ #13967]
13645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13646 where the is a gap between DT_REL(A) and DT_JMPREL.
13647
b46068fc
L
136482012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13649
13650 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13651 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13652 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13653
73d65cc3
SP
136542012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13655
13656 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13657 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13658 (dl_main): Handle --inhibit-cache.
13659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13660 _dl_inhibit_cache.
13661 * elf/dl-load.c (_dl_map_object): Use it.
13662 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13663
bcc8d661
JM
136642012-04-09 Joseph Myers <joseph@codesourcery.com>
13665
8f9a2fae
JM
13666 [BZ #13872]
13667 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13668 (__ieee754_powl): Saturate large exponents rather than testing for
13669 overflow of y*log2(x).
13670 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13671 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13672 exceptions.
13673
bcc8d661
JM
13674 [BZ #11521]
13675 * math/s_ctan.c: Include <float.h>.
13676 (__ctan): Avoid internal overflow or cancellation in calculating
13677 denominator.
13678 * math/s_ctanf.c: Likewise.
13679 * math/s_ctanl.c: Likewise.
13680 * math/s_ctanh.c: Likewise.
13681 * math/s_ctanhf.c: Likewise.
13682 * math/s_ctanhl.c: Likewise.
13683 * math/libm-test.inc (ctan_test): Add more tests.
13684 (ctanh_test): Likewise.
13685 * sysdeps/i386/fpu/libm-test-ulps: Update.
13686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13687
823fbbb4
AJ
136882012-04-09 Andreas Jaeger <aj@suse.de>
13689
03879793
AJ
13690 [BZ #6894]
13691 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13692 is an optional BSD extension.
13693
823fbbb4
AJ
13694 [BZ #10254]
13695 * manual/stdio.texi (Opening Streams): Document additional fopen
13696 parameters.
13697
8de131cb
RM
136982012-04-09 Roland McGrath <roland@hack.frob.com>
13699
13700 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13701 %eax without telling the compiler.
13702
c0ed9d7d
CD
137032012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13704
13705 [BZ # 13963]
13706 * manual/install.texi: Use sourceware.org.
13707
c483f6b4
JM
137082012-04-09 Joseph Myers <joseph@codesourcery.com>
13709
d7dd9453
JM
13710 [BZ #13873]
13711 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13712 (__ieee754_pow): Generate overflow and underflow using huge*huge
13713 and tiny*tiny rather than just returning constant infinity or zero
13714 for large exponents.
13715 * math/libm-test.inc (pow_test): Require overflow exceptions for
13716 applicable cases of large exponents.
13717
c483f6b4
JM
13718 [BZ #706]
13719 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13720 (__ieee754_pow): Use iterative multiplication algorithm only for
13721 integer exponents with absolute value below 1024. Check for odd
13722 integer exponents when using algorithm for real exponents.
13723 * math/libm-test.inc (pow_test): Add more tests.
13724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13725
d2de7579
JM
137262012-04-08 Joseph Myers <joseph@codesourcery.com>
13727
13728 [BZ #13705]
13729 * math/libm-test.inc (exp_test): Do not allow overflow exception
13730 on underflow test.
13731
f77f1232
AJ
137322012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13733
13734 [BZ #13705]
13735 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13736 instead of __kernel_standard_f.
13737
3884932b
MF
137382012-04-08 Mike Frysinger <vapier@gentoo.org>
13739
13740 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13741 * sysdeps/x86_64/memset_chk.S: Likewise.
13742
54472e9c
AJ
137432012-04-08 Andreas Jaeger <aj@suse.de>
13744
6ab0fbfc
AJ
13745 [BZ #10153]
13746 * manual/startup.texi (Environment Access): Describe return value
13747 for putenv and setenv.
13748
61efba8c
AJ
13749 [BZ #6895]
13750 * manual/filesys.texi (Directory Entries): Add description for
13751 DT_LNK.
13752
95c3f29a
AJ
13753 [BZ #6890]
13754 * manual/filesys.texi (Directory Entries): Clarify that it's file
13755 system not operating system in the description of DT_UNKNOWN.
13756
54472e9c
AJ
13757 [BZ #6578]
13758 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13759
624254b1
SC
137602012-04-08 Stephen Compall <s11@member.fsf.org>
13761
13762 [BZ #6649]
13763 * manual/llio.texi (Opening and Closing Files): Add cross
13764 reference to explain mode argument.
13765
1e4920e0
MF
137662012-04-07 Mike Frysinger <vapier@gentoo.org>
13767
13768 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13769 * sysdeps/x86_64/memset_chk.S: Likewise.
13770
5ed848f3
DM
137712012-04-07 David S. Miller <davem@davemloft.net>
13772
13773 * elf/elf.h (R_SPARC_WDISP10): Define.
13774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13775 R_SPARC_SIZE32.
13776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13777 R_SPARC_SIZE64 and R_SPARC_H34.
13778
96154cd8
CD
137792012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13780
13781 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13782 conditions and remove no longer applicable assertion.
13783
9904dc47
L
137842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13785
13786 * bits/byteswap.h: Include <features.h>.
13787 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13788 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13789
f8887d0a
L
137902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13791
13792 * bits/byteswap.h (__bswap_16): Removed.
13793 Include <bits/byteswap-16.h> to get __bswap_16.
13794 * sysdeps/i386/bits/byteswap.h: Likewise.
13795 * sysdeps/s390/bits/byteswap.h: Likewise.
13796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13797 * bits/byteswap-16.h: New file.
13798 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13799 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13800 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13801 * string/Makefile (headers): Add bits/byteswap-16.h.
13802
62470f60
PP
138032012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13804
13805 [BZ #13895]
13806 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13807 extra indirection.
13808 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13809 * nss/tst-nss-static.c: New.
13810
4dad7bab
RM
138112012-04-06 Robert Millan <rmh@gnu.org>
13812
13813 [BZ #6486]
13814 * manual/llio.texi (File Position Primitive): lseek
13815 refers to WHENCE when it really means OFFSET.
13816
e9142a17
AJ
138172012-04-06 Andreas Jaeger <aj@suse.de>
13818
2c040eff
AJ
13819 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13820 strncmp declarations.
13821
e9142a17
AJ
13822 * abilist/libc.abilist: Add __poll and __ppoll.
13823
ff9f1c5f
DM
138242012-04-05 David S. Miller <davem@davemloft.net>
13825
dcd2ae90
DM
13826 * scripts/check-local-headers.sh: Accept a host triplet in the
13827 path matched by the exclude regexp.
13828
993eb054
DM
13829 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13830 definition.
13831 * sysdeps/powerpc/powerpc32/dl-machine.h
13832 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13833 * sysdeps/s390/s390-32/dl-machine.h
13834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13835 * sysdeps/sparc/sparc32/dl-machine.h
13836 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13837 * sysdeps/sparc/sparc64/dl-machine.h
13838 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13839
ff9f1c5f
DM
13840 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13841 lazy binding.
48e2e132 13842 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13843 undefined symbol errors.
13844
48e2e132 13845 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13846 DT_NEEDED entries.
13847
e80d6f94
MM
138482012-04-05 Michael Matz <matz@suse.de>
13849
13850 [BZ #13592]
13851 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13852
349fa79f
AJ
138532012-04-05 Andreas Jaeger <aj@suse.de>
13854
13855 [BZ #13908]
13856 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13857 comment.
13858
f402708f
KK
138592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13860
13861 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13862 which ROUND is no valid rounding mode.
13863
2ecccfc9
KK
138642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13865
13866 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13867 read again.
13868 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13869
8a53f50f
KK
138702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13871
13872 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13873 an exception using FPU order intentionally.
13874
138752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13876
13877 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13878 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13879 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13880 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13881
d653abb7
SJ
138822012-04-05 Simon Josefsson <simon@josefsson.org>
13883
13884 [BZ #12340]
13885 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13886 EINVAL when BUFLEN is too smal.
13887
c3b1bf7d
TS
138882012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13889
13890 [BZ #13553]
13891 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13892 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13893
b1aa60f3
AJ
138942012-04-03 Andreas Jaeger <aj@suse.de>
13895
c3b1bf7d 13896 [BZ #13938]
67f60a26
AJ
13897 * manual/setjmp.texi (System V contexts): Fix sentence.
13898
b1aa60f3
AJ
13899 [BZ #13926]
13900 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13901 New macro for this case.
13902 [!__GNUC__] (__bswap_64): New inline function for this case.
13903 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13904 * bits/byteswap.h: Likewise.
13905 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13906 ull, guard with __GLIBC_HAVE_LONG_LONG.
13907
13908 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13909 __GLIBC_HAVE_LONG_LONG.
13910
13911 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13912 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13913
39c59c35
TMQMF
139142012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13915
13916 [BZ #13691]
13917 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13918 inptr and inend, rather than using last_ch.
13919
135ffda8
DM
139202012-04-02 David S. Miller <davem@davemloft.net>
13921
13922 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13923 * stdio-common/printf-parse.h (read_int): Change return type to
13924 'int', return -1 on INT_MAX overflow.
13925 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13926 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13927 overflows INT_MAX. Check for overflow of in-format-string precision
13928 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13929 SIZE_MAX not INT_MAX for integer overflow test.
13930 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13931 skip the construct in the format string but do not record anything.
13932 * stdio-common/bug22.c: Adjust to test both width/prevision
13933 INT_MAX overflow as well as total length INT_MAX overflow. Check
13934 explicitly for proper errno values.
13935
228c019e
TS
139362012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13937
302cadd3
TS
13938 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13939 CHAR_MAX.
13940 * string/test-strcmp.c [! WIDE]: Likewise.
13941 * time/tst-mktime2.c: Likewise for INT_MAX.
13942 * string/test-string.h: #include <sys/param.h> for MIN.
13943
228c019e
TS
13944 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13945 * sysdeps/i386/init-first.c (init): Likewise.
13946 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13947 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13948 * sysdeps/sh/init-first.c (init): Likewise.
13949
cfa633f5
UD
139502012-04-01 Ulrich Drepper <drepper@gmail.com>
13951
13952 * po/ru.po: Update from translation team.
d1635ef8 13953 * po/vi.po: Likewise.
cfa633f5 13954
6cd0a5ea
SP
139552012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13956
13957 * resolv/nss_dns/dns-host.c: Merge copyright years.
13958
4b43400f
LD
139592012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13960
13961 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13962 Optimize memcpy with prefetch if
13963 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13964 src, dst pointers have unequal 16 byte alignments.
13965
48c41d04
SP
139662012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13967
13968 [BZ #13928]
13969 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13970 from a CNAME entry and return the minimum ttl for the query.
13971 (gaih_getanswer_slice): Likewise.
13972
b8dc394d
JL
139732012-03-30 Jeff Law <law@redhat.com>
13974
13975 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13976 due to long keys.
13977 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13978 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13979
2f5a5ed0
JL
13980 * resolv/nss_dns/dns-host.c: Update copyright year.
13981
1d39e359
UD
139822012-03-30 Ulrich Drepper <drepper@gmail.com>
13983
c030f70c 13984 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13985 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13986
1d39e359
UD
13987 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13988 comments for sendmmsg.
13989
139902012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13991
13992 [BZ #13691]
13993 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13994 with only 1 character between 0x0041 and 0x01b0.
13995 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13996 * wcsmbs/tst-mbsnrtowcs.c: New file.
13997
20fde227
DM
139982012-03-29 David S. Miller <davem@davemloft.net>
13999
14000 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14001 small copies by hand.
14002
984a4237
JL
140032012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14004
14005 [BZ #13761]
14006 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14007 _nss_compat_initgroups_dyn): Fall back to malloc/free
14008 for large group memberships.
14009
18c9d62b
DM
140102012-03-28 David S. Miller <davem@davemloft.net>
14011
88d85d4f
DM
14012 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14013 that branches into memcpy.
14014 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14017 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14019 bits.
14020 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14021 implementation too.
14022 * sysdeps/sparc/mempcpy.S: New file.
14023
e5aa83e1
DM
14024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14025 the IFUNC routine in the libc case.
14026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14027
88570753
DM
14028 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14029 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14030 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14031 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14032 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14033 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14034 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14035 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14036
249d7567
DM
14037 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14038 loop to 256 bytes instead of 64 bytes and fix test signedness.
14039
18c9d62b
DM
14040 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14041 * sysdeps/sparc/sparc32/Makefile: rather than here...
14042 * sysdeps/sparc/sparc64/Makefile: and here.
14043
05f3d1f6
UD
140442012-03-28 Ulrich Drepper <drepper@gmail.com>
14045
14046 * malloc/mallocbug.c: Avoid warnings about unused variables.
14047
86ae07a8
JL
140482012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14049
14050 [BZ #13760]
14051 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14052 in the right place. Discard and retry query if response is
14053 larger than input buffer size.
14054
41bf21a1
JM
140552012-03-28 Joseph Myers <joseph@codesourcery.com>
14056
d6270972
JM
14057 [BZ #369]
14058 [BZ #2678]
14059 [BZ #3866]
14060 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14061 x for large integer exponent.
14062 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14063 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14064 sign of result as needed afterwards.
14065 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14066 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14067 result for underflowing pow the same as for overflow.
14068 (__kernel_standard_l): Handle powl overflow and underflow here
14069 rather than calling __kernel_standard.
14070 * math/libm-test.inc (pow_test): Add more tests.
14071
414fca03 14072 [BZ #3868]
41bf21a1
JM
14073 [BZ #13879]
14074 [BZ #13910]
14075 [BZ #13911]
14076 [BZ #13912]
14077 [BZ #13913]
14078 [BZ #13915]
14079 [BZ #13916]
14080 [BZ #13917]
14081 [BZ #13918]
14082 [BZ #13919]
14083 [BZ #13920]
14084 [BZ #13921]
14085 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14086 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14087 (__kernel_standard_l): New function.
14088 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14089 __kernel_standard.
14090 * math/w_acosl.c (__acosl): Likewise.
14091 * math/w_asinl.c (__asinl): Likewise.
14092 * math/w_atan2l.c (__atan2l): Likewise.
14093 * math/w_atanhl.c (__atanhl): Likewise.
14094 * math/w_coshl.c (__coshl): Likewise.
14095 * math/w_exp10l.c (__exp10l): Likewise.
14096 * math/w_exp2l.c (__exp2l): Likewise.
14097 * math/w_fmodl.c (__fmodl): Likewise.
14098 * math/w_hypotl.c (__hypotl): Likewise.
14099 * math/w_j0l.c (__j0l, __y0l): Likewise.
14100 * math/w_j1l.c (__j1l, __y1l): Likewise.
14101 * math/w_jnl.c (__jnl, __ynl): Likewise.
14102 * math/w_lgammal.c (__lgammal): Likewise.
14103 * math/w_log10l.c (__log10l): Likewise.
14104 * math/w_log2l.c (__log2l): Likewise.
14105 * math/w_logl.c (__logl): Likewise.
14106 * math/w_powl.c (__powl): Likewise.
14107 * math/w_remainderl.c (__remainderl): Likewise.
14108 * math/w_scalbl.c (sysv_scalbl): Likewise.
14109 * math/w_sinhl.c (__sinhl): Likewise.
14110 * math/w_sqrtl.c (__sqrtl): Likewise.
14111 * math/w_tgammal.c (__tgammal): Likewise.
14112 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14113 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14114 * math/libm-test.inc (acos_test): Add more tests.
14115 (acosh_test): Likewise.
14116 (asin_test): Likewise.
14117 (atanh_test): Likewise.
14118 (exp_test): Likewise.
14119 (exp10_test): Likewise.
14120 (exp2_test): Likewise.
14121 (expm1_test): Likewise.
14122 (lgamma_test): Likewise.
14123 (log_test): Likewise.
14124 (log10_test): Likewise.
14125 (log1p_test): Likewise.
14126 (log2_test): Likewise.
14127 (pow_test): Do not allow some spurious overflow exceptions.
14128 (sqrt_test): Add more tests.
14129 (tgamma_test): Likewise.
14130 (y0_test): Likewise.
14131 (y1_test): Likewise.
14132 (yn_test): Likewise.
14133
dd62fda6
AB
141342012-03-27 Anton Blanchard <anton@samba.org>
14135
14136 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14137 MAP_HUGETLB.
14138 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14139 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14141
1e3cdfda
AJ
141422012-03-27 David S. Miller <davem@davemloft.net>
14143
b855ab85
DM
14144 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14145
1e3cdfda
AJ
14146 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14147 have-as-vis3 check.
14148
141492012-03-27 Andreas Jaeger <aj@suse.de>
14150
14151 * sysdeps/x86_64/elf/configure.in: Moved to ...
14152 * sysdeps/x86_64/configure.in: ... here.
14153 * sysdeps/x86_64/elf/start.S: Moved to ...
14154 * sysdeps/x86_64/start.S: ... here.
14155 * sysdeps/x86_64/elf/configure: Delete.
14156
14157 * sysdeps/x86_64/configure.in: Merge contents from
14158 sysdeps/i386/configure.in (without i686 check).
14159
14160 * sysdeps/i386/elf/Versions: Merge into ...
14161 * sysdeps/i386/Versions: ... this.
14162 * sysdeps/i386/elf/Versions: Delete file.
14163 * sysdeps/i386/elf/start.S: Moved to ...
14164 * sysdeps/i386/start.S: ...here.
14165 * sysdeps/i386/elf/configure.in: Merge into...
14166 * sysdeps/i386/configure.in: ...here.
14167 * sysdeps/i386/elf/configure.in: Delete file.
14168 * sysdeps/i386/elf/configure: Delete file.
14169
14170 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14171 * debug/backtracesyms.c: ... here.
14172 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14173 * debug/backtracesymsfd.c: ... here.
14174 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14175 * sysdeps/generic/ifunc-sel.h: ... here.
14176
14177 * sysdeps/unix/i386/start.c: Delete file.
14178 * sysdeps/unix/sparc/start.c: Delete file.
14179 * sysdeps/unix/start.c: Delete file.
14180
14181 * sysdeps/sh/elf/configure.in: Moved to ...
14182 * sysdeps/sh/configure.in: ... here.
14183 * sysdeps/sh/elf/start.S: Moved to ...
14184 * sysdeps/sh/start.S: ... here.
14185 * sysdeps/sh/elf/configure: Delete file.
14186
14187 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14188 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14189 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14190 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14191 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14192 * sysdeps/powerpc/powerpc64/start.S: here.
14193 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14194 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14195 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14196 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14197 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14198
14199 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14200 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14201 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14202 * sysdeps/powerpc/powerpc32/start.S: ... here.
14203 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14204 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14205 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14206
14207 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14208 * sysdeps/powerpc/ifunc-sel.h: ... here.
14209 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14210 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14211
14212 * sysdeps/sparc/elf/configure.in: Moved to ...
14213 * sysdeps/sparc/configure.in: ... here.
14214 * sysdeps/sparc/elf/configure: Delete file.
14215 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14216 * sysdeps/sparc/sparc32/start.S: ... here.
14217 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14218 * sysdeps/sparc/sparc64/start.S: ... here.
14219 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14220 * sysdeps/sparc/sparc32/Makefile: ... this.
14221 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14222 * sysdeps/sparc/sparc64/Makefile: ... this.
14223
14224 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14225 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14226 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14227 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14228 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14229 * sysdeps/s390/s390-32/setjmp.S: ... here.
14230 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14231 * sysdeps/s390/s390-32/configure.in: ... here.
14232 * sysdeps/s390/s390-32/elf/configure: Delete file.
14233 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14234 * sysdeps/s390/s390-32/start.S: ... here.
14235
14236 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14237 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14238 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14239 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14240 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14241 * sysdeps/s390/s390-64/setjmp.S: ... here.
14242 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14243 * sysdeps/s390/s390-64/configure.in: ... here
14244 * sysdeps/s390/s390-64/elf/configure: Delete file.
14245 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14246 * sysdeps/s390/s390-64/start.S: ... here.
14247 * sysdeps/s390/s390-64/elf/configure: Delete.
14248
14249 * configure.in: Remove support for elf directories in sysdeps.
14250
14251 * configure: Regenerated.
14252 * sysdeps/i386/configure: Regenerated.
14253 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14254 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14255 * sysdeps/s390/s390-32/configure: Regenerated.
14256 * sysdeps/s390/s390-64/configure: Regenerated.
14257 * sysdeps/sh/configure: Regenerated.
14258 * sysdeps/sparc/configure: Regenerated.
14259 * sysdeps/x86_64/configure: Regenerated.
14260
a3f61311
AS
142612012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14262
c876e002
AS
14263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14264
a3f61311
AS
14265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14266 denormal result into account.
14267
ac4c54f0
RM
142682012-03-25 Roland McGrath <roland@hack.frob.com>
14269
14270 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14271 Reported by Allan McRae <allan@archlinux.org>.
14272
6a9b9c02
JL
142732012-03-23 Jeff Law <law@redhat.com>
14274
14275 * nss/getnssent.c (__nss_getent): Fix typo.
14276
4c42a0c1
DM
142772012-03-23 David S. Miller <davem@davemloft.net>
14278
14279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14280
1532c7ac
L
142812012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14282
14283 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14284 to pad to uint64_t for each field.
14285 (dl_tls_index): Replace unsigned long with uint64_t.
14286
3ff42526
PP
142872012-03-23 Daniel Jacobowitz <dmj@google.com>
14288 Paul Pluzhnikov <ppluzhnikov@google.com>
14289
14290 [BZ #6528]
14291 * grp/Makefile (otherlibs): Don't set it.
14292 * inet/Makefile (otherlibs): Likewise.
14293 * login/Makefile (otherlibs): Likewise.
14294 * nscd/Makefile (otherlibs): Likewise.
14295 * posix/Makefile (otherlibs): Likewise.
14296 * pwd/Makefile (otherlibs): Likewise.
14297 * rt/Makefile (otherlibs): Likewise.
14298 * sunrpc/Makefile (otherlibs): Likewise.
14299 * nss/Makefile (otherlibs): Likewise.
14300 Add libnss_files to routines and static-only-routines.
14301 ($(objpfx)getent): Remove rule.
14302 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14303 static-only-routines.
14304
7c69cd14
JM
143052012-03-22 Joseph Myers <joseph@codesourcery.com>
14306
14307 [BZ #13892]
14308 * math/s_cexp.c: Include <float.h>.
14309 (__cexp): Handle exp result overflowing not necessarily
14310 overflowing both real and imaginary parts of result.
14311 * math/s_cexpf.c: Likewise.
14312 * math/s_cexpl.c: Likewise.
14313 * math/libm-test.inc (cexp_test): Add more tests.
14314 * sysdeps/i386/fpu/libm-test-ulps: Update.
14315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14316
81b035fe
L
143172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14318
14319 * include/link.h (ELFW): New macro.
14320 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14321 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14322
1da7940c
L
143232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14324
14325 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14326 with uint64_t.
14327
b749dbb9
L
143282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14329
14330 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14331 declaration.
14332 (struct La_x32_retval): Likewise.
14333
2ff87f3f
L
143342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14335
14336 * sysdeps/x86_64/preconfigure.in: New file.
14337 * sysdeps/x86_64/preconfigure: New generated file.
14338
c0df8e69
JM
143392012-03-22 Joseph Myers <joseph@codesourcery.com>
14340
48e44791
JM
14341 [BZ #13824]
14342 * math/e_exp2l.c: Include <float.h>.
14343 (__ieee754_exp2l): Handle overflow and underflow cases
14344 separately. Only pass fractional part of argument to
14345 __ieee754_expl.
14346 * math/libm-test.inc (exp2_test): Add more tests.
14347
c0df8e69
JM
14348 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14349 negating x to take absolute value.
14350 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14351 Likewise.
14352 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14353 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14354 Likewise.
14355 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14356 computing low part if x was negated.
14357 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14358
c8e43ba7
L
143592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14360
14361 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14362 la_x32_gnu_pltexit.
14363 (pltexit): Cast int_retval to ptrdiff_t.
14364 * elf/tst-auditmod3b.c: Likewise.
14365 * elf/tst-auditmod4b.c: Likewise.
14366 * elf/tst-auditmod5b.c: Likewise.
14367 * elf/tst-auditmod6b.c: Likewise.
14368 * elf/tst-auditmod6c.c: Likewise.
14369 * elf/tst-auditmod7b.c: Likewise.
14370
14371 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14372 and x32_gnu_pltexit.
14373
14374 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14375 __ELF_NATIVE_CLASS.
14376 (La_x32_regs): New macro.
14377 (La_x32_retval): Likewise.
14378 (la_x32_gnu_pltenter): New function prototype.
14379 (la_x32_gnu_pltexit): Likewise.
14380
7998fa78
AS
143812012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14382
dcb33988
AS
14383 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14384 exponent.
14385
233fc563
AS
14386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14387
7998fa78
AS
14388 * configure.in (libc_cv_cc_nofma): Check for option to disable
14389 generation of FMA instructions.
14390 * configure: Regenerate.
14391 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14392 * sysdeps/ieee754/dbl-64/Makefile: New file.
14393 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14394 Remove brandred-fma4.
14395 (CFLAGS-brandred-fma4.c): Remove.
14396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14397 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14398 define.
14399 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14400 define.
14401
8e95c99a
L
144022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14403
14404 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14405 LLONG_MAX != LONG_MAX.
14406 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14407 (_fitoa_word): Likewise.
14408 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14409 LLONG_MAX != LONG_MAX.
14410 * stdio-common/_itowa.h: Include <_itoa.h>.
14411 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14412 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14413 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14414 only if not defined.
14415 (_ITOA_WORD_TYPE): Likewise.
14416 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14417 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14418
6f4db457
DM
144192012-03-21 David S. Miller <davem@davemloft.net>
14420
14421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14422
7785fe5a
L
144232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14424
14425 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14426 of x86_64 when setting libc_cv_slibdir, libdir and
14427 libc_cv_localedir.
14428 * sysdeps/unix/sysv/linux/configure: Regenerated.
14429
4535cd55
JM
144302012-03-21 Joseph Myers <joseph@codesourcery.com>
14431
14432 * manual/lang.texi (Old Varargs): Remove section.
14433 (How Variadic): Update menu.
14434 (va_start): Do not mention varargs.h.
14435
17228132
TS
144362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14437 Joseph Myers <joseph@codesourcery.com>
14438
14439 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14440 link test.
14441 * configure: Regenerated.
14442
8149f976
TS
144432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14444
05f3d1f6
UD
14445 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14446 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14447 conformtest.pl
8149f976 14448
1a4ac776
JM
144492012-03-21 Joseph Myers <joseph@codesourcery.com>
14450
be22ce65
JM
14451 * NOTES: Remove.
14452 * Makefile (files-for-dist): Remove NOTES.
14453 (NOTES): Remove rule.
14454 * README: Don't refer to NOTES.
14455 * manual/creature.texi: Don't include macros.texi.
14456 * manual/intro.texi (creature.texi): Remove comment referring to
14457 NOTES.
14458
40b601fb
JM
14459 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14460 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14461 * configure: Regenerated.
14462 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14463 LIBC_TRY_CC_OPTION.
14464 (libc_cv_as_i686): Likewise.
14465 (libc_cv_cc_avx): Likewise.
14466 (libc_cv_cc_sse2avx): Likewise.
14467 (libc_cv_cc_fma4): Likewise.
14468 (libc_cv_cc_novzeroupper): Likewise.
14469 * sysdeps/i386/configure: Regenerated.
14470
1a4ac776
JM
14471 [BZ #13883]
14472 * sysdeps/i386/fpu/s_cexp.S: Remove.
14473 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14474 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14475 * math/libm-test.inc (cexp_test): Add more tests.
14476 * sysdeps/i386/fpu/libm-test-ulps: Update.
14477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14478
a458e7fe
AM
144792012-03-21 Allan McRae <allan@archlinux.org>
14480
14481 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14482
0cb7efc5
JM
144832012-03-21 Joseph Myers <joseph@codesourcery.com>
14484
14485 [BZ #13871]
14486 * math/w_exp2.c: Do not include <float.h>.
14487 (o_threshold, u_threshold): Remove.
14488 (__exp2): Calculate result before checking finiteness and calling
14489 __kernel_standard.
14490 * math/w_exp2f.c: Likewise.
14491 * math/w_exp2l.c: Likewise.
14492 * math/libm-test.inc (exp2_test): Require overflow exception for
14493 1e6 input.
2460d3aa
JM
14494
14495 [BZ #3866]
14496 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14497 range of signed 64-bit integers before using fistpll. Remove
14498 checks for whether integers fit in mantissa bits.
14499 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14500 the range of signed 32-bit integers before using fistpl. Remove
14501 checks for whether integers fit in mantissa bits.
14502 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14503 (__ieee754_powl): Test for y outside the range of signed 64-bit
14504 integers before using fistpll. Reduce 64-bit values to 63-bit
14505 ones as needed.
14506 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14507 divide-by-zero is raised for zero to large negative powers.
14508 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14509 (__ieee754_powl): Test for y outside the range of signed 64-bit
14510 integers before using fistpll. Reduce 64-bit values to 63-bit
14511 ones as needed.
14512 * math/libm-test.inc (pow_test): Add more tests.
14513
eb96ffb0
L
145142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14515
14516 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14517 <stdio-common/_itoa.h>.
14518 * debug/segfault.c: Likewise.
14519 * elf/dl-cache.c: Likewise.
14520 * elf/dl-minimal.c: Likewise.
14521 * elf/dl-misc.c: Likewise.
14522 * elf/dl-sysdep.c: Likewise.
14523 * elf/dl-version.c: Likewise.
14524 * elf/rtld.c: Likewise.
14525 * hurd/hurdsock.c: Likewise.
14526 * hurd/lookup-retry.c: Likewise.
14527 * malloc/malloc.c: Likewise.
14528 * malloc/mtrace.c: Likewise.
14529 * nscd/nscd_getgr_r.c: Likewise.
14530 * nscd/nscd_getpw_r.c: Likewise.
14531 * nscd/nscd_getserv_r.c: Likewise.
14532 * posix/getopt_init.c: Likewise.
14533 * posix/wordexp.c: Likewise.
14534 * stdio-common/_itoa.c: Likewise.
14535 * stdio-common/printf_fphex.c: Likewise.
14536 * stdio-common/vfprintf.c: Likewise.
14537 * string/_strerror.c: Likewise.
14538 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14539 * sysdeps/i386/i686/hp-timing.h: Likewise.
14540 * sysdeps/mach/_strerror.c: Likewise.
14541 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14542 * sysdeps/mach/hurd/sethostid.c: Likewise.
14543 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14544 * sysdeps/mach/xpg-strerror.c: Likewise.
14545 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14546 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14547 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14548 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14549 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14550 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14551 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14552 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14553 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14554 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14555 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14556 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14557 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14558 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14559 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14560 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14561 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14562 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14563 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14564 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14565 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14566
14567 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14568
14569 * stdio-common/_itoa.h: Moved to ...
14570 * sysdeps/generic/_itoa.h: Here.
14571
14572 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14573
14574 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14575 instead of "_itoa.h" and "_itowa.h".
14576 * stdio-common/vfprintf.: Likewise.
14577
d1af992d
L
145782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14579
14580 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14581 <bits/wordsize.h>.
14582 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14583 (__signbit): Likwise.
14584 (llrintf): Likwise.
14585 (llrint): Likwise.
14586
114883e0
L
145872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14588
14589 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14590 __WORDSIZE != 64.
14591
c135cc1b
JM
145922012-03-20 Joseph Myers <joseph@codesourcery.com>
14593
14594 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14595 OVERFLOW_EXCEPTION_OK.
14596 * math/libm-test.inc ("Philosophy"): Update comment about
14597 exception testing.
14598 (OVERFLOW_EXCEPTION): Define.
14599 (OVERFLOW_EXCEPTION_OK): Likewise.
14600 (INVALID_EXCEPTION_OK): Renumber.
14601 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14602 (IGNORE_ZERO_INF_SIGN): Likewise.
14603 (test_exceptions): Handle FE_OVERFLOW.
14604 (exp10_test): Expect overflow exceptions.
14605 (exp2_test): Likewise.
14606 (expm1_test): Likewise.
14607 (nextafter_test): Likewise.
14608 (pow_test): Likewise.
14609 (scalbn_test): Likewise.
14610 (scalbln_test): Likewise.
14611
95443d88
L
146122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14613
14614 * sysdeps/x86_64/bits/atomic.h
14615 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14616 64bit integer.
14617 (atomic_exchange_acq): Likewise.
14618 (__arch_exchange_and_add_body): Likewise.
14619 (__arch_add_body): Likewise.
14620 (atomic_add_negative): Likewise.
14621 (atomic_add_zero): Likewise.
14622
490df6c4
L
146232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14624
c2722551 14625 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14626 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14627
5e52b189
L
146282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14629
14630 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14631 Check __x86_64__ instead of __WORDSIZE.
14632
a9879d4c
L
146332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14634
14635 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14636
5df98260
DM
146372012-03-19 David S. Miller <davem@davemloft.net>
14638
e1497744
DM
14639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14640
5df98260
DM
14641 * sysdeps/sparc/fpu/fenv_private.h: New file.
14642 * sysdeps/sparc/fpu/math_private.h: Use it.
14643 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14644 Remove.
14645 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14646 (libc_feholdexcept_setroundl): Remove.
14647 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14648 Remove.
14649 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14650 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14651
b4c35121
L
146522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14655 int64_t instead of long int.
14656 (INSERT_WORDS64): Likwise.
14657
56965fd7
L
146582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14659
14660 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14661 _Unwind_GetCFA return to _Unwind_Ptr first.
14662
83d1aec8
JM
146632012-03-19 Joseph Myers <joseph@codesourcery.com>
14664
1897ad44
JM
14665 [BZ #13629]
14666 * math/s_clog.c: Include <float.h>.
14667 (__clog): Scale large or subnormal inputs.
14668 * math/s_clogf.c: Likewise.
14669 * math/s_clogl.c: Likewise.
14670 * math/s_clog10.c: Include <float.h>.
14671 (M_LOG10_2): Define.
14672 (__clog10): Scale large or subnormal inputs.
14673 * math/s_clog10f.c: Likewise.
14674 * math/s_clog10l.c: Likewise.
14675 * math/libm-test.inc (clog_test): Add more tests.
14676 (clog10_test): Likewise.
14677 * sysdeps/i386/fpu/libm-test-ulps: Update.
14678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14679
7726d6a9
JM
14680 [BZ #11451]
14681 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14682 x and y.
14683 * math/libm-test.inc (atan2_test): Add another test.
14684
83d1aec8
JM
14685 * Makerules (common-objdir-compile): Remove.
14686 * sysdeps/unix/Makefile (config-generated): Do not add
14687 $(unix-generated) to variable.
14688 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14689 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14690 Remove rule.
14691 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14692 Likewise.
14693 [generic bits/local_lim.h] (before-compile): Do not append to
14694 variable.
14695 [generic bits/local_lim.h] (common-generated): Likewise.
14696 [generic sys/param.h] (before-compile): Do not append to variable.
14697 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14698 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14699 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14700 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14701 include.
14702 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14703 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14704 [generic sys/param.h] ($(addprefix
14705 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14706 [generic sys/param.h] (common-generated): Do not append to
14707 variable.
14708 [generic sys/param.h] (sysdep_headers): Likewise.
14709 [generic bits/errno.h] (before-compile): Do not append to
14710 variable.
14711 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14712 rule.
14713 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14714 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14715 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14716 [generic bits/errno.h] (common-generated): Do not append to
14717 variable.
14718 [generic bits/ioctls.h] (before-compile): Do not append to
14719 variable.
14720 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14721 rule.
14722 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14723 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14724 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14725 rule.
14726 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14727 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14728 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14729 [generic bits/ioctls.h] (common-generated): Do not append to
14730 variable.
14731 [generic sys/syscall.h] (syscall.h): Remove variable.
14732 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14733 rule.
14734 [generic sys/syscall.h] (before-compile): Do not append to
14735 variable.
14736 [generic sys/syscall.h] (common-generated): Likewise.
14737 * sysdeps/unix/errnos-tmpl.c: Remove file.
14738 * sysdeps/unix/errnos.awk: Likewise.
14739 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14740 * sysdeps/unix/ioctls.awk: Likewise.
14741 * sysdeps/unix/mk-local_lim.c: Likewise.
14742 * sysdeps/unix/snarf-ioctls: Likewise.
14743
4851a949
RH
147442012-03-19 Richard Henderson <rth@twiddle.net>
14745
bd37f2ee
RH
14746 * sysdeps/i386/fpu/fenv_private.h: New file.
14747 * sysdeps/i386/fpu/math_private.h: Use it.
14748 (math_opt_barrier, math_force_eval): Remove.
14749 (libc_feholdexcept_setround_53bit): Remove.
14750 (libc_feupdateenv_53bit): Remove.
14751 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14752 (math_opt_barrier, math_force_eval): Remove.
14753 (libc_feholdexcept): Remove.
14754 (libc_feholdexcept_setround): Remove.
14755 (libc_fetestexcept, libc_fesetenv): Remove.
14756 (libc_feupdateenv_test): Remove.
14757 (libc_feupdateenv, libc_feholdsetround): Remove.
14758 (libc_feresetround): Remove.
14759
d0adc922
RH
14760 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14761 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14762
0fe0f1f8
RH
14763 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14764 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14765 (libc_feupdateenv_testl): New.
14766 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14767 (libc_feupdateenv_testf): New.
14768 (libc_feupdateenv): Use libc_feupdateenv_test.
14769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14771
eb92c487
RH
14772 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14773 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14774 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14775 (libc_feresetround_noex): New.
14776 (libc_feresetround_noexf): New.
14777 (libc_feresetround_noexl): New.
14778 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14779 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14780 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14781 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14782 SET_RESTORE_ROUND.
14783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14785 (__cos): Likewise.
14786 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14787 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14788 SET_RESTORE_ROUND_NOEX.
14789 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14790 SET_RESTORE_ROUND_NOEXF.
14791 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14792 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14793 (libc_feholdsetroundf): New.
14794 (libc_feresetround, libc_feresetroundf): New.
14795
7d2e8012
RH
14796 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14797 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14798 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14799
b4dabbb4
RH
14800 * sysdeps/generic/math_private.h: Include <fenv.h>.
14801 (default_libc_feholdexcept): New.
14802 (default_libc_feholdexcept_setround): New.
14803 (default_libc_fesetenv, default_libc_feupdateenv): New.
14804 (libc_feholdexcept): Only define if undefined.
14805 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14806 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14807 (libc_feholdexcept_setroundl): Likewise.
14808 (libc_feholdexcept_setround_53bit): Likewise.
14809 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14810 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14811 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14812 (libc_feupdateenv_53bit): Likewise.
14813 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14814 (libc_feholdexcept): Convert from macro to inline function.
14815 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14816 (libc_fesetenv, libc_feupdateenv): Likewise.
14817
4851a949
RH
14818 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14819 not previously defined.
14820 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14821 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14822 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14823 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14824 * sysdeps/ieee754/flt-32/math_private.h: New file.
14825 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14826 math_private.h below SET_FLOAT_WORD.
14827 (__isnan, __isinf_ns, __finite): Remove.
14828 (__isnanf, __isinf_nsf, __finitef): Remove.
14829
e79d442e
AS
148302012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14831
14832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14833
90b80344
DM
148342012-03-17 David S. Miller <davem@davemloft.net>
14835
14836 [BZ #6471]
14837 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14838 for 2.16.
14839
edc21804
DM
148402012-03-16 David S. Miller <davem@davemloft.net>
14841
77e927af
DM
14842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14843 warnings.
14844
374976dd
DM
14845 [BZ #6471]
14846 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14847 properly.
14848 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14849 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14850 sysdep_routines when subdir is sysvipc.
14851 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14852 __getshmlba helper.
14853
edc21804
DM
14854 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14855
473c3ef3
L
148562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14857
14858 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14859 [__LP64__].
14860
eb0f39b6
L
148612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14862
14863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14864 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14865 (__lround): Renamed to ...
14866 (__llround): This. Replace long int with long long int.
14867 Define lround functions as aliases of llround functions.
14868 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14869
6b6cd74b
L
148702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14871
14872 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14873 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14874 adresses to uintptr_t. Replace "long int" and "unsigned long
14875 int" with "greg_t" on va_arg.
14876
f1a77b01
L
148772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14878
14879 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14880 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14881
14882 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14883 Move e_machine check before EI_CLASS check. Handle x32
14884 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14885 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14886 SKIP_EM_IA_64 and include
14887 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14888
14889 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14890 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14891 (add_system_dir): New macro.
14892
14893 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14894 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14895
11b90b9f
JM
148962012-03-16 Joseph Myers <joseph@codesourcery.com>
14897
c36e1d23
JM
14898 [BZ #2551]
14899 [BZ #2552]
14900 [BZ #2553]
14901 [BZ #2554]
14902 [BZ #2562]
14903 [BZ #2563]
14904 [BZ #2565]
14905 [BZ #2566]
14906 [BZ #2576]
14907 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14908 (y0): Likewise.
14909 * math/w_j0f.c (j0f): Likewise.
14910 (y0f): Likewise.
14911 * math/w_j0l.c (__j0l): Likewise.
14912 (__y0l): Likewise.
14913 * math/w_j1.c (j1): Likewise.
14914 (y1): Likewise.
14915 * math/w_j1f.c (j1f): Likewise.
14916 (y1f): Likewise.
14917 * math/w_j1l.c (__j1l): Likewise.
14918 (__y1l): Likewise.
14919 * math/w_jn.c (jn): Likewise.
14920 (yn): Likewise.
14921 * math/w_jnf.c (jnf): Likewise.
14922 (ynf): Likewise.
14923 * math/w_jnl.c (__jnl): Likewise.
14924 (__ynl): Likewise.
14925 * math/libm-test.inc (j0_test): Add more tests.
14926 (j1_test): Likewise.
14927 (jn_test): Likewise. Add trailing semicolon to existing test.
14928 (y0_test): Likewise.
14929 (y1_test): Likewise.
14930 * sysdeps/i386/fpu/libm-test-ulps: Update.
14931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14932
11b90b9f
JM
14933 [BZ #13851]
14934 [BZ #13854]
14935 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14936 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14937 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14938 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14939 (__tanl): Set errno for infinite argument.
14940 * sysdeps/i386/fpu/mptan.c: Remove.
14941 * sysdeps/i386/fpu/s_tan.S: Likewise.
14942 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14943 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14944 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14945 * math/libm-test.inc (tan_test): Add more tests and enable more
14946 tests for double and long double.
14947 * sysdeps/i386/fpu/libm-test-ulps: Update.
14948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14949
6a1bd2a1
JK
149502012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14951
14952 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14953 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14954
10a803e0
RM
149552012-03-16 Roland McGrath <roland@hack.frob.com>
14956
14957 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14958 * configure.in: Use it for both main tree and add-ons.
14959 * configure: Regenerated.
14960
f196c7f7
L
149612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14962
14963 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14964
8848d99d
JM
149652012-03-16 Joseph Myers <joseph@codesourcery.com>
14966
96cbe7f4
JM
14967 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14968 in comment.
14969
8848d99d
JM
14970 [BZ #13851]
14971 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14972 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14976 infinite argument.
14977 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14978 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14979 != 0 for prec == 2.
14980 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14981 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14982 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14983 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14984 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14985 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14986 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14987 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14988 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14989 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14990 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14991 * math/libm-test.inc (cos_test): Add more tests and enable more
14992 tests for long double.
14993 (sin_test): Likewise.
14994 (sincos_test): Likewise.
14995 * sysdeps/i386/fpu/libm-test-ulps: Update.
14996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14997
dd7f4703
DM
149982012-03-16 David S. Miller <davem@davemloft.net>
14999
15000 * sysdeps/sparc/fpu/math_private.h: New file.
15001
006f1daa
DM
150022012-03-15 David S. Miller <davem@davemloft.net>
15003
c0c83bc8
DM
15004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15005 file.
e6a62e18 15006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15008 file.
e6a62e18
DM
15009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15015 sysdep routines.
15016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15017
88cb87d9
DM
15018 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15019 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15020
006f1daa 15021 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15023 sparc-ifunc.h
006f1daa 15024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15026 Likewise.
15027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15028 Likewise.
006f1daa
DM
15029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15033 Likewise.
006f1daa
DM
15034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15039 Likewise.
15040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15041 Likewise.
006f1daa
DM
15042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15060 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15061 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15066
11e0098e
AS
150672012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15068
15069 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15070 scaling.
15071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15072
e85b09d0
AJ
150732012-03-15 Andreas Jaeger <aj@suse.de>
15074
15075 [BZ #13852]
15076 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15077 ieee754/flt-32 implementation for sin, cos and sincos.
15078 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15079 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15080 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15081 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15082 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15083 ieee754/flt-32 implementation for tan.
15084
15085 * math/libm-test.inc (cos_test): Enable some large input tests for
15086 float as well
15087 (sin_test): Likewise.
15088 (sincos_test): Likewise.
15089 (tan_test): Add tests for large input.
15090
15091 * sysdeps/i386/fpu/libm-test-ulps: Update.
15092
81c64153
AJ
150932012-03-15 Andreas Jaeger <aj@suse.de>
15094
15095 [BZ #13658]
15096 * math/libm-test.inc (cos_test): Add more test cases.
15097 (sin_test): Likewise.
15098 (sincos_test): Likewise.
15099
7bbfa5c6
AJ
151002012-03-15 Andreas Jaeger <aj@suse.de>
15101
15102 [BZ #13837]
15103 * math/libm-test.inc (cos_test): Add a test case for large input
15104 value.
15105 (sin_test): Likewise.
15106 (sincos_test): Likewise.
15107
151082012-03-15 Andreas Jaeger <aj@suse.de>,
15109 Joseph Myers <joseph@codesourcery.com>
15110
15111 [BZ #13658]
0671f479 15112 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15113 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15114 * sysdeps/i386/fpu/branred.c: Likewise.
15115 * sysdeps/i386/fpu/dosincos.c: Likewise.
15116 * sysdeps/i386/fpu/mpa.c: Likewise.
15117 * sysdeps/i386/fpu/s_cos.S: Likewise.
15118 * sysdeps/i386/fpu/s_sin.S: Likewise.
15119 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15120 * sysdeps/i386/fpu/sincos32.c: Likewise.
15121
15122 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15123 Define.
15124 (libc_feupdateenv_53bit): Define.
15125 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15126 Define.
15127 (libc_feupdateenv_53bit): Define.
15128
15129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15130 53 bit (without extend i386 double precision).
15131
15132 * math/libm-test.inc (sincos_test): Add tests for large input.
15133 (sin): Likewise.
15134 (cos): Likewise.
15135
15136 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15137
9cad04ea
AS
151382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15139
15140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15141
f7062b9a
DM
151422012-03-15 David S. Miller <davem@davemloft.net>
15143
15144 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15145 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15146 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15147 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15160 file.
f7062b9a 15161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15163 file.
f7062b9a 15164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15166 file.
f7062b9a 15167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15169 file.
f7062b9a
DM
15170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15172 fmin/fmax sysdep routines.
15173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15174
7bd951ff
DM
151752012-03-14 David S. Miller <davem@davemloft.net>
15176
559398ab
DM
15177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15205 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15206 routines.
15207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15208 file.
559398ab 15209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15211 file.
559398ab 15212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15214 file.
559398ab 15215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15217 file.
559398ab 15218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15220 file.
559398ab 15221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15223 file.
15224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15225 file.
15226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15227 file.
15228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15229 file.
15230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15231 New file.
15232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15233 file.
15234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15235 file.
559398ab 15236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15238 file.
559398ab 15239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15241 file.
559398ab 15242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15244 file.
559398ab 15245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15247 VIS3 routines.
559398ab
DM
15248
15249 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15250 New file.
15251
5a1c1e32
DM
15252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15253
eae47a36
DM
15254 * sysdeps/sparc/configure.in: New file.
15255 * sysdeps/sparc/configure: Generate.
15256 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15257 * configure: Regenerate.
15258 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15259 * config.make.in (have-as-vis3): New.
15260 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15261 available use -Av9d instead of -Av9a.
15262 * sysdeps/sparc/sparc64/Makefile: Likewise.
15263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15265 New file.
15266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15267 file.
15268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15269 New file.
15270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15271 file.
eae47a36
DM
15272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15277
c0c83bc8
DM
15278 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15279 fzeros/fnegs to load 0x80000000 into a float register instead of
15280 using the stack.
7bd951ff
DM
15281 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15282
bd951ccb
JM
152832012-03-14 Joseph Myers <joseph@codesourcery.com>
15284
15285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15286 bits/syscall.h.
15287 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15288 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15289 ($(inst_includedir)/bits/syscall.h): Remove rule.
15290 ($(objpfx)bits/syscall.d): Include instead of
15291 $(objpfx)syscall-list.d.
15292 (generated): Change syscall-list.h and syscall-list.d to
15293 bits/syscall.h and bits/syscall.d.
15294
bb4e6db2
RM
152952012-03-14 Roland McGrath <roland@hack.frob.com>
15296
15297 [BZ #13846]
15298 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15299
aa4a2ae1
JM
153002012-03-14 Joseph Myers <joseph@codesourcery.com>
15301
e456826d
JM
15302 [BZ #13841]
15303 * math/s_csqrt.c: Include <float.h>.
15304 (__csqrt): Scale large or subnormal inputs.
15305 * math/s_csqrtf.c: Likewise.
15306 * math/s_csqrtl.c: Likewise.
15307 * math/libm-test.inc (csqrt_test): Add more tests.
15308 * sysdeps/i386/fpu/libm-test-ulps: Update.
15309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310
aa4a2ae1
JM
15311 [BZ #13840]
15312 * math/libm-test.inc (hypot_test): Add more tests.
15313
7c10fd35
DM
153142012-03-13 David S. Miller <davem@davemloft.net>
15315
15316 [BZ #13840]
15317 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15318 double-precision for the calculation instead of scaling.
15319
f453b98b
JM
153202012-03-13 Joseph Myers <joseph@codesourcery.com>
15321
15322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15323 manipulate bits before adding and subtracting TWO52[sx].
15324 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15325 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15326 Likewise.
15327 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15328
09a3453f
DM
153292012-03-13 David S. Miller <davem@davemloft.net>
15330
8e59da90
DM
15331 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15332 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15334 rtld-global-offsets.h
15335 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15336
2a8ab7f2
DM
15337 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15338 large parameters.
15339
10f62770
DM
15340 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15341
5f0bdb18
DM
15342 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15343 'err' in the ifdef scope in which it is actually used.
15344
09a3453f
DM
15345 * nss/nss_db/db-init.c: Include string.h
15346
b4b2eb5e
DM
153472012-03-12 David S. Miller <davem@davemloft.net>
15348
98bb2f1c
DM
15349 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15350 masking out of the most significant byte of random value used.
15351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15352 Fix coding style in previous change.
15353
b4b2eb5e
DM
15354 * sysdeps/unix/sysv/linux/kernel-features.h
15355 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15356 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15357 expression.
15358 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15359 later.
15360
6e226b09
DM
153612012-03-11 David S. Miller <davem@davemloft.net>
15362
a1bcbd40
DM
15363 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15364 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15366 for 'resultvar' otherwise things get truncated on 64-bit.
15367
cb9d6174
DM
15368 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15369 Fix masking out of the most significant byte of random value used.
15370
6e226b09
DM
15371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15372
058c132d
AS
153732012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15374
15375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15376
2d2cd515
DM
153772012-03-09 David S. Miller <davem@davemloft.net>
15378
15379 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15380 variables with appropriate CPP guards.
15381 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15382 frame pointer, not the stack pointer. Correct layout comments. Fix test
15383 on resulting framesize and the management of the outregs buffer for pltexit.
15384 Preserve floating point return values across _dl_call_pltexit call.
15385 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15386 framesize and the management of the outregs buffer for pltexit.
15387 Preserve floating point return values across _dl_call_pltexit
15388 call.
15389 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15390 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15391 (print_exit): Fix format string for return register value.
15392
9a07f9d0
JM
153932012-03-10 Joseph Myers <joseph@codesourcery.com>
15394
15395 * sunrpc/Makefile (others): Add rpcgen.
15396 ($(objpfx)rpcgen): Remove special build rule and dependency on
15397 libc.
15398 * sunrpc/rpcgen.c: New file.
15399
547b5e30
PE
154002012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15401
c524201a
PE
15402 [BZ #13673]
15403 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15404 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15405 * sysdeps/i386/crti.S: Likewise.
15406 * sysdeps/i386/crtn.S: Likewise.
15407 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15408 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15409 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15410 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15411 * sysdeps/sh/crti.S: Likewise.
15412 * sysdeps/sh/crtn.S: Likewise.
15413 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15414
7b6235f2
PE
15415 [BZ #13673]
15416 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15417 with URL.
15418 * locale/programs/locfile-kw.gperf: Likewise.
15419 * locale/programs/charmap-kw.h: Regenerated.
15420 * locale/programs/locfile-kw.h: Likewise.
15421
547b5e30
PE
15422 [BZ #13673]
15423 * intl/plural.y: Replace FSF snail mail address with URL.
15424 * intl/plural.c: Regenerated.
15425
5f0a5dae
RH
154262012-03-09 Richard Henderson <rth@twiddle.net>
15427
15428 * include/math_private.h: Remove file.
15429 * math/math_private.h: Move file ...
15430 * sysdeps/generic/math_private.h: ... here.
15431
b8c03620
RH
15432 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15433 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15434 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15435
4e234f5d 15436 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15437 and <math_private.h>.
15438 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15439 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15440 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15441 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15442 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15443 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15444 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15447 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15449 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15450 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15452 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15453 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15455 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15456 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15459 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15460 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15470 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15471 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15472 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15473 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15478 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15479 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15480 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15482 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15483 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15484 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15485 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15486 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15488 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15489 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15490 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15491 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15492 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15493 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15495 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15496 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15498 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15499 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15501 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15505 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15521 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15522 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15525 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15526 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15527 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15528 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15529 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15531 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15532 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15533 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15534 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15535 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15536 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15537 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15538 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15539 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15540 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15541 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15543 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15544 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15545 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15546 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15547 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15548 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15549 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15550 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15551 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15552 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15553 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15554 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15555 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15557 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15558 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15559 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15560 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15561 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15562 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15563 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15564 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15565 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15566 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15567 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15568 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15569 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15570 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15571 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15572 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15573 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15574 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15575 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15576 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15577 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15578 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15579 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15581 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15582 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15583 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15584 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15585 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15586 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15587 * sysdeps/ieee754/k_standard.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15615 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15616 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15618 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15619 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15621 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15624 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15627 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15632 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15636 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15638 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15639 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15640 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15641 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15644 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15646 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15647 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15655 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15656 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15672 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15707 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15708 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15710 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15715 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15720 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15736 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15737 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15738 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15748 * sysdeps/ieee754/s_lib_version.c: Likewise.
15749 * sysdeps/ieee754/s_matherr.c: Likewise.
15750 * sysdeps/ieee754/s_signgam.c: Likewise.
15751 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15752 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15753 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15754 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15755 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15756 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15757 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15758 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15759 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15760 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15761 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15762 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15763 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15764 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15765 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15767 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15768 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15769 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15772
1991fa03
JM
157732012-03-09 Joseph Myers <joseph@codesourcery.com>
15774
15775 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15776 * sunrpc/rpc_main.c: Likewise.
15777 * sunrpc/rpc_svcout.c: Likewise.
15778
60d6f5a6
DM
157792012-03-09 David S. Miller <davem@davemloft.net>
15780
15781 * include/math_private.h: New file.
15782
4962050e
JM
157832012-03-09 Joseph Myers <joseph@codesourcery.com>
15784
02a6f887
JM
15785 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15786 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15787 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15788 from <bits/socket_type.h>.
15789 (enum __socket_type): Don't define here.
15790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15792 bits/socket_type.h.
15793
c6e013c1
JM
15794 [BZ #13566]
15795 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15796 checking __USE_GNU.
15797
4962050e
JM
15798 * Makerules ($(inst_includedir)/%.h): New rule.
15799 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15800 (install-others): Remove variable setting.
15801 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15802
38842f45
RH
158032012-03-08 Richard Henderson <rth@twiddle.net>
15804
67bb6da6
RH
15805 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15806 from macro to inline function; merge with the
15807 !__LIBC_INTERNAL_MATH_INLINES version.
15808 (__ieee754_sqrtf): Likewise.
15809
15194b4b
RH
15810 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15811 to inline function.
15812 (__rintf, __floor, __floorf): Likewise.
15813
64e21ede
RH
15814 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15815 macro to inline function.
15816 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15817
38842f45
RH
15818 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15819 not <math/math_private.h>.
15820
c64bf5fe
DM
158212012-03-08 David S. Miller <davem@davemloft.net>
15822
15823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15824 copyright year.
15825 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15826
82d86f28
TS
158272012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15828
15829 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15830 normalization.
15831 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15832 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15833
aea5d727
UD
158342012-03-08 Ulrich Drepper <drepper@gmail.com>
15835
15836 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15837 be defined individually, they must be defined as a block. Define
15838 S for printing a string instead of hidint the different by using a
15839 macro for adding the 'l'.
15840 * stdio-common/tst-fphex-wide.c: Adjust.
15841
70bca0a3
MP
158422012-03-07 Marek Polacek <polacek@redhat.com>
15843
15844 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15845
65b81130
MP
158462012-03-08 Marek Polacek <polacek@redhat.com>
15847
15848 [BZ #13806]
15849 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15850 * stdio-common/tst-fphex.c: Define a few macros to make the
15851 test reusable. Use them.
15852 * stdio-common/tst-fphex-wide.c: New file.
15853
07037eeb
JM
158542012-03-08 Joseph Myers <joseph@codesourcery.com>
15855
a7a93d50
JM
15856 [BZ #6911]
15857 * manual/macros.texi (gnusystems): New macro.
15858 (nongnusystems): Likewise.
15859 (gnulinuxhurdsystems): Likewise.
15860 (gnuhurdsystems): Likewise..
15861 (gnulinuxsystems): Likewise.
15862 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15863 variants of the GNU system, not "GNU system".
15864 * manual/conf.texi: Likewise.
15865 * manual/errno.texi: Likewise. Update example of errno macro
15866 expansion.
15867 * manual/filesys.texi: Likewise.
15868 (getumask): Document as specific to GNU/Hurd.
15869 * manual/install.texi: Likewise. Reword some references to
15870 GNU/Linux.
15871 * manual/intro.texi: Likewise.
15872 * manual/io.texi: Likewise.
15873 (File Name Portability): Detail which constraints are inapplicable
15874 to all GNU systems and which are only inapplicable to GNU/Hurd.
15875 * manual/job.texi: Likewise.
15876 * manual/llio.texi: Likewise.
15877 (O_NOCTTY): Document as present on GNU/Linux.
15878 * manual/maint.texi: Likewise.
15879 * manual/memory.texi: Likewise.
15880 * manual/pattern.texi: Likewise.
15881 * manual/pipe.texi: Likewise.
15882 * manual/process.texi: Likewise.
15883 * manual/resource.texi: Likewise.
15884 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15885 child on GNU/Hurd.
15886 * manual/setjmp.texi: Likewise.
15887 * manual/signal.texi: Likewise.
15888 * manual/startup.texi: Likewise.
15889 * manual/stdio.texi: Likewise.
15890 * manual/terminal.texi: Likewise.
15891 (ONLCR): Document as POSIX.
15892 (OXTABS): Document availability on GNU/Linux as XTABS.
15893 (ONOEOT): Document availability separately from other bits.
15894 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15895 * manual/time.texi: Likewise.
15896 * manual/users.texi: Likewise.
15897 * INSTALL: Regenerated.
15898 * sysdeps/gnu/errlist.c: Regenerated.
15899
07037eeb
JM
15900 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15901 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15902 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15903 puts.
15904 * configure: Regenerated.
15905
d1d3431a
JM
159062012-03-07 Joseph Myers <joseph@codesourcery.com>
15907
af6a1e37
JM
15908 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15909 default includes instead of AC_HEADER_CHECK.
15910 * sysdeps/i386/configure: Regenerated.
15911
d1d3431a
JM
15912 [BZ #10716]
15913 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15914 * math/s_cacoshf.c (__cacoshf): Likewise.
15915 * math/s_cacoshl.c (__cacoshl): Likewise.
15916 * math/s_casinh.c (__casinh): Set signs of result from argument.
15917 * math/s_casinhf.c (__casinhf): Likewise.
15918 * math/s_casinhl.c (__casinhl): Likewise.
15919 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15920 (casinh_test): Add more tests.
15921 * sysdeps/i386/fpu/libm-test-ulps: Update.
15922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15923
482ff4da
UD
159242012-03-07 Ulrich Drepper <drepper@gmail.com>
15925
872fda05
UD
15926 * po/zh_TW.po: Update from translation team.
15927
a4300c7a
UD
15928 * login/Makefile (distribute): Remove variable.
15929 * catgets/Makefile: Likewise.
15930 * mach/Makefile: Likewise.
15931 * malloc/Makefile: Likewise.
15932 * misc/Makefile: Likewise.
15933 * iconv/Makefile: Likewise.
15934 * nscd/Makefile: Likewise.
15935 * hurd/Makefile: Likewise.
15936 * manual/Makefile: Likewise.
15937 * locale/Makefile: Likewise.
15938 * intl/Makefile: Likewise.
15939 * conform/Makefile: Likewise.
15940 * nss/Makefile: Likewise.
15941 * time/Makefile: Likewise.
15942 * soft-fp/Makefile: Likewise.
15943 * dirent/Makefile: Likewise.
15944 * gmon/Makefile: Likewise.
15945 * po/Makefile: Likewise.
15946 * rt/Makefile: Likewise.
15947 * socket/Makefile: Likewise.
15948 * math/Makefile: Likewise.
15949 * signal/Makefile: Likewise.
15950 * debug/Makefile: Likewise.
15951 * elf/Makefile: Likewise.
15952 * timezone/Makefile: Likewise.
15953 * stdlib/Makefile: Likewise.
15954 * iconvdata/Makefile: Likewise.
15955 * sunrpc/Makefile: Likewise.
15956 * io/Makefile: Likewise.
15957 * argp/Makefile: Likewise.
15958 * inet/Makefile: Likewise.
15959 * hesiod/Makefile: Likewise.
15960 * grp/Makefile: Likewise.
15961 * csu/Makefile: Likewise.
15962 * wctype/Makefile: Likewise.
15963 * crypt/Makefile: Likewise.
15964 * libio/Makefile: Likewise.
15965 * string/Makefile: Likewise.
15966 * nis/Makefile: Likewise.
15967 * resolv/Makefile: Likewise.
15968 * stdio-common/Makefile: Likewise.
15969 * wcsmbs/Makefile: Likewise.
15970 * dlfcn/Makefile: Likewise.
15971 * posix/Makefile: Likewise.
15972
3b7c4e74 15973 [BZ #6959]
482ff4da
UD
15974 * timezone/Makefile: Don't install timezone files, just the programs
15975 and scripts.
15976
f72ed77d
UD
159772012-03-06 Ulrich Drepper <drepper@gmail.com>
15978
a000466f
UD
15979 * nss/databases.def: Add missing gshadow entry.
15980
f72ed77d
UD
15981 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15982
a53b7a4e
MP
159832012-03-06 Marek Polacek <polacek@redhat.com>
15984
15985 [BZ #13726]
15986 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15987 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15988 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15989 * stdio-common/tst-long-dbl-fphex.c: New file.
15990
e9258400
DM
159912012-03-06 David S. Miller <davem@davemloft.net>
15992
15993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15994 (set_obp_int): New function.
15995 (get_obp_int): New function.
15996 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15997 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15998 Avoid unused variable warnings on 'val' and use builtin_expect.
15999 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16000 __builtin_expect.
e9258400
DM
16001 (INLINE_CLONE_SYSCALL): Likewise.
16002
3bd2c723
DM
160032012-03-05 David S. Miller <davem@davemloft.net>
16004
16005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16006
bbb78d03
AS
160072012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16008
884c5db4
AS
16009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16010
bbb78d03
AS
16011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16012 only for |x| >= 40.
16013 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16014
1c9f702a 160152012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16016
16017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16018 Replace gettimeofday with __vdso_gettimeofday.
16019
7be16f82
RM
16020 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16021 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16022 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16023
16024 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16025 time with __vdso_time.
16026
ed58a00f
JM
160272012-03-05 Joseph Myers <joseph@codesourcery.com>
16028
16029 * manual/lang.texi (size_t): Note types to which size_t may be
16030 equivalent with the GNU C Library, but do not describe when
16031 differences between them are significant.
16032
30ee4ced
AJ
160332012-03-05 Andreas Jaeger <aj@suse.de>
16034
16035 * sysdeps/i386/fpu/libm-test-ulps: Update.
16036
b7cd39e8
JM
160372012-03-05 Joseph Myers <joseph@codesourcery.com>
16038
16039 [BZ #3976]
16040 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16041 (__ieee754_pow): Save and restore rounding mode and use
16042 round-to-nearest for main computations.
16043 * math/libm-test.inc (pow_test_tonearest): New function.
16044 (pow_test_towardzero): Likewise.
16045 (pow_test_downward): Likewise.
16046 (pow_test_upward): Likewise.
16047 (main): Call the new functions.
16048 * sysdeps/i386/fpu/libm-test-ulps: Update.
16049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16050
16051 [BZ #3976]
16052 * math/libm-test.inc (cosh_test_tonearest): New function.
16053 (cosh_test_towardzero): Likewise.
16054 (cosh_test_downward): Likewise.
16055 (cosh_test_upward): Likewise.
16056 (sinh_test_tonearest): Likewise.
16057 (sinh_test_towardzero): Likewise.
16058 (sinh_test_downward): Likewise.
16059 (sinh_test_upward): Likewise.
16060 (main): Call the new functions.
16061 * sysdeps/i386/fpu/libm-test-ulps: Update.
16062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16063
6c6a98c9
TV
160642012-03-05 Tom de Vries <tom@codesourcery.com>
16065
16066 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16067 default stack guard is set in last bytes.
16068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16069
21bb2d2e 160702012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16071
21bb2d2e 16072 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16073
21bb2d2e
AJ
16074 [BZ #13656]
16075 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16076 possibly allocate from heap instead of stack.
16077 * stdio-common/bug-vfprintf-nargs.c: New file.
16078 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16079
c6922934
AS
160802012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16081
16082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16083
bc957d53
MP
160842012-03-03 Marek Polacek <polacek@redhat.com>
16085
16086 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16087 * math/math_private.h: Likewise.
16088 * stdlib/tst-strtod.c: Likewise.
16089 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16090 * sysdeps/x86_64/bits/atomic.h: Likewise.
16091
6358490d
DM
160922012-03-02 David S. Miller <davem@davemloft.net>
16093
16094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16098 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16099 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16100 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16101 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16102
01ae168d
RM
161032012-03-02 Roland McGrath <roland@hack.frob.com>
16104
d9a17c07
RM
16105 [BZ #13792]
16106 * manual/examples/README: New file, says the example source files
16107 can be used under GPL>=2.
16108 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16109 line containing just "*/".
16110 * manual/examples/add.c: Add copyright header (GPL>=2).
16111 * manual/examples/argp-ex1.c: Likewise.
16112 * manual/examples/argp-ex2.c: Likewise.
16113 * manual/examples/argp-ex3.c: Likewise.
16114 * manual/examples/argp-ex4.c: Likewise.
16115 * manual/examples/atexit.c: Likewise.
16116 * manual/examples/db.c: Likewise.
16117 * manual/examples/dir.c: Likewise.
16118 * manual/examples/dir2.c: Likewise.
16119 * manual/examples/execinfo.c: Likewise.
16120 * manual/examples/filecli.c: Likewise.
16121 * manual/examples/filesrv.c: Likewise.
16122 * manual/examples/fmtmsgexpl.c: Likewise.
16123 * manual/examples/genpass.c: Likewise.
16124 * manual/examples/inetcli.c: Likewise.
16125 * manual/examples/inetsrv.c: Likewise.
16126 * manual/examples/isockad.c: Likewise.
16127 * manual/examples/longopt.c: Likewise.
16128 * manual/examples/memopen.c: Likewise.
16129 * manual/examples/memstrm.c: Likewise.
16130 * manual/examples/mkfsock.c: Likewise.
16131 * manual/examples/mkisock.c: Likewise.
16132 * manual/examples/mygetpass.c: Likewise.
16133 * manual/examples/pipe.c: Likewise.
16134 * manual/examples/popen.c: Likewise.
16135 * manual/examples/rprintf.c: Likewise.
16136 * manual/examples/search.c: Likewise.
16137 * manual/examples/select.c: Likewise.
16138 * manual/examples/setjmp.c: Likewise.
16139 * manual/examples/sigh1.c: Likewise.
16140 * manual/examples/sigusr.c: Likewise.
16141 * manual/examples/stpcpy.c: Likewise.
16142 * manual/examples/strdupa.c: Likewise.
16143 * manual/examples/strftim.c: Likewise.
16144 * manual/examples/strncat.c: Likewise.
16145 * manual/examples/subopt.c: Likewise.
16146 * manual/examples/swapcontext.c: Likewise.
16147 * manual/examples/termios.c: Likewise.
16148 * manual/examples/testopt.c: Likewise.
16149 * manual/examples/testpass.c: Likewise.
16150 * manual/examples/timeval_subtract.c: Likewise.
16151
01ae168d
RM
16152 [BZ #13792]
16153 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16154 function to ...
16155 * manual/timeval_subtract.c.texi: ... here, new file.
16156
49efa33d
DM
161572012-03-02 David S. Miller <davem@davemloft.net>
16158
16159 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16160
28afd92d
JM
161612012-03-02 Joseph Myers <joseph@codesourcery.com>
16162
804360ed
JM
16163 [BZ #3976]
16164 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16165 (__sin): Save and restore rounding mode and use round-to-nearest
16166 for all computations.
16167 (__cos): Save and restore rounding mode and use round-to-nearest
16168 for all computations.
16169 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16170 <fenv.h>.
16171 (tan): Save and restore rounding mode and use round-to-nearest for
16172 all computations.
16173 * math/libm-test.inc (cos_test_tonearest): New function.
16174 (cos_test_towardzero): Likewise.
16175 (cos_test_downward): Likewise.
16176 (cos_test_upward): Likewise.
16177 (sin_test_tonearest): Likewise.
16178 (sin_test_towardzero): Likewise.
16179 (sin_test_downward): Likewise.
16180 (sin_test_upward): Likewise.
16181 (tan_test_tonearest): Likewise.
16182 (tan_test_towardzero): Likewise.
16183 (tan_test_downward): Likewise.
16184 (tan_test_upward): Likewise.
16185 (main): Call the new functions.
16186 * sysdeps/i386/fpu/libm-test-ulps: Update.
16187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16188
a6d06d7b
JM
16189 [BZ #10135]
16190 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16191 small n, then large n, before computing and testing k+n.
16192 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16194 Likewise.
16195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16196 Likewise.
16197 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16198 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16199 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16200 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16201 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16202 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16204 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16205 * math/libm-test.inc (scalbn_test): Add more tests.
16206 (scalbln_test): Likewise.
16207
07e12bb3
JM
16208 * manual/filesys.texi (mode_t): Describe constraints on size and
16209 signedness, not exact equivalence to a particular type.
16210 (ino_t): Likewise.
16211 (ino64_t): Likewise.
16212 (dev_t): Likewise.
16213 (nlink_t): Likewise.
16214 (blkcnt_t): Likewise.
16215 (blkcnt64_t): Likewise.
16216 * manual/llio.texi (off_t): Likewise.
16217
28afd92d
JM
16218 [BZ #3976]
16219 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16220 (__ieee754_exp): Save and restore rounding mode and use
16221 round-to-nearest for all computations.
16222 * math/libm-test.inc (exp_test_tonearest): New function.
16223 (exp_test_towardzero): Likewise.
16224 (exp_test_downward): Likewise.
16225 (exp_test_upward): Likewise.
16226 (main): Call the new functions.
16227 * sysdeps/i386/fpu/libm-test-ulps: Update.
16228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16229
b1eeb65d
CD
162302012-03-01 Chris Demetriou <cgd@google.com>
16231
16232 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16233 have predictable order.
16234
53362a4b
DM
162352012-03-01 David S. Miller <davem@davemloft.net>
16236
3c969083
DM
16237 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16238
759707de
DM
16239 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16240 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16241 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16242 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16243
dfdb8ff2
DM
16244 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16245 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16246 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16248 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16249 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16250 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16251 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16252 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16253
ead89f96
DM
16254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16255
7f66bd07
DM
16256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16257 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16259
53362a4b
DM
16260 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16262 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16263 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16264 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16265 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16267 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16268 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16269 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16270 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16271 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16273 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16274 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16276 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16277 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16278 * sysdeps/sparc/elf/configure: Regenerated.
16279
7b1902cb
JM
162802012-03-01 Joseph Myers <joseph@codesourcery.com>
16281
bec039bc
JM
16282 * configure.in (AS, LD): Require binutils 2.20 or later.
16283 * configure: Regenerated.
16284 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16285 as required minimum version.
16286 * INSTALL: Regenerated.
16287
7b1902cb
JM
16288 [BZ #2541]
16289 [BZ #4108]
16290 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16291 before squaring exponent.
16292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16293 bottom long double and 27 bits of top long double before squaring
16294 exponent.
16295 * math/libm-test.inc (erfc_test): Add more tests.
16296 * sysdeps/i386/fpu/libm-test-ulps: Update.
16297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16299
f775c276
KT
163002012-03-01 Kai Tietz <ktietz@redhat.com>
16301
16302 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16303 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16304 containing bit-fields.
16305 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16306 * soft-fp/single.h (_FP_UNION_S): Likewise.
16307 * soft-fp/double.h (_FP_UNION_D): Likewise.
16308
5b8a4d4a
JM
163092012-02-29 Joseph Myers <joseph@codesourcery.com>
16310
0bab47b6
JM
16311 [BZ #13786]
16312 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16313 not include ../strcmp.S.
16314 [USE_AS_STRNCASECMP_L]: Likewise.
16315 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16316 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16317 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16318 (__strncasecmp_l_ia32): Define as alias to
16319 __strncasecmp_l_nonascii.
16320
0fcad3e2
JM
16321 [BZ #5794]
16322 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16323 * sysdeps/i386/fpu/libm-test-ulps: Update.
16324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16325
5b8a4d4a
JM
16326 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16328
8fdceb2e
JL
163292012-02-29 Jeff Law <law@redhat.com>
16330
16331 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16332 out of bounds read.
16333
1f393a11
MP
163342012-02-29 Marek Polacek <polacek@redhat.com>
16335
16336 [BZ #13706]
16337 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16338 * elf/Makefile: Add rules to run tst-unused-dep.out.
16339
8847f037
DM
163402012-02-28 David S. Miller <davem@davemloft.net>
16341
16342 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16343 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16346 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16347 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16348
169d7f11
JM
163492012-02-29 Joseph Myers <joseph@codesourcery.com>
16350
16351 * math/libm-test.inc (llround_test): Move one test from
16352 lround_test. Use TEST_f_L in moved test.
16353 (lround_test): Move misplaced test to llround_test. Add testcase
16354 from bug 2561.
16355
39adf059
UD
163562012-02-28 Ulrich Drepper <drepper@gmail.com>
16357
16358 * sysdeps/x86_64/fpu/e_expf.S: New file.
16359 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16360
71b5d1c5
SB
163612012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16362
16363 [BZ #13637]
16364 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16365 of remain_len that may cause incomplete multi-byte character and
16366 false match.
16367 * posix/bug-regex33.c: New file.
16368 * posix/Makefile (tests): Add bug-regex33.
16369
1f77f049
JM
163702012-02-28 Joseph Myers <joseph@codesourcery.com>
16371
16372 * manual/macros.texi: New file.
16373 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16374 * manual/libc.texinfo: Include macros.texi.
16375 * manual/creatute.texi: Likewise.
16376 * manual/install.texi: Likewise.
16377 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16378 @glibcadj{} in references to the GNU C Library.
16379 * manual/charset.texi: Likewise.
16380 * manual/conf.texi: Likewise.
16381 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16382 when not using those macros.
16383 * manual/creature.texi: Likewise.
16384 * manual/crypt.texi: Likewise.
16385 * manual/errno.texi: Likewise.
16386 * manual/filesys.texi: Likewise.
16387 * manual/header.texi: Likewise.
16388 * manual/install.texi: Likewise.
16389 * manual/intro.texi: Likewise.
16390 * manual/io.texi: Likewise.
16391 * manual/job.texi: Likewise.
16392 * manual/lang.texi: Likewise.
16393 * manual/libc.texiinfo: Likewise.
16394 * manual/llio.texi: Likewise.
16395 * manual/locale.texi: Likewise.
16396 * manual/maint.texi: Likewise.
16397 * manual/math.texi: Likewise.
16398 * manual/memory.texi: Likewise.
16399 * manual/message.texi: Likewise.
16400 * manual/nss.texi: Likewise.
16401 * manual/pattern.texi: Likewise.
16402 * manual/process.texi: Likewise.
16403 * manual/resource.texi: Likewise.
16404 * manual/search.texi: Likewise.
16405 * manual/setjmp.texi: Likewise.
16406 * manual/signal.texi: Likewise.
16407 * manual/socket.texi: Likewise.
16408 * manual/startup.texi: Likewise.
16409 * manual/stdio.texi: Likewise.
16410 * manual/string.texi: Likewise.
16411 * manual/sysinfo.texi: Likewise.
16412 * manual/syslog.texi: Likewise.
16413 * manual/terminal.texi: Likewise.
16414 * manual/time.texi: Likewise.
16415 * manual/users.texi: Likewise.
16416 * INSTALL: Regenerated.
16417 * NOTES: Regenerated.
d40c5d54 16418 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16419
450bf206
AS
164202012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16421
16422 * include/dirent.h: Include <dirstream.h> before
16423 <dirent/dirent.h>.
16424
741a235b
DM
164252012-02-28 David S. Miller <davem@davemloft.net>
16426
16427 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16428 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16429 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16430 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16431
d6b5aa58
DM
164322012-02-27 David S. Miller <davem@davemloft.net>
16433
1aff59a3
DM
16434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16436 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16437 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16438
d6b5aa58
DM
16439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16440 frame pointer instead of stack pointer relative arg slot.
16441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16442 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16443 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16444
433f48bf
CD
164452012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16446
16447 [BZ #3992]
16448 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16449
d674b76d
DM
164502012-02-27 David S. Miller <davem@davemloft.net>
16451
16452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16456 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16457 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16458 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16459 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16460
0e7727f7
JM
164612012-02-27 Joseph Myers <joseph@codesourcery.com>
16462
16463 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16464 later. Allow versions 5-9.
43be4ca2 16465 * configure: Regenerated.
0e7727f7
JM
16466 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16467 required minimum version and 4.6 as recommended version. Do not
16468 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16469 * INSTALL: Regenerated.
0e7727f7 16470
a78bc654
DM
164712012-02-27 David S. Miller <davem@davemloft.net>
16472
428d5830
DM
16473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16477 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16478 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16479 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16480 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16481
a78bc654
DM
16482 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16483 manipulate bits before adding and subtracting TWO112[sx].
16484 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16485
4579f81c
RM
164862012-02-27 Roland McGrath <roland@hack.frob.com>
16487
36c8acb4
RM
16488 [BZ #13775]
16489 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16490 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16491 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16492 being in POSIX, because they are in 1003.1-2008.
16493
84ad622b
RM
16494 * rt/tst-aio.c: Include <fcntl.h>.
16495 * rt/tst-aio7.c: Likewise.
16496 * rt/tst-aio64.c: Likewise.
16497
4579f81c
RM
16498 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16499
abd923db
JM
165002012-02-27 Joseph Myers <joseph@codesourcery.com>
16501
16502 * manual/install.texi (--with-headers): Describe headers as
16503 interface headers, not private headers.
16504 (Specific advice for GNU/Linux systems): Describe use of headers
16505 from "make headers_install", not private headers from older
16506 kernels.
43be4ca2 16507 * INSTALL: Regenerated.
abd923db
JM
16508 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16509 Change to 2.6.19.
16510 * sysdeps/unix/sysv/linux/configure: Regenerated.
16511
6664049b
JM
16512 * manual/llio.texi (fclean): Remove documentation.
16513
bb8b6697
JM
16514 * manual/Makefile (libc-texi-generated): New variable. Include
16515 version.texi.
16516 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16517 $(libc-texi-generated), not duplicated list of files.
16518 (version.texi, stamp-version): New rules.
16519 (realclean): Remove $(libc-texi-generated), not individual files
16520 from that list. Do not remove dir-add.texinfo.
16521 * manual/libc.texinfo: Comment out uses of edition numbers and
16522 references to printed manual. Remove last-updated dates.
16523 (EDITION): Comment out.
16524 (ISBN): Likewise.
16525 (VERSION, UPDATED): Remove.
16526 (version.texi): Include.
16527
12e5c3b9
AS
165282012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16529
16530 * sysdeps/posix/spawni.c: Include <signal.h>.
16531 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16532 * sysdeps/pthread/aio_fsync.c: Likewise.
16533
4efeffc1 165342012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16535
ba63ba08
UD
16536 * conform/Makefile (tests): Run only when not cross-compiling and
16537 when fast-check is not defined.
16538
d94a4670
UD
16539 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16540 * conform/data/limits.h-data: Fixes for POSIX2008.
16541 * conform/run-conformtest.sh: Run all tests.
16542 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16543 headers.
16544 * include/bits/dlfcn.h: Likewise.
16545 * include/langinfo.h: Likewise.
16546 * include/monetary.h: Likewise.
16547 * include/sys/poll.h: Likewise.
16548
16549 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16550 for __USE_GNU.
16551 * posix/spawn.h: Define __need_sigset_t.
16552 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16553 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16554 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16555 to get sigevent_t only.
16556 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16557 only for __USE_GNU.
16558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16559 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16560 process_vm_writev only for __USE_GNU.
16561 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16562
16563 * conform/Makefile: For now ignore errors from run-conformtest.
16564 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16565 POSIX to avoid namespace pollution. Don't prepend headers.
16566 * conform/data/aio.h-data: Fixes for POSIX testing.
16567 * conform/data/fcntl.h-data: Likewise.
16568 * conform/data/glob.h-data: Likewise.
16569 * conform/data/grp.h-data: Likewise.
16570 * conform/data/pthread.h-data: Likewise.
16571 * conform/data/pwd.h-data: Likewise.
16572 * conform/data/signal.h-data: Likewise.
16573 * conform/data/spawn.h-data: Likewise.
16574 * conform/data/stdio.h-data: Likewise.
16575 * conform/data/stdlib.h-data: Likewise.
16576 * conform/data/stropts.h-data: Likewise.
16577 * conform/data/sys/mman.h-data: Likewise.
16578 * conform/data/sys/stat.h-data: Likewise.
16579 * conform/data/sys/types.h-data: Likewise.
16580 * conform/data/sys/wait.h-data: Likewise.
16581 * conform/data/time.h-data: Likewise.
16582 * conform/data/unistd.h-data: Likewise.
16583 * conform/data/utime.h-data: Likewise.
16584
16585 * io/sys/stat.h: fchmod was always in POSIX.
16586 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16587 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16588 * rt/aio.h: Define __need_timespec before including <time.h>.
16589 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16590 struct. Add forward declaration of pthread_attr_t and use it in
16591 sigevent.
16592 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16593 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16594 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16595 always remove CLK_TCK definition.
16596
c20105c3
AS
165972012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16598
16599 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16600
7a270350
UD
166012012-02-25 Ulrich Drepper <drepper@gmail.com>
16602
31341567
UD
16603 * conform/run-conformtest.sh: New file.
16604 * conform/Makefile: Run run-conformtest for tests.
16605 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16606 support.
16607
16608 * conform/data/uchar.h-data: New file.
16609 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16610 * conform/data/arpa/inet.h-data: Likewise.
16611 * conform/data/assert.h-data: Likewise.
16612 * conform/data/complex.h-data: Likewise.
16613 * conform/data/cpio.h-data: Likewise.
16614 * conform/data/ctype.h-data: Likewise.
16615 * conform/data/dirent.h-data: Likewise.
16616 * conform/data/dlfcn.h-data: Likewise.
16617 * conform/data/errno.h-data: Likewise.
16618 * conform/data/fcntl.h-data: Likewise.
16619 * conform/data/float.h-data: Likewise.
16620 * conform/data/fmtmsg.h-data: Likewise.
16621 * conform/data/fnmatch.h-data: Likewise.
16622 * conform/data/ftw.h-data: Likewise.
16623 * conform/data/glob.h-data: Likewise.
16624 * conform/data/grp.h-data: Likewise.
16625 * conform/data/iconv.h-data: Likewise.
16626 * conform/data/inttypes.h-data: Likewise.
16627 * conform/data/langinfo.h-data: Likewise.
16628 * conform/data/libgen.h-data: Likewise.
16629 * conform/data/limits.h-data: Likewise.
16630 * conform/data/locale.h-data: Likewise.
16631 * conform/data/math.h-data: Likewise.
16632 * conform/data/monetary.h-data: Likewise.
16633 * conform/data/mqueue.h-data: Likewise.
16634 * conform/data/ndbm.h-data: Likewise.
16635 * conform/data/net/if.h-data: Likewise.
16636 * conform/data/netdb.h-data: Likewise.
16637 * conform/data/netinet/in.h-data: Likewise.
16638 * conform/data/nl_types.h-data: Likewise.
16639 * conform/data/poll.h-data: Likewise.
16640 * conform/data/pthread.h-data: Likewise.
16641 * conform/data/pwd.h-data: Likewise.
16642 * conform/data/regex.h-data: Likewise.
16643 * conform/data/sched.h-data: Likewise.
16644 * conform/data/search.h-data: Likewise.
16645 * conform/data/semaphore.h-data: Likewise.
16646 * conform/data/setjmp.h-data: Likewise.
16647 * conform/data/signal.h-data: Likewise.
16648 * conform/data/spawn.h-data: Likewise.
16649 * conform/data/stdarg.h-data: Likewise.
16650 * conform/data/stdio.h-data: Likewise.
16651 * conform/data/stdlib.h-data: Likewise.
16652 * conform/data/string.h-data: Likewise.
16653 * conform/data/strings.h-data: Likewise.
16654 * conform/data/stropts.h-data: Likewise.
16655 * conform/data/sys/ipc.h-data: Likewise.
16656 * conform/data/sys/mman.h-data: Likewise.
16657 * conform/data/sys/msg.h-data: Likewise.
16658 * conform/data/sys/resource.h-data: Likewise.
16659 * conform/data/sys/select.h-data: Likewise.
16660 * conform/data/sys/sem.h-data: Likewise.
16661 * conform/data/sys/shm.h-data: Likewise.
16662 * conform/data/sys/socket.h-data: Likewise.
16663 * conform/data/sys/stat.h-data: Likewise.
16664 * conform/data/sys/statvfs.h-data: Likewise.
16665 * conform/data/sys/time.h-data: Likewise.
16666 * conform/data/sys/timeb.h-data: Likewise.
16667 * conform/data/sys/times.h-data: Likewise.
16668 * conform/data/sys/types.h-data: Likewise.
16669 * conform/data/sys/uio.h-data: Likewise.
16670 * conform/data/sys/un.h-data: Likewise.
16671 * conform/data/sys/utsname.h-data: Likewise.
16672 * conform/data/sys/wait.h-data: Likewise.
16673 * conform/data/syslog.h-data: Likewise.
16674 * conform/data/tar.h-data: Likewise.
16675 * conform/data/termios.h-data: Likewise.
16676 * conform/data/utime.h-data: Likewise.
16677 * conform/data/utmpx.h-data: Likewise.
16678 * conform/data/varargs.h-data: Likewise.
16679 * conform/data/wchar.h-data: Likewise.
16680 * conform/data/wctype.h-data: Likewise.
16681 * conform/data/wordexp.h-data: Likewise.
16682
16683 * include/stropts.h: New file.
16684 * include/uchar.h: New file.
16685 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16686 * include/assert.h: Likewise.
16687 * include/ctype.h: Likewise.
16688 * include/dirent.h: Likewise.
16689 * include/dlfcn.h: Likewise.
16690 * include/fcntl.h: Likewise.
16691 * include/fnmatch.h: Likewise.
16692 * include/glob.h: Likewise.
16693 * include/grp.h: Likewise.
16694 * include/libio.h: Likewise.
16695 * include/locale.h: Likewise.
16696 * include/math.h: Likewise.
16697 * include/net/if.h: Likewise.
16698 * include/netdb.h: Likewise.
16699 * include/netinet/in.h: Likewise.
16700 * include/pthread.h: Likewise.
16701 * include/pwd.h: Likewise.
16702 * include/regex.h: Likewise.
16703 * include/sched.h: Likewise.
16704 * include/search.h: Likewise.
16705 * include/setjmp.h: Likewise.
16706 * include/signal.h: Likewise.
16707 * include/stdio.h: Likewise.
16708 * include/stdlib.h: Likewise.
16709 * include/string.h: Likewise.
16710 * include/sys/cdefs.h: Likewise.
16711 * include/sys/mman.h: Likewise.
16712 * include/sys/msg.h: Likewise.
16713 * include/sys/resource.h: Likewise.
16714 * include/sys/select.h: Likewise.
16715 * include/sys/socket.h: Likewise.
16716 * include/sys/stat.h: Likewise.
16717 * include/sys/statvfs.h: Likewise.
16718 * include/sys/time.h: Likewise.
16719 * include/sys/times.h: Likewise.
16720 * include/sys/uio.h: Likewise.
16721 * include/sys/utsname.h: Likewise.
16722 * include/sys/wait.h: Likewise.
16723 * include/termios.h: Likewise.
16724 * include/time.h: Likewise.
16725 * include/ulimit.h: Likewise.
16726 * include/unistd.h: Likewise.
16727 * include/utime.h: Likewise.
16728 * include/wchar.h: Likewise.
16729 * include/wctype.h: Likewise.
16730 * include/wordexp.h: Likewise.
16731
16732 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16733
7a270350
UD
16734 * time/time.h: TIME_UTC must be a macro.
16735 Make timespec_get available for ISO C11 only as well.
16736
7724defc
UD
167372012-02-24 Ulrich Drepper <drepper@gmail.com>
16738
16739 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16740 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16741
6b1d1d46
JM
167422012-02-24 Joseph Myers <joseph@codesourcery.com>
16743
16744 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16745
0f8bbd69
JM
167462012-02-24 Joseph Myers <joseph@codesourcery.com>
16747
16748 * manual/texinfo.tex: Update to version 2012-01-19.16.
16749
66ab80bc
JM
167502012-02-24 Joseph Myers <joseph@codesourcery.com>
16751
16752 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16753
74981cc5
RM
167542012-02-24 Roland McGrath <roland@hack.frob.com>
16755
ee968201
RM
16756 [BZ #13738]
16757 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16758 * manual/fdl-1.3.texi: New file.
16759 * manual/fdl-1.1.texi: File removed.
16760
74981cc5
RM
16761 [BZ #13738]
16762 * manual/libc.texinfo (FDL_VERSION): New @set.
16763 Use it for mention of FDL in cover text.
16764 (Documentation License): Use it in @include file name.
16765
7bb764bc
JM
167662012-02-22 Joseph Myers <joseph@codesourcery.com>
16767 Roland McGrath <roland@hack.frob.com>
16768
16769 [BZ #5461]
16770 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16771 not LONG_LONG_MAX and LONG_LONG_MIN.
16772 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16773 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16774 name.
16775 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16776
6cbeae47
JM
167772012-02-22 Joseph Myers <joseph@codesourcery.com>
16778
16779 [BZ #2547]
16780 [BZ #11365]
16781 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16782 manipulate bits before adding and subtracting TWO23[sx].
16783 * math/libm-test.inc (nearbyint_test): Add more tests.
16784
fe45ce09
JM
167852012-02-22 Joseph Myers <joseph@codesourcery.com>
16786
16787 [BZ #2548]
16788 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16789 bits before adding and subtracting TWO23[sx].
16790 * math/libm-test.inc (rint_test): Add more tests.
16791 (rint_test_tonearest): Likewise.
16792 (rint_test_towardzero): Likewise.
16793 (rint_test_downward): Likewise.
16794 (rint_test_upward: Likewise.
16795
ff3b3d82
JM
167962012-02-22 Joseph Myers <joseph@codesourcery.com>
16797
16798 [BZ #10110]
16799 * include/stdc-predef.h: New file. Extracted from features.h.
16800 * include/features.h: Include stdc-predef.h.
16801 * Makefile (headers): Add stdc-predef.h.
16802 * CONFORMANCE (Compiler limitations): Update.
16803
ef0aab35
JM
168042012-02-22 Joseph Myers <joseph@codesourcery.com>
16805
16806 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16807
58639409
DM
168082012-02-21 David S. Miller <davem@davemloft.net>
16809
16810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16812
c0e70b25
DM
168132012-02-20 David S. Miller <davem@davemloft.net>
16814
16815 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16816 using a normal save/restore sequence, rather than allocating a
16817 dummy stack frame just to store a frame pointer and restore.
16818 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16819
fb06851d
JM
168202012-02-21 Joseph Myers <joseph@codesourcery.com>
16821
16822 * manual/install.texi: Fix stray word in line-wrapped comment.
16823
7a8b71c3
DM
168242012-02-20 David S. Miller <davem@davemloft.net>
16825
d510c123
DM
16826 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16827 both binutils and gcc support GOTDATA.
16828
0722d7c2
DM
16829 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16830 "rd %pc" in the PIC register setup sequences.
16831
3d2b3019
DM
16832 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16833 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16834 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16835 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16836 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16838 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16841 (SYSCALL_ERROR_HANDLER): Likewise.
16842 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16843 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16845 (SYSCALL_ERROR_HANDLER): Likewise.
16846
c80098a9
DM
16847 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16848 (HAVE_GCC_GOTDATA): New.
16849 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16850 relocation support in both binutils and gcc.
16851 * sysdeps/sparc/elf/configure: Regenerate.
16852
3a2545a0
DM
16853 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16854 * sysdeps/sparc/sparc32/elf/configure: Delete.
16855 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16856 * sysdeps/sparc/sparc64/elf/configure: Delete.
16857 * sysdeps/sparc/elf/configure.in: New file.
16858 * sysdeps/sparc/elf/configure: Generate.
16859
7a8b71c3
DM
16860 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16861 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16862 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16863 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16864 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16865
f1e86fca
JM
168662012-02-21 Joseph Myers <joseph@codesourcery.com>
16867
16868 * manual/install.texi: Do not mention specific glibc version
16869 numbers.
16870 * manual/libc.texinfo (VERSION, UPDATED): Update.
16871 (@copying): Use @copyright{} and range of years.
16872
0e7dfaef
JM
168732012-02-21 Joseph Myers <joseph@codesourcery.com>
16874
16875 [BZ #13695]
16876 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16877 [crti.S not in sysdirs] (generated): Do not append.
16878 [crti.S not in sysdirs] (omit-deps): Likewise.
16879 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16880 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16881 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16882 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16883 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16884 Likewise.
16885 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16886 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16887 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16888 * csu/defs.awk: Remove file.
16889 * sysdeps/generic/initfini.c: Likewise.
16890 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16891 variable.
16892 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16893 Likewise.
16894
599af3ca
JM
168952012-02-20 Joseph Myers <joseph@codesourcery.com>
16896
16897 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16898 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16899 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16900 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16902 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16903 <bits/epoll.h>.
16904 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16905 (__EPOLL_PACKED): Define to empty if not defined by
16906 <bits/epoll.h>.
16907 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16909 bits/epoll.h.
16910
0e499750
JM
169112012-02-20 Joseph Myers <joseph@codesourcery.com>
16912
16913 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16914 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16915 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16916 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16917 <bits/timerfd.h>.
16918 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16920 bits/timerfd.h.
16921
5ad91f6e
JM
169222012-02-20 Joseph Myers <joseph@codesourcery.com>
16923
16924 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16925 in C locale.
16926 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16927 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16930
06b99b02
AJ
169312012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16932
16933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16935
7638c0fd
AS
169362012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16937
16938 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16939 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16940 defined.
16941 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16942 Likewise.
16943 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16944 entry for 2.16.
16945
92221550
AJ
169462012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16947
16948 * math/w_acos.c: Use non-signaling floating-point comparisons.
16949 * math/w_acosf.c: Likewise.
16950 * math/w_acosh.c: Likewise.
16951 * math/w_acoshf.c: Likewise.
16952 * math/w_acoshl.c: Likewise.
16953 * math/w_acosl.c: Likewise.
16954 * math/w_asin.c: Likewise.
16955 * math/w_asinf.c: Likewise.
16956 * math/w_asinl.c: Likewise.
16957 * math/w_atanh.c: Likewise.
16958 * math/w_atanhf.c: Likewise.
16959 * math/w_atanhl.c: Likewise.
16960 * math/w_exp2.c: Likewise.
16961 * math/w_exp2f.c: Likewise.
16962 * math/w_exp2l.c: Likewise.
16963 * math/w_j0.c: Likewise.
16964 * math/w_j0f.c: Likewise.
16965 * math/w_j0l.c: Likewise.
16966 * math/w_j1.c: Likewise.
16967 * math/w_j1f.c: Likewise.
16968 * math/w_j1l.c: Likewise.
16969 * math/w_jn.c: Likewise.
16970 * math/w_jnf.c: Likewise.
16971 * math/w_log.c: Likewise.
16972 * math/w_log10.c: Likewise.
16973 * math/w_log10f.c: Likewise.
16974 * math/w_log10l.c: Likewise.
16975 * math/w_log2.c: Likewise.
16976 * math/w_log2f.c: Likewise.
16977 * math/w_log2l.c: Likewise.
16978 * math/w_logf.c: Likewise.
16979 * math/w_logl.c: Likewise.
16980 * math/w_sqrt.c: Likewise.
16981 * math/w_sqrtf.c: Likewise.
16982 * math/w_sqrtl.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16984 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16985 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16986 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16987 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16988
ebaf36eb
JM
169892012-02-19 Joseph Myers <joseph@codesourcery.com>
16990
16991 [BZ #9739]
16992 * manual/string.texi (strnlen): Use correct parameter name in
16993 equivalent expression.
16994
71c254a6
JM
169952012-02-19 Joseph Myers <joseph@codesourcery.com>
16996
16997 [BZ #11174]
16998 * manual/users.texi (seteuid): Consistently use neweuid for
16999 argument name.
17000
16d2c631
JM
170012012-02-19 Joseph Myers <joseph@codesourcery.com>
17002
17003 [BZ #13704]
17004 * manual/nss.texi (Services in the NSS configuration): Correct
17005 list of services in example configuration file.
17006
cd837b09
NB
170072012-02-19 Nick Bowler <nbowler@draconx.ca>
17008
17009 [BZ #11322]
17010 * manual/arith.texi: Remove statements about negative zero
17011 behaving identically to zero.
17012
02c4bbad
JM
170132012-02-18 Joseph Myers <joseph@codesourcery.com>
17014
17015 [BZ #5993]
17016 * manual/install.texi: Do not document upgrading from libc5.
17017
366842e7
JM
170182012-02-18 Joseph Myers <joseph@codesourcery.com>
17019
17020 [BZ #4596]
17021 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17022
dd54084d
DM
170232012-02-18 David S. Miller <davem@davemloft.net>
17024
17025 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17026 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17027 %o7 across the call.
17028 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17029 instead.
17030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17031 SETUP_PIC_REG_LEAF.
17032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17033 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17034 * sysdeps/sparc/crtn.S: Likewise.
17035
2bcc53a3
UD
170362012-02-17 Ulrich Drepper <drepper@gmail.com>
17037
17038 * aout/Makefile: Remove.
17039
09c093b5
RK
170402012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17041
17042 [BZ #13058]
17043 * manual/examples/argp-ex1.c (main): Format definition in GNU
17044 style.
17045 * manual/examples/argp-ex2.c (main): Likewise.
17046 * manual/examples/argp-ex3.c (main): Likewise.
17047 * manual/examples/argp-ex4.c (main): Likewise.
17048 * manual/examples/longopt.c (main): Use new-style prototype
17049 definition.
17050 * manual/examples/strncat.c (main): Specify return type and use
17051 (void) for arguments.
17052 * manual/examples/subopt.c (main): Use char **argv argument.
17053
2ee633a2
JM
170542012-02-17 Joseph Myers <joseph@codesourcery.com>
17055
17056 [BZ #5077]
17057 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17058 rounding modes.
17059
0520adde
FB
170602012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17061
17062 [BZ #6907]
17063 * manual/string.texi (strchr): Change when strchrnul is
17064 recommended.
17065
3f4081cd
DGM
170662012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17067
17068 [BZ #174]
17069 * manual/locale.texi (setlocale): Document LOCPATH.
17070
d1b10e78
JM
170712012-02-17 Joseph Myers <joseph@codesourcery.com>
17072
17073 [BZ #10210]
17074 * manual/process.texi (execle): Move @dots{} before last argument.
17075
79c6869c
PB
170762012-02-17 Paul Bolle <pebolle@tiscali.nl>
17077
17078 [BZ #12047]
17079 * manual/charset.texi (Generic Charset Conversion): Fix typo
17080 (LC_TYPE -> LC_CTYPE).
17081
cc6e48bc
NB
170822012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17083
17084 [BZ #5805]
17085 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17086 (scalbnf): Likewise.
17087 (scalbnl): Likewise.
17088 (scalbln): Likewise.
17089 (scalblnf): Likewise.
17090 (scalblnl): Likewise.
17091 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17092 (vwarnx): Likewise.
17093 (verr): Likewise.
17094 (verrx): Likewise.
17095 * manual/filesys.texi (telldir): Use braces around return type.
17096 * manual/llio.texi (mmap): Add space after comma.
17097 (mmap64): Likewise.
17098 * manual/math.texi (jn): Use @var{} on parameter names.
17099 (jnf): Likewise.
17100 (jnl): Likewise.
17101 (yn): Likewise.
17102 (ynf): Likewise.
17103 (ynl): Likewise.
17104 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17105 line.
17106 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17107 "...".
17108 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17109 (sched_get_priority_max): Likewise.
17110 * manual/signal.texi (sigvec): Add space after comma.
17111 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17112 names.
17113 (if_indextoname): Likewise.
17114 (if_freenameindex): Likewise.
17115 (sendto): Use ',' instead of '.' in prototype.
17116 * manual/startup.texi (syscall): Use @dots{} instead of literal
17117 "...".
17118 * manual/stdio.texi (__fpending): Separate initial words of
17119 paragraph from @deftypefun line.
17120 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17121 "...".
17122 (vsyslog): Use @var{} on parameter names.
17123 * manual/terminal.texi (stty): Use @var{} on parameter names.
17124 * manual/users.texi (getutmp): Use @var{} on parameter names.
17125 (getutmpx): Likewise.
17126
5b23062f
JM
171272012-02-17 Joseph Myers <joseph@codesourcery.com>
17128
17129 [BZ #6884]
17130 * manual/stdio.texi (fopen): Fix typos in description of
17131 ",ccs=STRING".
17132
8dee4833
AJ
171332012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17134
17135 [BZ #4026]
17136 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17137 get clock_id definition.
17138
9078ce93
TS
171392012-02-17 Thomas Schwinge <thomas@schwinge.name>
17140
17141 [BZ #4822]
17142 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17143 (madvise): Cast every argument to void on its own.
17144
3835c55f
JM
171452012-02-17 Joseph Myers <joseph@codesourcery.com>
17146
17147 [BZ #9902]
17148 * manual/startup.texi (Exit Status): Fix typo.
17149
35c47e37
JM
171502012-02-17 Joseph Myers <joseph@codesourcery.com>
17151
17152 [BZ #10140]
17153 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17154 * manual/examples/argp-ex2.c: Likewise.
17155 * manual/examples/argp-ex3.c: Likewise.
17156
e3b69ca7
RH
171572012-02-16 Richard Henderson <rth@redhat.com>
17158
17159 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17160 * sysdeps/s390/s390-32/initfini.c: Remove.
17161 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17162 * sysdeps/s390/s390-64/initfini.c: Remove.
17163
df83af67
KK
171642012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17165
17166 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17167 compiler output for sysdeps/generic/initfini.c.
17168 * sysdeps/sh/elf/initfini.c: Remove file.
17169
f63f3380
DM
171702012-02-16 David S. Miller <davem@davemloft.net>
17171
fb59b3a4
DM
17172 [BZ #11494]
17173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17174
f63f3380
DM
17175 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17176 * sysdeps/sparc/crti.S: New file.
17177 * sysdeps/sparc/crtn.S: New file.
17178 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17179 * sysdeps/sparc/sparc64/Makefile: Likewise.
17180
df6a4a4a
MF
171812012-02-15 Mike Frysinger <vapier@gentoo.org>
17182
6dd8f3dc 17183 [BZ #3335]
df6a4a4a
MF
17184 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17185
1cac7236
RM
171862012-02-15 Roland McGrath <roland@hack.frob.com>
17187
d2c736f8
RM
17188 [BZ #4822]
17189 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17190
1cac7236
RM
17191 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17192 (write, read, close): Likewise.
17193 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17194
8e475601
JM
171952012-02-15 Joseph Myers <joseph@codesourcery.com>
17196
17197 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17198 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17199 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17200 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17201 <bits/signalfd.h>.
17202 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17204 bits/signalfd.h.
17205
ed656b40
MP
172062012-02-14 Marek Polacek <polacek@redhat.com>
17207
17208 * sysdeps/x86_64/crti.S: New file.
17209 * sysdeps/x86_64/crtn.S: New file.
17210 * sysdeps/x86_64/elf/initfini.c: Remove file.
17211
2a979d3a
JM
172122012-02-13 Joseph Myers <joseph@codesourcery.com>
17213
17214 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17215 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17216 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17217 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17218 <bits/inotify.h>.
17219 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17221 bits/inotify.h.
17222
2a418ac3
JM
172232012-02-13 Joseph Myers <joseph@codesourcery.com>
17224
17225 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17226 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17227 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17228 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17229 <bits/eventfd.h>.
17230 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17232 bits/eventfd.h.
17233
fb779be7
TS
172342012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17235
e19e83c5
RM
17236 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17237 __feraiseexcept instead of feraiseexcept.
7c35ffed 17238
fb779be7
TS
17239 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17240 nanosleep invocations.
17241 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17242 strings, and add error checking for a nanosleep invocations.
17243
59ba27a6
PE
172442012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17245
17246 Replace FSF snail mail address with URLs, as per GNU coding standards.
17247 Most of the snail mail addresses were wrong anyway, and omitting
17248 them makes the source code easier to maintain. Almost all of the
17249 changes are to license notices and to locale LC_IDENTIFICATION
17250 addresses, except for this one:
17251 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17252 not its snail mail address.
17253
57b957eb
RH
172542012-02-09 Richard Henderson <rth@twiddle.net>
17255
af850b1c
RH
17256 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17257 of kernel-features.h.
17258
57b957eb
RH
17259 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17260
6b73181a
MP
172612012-02-08 Marek Polacek <polacek@redhat.com>
17262
17263 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17264 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17265 * sysdeps/gnu/_G_config.h: Likewise.
17266 * sysdeps/generic/_G_config.h: Likewise.
17267
26ecc33a
AS
172682012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17269
6c6dbc63
AS
17270 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17271 tests.
17272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17273
e216c012
AS
17274 * sysdeps/powerpc/powerpc32/crti.S: New file.
17275 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17276 * sysdeps/powerpc/powerpc64/crti.S: New file.
17277 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17278
26ecc33a
AS
17279 * Makeconfig (have-initfini): Don't set.
17280 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17281 * configure.in (nopic_initfini): Don't substitute.
17282 * config.h.in (HAVE_INITFINI): Don't #undef.
17283 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17284 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17285
3add8e13
JM
172862012-02-08 Joseph Myers <joseph@codesourcery.com>
17287
17288 Support crti.S and crtn.S provided directly by architectures.
17289 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17290 [crti.S in sysdirs] (omit-deps): Likewise.
17291 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17292 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17293 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17294 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17295 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17296 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17297 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17298 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17299 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17300 compiler output for sysdeps/generic/initfini.c.
17301 * sysdeps/i386/elf/Makefile: Remove file.
17302 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17303
a22f12b4
MP
173042012-02-07 Marek Polacek <polacek@redhat.com>
17305
17306 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17307 * sysdeps/gnu/_G_config.h: Likewise.
17308 * sysdeps/mach/hurd/_G_config.h: Likewise.
17309
148cf100
MP
173102012-02-07 Marek Polacek <polacek@redhat.com>
17311
17312 * math/Makefile (tests): Add tst-CMPLX2.
17313 * math/tst-CMPLX2.c: New file.
17314
cfdc0dd7
AS
173152012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17316
84ba42c4
AS
17317 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17318
cfdc0dd7
AS
17319 * math/libm-test.inc (jn_test): Add missing L suffix.
17320
622c86f4
MP
173212012-02-06 Marek Polacek <polacek@redhat.com>
17322
17323 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17324 * sysdeps/i386/fpu/e_powf.S: Likewise.
17325 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17326 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17327 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17328 * sysdeps/i386/fpu/e_pow.S: Likewise.
17329 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17330 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17331 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17332 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17333 * sysdeps/i386/fpu/e_log2.S: Likewise.
17334 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17335 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17336 * sysdeps/i386/fpu/e_powl.S: Likewise.
17337 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17338 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17339 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17340 * sysdeps/i386/fpu/e_logl.S: Likewise.
17341 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17342 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17343 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17344 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17345 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17346 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17347 * sysdeps/i386/fpu/e_log.S: Likewise.
17348 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17349 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17350 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17351 * sysdeps/i386/fpu/e_logf.S: Likewise.
17352 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17353 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17354 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17355 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17356 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17357 * sysdeps/i386/fpu/e_log10.S: Likewise.
17358 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17359 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17360 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17361 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17362 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17363 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17364 * sysdeps/i386/asm-syntax.h: Likewise.
17365 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17367 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17368 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17369 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17370 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17371 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17372 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17373 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17374 * sysdeps/powerpc/sysdep.h: Likewise.
17375 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17376 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17377
d4a54ac6
JM
173782012-02-06 Joseph Myers <joseph@codesourcery.com>
17379
17380 [BZ #411]
17381 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17382
314054ea
JM
173832012-02-06 Joseph Myers <joseph@codesourcery.com>
17384
17385 * sysdeps/i386/sysdep.h: Include <features.h>.
17386 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17387 version.
17388
d8e0ca50
JM
173892012-02-05 Joseph Myers <joseph@codesourcery.com>
17390
17391 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17392 Define.
17393 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17394 LOAD_PIC_REG_STR.
17395
b1da7dd9
JM
173962012-02-03 Joseph Myers <joseph@codesourcery.com>
17397
17398 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17399 (SETUP_PIC_REG): Use GET_PC_THUNK.
17400 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17401 macro.
17402
9a1d9254
JM
174032012-02-03 Joseph Myers <joseph@codesourcery.com>
17404
17405 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17406 for non-PIC compilation.
17407 (SETUP_PIC_REG): Add .p2align directive.
17408 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17409 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17410 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17411 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17412 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17413 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17414 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17415 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17416 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17417 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17418 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17419 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17420 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17421 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17422 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17423 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17424 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17425 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17426 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17427 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17428 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17429 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17430 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17431 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17436 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17437 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17438 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17440 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17441 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17442 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17443 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17444 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17445 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17446 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17447 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17448 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17449
65dc3b75
JM
174502012-02-03 Joseph Myers <joseph@codesourcery.com>
17451
17452 * math/tst-CMPLX.c: Include <stdio.h>.
17453
d55bf177
JM
174542012-01-31 Joseph Myers <joseph@codesourcery.com>
17455
17456 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17457 float.
17458 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17459 * sysdeps/sparc/bits/mathdef.h: Likewise.
17460
69db4f8f
MP
174612012-01-31 Marek Polacek <polacek@redhat.com>
17462
17463 * libio/libio.h: Don't define _PARAMS.
17464 * locale/programs/config.h: Don't define PARAMS.
17465 * stdlib/strtol_l.c: Likewise.
17466 (__strtol_l): Remove PARAMS from the prototype.
17467
41b81892
UD
174682012-01-31 Ulrich Drepper <drepper@gmail.com>
17469
3b49edc0
UD
17470 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17471 names. Just use the correct names. Remove unnecessary wrapper
17472 functions.
17473 * malloc/arena.c: Likewise.
17474 * malloc/hooks.c: Likewise.
17475
41b81892
UD
17476 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17477 ARENA_TEST says not to. Simplify test for creation of a new arena.
17478 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17479
27a25b6e
UD
174802012-01-30 Ulrich Drepper <drepper@gmail.com>
17481
17482 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17483 into tail calls.
17484 (update_get_addr): New function.
17485 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17486 GET_ADDR_MODULE parameter.
17487
c8a89e7d
JM
174882012-01-30 Joseph Myers <joseph@codesourcery.com>
17489
17490 * crypt/cert.c: Remove __STDC__ conditionals.
17491 * crypt/crypt-entry.c: Likewise.
17492 * crypt/crypt_util.c: Likewise.
17493 * libio/filedoalloc.c: Likewise.
17494 * libio/fileops.c: Likewise.
17495 * libio/genops.c: Likewise.
17496 * libio/iofclose.c: Likewise.
17497 * libio/iofdopen.c: Likewise.
17498 * libio/iofopen.c: Likewise.
17499 * libio/iofopen64.c: Likewise.
17500 * libio/iogetdelim.c: Likewise.
17501 * libio/iopopen.c: Likewise.
17502 * libio/obprintf.c: Likewise.
17503 * libio/oldfileops.c: Likewise.
17504 * libio/oldiofclose.c: Likewise.
17505 * libio/oldiofdopen.c: Likewise.
17506 * libio/oldiofopen.c: Likewise.
17507 * libio/oldiopopen.c: Likewise.
17508 * libio/wfiledoalloc.c: Likewise.
17509 * libio/wgenops.c: Likewise.
17510 * locale/programs/xmalloc.c: Likewise.
17511 * misc/syslog.c: Likewise.
17512 * stdio-common/xbug.c: Likewise.
17513 * string/memchr.c: Likewise.
17514 * string/memcmp.c: Likewise.
17515 * string/memrchr.c: Likewise.
17516 * string/rawmemchr.c: Likewise.
17517 * sysdeps/posix/getcwd.c: Likewise.
17518 * time/strftime_l.c: Likewise.
17519
3b100462
JM
175202012-01-30 Joseph Myers <joseph@codesourcery.com>
17521
17522 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17523 * config.make.in (config-cflags-sse2avx): Define.
17524 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17525 Fix typo.
17526
607998af
CM
175272012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17528
17529 * scripts/config.guess: Update from upstream config git repository.
17530 * scripts/config.sub: Likewise.
17531
3601428f
CM
175322012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17533
3ac8b282
CM
17534 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17535 (EM_NUM): Update.
17536 (R_TILEPRO_*, R_TILEGX_*): New macros.
17537
e034841e
CM
17538 * scripts/firstversions.awk: Fix bug in version range handling.
17539
540d7568
CM
17540 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17541
3601428f
CM
17542 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17543
463de862
CM
17544 * include/sys/epoll.h: New file.
17545 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17546 libc_hidden_def.
17547
73139a76
UD
175482012-01-28 Ulrich Drepper <drepper@gmail.com>
17549
96bc5b45
UD
17550 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17551 Avoid unnecessary __WORDSIZE == 64 test.
17552 (fmaxf): Use VEX format if possible.
17553 (fmax): Likewise.
17554 (fminf): Likewise.
17555 (fmin): Likewise.
17556
56f6f6a2
UD
17557 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17558 * math/math_private.h: Remove libc_fegetround* and
17559 libc_fesetround*.
17560 * sysdeps/i386/configure.in: Check for -msse2avx.
17561 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17562 also if SSE2AVX is defined.
17563 Remove libc_fegetround* and libc_fesetround*.
17564 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17565 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17567 of HAS_YMM_USABLE.
17568 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17569 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17570 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17571 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17572 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17573
73139a76
UD
17574 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17575
d73f93a4
AZ
175762012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17577
17578 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17579 size is not set.
17580 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17581
6ee65ed6
UD
175822012-01-27 Ulrich Drepper <drepper@gmail.com>
17583
17584 [BZ #13618]
17585 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17586 relocation.
17587 * Makeconfig (libm): Define.
17588 * elf/Makefile: Add rules to build and run tst-relsort1.
17589 * elf/tst-relsort1.c: New file.
17590 * elf/tst-relsort1mod1.c: New file.
17591 * elf/tst-relsort1mod2.c: New file.
17592
8db21882
JM
175932012-01-27 Joseph Myers <joseph@codesourcery.com>
17594
17595 * math/s_ldexp.c: Remove __STDC__ conditionals.
17596 * math/s_ldexpf.c: Likewise.
17597 * math/s_ldexpl.c: Likewise.
17598 * math/s_nextafter.c: Likewise.
17599 * math/s_nexttowardf.c: Likewise.
17600 * math/s_significand.c: Likewise.
17601 * math/s_significandf.c: Likewise.
17602 * math/s_significandl.c: Likewise.
17603 * math/w_jnl.c: Likewise.
17604 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17605 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17606 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17607 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17608 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17610 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17611 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17612 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17614 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17616 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17619 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17621 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17623 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17624 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17625 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17626 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17628 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17629 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17630 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17631 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17632 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17633 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17634 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17635 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17638 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17639 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17640 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17641 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17642 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17643 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17644 * sysdeps/ieee754/k_standard.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17653 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17676 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17680 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17690 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17706 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17711 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17719 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17720 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17722 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17723 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17724 * sysdeps/ieee754/s_matherr.c: Likewise.
17725 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17726 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17729
965a54a4
JM
177302012-01-26 Joseph Myers <joseph@codesourcery.com>
17731
17732 * crypt/md5.h: Remove __STDC__ conditionals.
17733 * libio/libioP.h: Likewise.
17734 * locale/programs/config.h: Likewise.
17735 * sysdeps/generic/sysdep.h: Likewise.
17736 * sysdeps/i386/asm-syntax.h: Likewise.
17737 * sysdeps/s390/asm-syntax.h: Likewise.
17738 * sysdeps/unix/sysdep.h: Likewise.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17741
7071ad79
JM
177422012-01-26 Joseph Myers <joseph@codesourcery.com>
17743
17744 * libio/libio.h: Remove __STDC__ conditionals.
17745 * malloc/obstack.h: Likewise.
17746 * math/complex.h: Likewise.
17747 * math/math.h: Likewise.
17748 * sysdeps/generic/_G_config.h: Likewise.
17749 * sysdeps/gnu/_G_config.h: Likewise.
17750 * sysdeps/mach/hurd/_G_config.h: Likewise.
17751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17752 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17753 * sysdeps/sparc/bits/mathdef.h: Likewise.
17754
afc5ed09
UD
177552012-01-26 Ulrich Drepper <drepper@gmail.com>
17756
17757 [BZ #13583]
17758 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17759 Clean up HAS_* macros.
afc5ed09 17760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17761 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17762 possible.
17763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17764 HAS_AVX.
17765 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17766 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17767 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17769 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17770
bdb6de1d
JM
177712012-01-25 Joseph Myers <joseph@codesourcery.com>
17772
17773 * elf/tst-unique3.cc (gets): Remove declaration.
17774 * elf/tst-unique3lib.cc (gets): Likewise.
17775 * elf/tst-unique3lib2.cc (gets): Likewise.
17776 * elf/tst-unique4.cc (gets): Likewise.
17777
b15549e6
UD
177782012-01-24 Ulrich Drepper <drepper@gmail.com>
17779
17780 * include/stdio.h: Add C++ protection. Add gets declarations and
17781 definitions.
17782 * debug/tst-chk1.c: Don't declare gets here.
17783 * stdio-common/tst-gets.c: Likewise.
17784
a037381f
JM
177852012-01-24 Joseph Myers <joseph@codesourcery.com>
17786
17787 * posix/glob: Remove directory.
17788
f1d4aa75
JM
177892012-01-24 Joseph Myers <joseph@codesourcery.com>
17790
17791 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17792
81c0c964
PT
177932012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17794
17795 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17796 of the non-standard EPFNOSUPPORT.
17797
0ea698ae
ST
177982011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17799
17800 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17801 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17802 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17803
d220b117
UD
178042012-01-21 Ulrich Drepper <drepper@gmail.com>
17805
17806 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17807
3e1aa84e
UD
178082012-01-20 Ulrich Drepper <drepper@gmail.com>
17809
17810 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17811 transient errors.
17812 * nscd/grpcache.c (cache_addgr): Likewise.
17813 * nscd/hstcache.c (cache_addhst): Likewise.
17814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17815 * nscd/pwdcache.c (cache_addpw): Likewise.
17816 * nscd/servicescache.c (cache_addserv): Likewise.
17817
400aa020
UD
178182012-01-16 Ulrich Drepper <drepper@gmail.com>
17819
d77e7869
UD
17820 * malloc/malloc.c: Various cleanups.
17821 * malloc/hooks.c: Likewise.
17822
400aa020
UD
17823 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17824 * stdlib/bug-fmtmsg1.c: New file.
17825
17826 * stdlib/fmtmsg.c (init): Add missing unlock.
17827 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17828
e0a309cf
MP
178292012-01-12 Marek Polacek <polacek@redhat.com>
17830
17831 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17832 and _GNU_SOURCE.
17833
929d11c7
WS
178342012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17835
17836 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17837 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17838 macro to ensure uniqueness of label name.
17839 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17840 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17841
41d0e869
UD
178422012-01-11 Ulrich Drepper <drepper@gmail.com>
17843
0cc5ed3b
UD
17844 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17845
41d0e869
UD
17846 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17847 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17848 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17850
a47a831a
UD
178512012-01-10 Ulrich Drepper <drepper@gmail.com>
17852
daa891c0
UD
17853 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17854
17855 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17856 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17857 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17858
e58ef0f2
UD
17859 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17860
a47a831a 17861 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17862 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17863 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17865
17866 * math/bits/math-finite.h: Add ldexp support.
17867
a0bfc9c7
MP
178682012-01-10 Marek Polacek <polacek@redhat.com>
17869
17870 * locale/programs/localedef.h (show_archive_content): Add noreturn
17871 attribute.
17872
d6e97a1d
UD
178732012-01-09 Ulrich Drepper <drepper@gmail.com>
17874
17875 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17876
d5835c26
UD
178772012-01-08 Ulrich Drepper <drepper@gmail.com>
17878
e5f484c6
UD
17879 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17880
d5835c26
UD
17881 * io/Makefile (headers): Add bits/poll2.h.
17882
d1f741e9
WS
178832011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17884
17885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17886 typo #include statement.
17887
ec09c1c4
UD
178882012-01-08 Ulrich Drepper <drepper@gmail.com>
17889
17890 * include/sys/cdefs.h: Define __attribute_alloc_size.
17891 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17892 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17893 * elf/pldd.c: Likewise.
17894 * iconv/iconv_charmap.c: Likewise.
17895 * iconv/iconvconfig.c: Likewise.
17896 * iconv/strtab.c: Likewise.
17897 * locale/programs/locale.c: Likewise.
17898 * locale/programs/localedef.h: Likewise.
17899 * locale/programs/simple-hash.c: Likewise.
17900 * nscd/nscd.h: Likewise.
17901 * nss/makedb.c: Likewise.
17902 * sysdeps/generic/ldconfig.h: Likewise.
17903 * locale/programs/localedef.c: Remove xmalloc prototype.
17904 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17905
20b38e03
PP
179062012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17907
17908 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17909 appropriate.
17910
a0da5fe1
UD
179112012-01-08 Ulrich Drepper <drepper@gmail.com>
17912
1d5a644a 17913 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17914 * math/tst-CMPLX.c: New file.
1d5a644a 17915
8784a6db
UD
17916 * math/complex.h (CMPLXL): Fix typo.
17917
d9a216c0
UD
17918 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17919 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17920 GLIBC_2.16.
17921 * debug/tst-chk1.c: Add poll and ppoll tests.
17922 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17923 * include/sys/poll.h: Add hidden proto for ppoll.
17924 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17925 * sysdeps/mach/hurd/ppoll.c: Likewise.
17926 * io/ppoll.c: Likewise.
17927 * debug/poll_chk.c: New file.
17928 * debug/ppoll_chk.c: New file.
17929 * include/bits/poll2.h: New file.
17930 * io/bits/poll2.h: New file.
17931
ac097f5c
UD
17932 [BZ #1350]
17933 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17934
2119dcfa
UD
17935 * configure.in: static is always set to yes. Remove.
17936 * config.make.in: Don't set build-static.
17937 * Makeconfig: Remove use of build-static.
17938 * dlfcn/Makefile: Likewise.
17939 * elf/Makefile: Likewise.
17940 * math/Makefile: Likewise.
17941 * misc/Makefile: Likewise.
17942 * nptl/Makefile: Likewise.
17943 * sysdeps/mach/hurd/Makefile: Likewise.
17944
121766a9
UD
17945 * configure.in: PWD_P is not used anymore.
17946 * config.make.in: Remove PWD_P entry.
17947
51a1d39c 17948 * configure.in: Remove last remnants of RANLIB.
8720d066 17949 No need to check for signed size_t anymore.
215f4bdc
UD
17950 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17951 and IA-64.
3857022a 17952 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17953 * aclocal.m4: Likewise.
17954
d3ed7225
UD
17955 * wcsmbs/mbrtoc16.c: Implement using towc function.
17956 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17957 * wcsmbs/wcsmbsload.c: Likewise.
17958 * iconv/gconv_simple.c: Likewise.
17959 * iconv/gconv_int.h: Likewise.
17960 * iconv/gconv_builtin.h: Likewise.
17961 * iconv/iconv_prog.c: Remove CHAR16 handling.
17962
17963 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17964
17965 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17966
a0da5fe1
UD
17967 * configure.in: Remove --with-elf and --enable-bounded options.
17968 Dont set base_machine for ia64. More non-ELF conditions removed.
17969 Remove testing and setting of leading underscore information.
17970 * config.make.in (build-bounded): Set to no.
17971 * config.h.in: Remove NO_UNDERSCORES entry.
17972 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17973 them.
17974 * csu/start.c: Remove !NO_UNDERSCORE code.
17975 * locale/localeinfo.h: Likewise.
17976 * sysdeps/generic/machine-gmon.h: Likewise.
17977 * sysdeps/generic/sysdep.h: Likewise.
17978 * sysdeps/i386/sysdep.h: Likewise.
17979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17980 * sysdeps/mach/sysdep.h: Likewise.
17981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17982 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17983 * sysdeps/sh/sysdep.h: Likewise.
17984 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17985 * sysdeps/unix/i386/sysdep.S: Likewise.
17986 * sysdeps/unix/sparc/start.c: Likewise.
17987 * sysdeps/unix/sparc/sysdep.S: Likewise.
17988 * sysdeps/unix/sparc/sysdep.h: Likewise.
17989 * sysdeps/unix/start.c: Likewise.
17990 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17991 * sysdeps/x86_64/sysdep.h: Likewise.
17992
df78418a
UD
179932012-01-07 Ulrich Drepper <drepper@gmail.com>
17994
a784e502
UD
17995 [BZ #13553]
17996 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17997 for non-gcc.
17998 * argp/argp-fmtstream.h: Use const instead __const.
17999 * argp/argp.h: Likewise.
18000 * assert/assert.h: Likewise.
18001 * bits/fenv.h: Likewise.
18002 * bits/sched.h: Likewise.
18003 * bits/sigset.h: Likewise.
18004 * bits/sigthread.h: Likewise.
18005 * catgets/nl_types.h: Likewise.
18006 * conform/data/pthread.h-data: Likewise.
18007 * crypt/crypt-private.h: Likewise.
18008 * crypt/crypt.h: Likewise.
18009 * crypt/crypt_util.c: Likewise.
18010 * ctype/ctype.h: Likewise.
18011 * debug/execinfo.h: Likewise.
18012 * debug/mbsnrtowcs_chk.c: Likewise.
18013 * debug/mbsrtowcs_chk.c: Likewise.
18014 * debug/wcsnrtombs_chk.c: Likewise.
18015 * debug/wcsrtombs_chk.c: Likewise.
18016 * debug/wcstombs_chk.c: Likewise.
18017 * dirent/dirent.h: Likewise.
18018 * dlfcn/dlfcn.h: Likewise.
18019 * elf/neededtest4.c: Likewise.
18020 * grp/grp.h: Likewise.
18021 * gshadow/gshadow.h: Likewise.
18022 * iconv/gconv.h: Likewise.
18023 * iconv/gconv_int.h: Likewise.
18024 * iconv/gconv_simple.c: Likewise.
18025 * iconv/iconv.h: Likewise.
18026 * iconv/loop.c: Likewise.
18027 * iconv/skeleton.c: Likewise.
18028 * include/aio.h: Likewise.
18029 * include/aliases.h: Likewise.
18030 * include/argz.h: Likewise.
18031 * include/arpa/inet.h: Likewise.
18032 * include/assert.h: Likewise.
18033 * include/dirent.h: Likewise.
18034 * include/dlfcn.h: Likewise.
18035 * include/execinfo.h: Likewise.
18036 * include/fcntl.h: Likewise.
18037 * include/fenv.h: Likewise.
18038 * include/glob.h: Likewise.
18039 * include/grp.h: Likewise.
18040 * include/libintl.h: Likewise.
18041 * include/mntent.h: Likewise.
18042 * include/netdb.h: Likewise.
18043 * include/pwd.h: Likewise.
18044 * include/rpc/netdb.h: Likewise.
18045 * include/sched.h: Likewise.
18046 * include/search.h: Likewise.
18047 * include/shadow.h: Likewise.
18048 * include/signal.h: Likewise.
18049 * include/stdio.h: Likewise.
18050 * include/stdlib.h: Likewise.
18051 * include/string.h: Likewise.
18052 * include/sys/socket.h: Likewise.
18053 * include/sys/stat.h: Likewise.
18054 * include/sys/statfs.h: Likewise.
18055 * include/sys/statvfs.h: Likewise.
18056 * include/sys/syslog.h: Likewise.
18057 * include/sys/time.h: Likewise.
18058 * include/sys/uio.h: Likewise.
18059 * include/time.h: Likewise.
18060 * include/unistd.h: Likewise.
18061 * include/utmp.h: Likewise.
18062 * include/wchar.h: Likewise.
18063 * include/wctype.h: Likewise.
18064 * inet/aliases.h: Likewise.
18065 * inet/arpa/inet.h: Likewise.
18066 * inet/netinet/ether.h: Likewise.
18067 * inet/netinet/in.h: Likewise.
18068 * intl/libintl.h: Likewise.
18069 * io/bits/fcntl2.h: Likewise.
18070 * io/fcntl.h: Likewise.
18071 * io/ftw.h: Likewise.
18072 * io/sys/poll.h: Likewise.
18073 * io/sys/stat.h: Likewise.
18074 * io/sys/statfs.h: Likewise.
18075 * io/sys/statvfs.h: Likewise.
18076 * io/utime.h: Likewise.
18077 * libio/bits/stdio.h: Likewise.
18078 * libio/bits/stdio2.h: Likewise.
18079 * libio/libio.h: Likewise.
18080 * libio/libioP.h: Likewise.
18081 * libio/stdio.h: Likewise.
18082 * locale/lc-ctype.c: Likewise.
18083 * locale/locale.h: Likewise.
18084 * login/utmp.h: Likewise.
18085 * malloc/arena.c: Likewise.
18086 * malloc/malloc.c: Likewise.
18087 * malloc/malloc.h: Likewise.
18088 * malloc/mcheck.c: Likewise.
18089 * malloc/mtrace.c: Likewise.
18090 * math/bits/mathcalls.h: Likewise.
18091 * math/fenv.h: Likewise.
18092 * math/math_private.h: Likewise.
18093 * misc/bits/error.h: Likewise.
18094 * misc/bits/syslog.h: Likewise.
18095 * misc/err.h: Likewise.
18096 * misc/error.h: Likewise.
18097 * misc/fstab.h: Likewise.
18098 * misc/mntent.h: Likewise.
18099 * misc/regexp.h: Likewise.
18100 * misc/search.h: Likewise.
18101 * misc/sgtty.h: Likewise.
18102 * misc/sys/mman.h: Likewise.
18103 * misc/sys/syslog.h: Likewise.
18104 * misc/sys/uio.h: Likewise.
18105 * misc/sys/xattr.h: Likewise.
18106 * misc/ttyent.h: Likewise.
18107 * nis/rpcsvc/ypclnt.h: Likewise.
18108 * nss/nss.h: Likewise.
18109 * posix/bits/unistd.h: Likewise.
18110 * posix/fnmatch.h: Likewise.
18111 * posix/glob.h: Likewise.
18112 * posix/sched.h: Likewise.
18113 * posix/spawn.h: Likewise.
18114 * posix/sys/wait.h: Likewise.
18115 * posix/unistd.h: Likewise.
18116 * posix/wordexp.h: Likewise.
18117 * pwd/pwd.h: Likewise.
18118 * resolv/netdb.h: Likewise.
18119 * resource/sys/resource.h: Likewise.
18120 * rt/aio.h: Likewise.
18121 * rt/bits/mqueue2.h: Likewise.
18122 * rt/mqueue.h: Likewise.
18123 * shadow/shadow.h: Likewise.
18124 * signal/signal.h: Likewise.
18125 * socket/send.c: Likewise.
18126 * socket/sendto.c: Likewise.
18127 * socket/sys/socket.h: Likewise.
18128 * stdio-common/printf.h: Likewise.
18129 * stdlib/bits/stdlib.h: Likewise.
18130 * stdlib/fmtmsg.h: Likewise.
18131 * stdlib/monetary.h: Likewise.
18132 * stdlib/stdlib.h: Likewise.
18133 * stdlib/ucontext.h: Likewise.
18134 * streams/stropts.h: Likewise.
18135 * string/argz.h: Likewise.
18136 * string/bits/string2.h: Likewise.
18137 * string/string.h: Likewise.
18138 * string/strings.h: Likewise.
18139 * sunrpc/rpc/auth.h: Likewise.
18140 * sunrpc/rpc/auth_des.h: Likewise.
18141 * sunrpc/rpc/clnt.h: Likewise.
18142 * sunrpc/rpc/netdb.h: Likewise.
18143 * sunrpc/rpc/pmap_clnt.h: Likewise.
18144 * sunrpc/rpc/xdr.h: Likewise.
18145 * sysdeps/generic/inttypes.h: Likewise.
18146 * sysdeps/generic/net/if.h: Likewise.
18147 * sysdeps/generic/sys/swap.h: Likewise.
18148 * sysdeps/gnu/net/if.h: Likewise.
18149 * sysdeps/gnu/utmpx.h: Likewise.
18150 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18151 * sysdeps/i386/i486/bits/string.h: Likewise.
18152 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18153 * sysdeps/s390/bits/string.h: Likewise.
18154 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18155 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18156 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18157 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18158 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18159 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18160 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18161 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18162 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18163 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18164 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18165 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18166 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18167 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18168 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18169 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18170 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18172 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18174 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18175 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18176 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18177 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18178 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18179 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18180 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18182 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18184 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18185 * sysvipc/sys/ipc.h: Likewise.
18186 * sysvipc/sys/msg.h: Likewise.
18187 * sysvipc/sys/sem.h: Likewise.
18188 * sysvipc/sys/shm.h: Likewise.
18189 * termios/termios.h: Likewise.
18190 * time/sys/time.h: Likewise.
18191 * time/time.h: Likewise.
18192 * wcsmbs/bits/wchar2.h: Likewise.
18193 * wcsmbs/uchar.h: Likewise.
18194 * wcsmbs/wchar.h: Likewise.
18195 * wctype/wctype.h: Likewise.
18196
0269750c
UD
18197 [BZ #13551]
18198 * Makeconfig: Remove all but ELF support including AIX support.
18199 * Makerules: Likewise.
18200 * config.h.in: Likewise.
18201 * config.make.in: Likewise.
18202 * configure: Likewise.
18203 * configure.in: Likewise.
18204 * csu/Makefile: Likewise.
18205 * csu/version.c: Likewise.
18206 * debug/Makefile: Likewise.
18207 * dlfcn/Makefile: Likewise.
18208 * elf/Makefile: Likewise.
18209 * extra-lib.mk: Likewise.
18210 * iconv/Makefile: Likewise.
18211 * include/libc-symbols.h: Likewise.
18212 * include/shlib-compat.h: Likewise.
18213 * resolv/Makefile: Likewise.
18214 * resolv/res_libc.c: Likewise.
18215 * rt/Makefile: Likewise.
18216 * sysdeps/i386/asm-syntax.h: Likewise.
18217 * sysdeps/i386/sysdep.h: Likewise.
18218 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18219 * sysdeps/mach/sysdep.h: Likewise.
18220 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18221 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18222 * sysdeps/s390/asm-syntax.h: Likewise.
18223 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18225 * sysdeps/sh/sysdep.h: Likewise.
18226 * sysdeps/unix/sparc/sysdep.h: Likewise.
18227 * sysdeps/wordsize-32/divdi3.c: Likewise.
18228 * sysdeps/x86_64/sysdep.h: Likewise.
18229
00bbd29b
UD
18230 * argp/Versions: Remove _argp_unlock_xxx.
18231
18232 [BZ #13559]
18233 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18234 * abilist/libBrokenLocale.abilist: Likewise.
18235 * abilist/libanl.abilist: Likewise.
18236 * abilist/libc.abilist: Likewise.
18237 * abilist/libcrypt.abilist: Likewise.
18238 * abilist/libdl.abilist: Likewise.
18239 * abilist/libm.abilist: Likewise.
18240 * abilist/libnsl.abilist: Likewise.
18241 * abilist/libpthread.abilist: Likewise.
18242 * abilist/libresolv.abilist: Likewise.
18243 * abilist/librt.abilist: Likewise.
18244 * abilist/libthread_db.abilist: Likewise.
18245 * abilist/libutil.abilist: Likewise.
18246 * abilist/libnss_db.abilist: New file.
18247
18248 * scripts/abilist.awk: Add support for indirect functions.
18249
a2693a0e
UD
18250 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18251
3f05895f
UD
18252 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18253
ecb6fb48
UD
18254 * shlib-versions: Remove entries for ports architectures.
18255
664f8cb9
UD
18256 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18257 files in ports.
18258 * elf/stackguard-macros.h: Remove support for IA-64.
18259 * elf/tst-auditmod1.c: Likewise.
18260 * sysdeps/generic/ldsodefs.h: Likewise.
18261
7ae81d88
UD
18262 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18263 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18264 configure files.
18265
bdeba135
UD
18266 [BZ #13552]
18267 * configure.in: Remove --enable-omitfp support.
18268 * FAQ.in: Adjust.
18269 * config.make.in: Likewise.
18270 * Makeconfig: Likewise.
18271 * manual/install.texi: Likewise.
18272
d75a0a62
UD
18273 In case anyone cares, the IA-64 architecture could move to ports.
18274 * sysdeps/ia64/*: Removed.
18275 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18276 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18277
dcc9756b
UD
18278 [BZ #13555]
18279 * configure.in: Remove entries for unsupported architectures.
18280
d3761ebc 18281 [BZ #13533]
9954432e
UD
18282 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18283 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18284 routines.
18285 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18286 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18287 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18288 fall back to using wcrtomb.
18289 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18290 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18291 renaming.
18292 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18293 * wcsmbs/tst-c16c32-1.c: New file.
18294
18295 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18296 local variable.
18297
c3a87236
UD
18298 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18299
28926a1b
UD
18300 * elf/tst-unique3.cc: Add explicit declaration of gets.
18301 * elf/tst-unique3lib.cc: Likewise.
18302 * elf/tst-unique3lib2.cc: Likewise.
18303 * elf/tst-unique4.cc: Likewise.
18304
df78418a
UD
18305 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18306
8ecd6b2a
JM
183072012-01-06 Joseph Myers <joseph@codesourcery.com>
18308
18309 [BZ #13566]
18310 * assert/assert.h (static_assert): Don't define for C++.
18311 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18312 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18313
9f115170
UD
183142012-01-03 Ulrich Drepper <drepper@gmail.com>
18315
5e0d0300
UD
18316 * iconv/loop.c (single loop): Fix assertion in storing of
18317 remaining bytes.
18318
9f115170
UD
18319 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18320
81fb02b0
UD
183212012-01-01 Ulrich Drepper <drepper@gmail.com>
18322
18323 * posix/getconf.c: Update copyright year.
18324 * nss/getent.c: Likewise.
a316c1f6 18325 * nss/makedb.c: Likewise.
81fb02b0
UD
18326 * iconv/iconvconfig.c: Likewise.
18327 * iconv/iconv_prog.c: Likewise.
18328 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18329 * elf/pldd.c: Likewise.
18330 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18331 * catgets/gencat.c: Likewise.
18332 * csu/version.c: Likewise.
18333 * elf/ldd.bash.in: Likewise.
18334 * elf/sprof.c (print_version): Likewise.
18335 * locale/programs/locale.c: Likewise.
18336 * locale/programs/localedef.c: Likewise.
a316c1f6 18337 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18338 * nscd/nscd.c (print_version): Likewise.
18339 * debug/xtrace.sh: Likewise.
18340 * malloc/memusage.sh: Likewise.
18341 * malloc/mtrace.pl: Likewise.
18342 * debug/catchsegv.sh: Likewise.
18343
2ba92745
JJ
183442011-12-30 Jakub Jelinek <jakub@redhat.com>
18345
18346 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18347 pure attribute.
18348
dadebdae
UD
183492011-12-24 Ulrich Drepper <drepper@gmail.com>
18350
d3761ebc 18351 [BZ #13533]
db6af3eb
UD
18352 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18353 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18354 transformations.
18355 * iconv/gconv_int.h: Likewise.
18356 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18357 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18358 from libc for GLIBC_2.16.
18359 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18360 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18361 * wcsmbs/uchar.h: Really define mbstate_t.
18362 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18363 * wcsmbs/c16rtomb.c: New file.
18364 * wcsmbs/mbrtoc16.c: New file.
18365 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18366 for C/POSIX locale.
18367 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18368 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18369
dadebdae
UD
18370 * wcsmbs/wchar.h: Add missing __restrict.
18371
67371b56
UD
183722011-12-23 Ulrich Drepper <drepper@gmail.com>
18373
74033a25
UD
18374 [BZ #13532]
18375 * time/Makefile (routines): Add timespec_get.
18376 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18377 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18378 timespec for ISO C11.
18379 * time/timespec_get.c: New file.
18380 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18381 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18382
380d7e87
UD
18383 [BZ #13531]
18384 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18385 * stdlib/stdlib.h: Declare aligned_alloc.
18386 * Versions.def: Add GLIBC_2.16 for libc.
18387 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18388
4e9e7a35
UD
18389 [BZ 13527]
18390 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18391 ISO C11.
18392
380d7e87 18393 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18394 code.
18395
03a71829
UD
18396 [BZ #13528]
18397 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18398
839e283e
UD
18399 [BZ #13529]
18400 * assert/assert.h (static_assert): Define.
18401
ce5294e2 18402 * version.h: Update for 2.16 development version.
90fa7312 18403
8d44e150 18404 [BZ #13526]
d7809905
UD
18405 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18406 _ISOC11_SOURCE.
18407
c0da14cd
UD
18408 * version.h (RELEASE): Bump for 2.15 release.
18409 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18410
530a3249
MP
18411 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18412 Patch by Marek Polacek <mpolacek@redhat.com>.
18413
67371b56
UD
18414 * bits/byteswap.h: Protect long long constants with __extension__.
18415 * sysdeps/i386/bits/byteswap.h: Likewise.
18416 * sysdeps/ia64/bits/byteswap.h: Likewise.
18417 * sysdeps/s390/bits/byteswap.h: Likewise.
18418 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18419
15db4de1
LD
184202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18421
18422 [BZ #13540]
bbe315ea
LD
18423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18424 destination buffer.
15db4de1
LD
18425 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18426
2b2596b1
MP
184272011-12-23 Marek Polacek <polacek@redhat.com>
18428
18429 * elf/dl-addr.c (determine_info): Add inline keyword.
18430 * elf/tst-auditmod4b.c (check_avx): Likewise.
18431 * elf/tst-auditmod6b.c (check_avx): Likewise.
18432 * elf/tst-auditmod6c.c (check_avx): Likewise.
18433 * elf/tst-auditmod7b.c (check_avx): Likewise.
18434
70c6c246
UD
184352011-12-23 Ulrich Drepper <drepper@gmail.com>
18436
18437 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18438 !__SSE_MATH__.
18439
c044cf14
LD
184402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18441
15db4de1 18442 [BZ #13540]
c044cf14
LD
18443 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18444 processing for last bytes.
18445
6b13d9d9
BH
184462011-08-06 Bruno Haible <bruno@clisp.org>
18447
d455f537
BH
18448 [BZ #13061]
18449 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18450 U+0385, not to U+1FEE.
18451
6b13d9d9
BH
18452 [BZ #13062]
18453 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18454 entry for U+00A5 U+0301.
18455
db910efd
UD
184562011-12-22 Ulrich Drepper <drepper@gmail.com>
18457
27deeafc
UD
18458 [BZ #13166]
18459 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18460 buffer for the output is too small.
18461
aed9d171
UD
18462 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18463 optimization.
18464
db910efd
UD
18465 [BZ #13185]
18466 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18467 SSE flags if possible.
18468
2bd779ae
LD
184692011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18470
e7f9dac3 18471 [BZ #13540]
2bd779ae
LD
18472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18473 processing for last bytes.
18474
154bfc16
JM
184752011-12-22 Joseph Myers <joseph@codesourcery.com>
18476
18477 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18478 (syscall-list-default-options, syscall-list-default-condition)
18479 (syscall-list-includes): Define.
18480 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18481 list of ABIs and options and #if conditions for each ABI. Do not
18482 handle common syscalls between ABIs specially.
18483 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18484 Remove.
18485 (syscall-list-variants, syscall-list-32bit-options)
18486 (syscall-list-32bit-condition, syscall-list-64bit-options)
18487 (syscall-list-64bit-condition): Define.
18488 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18489 (syscall-list-variants, syscall-list-32bit-options)
18490 (syscall-list-32bit-condition, syscall-list-64bit-options)
18491 (syscall-list-64bit-condition): Define.
18492 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18493 Remove.
18494 (syscall-list-variants, syscall-list-32bit-options)
18495 (syscall-list-32bit-condition, syscall-list-64bit-options)
18496 (syscall-list-64bit-condition): Define.
18497 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18498 Remove.
18499 (syscall-list-variants, syscall-list-32bit-options)
18500 (syscall-list-32bit-condition, syscall-list-64bit-options)
18501 (syscall-list-64bit-condition): Define.
18502
21eaf3a5
UD
185032011-12-22 Ulrich Drepper <drepper@gmail.com>
18504
16c6f992
UD
18505 * locale/iso-639.def: Add brx entry.
18506
41043168
UD
18507 [BZ #13328]
18508 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18509 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18510
21eaf3a5
UD
18511 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18512 __feraiseexcept_renamed.
18513
e3a851a2
UD
185142011-12-21 Ulrich Drepper <drepper@gmail.com>
18515
4920765e
UD
18516 [BZ #13538]
18517 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18518 EPOLLET with unsigned values.
18519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18521
e3a851a2
UD
18522 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18523 to large cancellation.
18524 * math/s_cacoshf.c: Likewise.
18525 * math/s_cacoshl.c: Likewise.
18526
b27e24b8
RK
185272011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18528
18529 [BZ #13305]
aebefeee 18530 [BZ #12786]
b27e24b8
RK
18531 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18532 * math/s_cacoshf.c: Likewise.
18533 * math/s_cacoshl.c: Likewise.
18534
ee190f67
UD
185352011-12-21 Ulrich Drepper <drepper@gmail.com>
18536
18537 [BZ #13439]
18538 * iconv/gconv.h: Define __GCONV_SWAP.
18539 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18540 * iconvdata/utf-16.c: Likewise.
18541 * iconvdata/utf-32.c: Likewise.
18542
707f25df
AS
185432011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18544
18545 [BZ #13524]
18546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18547 numerator after shifting it by one limb.
18548
d2daaa1e
RÁE
185492011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18550
18551 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18552 under [__USE_EXTERN_INLINES].
18553
a4647e72
UD
185542011-12-17 Ulrich Drepper <drepper@gmail.com>
18555
18556 [BZ #13446]
18557 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18558
f0b264f1
AZ
185592011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18560
18561 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18562 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18563 optimized code.
18564 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18565 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18566 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18567 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18568 for strncasecmp/strncasecmp_l compilation.
18569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18570 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18571
8ef4f244
MP
185722011-12-08 Marek Polacek <mpolacek@redhat.com>
18573
18574 [BZ #13484]
18575 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18576 of __asm__.
18577
97ac2654
UD
185782011-12-17 Ulrich Drepper <drepper@gmail.com>
18579
18580 [BZ #13506]
18581 * time/tzfile.c (__tzfile_read): Check values from file header.
18582
91d2a845
WS
185832011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18584
18585 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18586 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18587 * powerpc/powerpc32/dl-start.S: Likewise.
18588 * powerpc/powerpc32/elf/start.S: Likewise.
18589 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18590 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18591 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18592 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18593 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18594 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18595 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18596 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18597 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18598 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18599 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18600 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18601 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18602 * powerpc/powerpc32/memset.S: Likewise.
18603 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18604 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18605 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18606 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18607 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18608 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18609 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18610 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18611 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18612 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18613 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18614 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18615 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18616
a1267ba1
AZ
186172011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18618
18619 * math/libm-test.inc: Added more nearbyint tests.
18620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18623 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18624
ad8ac1bd
RL
186252011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18626
18627 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18628 FD_CLOEXEC.
18629
1d3e4b61
UD
186302011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18631
18632 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18633 Add wcscpy-ssse3 wcscpy-c.
18634 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18635 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18636 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18637 * sysdeps/x86_64/wcschr.S: New file.
18638 * sysdeps/x86_64/wcsrchr.S: New file.
18639 * string/test-strcmp.c: Remove checking of wcscmp function for
18640 wrong alignments.
18641 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18642 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18643 wcsrchr-sse2 wcsrchr-c.
18644 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18645 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18646 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18647 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18648 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18649 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18650 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18651 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18652 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18653 * wcsmbc/wcschr.c (WCSCHR): New macro.
18654
5b330a2d
UD
186552011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18656
18657 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18658 * wcsmbs/test-wcsrchr.c: New file.
18659 * string/test-strrchr.c: Add wcsrchr support.
18660 (WIDE): New macro.
18661 * wcsmbs/test-wcscpy.c: New file.
18662 * string/test-strcpy.c: Add wcscpy support.
18663 (WIDE): New macro.
26428b7c 18664
f039c043
UD
186652011-12-10 Ulrich Drepper <drepper@gmail.com>
18666
18667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18668 the inner loop.
18669
850fb039
AS
186702011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18671
18672 [BZ #13472]
18673 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18674
4efbd5cb
UD
186752011-12-04 Ulrich Drepper <drepper@gmail.com>
18676
52ff5dd0 18677 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18678 Minor optimizations.
52ff5dd0 18679
4efbd5cb
UD
18680 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18681 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18682 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18683
8a426e12
UD
186842011-12-03 Ulrich Drepper <drepper@gmail.com>
18685
aff2453d
UD
18686 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18687 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18688 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18689 for gcc to avoid warnings.
18690 * inet/Makefile (tests): Add tst-checks.
18691 * inet/tst-checks.c: New file.
18692
18693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18694 warning.
18695
18696 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18697 __wmemcmp_sse2.
18698
18699 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18700 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18701
8a426e12
UD
18702 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18703
9bea3473
UD
187042011-12-02 Ulrich Drepper <drepper@gmail.com>
18705
3a965496
UD
18706 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18707 problem.
18708
9bea3473
UD
18709 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18710
f101631b
UD
187112011-11-29 Joseph Myers <joseph@codesourcery.com>
18712
18713 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18714 conditional on GCC version.
18715 (__arch_compare_and_exchange_val_8_acq)
18716 (__arch_compare_and_exchange_val_16_acq)
18717 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18718 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18719 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18720
a98275aa
UD
187212011-12-02 Joseph Myers <joseph@codesourcery.com>
18722
18723 * sysdeps/sh/backtrace.c: New file.
18724
d4cc29a2
AS
187252011-12-02 Andreas Schwab <schwab@redhat.com>
18726
18727 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18728 parenthesis.
18729
6257af2d
AS
187302011-12-01 Andreas Schwab <schwab@redhat.com>
18731
18732 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18733 falling back to utime.
18734
b5f44c1a
AS
187352011-11-30 Andreas Schwab <schwab@redhat.com>
18736
18737 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18738 expectations for float.
18739
f3a6cc0a
AS
187402011-11-29 Andreas Schwab <schwab@redhat.com>
18741
18742 * locale/weight.h (findidx): Add parameter len.
18743 * locale/weightwc.h (findidx): Likewise.
18744 * posix/fnmatch_loop.c (FCT): Adjust caller.
18745 * posix/regcomp.c (build_equiv_class): Likewise.
18746 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18747 * posix/regexec.c (check_node_accept_bytes): Likewise.
18748 * string/strcoll_l.c (STRCOLL): Likewise.
18749 * string/strxfrm_l.c (STRXFRM): Likewise.
18750
9d65ea3a
UD
187512011-11-17 Ulrich Drepper <drepper@gmail.com>
18752
18753 * Makefile.in: Remove CVSOPT handling.
18754 * configure.in: Remove use of AC_REVISION.
18755 * iconvdata/Makefile (distribute): No need to filter out CVS.
18756 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18757 handling.
18758
5583a086
AS
187592011-11-16 Andreas Schwab <schwab@redhat.com>
18760
18761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18762 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18763 [USE_AS_STRNCASECMP_L]: Likewise.
18764 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18765 NO_TLS_DIRECT_SEG_REFS.
18766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18767 Fix argument offsets for non-PIC.
18768 [USE_AS_STRNCASECMP_L]: Likewise.
18769 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18770 NO_TLS_DIRECT_SEG_REFS.
18771
d62a8200
UD
187722011-11-15 Ulrich Drepper <drepper@gmail.com>
18773
9d65ea3a 18774 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18775 O_CLOEXEC.
18776 * locale/loadlocale.c (_nl_load_locale): Likewise.
18777
09f93bd3
AS
187782011-11-15 Andreas Schwab <schwab@redhat.com>
18779
446514f9
AS
18780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18781 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18783 (SYSCALL_GETTIME): Set errno on error.
18784
09f93bd3
AS
18785 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18786 count references to noai6ai_cached.
18787
312be3f9
UD
187882011-11-15 Ulrich Drepper <drepper@gmail.com>
18789
18790 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18791
18792 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18793 FD_CLOEXEC for /proc/self/maps.
18794
18795 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18796 FD_CLOEXEC for /proc/meminfo.
18797
18798 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18799 gai.conf.
18800
18801 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18802 FD_CLOEXEC for given file.
18803
18804 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18805
18806 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18807 FD_CLOEXEC for /etc/hosts.
18808 (_gethtent): Likewise.
18809
18810 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18811
18812 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18813 cancellation and set FD_CLOEXEC for /etc/netgroup.
18814
18815 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18816 reading /etc/publickey.
18817
18818 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18819 allow cancellation when reading /etc/group.
18820
18821 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18822 cancellation.
18823 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18824
18825 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18826 when using data file.
18827
18828 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18829
18830 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18831 (write_nis_obj): Use "c" and "e" in fopen.
18832
18833 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18834
18835 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18836
18837 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18838
18839 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18840
18841 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18842 locale.alias.
18843
18844 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18845
18846 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18847
18848 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18849
18850 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18851 file parsing and set FD_CLOEXEC.
18852
82af0fa8
UD
188532011-11-14 Ulrich Drepper <drepper@gmail.com>
18854
18855 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18856
a5fb313c
AS
188572011-11-14 Andreas Schwab <schwab@redhat.com>
18858
18859 * malloc/arena.c (arena_get2): Don't call reused_arena when
18860 _int_new_arena failed.
18861
6abf3465
UD
188622011-11-14 Ulrich Drepper <drepper@gmail.com>
18863
18864 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18865 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18868 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18870 to compile strcasecmp and strncasecmp.
18871 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18872 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18873
18874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18875
76e3966e
UD
188762011-11-13 Ulrich Drepper <drepper@gmail.com>
18877
18878 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18879 locale-defines.sym to gen-as-const-headers.
18880 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18881 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18883 to compile strcasecmp and strncasecmp.
18884 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18885 strcasecmp_l and strncasecmp_l.
18886 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18887 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18888 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18889 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18890 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18891 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18892 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18893 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18894 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18895 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18896 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18897
ab26144e
UD
188982011-11-12 Ulrich Drepper <drepper@gmail.com>
18899
7edb22ef
UD
18900 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18901 result of SYSDEP_GETTIME_CPU to retval.
18902 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18903 parameter list to macro. Remove trailing semicolon. Adjust users.
18904
9694fc44
UD
18905 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18906 variable.
18907
8ad89ef8
UD
18908 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18909 mantissa words.
18910 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18911
0c822ef9
UD
18912 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18913 from unused variable.
18914
874e0564
UD
18915 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18916 DWARF definitions.
18917 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18918 for assembling.
18919
3a2edc79
UD
18920 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18921 over namespaces.
18922
f3c2577f
UD
18923 * sunrpc/rpc_prot.c (rejected): Fix case value.
18924
294ce126
UD
18925 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18926 unsigned long long int to avoid warnings in shift.
18927
5e2b63c6
UD
18928 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18929 of use of trans.
18930 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18931 variable tmp.
18932
e7f4b08e
UD
18933 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18934 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18935 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18936
ab26144e
UD
18937 * nis/nis_table.c (nis_list): Use variable of correct type for
18938 result of __follow_path call.
18939
8a6d5255
AZ
189402011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18941
18942 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18943 of math functions ceil, trunc, floor, round, and sqrt, when
18944 avaliable on the platform.
18945 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18946 name clash.
18947 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18948 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18949 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18950
aaddc98c
MP
189512011-10-30 Marek Polacek <mpolacek@redhat.com>
18952
18953 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18955
95b7042b
RM
189562011-11-11 Roland McGrath <roland@hack.frob.com>
18957
18958 * include/unistd.h: Fix __readlink return type.
18959 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18960
57769839
UD
189612011-11-11 Ulrich Drepper <drepper@gmail.com>
18962
18963 * stdlib/ucontext.h: Undo last change for makecontext.
18964
edc5984d
AS
189652011-11-11 Andreas Schwab <schwab@redhat.com>
18966
98591e58
AS
18967 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18968
edc5984d
AS
18969 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18970 * setjmp/setjmp.h: Mark functions as non-leaf.
18971 * setjmp/bits/setjmp2.h: Likewise.
18972 * stdlib/ucontext.h: Likewise.
18973
77cdc054
AS
189742011-11-10 Andreas Schwab <schwab@redhat.com>
18975
18976 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18977 (reused_arena): Don't check arena limit.
18978 (arena_get2): Atomically check arena limit.
18979
fe72eebd
UD
189802011-11-08 Ulrich Drepper <drepper@gmail.com>
18981
5f078c32
UD
18982 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18983 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18984
fe72eebd
UD
18985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18986 instructions.
18987
ae1bc2fa
AS
189882011-11-07 Andreas Schwab <schwab@redhat.com>
18989
7583a88d
AS
18990 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18991 handler when locking.
18992
ae1bc2fa
AS
18993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18994 Fix size of allocated buffer.
18995
10fb0bfa
AS
189962011-11-04 Andreas Schwab <schwab@redhat.com>
18997
998832a4
AS
18998 [BZ #10103]
18999 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19000 declarations for long double functions.
19001 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19002
10fb0bfa
AS
19003 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19004
3d7ba52b
AS
190052011-11-03 Andreas Schwab <schwab@redhat.com>
19006
a9ae54a1
AS
19007 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19008 installed.
19009
3d7ba52b
AS
19010 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19011 is disabled.
19012
bc8db248
ST
190132011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19014
19015 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19016
45b96dd6
AS
190172011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19018
647776f6
AS
19019 * include/alloca.h (stackinfo_alloca_round): Define.
19020 (extend_alloca): Use it.
19021 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19022 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19023 here.
19024
d91a8b93
AS
19025 * scripts/check-local-headers.sh: Ignore libaudit.h.
19026
45b96dd6
AS
19027 * nscd/Makefile (extra-objs): Make recursively expanded.
19028
432d41ce
UD
190292011-11-01 Ulrich Drepper <drepper@gmail.com>
19030
34372fc6
UD
19031 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19033
fadb59f8
UD
19034 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19035 * posix/tst-rfc3484-2.c: Likewise.
19036 * posix/tst-rfc3484-3.c: Likewise.
19037
78239589
UD
19038 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19039 process_vm_writev.
19040 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19041 process_vm_writev.
19042 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19043 process_vm_writev from libc using GLIBC_2.15 version.
19044
432d41ce
UD
19045 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19046
02f9c6cf
PP
190472011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19048
19049 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19050 stack usage.
19051
3a2c0242
UD
190522011-10-31 Ulrich Drepper <drepper@gmail.com>
19053
f4ec4833
UD
19054 [BZ #13367]
19055 * nss/getent.c (initgroups_keys): Show error message in case no group
19056 names are given.
19057
3a2c0242
UD
19058 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19059 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19060 __bump_nl_timestamp.
19061 * nscd/connections (nscd_init): When host database is served open
19062 netlink socket and request notification about configuration changes.
19063 (main_loop_poll): Track netlink file descriptor and bump timestamp
19064 in case data becomes available.
19065 (main_loop_epoll): Likewise.
19066 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19067 (database_pers_head): Add extra_data fileds.
19068 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19069 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19070 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19071 Adjust caller.
19072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19073 in6ai data, call __free_in6ai.
19074 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19075 Add -DHAVE_NETLINK.
19076 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19077 interface information. Reuse previous data if netlink timestamp
19078 is not changed.
19079 (__bump_nl_timestamp): New function.
19080 (__free_in6ai): New function.
19081
636064eb
UD
190822011-10-30 Ulrich Drepper <drepper@gmail.com>
19083
19084 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19085 close_not_cancel_no_status here.
19086 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19087
9beb2334
UD
190882011-10-29 Ulrich Drepper <drepper@gmail.com>
19089
6ef76f3b
UD
19090 [BZ #13276]
19091 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19092 return value.
19093
0ffc4f3e 19094 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19095 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19096 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19097
cb95113e
UD
190982011-07-03 Andreas Jaeger <aj@suse.de>
19099
19100 [BZ #10709]
19101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19102 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19103 * math/libm-test.inc (sin_test): Add test case.
19104
a1b560ff
UD
191052011-10-29 Ulrich Drepper <drepper@gmail.com>
19106
c9aaface
UD
19107 [BZ #13337]
19108 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19109 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19110
d272e7f1
UD
19111 * elf/chroot_canon.c (chroot_canon): Cleanups.
19112
1bc33071
UD
19113 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19114
1760874d
TJ
19115 [BZ #13335]
19116 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19117 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19118
51d91b18
UD
19119 * string/test-strchr.c: Make usable for strchrnul testing.
19120 * string/test-strchrnul.c: New file.
19121 * string/Makefile (strop-tests): Add strchrnul.
19122
a1b560ff 19123 * po/it.po: Update from translation team.
b611fb81 19124 * po/es.po: Likewise.
a1b560ff 19125
a5b81e1f
UD
191262011-10-28 Ulrich Drepper <drepper@gmail.com>
19127
fd52bc6d
UD
19128 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19129 the three constants needed as parameters. Drop the others.
19130 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19131 __m128i_strloadu_tolower.
52e4b9eb
UD
19132 Create and initialize variable zero and use it in all the places
19133 where _mm_setzero_si128 was used.
fd52bc6d 19134
a5b81e1f
UD
19135 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19136 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19137 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19138 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19139 anymore.
19140 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19141 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19142 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19143 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19144 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19145 __mpranred, __mptan.
19146 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19147 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19148 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19149 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19150 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19151 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19152 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19153 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19154 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19155
b4343346
AS
191562011-10-28 Andreas Schwab <schwab@redhat.com>
19157
0c92d8a8
AS
19158 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19159 redefine if SHARED.
19160 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19161
b4343346
AS
19162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19163 wide char related routines to wcsmbs subdir.
19164
3871f58f
AS
191652011-10-27 Andreas Schwab <schwab@redhat.com>
19166
19167 [BZ #13344]
19168 * misc/sys/cdefs.h (__THROWNL): Define.
19169 * posix/unistd.h: Use __THREADNL instead of __THREAD
19170 for memory synchronization functions.
19171
94d44d9f
RM
191722011-10-26 Roland McGrath <roland@hack.frob.com>
19173
21b64b15 19174 [BZ #13349]
94d44d9f
RM
19175 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19176 doesn't exist.
19177 * manual/stdio.texi (Obstack Streams): Node removed.
19178
f6ce9294
AS
191792011-10-26 Andreas Schwab <schwab@redhat.com>
19180
80479147
AS
19181 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19182 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19183 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19184
f6ce9294
AS
19185 * math/math_private.h (math_force_eval): Allow non-addressable
19186 arguments.
19187 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19188
618280a1
UD
191892011-10-25 Ulrich Drepper <drepper@gmail.com>
19190
e0016b11
UD
19191 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19192 file is not needed.
19193
19194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19197 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19198 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19199 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19200 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19201 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19202 Add AVX variants.
19203 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19204 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19205 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19206 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19207 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19208 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19209 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19210 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19211 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19212 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19213 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19214 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19215 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19216 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19217 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19218 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19219 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19220 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19221 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19222
19223 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19224 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19225
618280a1
UD
19226 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19227 place. Use VEX encoding when compiling for AVX.
19228
37822576
AS
192292011-10-25 Andreas Schwab <schwab@redhat.com>
19230
1f1e1947
AS
19231 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19232 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19233
37822576
AS
19234 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19235
31ea014d
UD
192362011-10-25 Ulrich Drepper <drepper@gmail.com>
19237
d7826aa1 19238 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19239 useless if() expression.
d7826aa1
UD
19240 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19242 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19244 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19245 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19246 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19248 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19251 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19252 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19253 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19254 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19256 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19258 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19259
31ea014d
UD
19260 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19261
16437fec
AS
192622011-10-25 Andreas Schwab <schwab@redhat.com>
19263
19264 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19265 condition.
19266 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19267
31d3cc00
UD
192682011-10-25 Ulrich Drepper <drepper@gmail.com>
19269
19270 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19271 .text section. Avoid duplicate constants.
19272 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19280 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19281 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19282 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19283 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19284 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19285 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19287 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19289 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19290 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19296 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19297 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19298 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19299 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19300 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19301 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19302 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19303 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19304 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19305 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19306 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19307 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19308 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19310 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19311 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19312 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19313 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19314 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19315 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19316 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19317
58985aa9
UD
193182011-10-24 Ulrich Drepper <drepper@gmail.com>
19319
202c9deb
UD
19320 * sysdeps/x86_64/dla.h: Move to ...
19321 * sysdeps/x86_64/fpu/dla.h: ...here.
19322 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19323 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19324
af968f62
UD
19325 * config.make.in: Add have-mfma4 entry.
19326 * configure.in: Substitute libc_cv_cc_fma4.
19327 * math/Makefile (dbl-only-routines): Add sincostab.
19328 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19329 Use __sincostab not sincos.
19330 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19331 name is a macro.
19332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19336 using __copysign.
19337 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19338 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19339 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19340 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19341 and __inv.
19342 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19343 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19344 __copysign.
19345 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19346 define aliases when function name is a macro.
19347 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19348 sysdeps/ieee754/dbl-64/sincos.tbl.
19349 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19350 fma4-enabled routines.
19351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19356 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19357 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19358 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19359 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19360 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19361 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19362 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19363 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19364 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19366 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19367 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19369 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19371 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19373 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19374 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19376 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19378 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19380 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19381
58985aa9
UD
19382 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19383 rename.
19384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19392
a201fbcf
AS
193932011-10-24 Andreas Schwab <schwab@redhat.com>
19394
19395 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19396
fc2ee42a
LD
193972011-10-23 Ulrich Drepper <drepper@gmail.com>
19398
bb3129bd
UD
19399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19400
0275fff8
UD
19401 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19402 prediction.
19403 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19404
2fa2ae85
UD
19405 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19406 Remove unused variable magic_bits.
19407 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19408
fc2ee42a
LD
19409 * string/strnlen.c: Define and use STRNLEN macro.
19410 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19411 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19413 * wcsmbs/wcslen.c: Define and use WCSLEN.
19414 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19415 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19416 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19417 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19418 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19419 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19420 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19421
ce7dd29f
LD
194222011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19423
19424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19425 strnlen-sse2-no-bsf.
19426 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19428 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19429 Add strnlen support.
19430 (USE_AS_STRNLEN): New macro.
19431 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19432 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19433 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19434 * sysdeps/x86_64/wcslen.S: New file.
19435
979c70a3
MZ
194362011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19437
19438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19439 XMM-moves are used for copying on small sizes.
19440
2d09f82f
LD
194412011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19442
19443 * wcsmbs/Makefile (strop-tests): Add wcschr.
19444 * wcsmbs/test-wcschr.c: New file.
19445 * string/test-strchr.c: Update.
19446 Add wcschr support.
19447 (WIDE): New macro.
19448
619fccca
LD
194492011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19450
2d09f82f 19451 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19452 * wcsmbs/test-wcslen.c: New file.
19453 * string/test-strlen.c: Update.
19454 Add wcslen support.
19455 (WIDE): New macro.
19456
09f699ea
UD
194572011-10-23 Ulrich Drepper <drepper@gmail.com>
19458
19459 * po/it.po: Update from translation team.
19460
95584d3b
LD
194612011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19462
19463 * sysdeps/x86_64/wcscmp.S: Update.
19464 Fix wrong comparison semantics.
19465 wcscmp shall use signed comparison not unsigned.
19466 Don't use substraction to avoid overflow bug.
19467 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19468 * wcsmbc/wcscmp.c: Likewise.
19469 * string/test-strcmp.c: Likewise.
19470 Add new tests to check cases with negative values.
19471
c8b3296b
UD
194722011-10-23 Ulrich Drepper <drepper@gmail.com>
19473
19474 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19475 * sysdeps/x86_64/dla.h: ...here. New file.
19476 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19484 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19485
246ad57a
AS
194862011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19487
19488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19489 __ynl_finite aliases.
19490
a1a87169
UD
194912011-10-22 Ulrich Drepper <drepper@gmail.com>
19492
0d355eb7
UD
19493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19494
a1a87169
UD
19495 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19496 define DLA_FMA.
19497 [DLA_FMA] (EMULV): Use DLA_FMA.
19498 [DLA_FMA] (MUL12): Use EMULV.
19499 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19500 that are not needed.
19501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19507 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19508
ee2aafe0
AS
195092011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19510
19511 * math/s_nan.c: Undef __nan.
19512 * math/s_nanf.c: Undef __nanf.
19513 * math/s_nanl.c: Undef __nanl.
19514 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19515 "math_private.h".
19516
bc62c2fb
UD
195172011-10-22 Ulrich Drepper <drepper@gmail.com>
19518
77425c63
UD
19519 * math/s_catan.c: Add branch predictions.
19520 * math/s_catanf.c: Likewise.
19521 * math/s_catanh.c: Likewise.
19522 * math/s_catanhf.c: Likewise.
19523 * math/s_catanhl.c: Likewise.
19524 * math/s_catanl.c: Likewise.
19525 * math/s_cexp.c: Likewise.
19526 * math/s_cexpf.c: Likewise.
19527 * math/s_cexpl.c: Likewise.
19528 * math/s_clog.c: Likewise.
19529 * math/s_clog10.c: Likewise.
19530 * math/s_clog10f.c: Likewise.
19531 * math/s_clog10l.c: Likewise.
19532 * math/s_clogf.c: Likewise.
19533 * math/s_clogl.c: Likewise.
19534 * math/s_csqrt.c: Likewise.
19535 * math/s_csqrtf.c: Likewise.
19536 * math/s_csqrtl.c: Likewise.
19537 * math/s_ctanf.c: Likewise.
19538 * math/s_ctanh.c: Likewise.
19539 * math/s_ctanhf.c: Likewise.
19540 * math/s_ctanhl.c: Likewise.
19541 * math/s_ctanl.c: Likewise.
19542
bc62c2fb
UD
19543 * math/math_private.h: Define __nan, __nanf, __nanl.
19544 * math/s_cacosh.c: Include <math_private.h>.
19545 * math/s_cacoshl.c: Likewise.
19546 * math/s_casinh.c: Likewise.
19547 * math/s_casinhf.c: Likewise.
19548 * math/s_casinhl.c: Likewise.
19549 * math/s_ccos.c: Rely entire on ccosh.
19550 * math/s_ccosf.c: Rely entire on ccoshf.
19551 * math/s_ccosl.c: Rely entirely on ccoshl.
19552 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19553 Remove tests for FE_INVALID.
19554 * math/s_ccoshf.c: Likewise.
19555 * math/s_ccoshl.c: Likewise.
19556 * math/s_csin.c: Likewise.
19557 * math/s_csinf.c: Likewise.
19558 * math/s_csinh.c Likewise.
19559 * math/s_csinhf.c: Likewise.
19560 * math/s_csinhl.c: Likewise.
19561 * math/s_csinl.c: Likewise.
19562 * math/s_ctan.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19564 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19565 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19566
8ec250a4
UD
195672011-10-21 Ulrich Drepper <drepper@gmail.com>
19568
c196fed8
UD
19569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19570 compilation problems.
19571
8ec250a4
UD
19572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19573 __builtin_expect.
19574
8d4f46c6
UD
195752011-10-20 Ulrich Drepper <drepper@gmail.com>
19576
ed72b654
UD
19577 * sysdeps/i386/configure.in: Test for -mfma4 option.
19578 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19579 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19580 COMMON_CPUID_INDEX_80000001.
19581 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19582 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19583 use it if FMA3 is not supported.
19584 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19585
8d4f46c6
UD
19586 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19587 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19588
d45c60c2
AS
195892011-10-20 Andreas Schwab <schwab@redhat.com>
19590
19591 [BZ #12892]
19592 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19593 it would create a cycle with a link time dependency.
19594
d9a4d2ab
UD
195952011-10-19 Ulrich Drepper <drepper@gmail.com>
19596
855d1560
UD
19597 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19598 instruction.
19599 * string/Makefile (strop-tests): Add rawmemchr.
19600 * string/test-rawmemchr.c: New file.
19601
d9a4d2ab
UD
19602 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19604 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19605 when compiling str{,n}casecmp and when AVX is available. Hook up
19606 new optimized code in initializers.
19607
8f3b1ffe
AS
196082011-10-19 Andreas Schwab <schwab@redhat.com>
19609
19610 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19611 __feraiseexcept instead of feraiseexcept.
19612
d38f1dba
UD
196132011-10-18 Ulrich Drepper <drepper@gmail.com>
19614
d9a8d0ab
UD
19615 * math/math_private.h: Define defaults for libc_fetestexcept and
19616 libc_feupdateenv.
19617 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19618 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19619 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19620 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19621 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19622 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19623 libc_fetestexcept and libc_feupdateenv.
19624
4855e3dd
UD
19625 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19626 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19627 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19628 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19629 libc_feholdexcept_setround.
19630
581d30e3
UD
19631 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19632 Add s_nearbyint-c and s_nearbyintf-c.
19633 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19634 nearbyintf inlines.
19635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19636 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19637 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19638 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19639
d38f1dba
UD
19640 * math/math_private.h: Define defaults for libc_fegetround,
19641 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19642 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19643 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19645 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19646 standard functions.
19647 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19648 Remove comments and hacks for old compiler versions.
19649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19650 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19651 libc_feholdexceptl.
19652
caa6c9d8
AS
196532011-10-18 Andreas Schwab <schwab@redhat.com>
19654
19655 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19656 (__feraiseexcept_renamed): Add __NTH.
19657 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19658 namespace violations.
19659
97c066e6
UD
196602011-10-17 Ulrich Drepper <drepper@gmail.com>
19661
99ce7b04
UD
19662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19663
1004d182
UD
19664 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19665
228a984d
UD
19666 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19667 recently added interfaces.
19668 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19669
c8553a6a
UD
19670 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19671 about macro parameter expansion.
19672
ed22dcf6
UD
19673 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19674 __NO_MATH_INLINES is defined. Cleanups.
19675
19676 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19677 and __floorf is target has SSE4.1.
19678 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19679 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19680 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19681 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19682
b171c137
UD
19683 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19684 name.
19685 (floorf): Likewise.
19686
97c066e6
UD
19687 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19688
629f62ef
AS
196892011-10-17 Andreas Schwab <schwab@redhat.com>
19690
49a43d80
AS
19691 * misc/sys/cdefs.h: Fix last change.
19692
629f62ef
AS
19693 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19694 database lookup.
19695
e453f6cd
UD
196962011-10-16 Ulrich Drepper <drepper@gmail.com>
19697
aa78043a
UD
19698 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19699
ad0f5cad
UD
19700 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19702 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19703 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19704 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19705 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19706 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19708 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19709 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19710 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19711 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19712 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19713 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19714 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19715 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19717 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19718 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19719 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19720 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19721 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19722
19723 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19724 ceil, ceilf, floor, floorf.
19725
19726 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19727 Perform IRELATIVE relocations last.
19728
e453f6cd
UD
19729 * elf/do-rel.h: Add another parameter nrelative, replacing the
19730 local variable with the same name. Change name of the function
19731 to end in Rel or Rela (uppercase).
19732 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19733 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19734 elf_dynamic_do_##reloc function.
19735
fd5bdc09
UD
197362011-10-15 Ulrich Drepper <drepper@gmail.com>
19737
79b195b5
UD
19738 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19739 is sufficient, at least on modern CPUs.
19740
d4a28569
UD
19741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19742
b61099b5
UD
19743 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19744 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19745
bcf01e6d
UD
19746 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19747 __expl_finite.
19748 * math/bits/math-finite.h: Add entries for exp.
19749 * math/e_expl.c: Add __*_finite alias.
19750 * sysdeps/i386/fpu/e_exp.S: Likewise.
19751 * sysdeps/i386/fpu/e_expf.S: Likewise.
19752 * sysdeps/i386/fpu/e_expl.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19754 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19755 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19758 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19759 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19760
ba1a0d59
UD
19761 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19762 is sufficient, at least on modern CPUs.
19763
fd5bdc09
UD
19764 * ctype/ctype-info.c (__ctype_init): Define.
19765 * include/ctype.h (__ctype_init): Declare.
19766 (__ctype_b_loc): The variable is always initialized.
19767 (__ctype_toupper_loc): Likewise.
19768 (__ctype_tolower_loc): Likewise.
19769 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19770 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19771
7872cfb0
AS
197722011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19773
b468825a
AS
19774 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19775
7872cfb0
AS
19776 * configure.in: Also look in $cxxmachine/include for C++ system
19777 headers.
19778
be13f7bf
LD
197792011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19780
19781 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19782 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19783 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19784 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19785 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19786 (USE_AS_WMEMCMP): New macro.
19787 Fixing indents.
19788 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19789 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19790 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19791 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19793 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19794 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19795 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19796 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19797 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19798 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19799 (USE_AS_WMEMCMP): New macro.
19800 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19801 * sysdeps/string/test-memcmp.c: Update.
19802 Fix simple_wmemcmp.
19803 Add new tests.
19804 * wcsmbs/wmemcmp.c: Update.
19805 (WMEMCMP): New macro.
19806 Fix overflow bug.
19807
556a2007
AJ
198082011-10-12 Andreas Jaeger <aj@suse.de>
19809
19810 [BZ #13268]
19811 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19812
538faaa7
UD
198132011-10-15 Ulrich Drepper <drepper@gmail.com>
19814
ab6737ff
UD
19815 * libio/iofwide.c (do_length): Avoid warning.
19816
538faaa7
UD
19817 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19818
396a21b1
UD
198192011-10-14 Ulrich Drepper <drepper@gmail.com>
19820
cdf2901f
UD
19821 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19822
38ad40ce
UD
19823 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19824 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19825 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19826 * sysdeps/i386/i686/fpu/e_log.S: New file.
19827 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19828 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19829
396a21b1
UD
19830 * ctype/ctype.h: Add support for inlined isXXX functions when
19831 compiling C++ code.
19832
6b1f68c9
AS
198332011-10-14 Andreas Schwab <schwab@redhat.com>
19834
349290c0
AS
19835 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19836
6b1f68c9
AS
19837 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19838
f2282d42
RM
198392011-10-13 Roland McGrath <roland@hack.frob.com>
19840
19841 [BZ #13291]
19842 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19843
5298ffa8
AS
198442011-10-13 Andreas Schwab <schwab@redhat.com>
19845
714fad23
AS
19846 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19847 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19848 feraiseexcept.
19849
81dcc7fb
AS
19850 * sysdeps/x86_64/memrchr.S: Check for zero size.
19851
5298ffa8
AS
19852 * string/stratcliff.c: Add memrchr tests.
19853
951fbcec
LD
198542011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19855
19856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19857 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19858 rawmemchr-sse2 rawmemchr-sse2-bsf.
19859 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19860 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19861 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19862 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19863 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19864 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19865 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19866 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19867 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19868 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19869 * string/memrchr.c (MEMRCHR): New macro.
19870
0ac5ae23
UD
198712011-10-12 Ulrich Drepper <drepper@gmail.com>
19872
19873 Add integration with gcc's -ffinite-math-only and optimize wrapper
19874 functions in libm.
19875 * Versions.def: Define GLIBC_2.15 version for libm.
19876 * math/Makefile (headers): Add bits/math-finite.h.
19877 * math/bits/math-finite.h: New file.
19878 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19879 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19880 * math/e_acoshl.c: Add __*_finite alias.
19881 * math/e_acosl.c: Likewise.
19882 * math/e_asinl.c: Likewise.
19883 * math/e_atan2l.c: Likewise.
19884 * math/e_atanhl.c: Likewise.
19885 * math/e_coshl.c: Likewise.
19886 * math/e_exp10.c: Likewise.
19887 * math/e_exp10f.c: Likewise.
19888 * math/e_exp10l.c: Likewise.
19889 * math/e_exp2l.c: Likewise.
19890 * math/e_fmodl.c: Likewise.
19891 * math/e_gammal_r.c: Likewise.
19892 * math/e_hypotl.c: Likewise.
19893 * math/e_j0l.c: Likewise.
19894 * math/e_j1l.c: Likewise.
19895 * math/e_jnl.c: Likewise.
19896 * math/e_lgammal_r.c: Likewise.
19897 * math/e_log10l.c: Likewise.
19898 * math/e_log2l.c: Likewise.
19899 * math/e_logl.c: Likewise.
19900 * math/e_powl.c: Likewise.
19901 * math/e_sinhl.c: Likewise.
19902 * math/e_sqrtl.c: Likewise.
19903 * math/e_scalb.c: Completely rewritten and optimized.
19904 * math/e_scalbf.c: Likewise.
19905 * math/e_scalbl.c: Likewise.
19906 * math/w_acos.c: Likewise.
19907 * math/w_acosf.c: Likewise.
19908 * math/w_acosl.c: Likewise.
19909 * math/w_acosh.c: Likewise.
19910 * math/w_acoshf.c: Likewise.
19911 * math/w_acoshl.c: Likewise.
19912 * math/w_asin.c: Likewise.
19913 * math/w_asinf.c: Likewise.
19914 * math/w_asinl.c: Likewise.
19915 * math/w_atan2.c: Likewise.
19916 * math/w_atan2f.c: Likewise.
19917 * math/w_atan2l.c: Likewise.
19918 * math/w_atanh.c: Likewise.
19919 * math/w_atanhf.c: Likewise.
19920 * math/w_atanhl.c: Likewise.
19921 * math/w_exp10.c: Likewise.
19922 * math/w_exp10f.c: Likewise.
19923 * math/w_exp10l.c: Likewise.
19924 * math/w_fmod.c: Likewise.
19925 * math/w_fmodf.c: Likewise.
19926 * math/w_fmodl.c: Likewise.
19927 * math/w_j0.c: Likewise.
19928 * math/w_j0f.c: Likewise.
19929 * math/w_j0l.c: Likewise.
19930 * math/w_j1.c: Likewise.
19931 * math/w_j1f.c: Likewise.
19932 * math/w_j1l.c: Likewise.
19933 * math/w_jn.c: Likewise.
19934 * math/w_jnf.c: Likewise.
19935 * math/w_log.c: Likewise.
19936 * math/w_logf.c: Likewise.
19937 * math/w_logl.c: Likewise.
19938 * math/w_log10.c: Likewise.
19939 * math/w_log10f.c: Likewise.
19940 * math/w_log10l.c: Likewise.
19941 * math/w_log2.c: Likewise.
19942 * math/w_log2f.c: Likewise.
19943 * math/w_log2l.c: Likewise.
19944 * math/w_pow.c: Likewise.
19945 * math/w_powf.c: Likewise.
19946 * math/w_powl.c: Likewise.
19947 * math/w_remainder.c: Likewise.
19948 * math/w_remainderf.c: Likewise.
19949 * math/w_remainderl.c: Likewise.
19950 * math/w_scalb.c: Likewise.
19951 * math/w_scalbf.c: Likewise.
19952 * math/w_scalbl.c: Likewise.
19953 * math/w_sqrt.c: Likewise.
19954 * math/w_sqrtf.c: Likewise.
19955 * math/w_sqrtl.c: Likewise.
19956 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19957 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19958 used.
19959 * math/math_private.h: Declare __kernel_standard_f.
19960 * math/w_cosh.c: Remove cruft and optimize a bit.
19961 * math/w_coshf.c: Likewise.
19962 * math/w_coshl.c: Likewise.
19963 * math/w_exp2.c: Likewise.
19964 * math/w_exp2f.c: Likewise.
19965 * math/w_exp2l.c: Likewise.
19966 * math/w_hypot.c: Likewise.
19967 * math/w_hypotf.c: Likewise.
19968 * math/w_hypotl.c: Likewise.
19969 * math/w_lgamma.c: Likewise.
19970 * math/w_lgamma_r.c: Likewise.
19971 * math/w_lgammaf.c: Likewise.
19972 * math/w_lgammaf_r.c: Likewise.
19973 * math/w_lgammal.c: Likewise.
19974 * math/w_lgammal_r.c: Likewise.
19975 * math/w_sinh.c: Likewise.
19976 * math/w_sinhf.c: Likewise.
19977 * math/w_sinhl.c: Likewise.
19978 * math/w_tgamma.c: Likewise.
19979 * math/w_tgammaf.c: Likewise.
19980 * math/w_tgammal.c: Likewise.
19981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19982 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19983 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19984 Minor optimizations. Pretty printing. Remove cruft.
19985 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19986 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19987 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19989 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19990 * sysdeps/i386/fpu/e_asin.S: Likewise.
19991 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19992 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19993 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19994 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19995 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19996 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19998 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19999 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20000 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20001 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20002 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20003 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20004 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20005 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20006 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20007 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20008 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20009 * sysdeps/i386/fpu/e_log.S: Likewise.
20010 * sysdeps/i386/fpu/e_log10.S: Likewise.
20011 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20012 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20013 * sysdeps/i386/fpu/e_log2.S: Likewise.
20014 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20015 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20016 * sysdeps/i386/fpu/e_logf.S: Likewise.
20017 * sysdeps/i386/fpu/e_logl.S: Likewise.
20018 * sysdeps/i386/fpu/e_pow.S: Likewise.
20019 * sysdeps/i386/fpu/e_powf.S: Likewise.
20020 * sysdeps/i386/fpu/e_powl.S: Likewise.
20021 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20022 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20023 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20024 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20025 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20026 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20027 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20028 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20029 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20030 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20036 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20037 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20038 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20039 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20040 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20041 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20043 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20044 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20051 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20052 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20053 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20054 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20055 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20056 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20057 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20058 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20059 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20060 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20061 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20062 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20063 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20064 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20065 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20066 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20067 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20068 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20069 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20070 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20071 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20080 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20081 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20082 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20083 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20084 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20085 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20086 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20087 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20088 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20094 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20095 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20098 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20099 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20100 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20101 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20102 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20106 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20107 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20108 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20109 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20110 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20111 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20112 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20113 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20114 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20115 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20116 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20117 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20118 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20119 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20120 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20121 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20122 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20123 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20124 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20125 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20126 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20127 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20128 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20129 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20130 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20131 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20132 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20133 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20134 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20135 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20136 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20138 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20139 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20140 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20141 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20142 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20143 (__isnanf): Likewise.
20144 (__isinf_ns): Likewise.
20145 (__isinf_nsf): Likewise.
20146 (__finite): Likewise.
20147 (__finitef): Likewise.
20148 (__ieee754_sqrt): Define as macro.
20149 (__ieee754_sqrtf): Define as macro.
20150 (__ieee754_sqrtl): Define as macro.
20151 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20152 inlined copy.
20153 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20154 __FINITE_MATH_ONLY__ consistent.
20155 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20156
12cc2fcd
AS
201572011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20158
a843a204
AS
20159 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20160 of rawmemchr.
20161
12cc2fcd
AS
20162 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20163
c853acd5
UD
201642011-10-09 Ulrich Drepper <drepper@gmail.com>
20165
20166 * po/ja.po: Update from translation team.
20167
c658d255
RM
201682011-10-08 Roland McGrath <roland@hack.frob.com>
20169
110946e4
RM
20170 * locale/programs/locarchive.c (prepare_address_space): New function.
20171 (create_archive, enlarge_archive, open_archive): Use it.
20172
50604220
RM
20173 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20174 inside [SHARED], where it is used.
20175
c658d255
RM
20176 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20177
20178 * nss/getent.c (netgroup_keys): Remove unused variable.
20179 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20180
6a621eb7
UD
201812011-10-08 Ulrich Drepper <drepper@gmail.com>
20182
7edb55ce
UD
20183 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20184 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20186 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20187 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20188 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20189 * math/Makefile (libm-calls): Add s_isinf_ns.
20190 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20191 * math/multc3.c: Likewise.
20192 * math/s_casin.c: Likewise.
20193 * math/s_casinf.c: Likewise.
20194 * math/s_casinl.c: Likewise.
20195 * math/s_ccos.c: Likewise.
20196 * math/s_ccosf.c: Likewise.
20197 * math/s_ccosl.c: Likewise.
20198 * math/s_ctan.c: Likewise.
20199 * math/s_ctanf.c: Likewise.
20200 * math/s_ctanh.c: Likewise.
20201 * math/s_ctanhf.c: Likewise.
20202 * math/s_ctanhl.c: Likewise.
20203 * math/s_ctanl.c: Likewise.
20204 * math/w_fmod.c: Likewise.
20205 * math/w_fmodf.c: Likewise.
20206 * math/w_fmodl.c: Likewise.
20207 * math/w_remainder.c: Likewise.
20208 * math/w_remainderf.c: Likewise.
20209 * math/w_remainderl.c: Likewise.
20210 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20211 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20212 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20213 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20214 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20215 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20216 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20217 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20218
187da0ae
UD
20219 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20220 of the number.
20221 * stdio-common/printf_fphex.c: Likewise.
20222 * stdio-common/printf_size.c: Likewise.
20223
9277c064
UD
20224 * math/e_exp10.c: Include math_private.h using <...> not "...".
20225 * math/e_exp10f.c: Likewise.
20226 * math/e_exp10l.c: Likewise.
20227 * math/e_exp2l.c: Likewise.
20228 * math/e_j0l.c: Likewise.
20229 * math/e_j1l.c: Likewise.
20230 * math/e_jnl.c: Likewise.
20231 * math/e_lgammal_r.c: Likewise.
20232 * math/e_rem_pio2l.c: Likewise.
20233 * math/e_scalb.c: Likewise.
20234 * math/e_scalbf.c: Likewise.
20235 * math/e_scalbl.c: Likewise.
20236 * math/k_cosl.c: Likewise.
20237 * math/k_sinl.c: Likewise.
20238 * math/k_tanl.c: Likewise.
20239 * math/s_cacoshf.c: Likewise.
20240 * math/s_catan.c: Likewise.
20241 * math/s_catanf.c: Likewise.
20242 * math/s_catanh.c: Likewise.
20243 * math/s_catanhf.c: Likewise.
20244 * math/s_catanhl.c: Likewise.
20245 * math/s_catanl.c: Likewise.
20246 * math/s_ccosh.c: Likewise.
20247 * math/s_ccoshf.c: Likewise.
20248 * math/s_ccoshl.c: Likewise.
20249 * math/s_cexp.c: Likewise.
20250 * math/s_cexpf.c: Likewise.
20251 * math/s_cexpl.c: Likewise.
20252 * math/s_clog.c: Likewise.
20253 * math/s_clog10.c: Likewise.
20254 * math/s_clog10f.c: Likewise.
20255 * math/s_clog10l.c: Likewise.
20256 * math/s_clogf.c: Likewise.
20257 * math/s_clogl.c: Likewise.
20258 * math/s_csin.c: Likewise.
20259 * math/s_csinf.c: Likewise.
20260 * math/s_csinh.c: Likewise.
20261 * math/s_csinhf.c: Likewise.
20262 * math/s_csinhl.c: Likewise.
20263 * math/s_csinl.c: Likewise.
20264 * math/s_csqrt.c: Likewise.
20265 * math/s_csqrtf.c: Likewise.
20266 * math/s_csqrtl.c: Likewise.
20267 * math/s_ctan.c: Likewise.
20268 * math/s_ctanf.c: Likewise.
20269 * math/s_ctanh.c: Likewise.
20270 * math/s_ctanhf.c: Likewise.
20271 * math/s_ctanhl.c: Likewise.
20272 * math/s_ctanl.c: Likewise.
20273 * math/s_ldexp.c: Likewise.
20274 * math/s_ldexpf.c: Likewise.
20275 * math/s_ldexpl.c: Likewise.
20276 * math/s_significand.c: Likewise.
20277 * math/s_significandf.c: Likewise.
20278 * math/s_significandl.c: Likewise.
20279 * math/w_acos.c: Likewise.
20280 * math/w_acosf.c: Likewise.
20281 * math/w_acosh.c: Likewise.
20282 * math/w_acoshf.c: Likewise.
20283 * math/w_acoshl.c: Likewise.
20284 * math/w_acosl.c: Likewise.
20285 * math/w_asin.c: Likewise.
20286 * math/w_asinf.c: Likewise.
20287 * math/w_asinl.c: Likewise.
20288 * math/w_atan2.c: Likewise.
20289 * math/w_atan2f.c: Likewise.
20290 * math/w_atan2l.c: Likewise.
20291 * math/w_atanh.c: Likewise.
20292 * math/w_atanhf.c: Likewise.
20293 * math/w_atanhl.c: Likewise.
20294 * math/w_cosh.c: Likewise.
20295 * math/w_coshf.c: Likewise.
20296 * math/w_coshl.c: Likewise.
20297 * math/w_dremf.c: Likewise.
20298 * math/w_exp10.c: Likewise.
20299 * math/w_exp10f.c: Likewise.
20300 * math/w_exp10l.c: Likewise.
20301 * math/w_exp2.c: Likewise.
20302 * math/w_exp2f.c: Likewise.
20303 * math/w_fmod.c: Likewise.
20304 * math/w_fmodf.c: Likewise.
20305 * math/w_fmodl.c: Likewise.
20306 * math/w_hypot.c: Likewise.
20307 * math/w_hypotf.c: Likewise.
20308 * math/w_hypotl.c: Likewise.
20309 * math/w_j0.c: Likewise.
20310 * math/w_j0f.c: Likewise.
20311 * math/w_j0l.c: Likewise.
20312 * math/w_j1.c: Likewise.
20313 * math/w_j1f.c: Likewise.
20314 * math/w_j1l.c: Likewise.
20315 * math/w_jn.c: Likewise.
20316 * math/w_jnf.c: Likewise.
20317 * math/w_jnl.c: Likewise.
20318 * math/w_lgamma.c: Likewise.
20319 * math/w_lgamma_r.c: Likewise.
20320 * math/w_lgammaf.c: Likewise.
20321 * math/w_lgammaf_r.c: Likewise.
20322 * math/w_lgammal.c: Likewise.
20323 * math/w_lgammal_r.c: Likewise.
20324 * math/w_log.c: Likewise.
20325 * math/w_log10.c: Likewise.
20326 * math/w_log10f.c: Likewise.
20327 * math/w_log10l.c: Likewise.
20328 * math/w_log2.c: Likewise.
20329 * math/w_log2f.c: Likewise.
20330 * math/w_log2l.c: Likewise.
20331 * math/w_logf.c: Likewise.
20332 * math/w_logl.c: Likewise.
20333 * math/w_pow.c: Likewise.
20334 * math/w_powf.c: Likewise.
20335 * math/w_powl.c: Likewise.
20336 * math/w_remainder.c: Likewise.
20337 * math/w_remainderf.c: Likewise.
20338 * math/w_remainderl.c: Likewise.
20339 * math/w_scalb.c: Likewise.
20340 * math/w_scalbf.c: Likewise.
20341 * math/w_scalbl.c: Likewise.
20342 * math/w_sinh.c: Likewise.
20343 * math/w_sinhf.c: Likewise.
20344 * math/w_sinhl.c: Likewise.
20345 * math/w_sqrt.c: Likewise.
20346 * math/w_sqrtf.c: Likewise.
20347 * math/w_sqrtl.c: Likewise.
20348 * math/w_tgamma.c: Likewise.
20349 * math/w_tgammaf.c: Likewise.
20350 * math/w_tgammal.c: Likewise.
20351
6a621eb7
UD
20352 * po/ja.po: Update from translation team.
20353
bf582445
AJ
203542011-09-29 Andreas Jaeger <aj@suse.de>
20355
f9efbf3a
AJ
20356 [BZ #13179]
20357 * sunrpc/netname.c (netname2host): Fix logic.
20358
bf582445
AJ
20359 [BZ #6779]
20360 [BZ #6783]
20361 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20362 correctly.
20363 * math/w_remainder.c (__remainder): Likewise.
20364 * math/w_remainderf.c (__remainderf): Likewise.
20365 * math/libm-test.inc (remainder_test): Add test cases.
20366
48693bea
AK
203672011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20368
20369 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20370 sdiv_qrnnd.
20371
42622229
LD
203722011-10-07 Ulrich Drepper <drepper@gmail.com>
20373
20374 * string/test-memcmp.c: Avoid unncessary #defines.
20375 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20376
093ecf92
LD
203772011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20378
20379 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20380 Use new sse2 version for core i3 - i7 as it's faster
20381 than sse42 version.
20382 (bit_Prefer_PMINUB_for_stringop): New.
20383 * sysdeps/x86_64/rawmemchr.S: Update.
20384 Replace with faster SSE2 version.
20385 * sysdeps/x86_64/memrchr.S: New file.
20386 * sysdeps/x86_64/memchr.S: Update.
20387 Replace with faster SSE2 version.
20388
fde56e5c
MP
203892011-09-12 Marek Polacek <mpolacek@redhat.com>
20390
20391 * elf/dl-load.c (lose): Add cast to avoid warning.
20392
21fd49a9
UD
203932011-10-07 Ulrich Drepper <drepper@gmail.com>
20394
5a06e643
UD
20395 * po/ca.po: Update from translation team.
20396
684ae515
UD
20397 * inet/getnetgrent_r.c: Hook up nscd.
20398 * nscd/Makefile (routines): Add nscd_netgroup.
20399 (nscd-modules): Add netgroupcache.
20400 (CFLAGS-netgroupcache.c): Define.
20401 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20402 (cache_search): Add const to second parameter.
20403 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20404 INNETGR.
20405 (dbs): Add netgrdb entry.
20406 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20407 (verify_persistent_db): Handle netgrdb.
20408 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20409 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20410 GETFDNETGR.
20411 (netgroup_response_header): Define.
20412 (innetgroup_response_header): Define.
20413 (datahead): Add netgroup_response_header and innetgroup_response_header
20414 elements.
20415 * nscd/nscd.conf: Add entries for netgroup cache.
20416 * nscd/nscd.h (dbtype): Add netgrdb.
20417 (_PATH_NSCD_NETGROUP_DB): Define.
20418 (netgroup_iov_disabled): Declare.
20419 (xmalloc, xcalloc, xrealloc): Move declarations here.
20420 (cache_search): Adjust prototype.
20421 Add netgroup-related prototypes.
20422 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20423 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20424 (__nscd_innetgr): Declare.
20425 * nscd/selinux.c (perms): Use access_vector_t as element type and
20426 add netgroup-related initializers.
20427 * nscd/netgroupcache.c: New file.
20428 * nscd/nscd_netgroup.c: New file.
20429 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20430 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20431 For four parameters use innetgr.
20432 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20433 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20434 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20435 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20436
21fd49a9
UD
20437 * nscd/connections.c (register_traced_file): Don't register file
20438 for disabled databases.
20439
054c0457
UD
204402011-10-06 Ulrich Drepper <drepper@gmail.com>
20441
32b63198
UD
20442 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20443
054c0457
UD
20444 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20445 from tree and freeing node.
20446
64031225
JO
204472011-09-25 Jiri Olsa <jolsa@redhat.com>
20448
20449 * nss/nsswitch.c (__nss_database_lookup): Handle
20450 nss_parse_service_list out of memory case.
20451
0490345c
JO
204522011-09-15 Jiri Olsa <jolsa@redhat.com>
20453
20454 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20455 out of memory case.
20456
3a62d00d
AS
204572011-10-04 Andreas Schwab <schwab@redhat.com>
20458
20459 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20460 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20461 pass it down.
20462 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20463 elf_machine_rela, elf_machine_lazy_rel.
20464 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20465 (ELF_DYNAMIC_DO_REL): Likewise.
20466 (ELF_DYNAMIC_DO_RELA): Likewise.
20467 (ELF_DYNAMIC_RELOCATE): Likewise.
20468 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20469 to ELF_DYNAMIC_DO_REL.
20470 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20471 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20472 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20473 elf_machine_rela.
20474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20475 skip_ifunc, don't call ifunc function if non-zero.
20476 (elf_machine_rela): Likewise.
20477 (elf_machine_lazy_rel): Likewise.
20478 (elf_machine_lazy_rela): Likewise.
20479 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20480 (elf_machine_lazy_rel): Likewise.
20481 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20482 Likewise.
20483 (elf_machine_lazy_rel): Likewise.
20484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20485 Likewise.
20486 (elf_machine_lazy_rel): Likewise.
20487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20488 (elf_machine_lazy_rel): Likewise.
20489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20490 (elf_machine_lazy_rel): Likewise.
20491 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20492 (elf_machine_lazy_rel): Likewise.
20493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20494 (elf_machine_lazy_rel): Likewise.
20495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20496 (elf_machine_lazy_rel): Likewise.
20497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20498 (elf_machine_lazy_rel): Likewise.
20499
68577918
UD
205002011-09-28 Ulrich Drepper <drepper@gmail.com>
20501
20502 * nss/nss_files/files-init.c (_nss_files_init): Use static
20503 initialization for all the *_traced_file variables.
20504
68822d74
AS
205052011-09-28 Andreas Schwab <schwab@redhat.com>
20506
20507 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20508
2056100b
RM
205092011-09-27 Roland McGrath <roland@hack.frob.com>
20510
20511 [BZ #13226]
20512 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20513
32c76b63
AS
205142011-09-27 Andreas Schwab <schwab@redhat.com>
20515
20516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20517 Reread the line before reparsing it.
20518
bf972c9d
AS
205192011-09-26 Andreas Schwab <schwab@redhat.com>
20520
20521 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20522
e057a1b5
JM
205232011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20524 Maxim Kuvyrkov <maxim@codesourcery.com>
20525 Joseph Myers <joseph@codesourcery.com>
20526
20527 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20528 if needed for __stack_chk_guard.
20529
bc7e1c36
RM
205302011-09-19 Roland McGrath <roland@hack.frob.com>
20531
ecb1482f
RM
20532 * sysdeps/posix/spawni.c (script_execute): Always define it.
20533 It will be optimized away if unused.
20534 (maybe_script_execute): New function.
20535 (__spawni): Call it.
20536
bc7e1c36
RM
20537 * Makerules: Don't include tls.make.
20538 (config-tls): Always set to thread.
20539 * tls.make.c: File removed.
20540
1c3b002b
MF
205412011-09-19 Mike Frysinger <vapier@gentoo.org>
20542
20543 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20544 * config.make.in (CPPFLAGS-config): New substituted variable.
20545
2840865d
UD
205462011-09-15 Ulrich Drepper <drepper@gmail.com>
20547
88738eb6
UD
20548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20549
cbf645a6 20550 [BZ #13192]
2840865d
UD
20551 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20552 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20553
b402e91a
RM
205542011-09-15 Roland McGrath <roland@hack.frob.com>
20555
20556 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20557 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20559 (CALL_FAIL): Likewise.
20560 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20561 (CALL_FAIL): Macro removed.
20562 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20563
4c1a1f71
UD
205642011-09-15 Ulrich Drepper <drepper@gmail.com>
20565
20566 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20567 for __FINITE_MATH_ONLY__ == 1.
20568
edc121be
AS
205692011-09-15 Andreas Schwab <schwab@redhat.com>
20570
20571 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20572 __ieee754_sqrt instead of sqrt.
20573 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20574 __ieee754_sqrtf instead of sqrtf.
20575 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20576 __floorf instead of floorf.
20577 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20578 __floorf, __truncf instead of floorf, truncf.
20579
cd205654
UD
205802011-09-14 Ulrich Drepper <drepper@gmail.com>
20581
ee4d0315
UD
20582 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20583
cd205654
UD
20584 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20585 __extern_always_inline.
20586 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20587 32-bit.
20588
48b67d71
AS
205892011-09-14 Andreas Schwab <schwab@redhat.com>
20590
20591 * elf/rtld.c (dl_main): Also relocate in dependency order when
20592 doing symbol dependency testing.
20593
1ae12c75
AS
205942011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20595
20596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20597 Always define `refsym'.
20598
995a80df
AS
205992011-09-13 Andreas Schwab <schwab@redhat.com>
20600
e529793b
AS
20601 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20602 (__FD_ELT): Renamed from __FDELT.
20603 * misc/bits/select2.h (__FD_ELT): Likewise.
20604 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20605 __FD_MASK instead of __FDELT, __FDMASK.
20606 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20607 Likewise.
20608 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20609 Likewise.
20610
52d4fef8
AS
20611 * elf/Makefile (gen-ldd): Fix pattern.
20612
995a80df
AS
20613 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20614 (init_tls): Likewise.
20615
8682f8b0
UD
206162011-09-12 Ulrich Drepper <drepper@gmail.com>
20617
20618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20619
de82006d
AS
206202011-09-12 Andreas Schwab <schwab@redhat.com>
20621
a7c8e6a1
AS
20622 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20623 `struct cmsghdr *' instead of `void *'.
20624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20625 Likewise.
20626
0f31fe77
AS
206272011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20628
20629 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20630 if non-absolute.
20631 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20632 ldd_rewrite_script.
0f31fe77 20633
32b4c839
UD
206342011-09-11 Ulrich Drepper <drepper@gmail.com>
20635
83cd1420
UD
20636 * configure.in: Remove --with-tls option.
20637 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20638 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20639 out in case it is missing.
20640 * sysdeps/ia64/elf/configure.in: Likewise.
20641 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20642 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20643 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20644 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20645 * sysdeps/sh/elf/configure.in: Likewise.
20646 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20647 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20648 * sysdeps/x86_64/elf/configure.in: Likewise.
20649 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20650 * sysdeps/mach/hurd/tls.h: Likewise.
20651
633f745d
UD
20652 [BZ #13067]
20653 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20654
f318beb8
UD
20655 [BZ #13090]
20656 * configure.in: Fix use of AC_INIT.
20657
32b4c839
UD
20658 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20659
3ce1f295
UD
206602011-09-10 Ulrich Drepper <drepper@gmail.com>
20661
bb016596
UD
20662 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20663 __set_errno.
8e58439c
UD
20664 * malloc/hooks.c: Likewise.
20665
aebae053 20666 [BZ #11929]
02d46fc4
UD
20667 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20668 variables statically.
20669 (narenas): Initialize.
20670 (list_lock): Initialize.
bb016596
UD
20671 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20672 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20673 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20674 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20675 Add initializers to main_arena and mp_.
20676 (malloc_state): Remove pagesize member. Change all users to use
20677 GLRO(dl_pagesize).
20678
20679 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20680 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20681 is always initialized.
20682
22a89187
UD
20683 * malloc/malloc.c: Removed unused configurations and dead code.
20684 * malloc/arena.c: Likewise.
20685 * malloc/hooks.c: Likewise.
02d46fc4 20686 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20687
d063d164
UD
20688 * include/tls.h: Removed. USE___THREAD must always be defined.
20689 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20690 * elf/dl-libc.c: Likewise.
20691 * elf/dl-tsd.c: Likewise.
20692 * include/errno.h: Likewise.
20693 * include/netdb.h: Likewise.
20694 * include/resolv.h: Likewise.
20695 * inet/herrno-loc.c: Likewise.
20696 * inet/herrno.c: Likewise.
20697 * malloc/arena.c: Likewise.
20698 * malloc/hooks.c: Likewise.
20699 * malloc/malloc.c: Likewise.
20700 * resolv/res-state.c: Likewise.
20701 * resolv/res_libc.c: Likewise.
20702 * sysdeps/i386/dl-machine.h: Likewise.
20703 * sysdeps/ia64/dl-machine.h: Likewise.
20704 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20705 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20706 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20707 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20708 * sysdeps/sh/dl-machine.h: Likewise.
20709 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20710 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20711 * sysdeps/unix/i386/sysdep.S: Likewise.
20712 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20713 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20718 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20722 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20723 * sysdeps/x86_64/dl-machine.h: Likewise.
20724 * tls.make.c: Likewise.
20725
3ce1f295
UD
20726 * configure.in: Remove --with-__thread option. Make tests for
20727 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20728 tls_model attribute fail if no support is available. Remove
20729 USE_IN_LIBIO.
20730 * Makeconfig: Adjust for dropped configure option. All features are
20731 now mandatory.
20732 * Makerules: Likewise.
20733 * Versions.def: Likewise.
20734 * argp/argp-fmtstream.c: Likewise.
20735 * argp/argp-fmtstream.h: Likewise.
20736 * argp/argp-help.c: Likewise.
20737 * assert/assert.c: Likewise.
20738 * config.h.in: Likewise.
20739 * config.make.in: Likewise.
20740 * configure: Likewise.
20741 * configure.in: Likewise.
20742 * csu/Versions: Likewise.
20743 * csu/init.c: Likewise.
20744 * elf/tst-audit2.c: Likewise.
20745 * elf/tst-tls10.c: Likewise.
20746 * elf/tst-tls10.h: Likewise.
20747 * elf/tst-tls11.c: Likewise.
20748 * elf/tst-tls12.c: Likewise.
20749 * elf/tst-tls14.c: Likewise.
20750 * elf/tst-tlsmod11.c: Likewise.
20751 * elf/tst-tlsmod12.c: Likewise.
20752 * elf/tst-tlsmod13.c: Likewise.
20753 * elf/tst-tlsmod13a.c: Likewise.
20754 * elf/tst-tlsmod14a.c: Likewise.
20755 * elf/tst-tlsmod15b.c: Likewise.
20756 * elf/tst-tlsmod16a.c: Likewise.
20757 * elf/tst-tlsmod16b.c: Likewise.
20758 * elf/tst-tlsmod7.c: Likewise.
20759 * elf/tst-tlsmod8.c: Likewise.
20760 * elf/tst-tlsmod9.c: Likewise.
20761 * gmon/gmon.c: Likewise.
20762 * grp/fgetgrent_r.c: Likewise.
20763 * grp/putgrent.c: Likewise.
20764 * hurd/fopenport.c: Likewise.
20765 * include/libc-symbols.h: Likewise.
20766 * include/tls.h: Likewise.
20767 * intl/gettextP.h: Likewise.
20768 * intl/loadinfo.h: Likewise.
20769 * locale/global-locale.c: Likewise.
20770 * locale/localeinfo.h: Likewise.
20771 * mach/devstream.c: Likewise.
20772 * malloc/arena.c: Likewise.
20773 * malloc/set-freeres.c: Likewise.
20774 * misc/err.c: Likewise.
20775 * misc/getttyent.c: Likewise.
20776 * misc/mntent_r.c: Likewise.
20777 * posix/getopt.c: Likewise.
20778 * posix/wordexp.c: Likewise.
20779 * pwd/fgetpwent_r.c: Likewise.
20780 * resolv/Versions: Likewise.
20781 * resolv/res_hconf.c: Likewise.
20782 * shadow/fgetspent_r.c: Likewise.
20783 * shadow/putspent.c: Likewise.
20784 * stdio-common/printf_fphex.c: Likewise.
20785 * stdio-common/tmpfile.c: Likewise.
20786 * stdlib/abort.c: Likewise.
20787 * stdlib/fmtmsg.c: Likewise.
20788 * sunrpc/auth_unix.c: Likewise.
20789 * sunrpc/clnt_perr.c: Likewise.
20790 * sunrpc/clnt_tcp.c: Likewise.
20791 * sunrpc/clnt_udp.c: Likewise.
20792 * sunrpc/clnt_unix.c: Likewise.
20793 * sunrpc/openchild.c: Likewise.
20794 * sunrpc/svc_simple.c: Likewise.
20795 * sunrpc/svc_tcp.c: Likewise.
20796 * sunrpc/svc_udp.c: Likewise.
20797 * sunrpc/svc_unix.c: Likewise.
20798 * sunrpc/xdr.c: Likewise.
20799 * sunrpc/xdr_array.c: Likewise.
20800 * sunrpc/xdr_rec.c: Likewise.
20801 * sunrpc/xdr_ref.c: Likewise.
20802 * sunrpc/xdr_stdio.c: Likewise.
20803
1248c1c4
PB
208042011-09-09 Ulrich Drepper <drepper@gmail.com>
20805
20806 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20807
208082011-07-03 Andreas Jaeger <aj@suse.de>
20809
20810 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20811 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20812 regenerate with gen-libm-tests.pl.
20813
208142010-05-12 Petr Baudis <pasky@suse.cz>
20815
20816 [BZ #11589]
20817 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20818 around j0() zero points by switching to j1().
20819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20822 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20823
f22e1074
UD
208242011-09-09 Ulrich Drepper <drepper@gmail.com>
20825
f19009c1
UD
20826 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20827 instead of 0.
20828 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20829 instead of 0.
f19009c1
UD
20830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20831 Patch in part by Pavel Roskin <proski@gnu.org>.
20832
3f8cc204
UD
20833 [BZ #13138]
20834 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20835 realloc.
20836 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20837 Free memory block if necessary.
20838
f22e1074
UD
20839 [BZ #12847]
20840 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20841 be NULL. Don't lock in this case.
20842
0a2349f9
RM
208432011-09-09 Roland McGrath <roland@hack.frob.com>
20844
20845 * elf/elf.h (ELFOSABI_GNU): New macro.
20846 (ELFOSABI_LINUX): Define to that.
20847
f3cdd467
DZ
208482011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20849
20850 * string/strncat.c (strncat): Undef the symbol in case it has been
20851 defined in bits/string.h.
20852
74718d13
UD
208532011-09-09 Ulrich Drepper <drepper@gmail.com>
20854
633e9e0f
UD
20855 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20856
0a2349f9 20857 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20858 link map.
20859
f9924780
AJ
208602011-08-17 Andreas Jaeger <aj@suse.de>
20861
20862 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20863
7f5517aa
PP
208642011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20865 Ian Lance Taylor <iant@google.com>
20866
20867 * math/libm-test.inc (lround_test): New testcase.
20868 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20869
762011fe
UD
208702011-09-08 Ulrich Drepper <drepper@gmail.com>
20871
92963737
UD
20872 * Makefile: Remove support for automatic cvs check-ins.
20873 * Makerules: Likewise.
20874 * config.make.in: Likewise.
20875 * configure.in: Likewise.
20876 * intl/Makefile: Likewise.
20877 * locale/Makefile: Likewise.
20878 * po/Makefile: Likewise.
20879 * posix/Makefile: Likewise.
20880 * sysdeps/gnu/Makefile: Likewise.
20881 * sysdeps/mach/hurd/Makefile: Likewise.
20882 * sysdeps/sparc/sparc32/Makefile: Likewise.
20883
b0727fd8
JS
20884 [BZ #13118]
20885 * posix/Makefile (bug-regex32-ENV): Define.
20886 Patch by John Stanley <jpsinthemix@verizon.net>.
20887
a0f33f99
UD
20888 * misc/Makefile (headers): Add bits/select2.h.
20889 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20890 * misc/bits/select2.h: New file.
20891 * include/bits/select2.h: New file.
20892 * debug/Makefile (routines): Add fdelt_chk.
20893 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20894 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20895 FD_ISSET.
20896 * debug/fdelt_chk.c: New file.
20897
762011fe
UD
20898 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20899 * wcsmbs/test-wmemcmp.c: Likewise.
20900 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20901 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20902
209032011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20904
20905 * string/Makefile (strop-tests): Add memcmp.
20906 * string/test-wmemcmp.c: New file.
20907 * string/test-memcmp.c: Add wmemcmp support.
20908
7f513ec8
RM
209092011-09-08 Roland McGrath <roland@hack.frob.com>
20910
0442afb4
RM
20911 [BZ #13153]
20912 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20913 2011-07-19 change.
20914
7f513ec8
RM
20915 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20916 garbage value in a __mach_port_mod_refs call in the cases of the
20917 task-self and thread-self ports.
20918
a12b2239
ST
209192011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20920
20921 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20922
610f9ab4
AS
209232011-09-08 Andreas Schwab <schwab@redhat.com>
20924
7f513ec8 20925 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20926
48882a1a
LD
209272011-09-07 Ulrich Drepper <drepper@gmail.com>
20928
b49865be
UD
20929 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20930
fdc86bc9
UD
20931 * elf/dl-libc.c (dlerror_run): Pass back error code from
20932 dl_catch_error.
20933
c966526a
UD
20934 [BZ #13123]
20935 * elf/dl-load.c (lose): Free l_origin if it is valid.
20936
48882a1a
LD
20937 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20938 names.
20939 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20942 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20943 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20944 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20945
77a2a8b4
AZ
209462011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20947
20948 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20949 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20950 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20951 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20952 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20953 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20954 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20955 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20956 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20957 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20958
24f579d8
AM
209592011-08-15 Alan Modra <amodra@gmail.com>
20960
20961 [BZ #13092]
20962 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20963 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20964 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20965 ppc_mcount to static-only-routines.
20966 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20967 __mcount_internal.
20968 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20969 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20970
3d4837df
UD
209712011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20972
20973 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20974 for finite and infinity parameters.
20975
22700377
WS
209762011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20977
20978 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20979 and add nop instructions for throughput optimization.
20980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20981
5025581e
WS
209822011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20983
20984 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20985 aligned copy for power7 with vector-scalar instructions.
20986 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20987
08a300c9
L
209882011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20989
20990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20991 AVX check.
20992
59178ef9
AS
209932011-09-07 Andreas Schwab <schwab@redhat.com>
20994
20995 [BZ #13144]
20996 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20997 last change.
20998
e38ba7ab
UD
209992011-09-07 Ulrich Drepper <drepper@gmail.com>
21000
21001 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21002 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21003 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21004 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21005 clock_gettime.
21006
d53a73ac
UD
210072011-09-06 Ulrich Drepper <drepper@gmail.com>
21008
fc8bffcc
UD
21009 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21010 Forgot to demangle the pointer.
21011
ceaa0c5d
UD
21012 * sysdeps/i386/sysdep.h: Define atom_text_section.
21013 * sysdeps/x86_64/sysdep.h: Likewise.
21014 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21015 section with atom_text_section.
21016 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21018 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21020 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21021
a77d3c17
UD
21022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21024 already be defined. Change to take two parameters and don't assign
21025 result to variable. Adjust all users.
21026 Define INTERNAL_GETTIME if not already defined.
21027 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21028 call.
21029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21030 HAVE_CLOCK_GETTIME_VSYSCALL.
21031 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21032
d53a73ac
UD
21033 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21034 gettimeofday vsyscall, just use time.
21035
a8f84144
AS
210362011-09-06 Andreas Schwab <schwab@redhat.com>
21037
21038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21039 <errno.h>.
21040
ef606249
UD
210412011-09-06 Ulrich Drepper <drepper@gmail.com>
21042
21043 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21044 syscall on x86-64.
21045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21046 syscall.
21047 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21048 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21049 syscall if possible.
21050
6585cb60
UD
210512011-09-05 Ulrich Drepper <drepper@gmail.com>
21052
21053 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21054 e_ident. Don't pass to find_mapsXX.
21055 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21056
a5f524e4
LD
210572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21058
21059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21060 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21061 * sysdeps/x86_64/multiarch/strchr.S: Update.
21062 Check bit_slow_BSF bit.
21063 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21064 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21066
554881ef
UD
210672011-09-05 Ulrich Drepper <drepper@gmail.com>
21068
d96de963
UD
21069 [BZ #13134]
21070 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21071 before glibc 2.15.
21072 (tryshell): Define.
21073 (__spawni): Change last parameter to be flag. Test
21074 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21075 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21076 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21077 * posix/spawni.c: Likewise.
21078 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21079 * posix/spawnp.c: Likewise. Change normal version to use
21080 SPAWN_XFLAGS_USE_PATH.
21081 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21082 SPAWN_XFLAGS_TRY_SHELL.
21083
d48e5868
UD
21084 [BZ #13150]
21085 * posix/glob.h: Remove gcc 1.x support.
21086
554881ef
UD
21087 [BZ #13068]
21088 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21089
693fb948
LD
210902011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21091
21092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21093 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21094 strrchr-sse2-bsf
21095 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21096 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21097 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21099 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21100 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21101
1b48c537
UD
211022011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21103
49d42c37
UD
21104 * sysdeps/x86_64/wcscmp.S: New file.
21105
1b48c537
UD
21106 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21107 wcscmp-c wcscmp-sse2
21108 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21109 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21110 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21111 * wcsmbs/wcscmp.c: Allow renaming.
21112
15c95c5d
DM
211132011-09-05 David S. Miller <davem@davemloft.net>
21114
21115 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21116 stack slot, rather than the struct return pointer slot.
21117 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21118 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21120 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21121
2f0ad8f3
UD
211222011-09-05 Ulrich Drepper <drepper@gmail.com>
21123
d88ae418
UD
21124 * po/ja.po: Update from translation team.
21125
2f0ad8f3
UD
21126 [BZ #13144]
21127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21128 kernel in 64-bit binaries.
21129
5f4318d1
DM
211302011-09-01 David S. Miller <davem@davemloft.net>
21131
21132 * elf/elf.h (HWCAP_SPARC_*): Move to..
21133 * sysdeps/sparc/sysdep.h: this new file and add new values.
21134 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21135 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21136 _DL_HWCAP_COUNT to 24.
21137 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21138 entries.
21139 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21140 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21141 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21143 instead of magic constants.
21144 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21145
3ba57516
DM
211462011-08-31 David S. Miller <davem@davemloft.net>
21147
21148 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21150 Reimplement to do errno handling inline.
21151 (SYSCALL_ERROR_HANDLER): New macro.
21152 (__SYSCALL_STRING): Do not do errno handling in asm.
21153 (__CLONE_SYSCALL_STRING): Delete.
21154 (__INTERNAL_SYSCALL_STRING): Delete.
21155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21156 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21157 (PSEUDO): Reimplement to do errno handling inline.
21158 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21159 (SYSCALL_ERROR_HANDLER): New macro.
21160 (__SYSCALL_STRING): Do not do errno handling in asm.
21161 (__CLONE_SYSCALL_STRING): Delete.
21162 (__INTERNAL_SYSCALL_STRING): Delete.
21163 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21164 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21165 i386.
21166 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21167 (inline_syscall*): Add 'err' argument.
21168 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21169 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21170 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21171 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21172
21173 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21174 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21175
2bc17433
AS
211762011-08-30 Andreas Schwab <schwab@redhat.com>
21177
21178 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21179
fbeb5f4d
JO
211802011-08-29 Jiri Olsa <jolsa@redhat.com>
21181
21182 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21183 directive.
21184
ad69cc26
DM
211852011-08-24 David S. Miller <davem@davemloft.net>
21186
21187 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21188
39dd69df
AS
211892011-08-24 Andreas Schwab <schwab@redhat.com>
21190
21191 * elf/Makefile: Add rules to build and run unload8 test.
21192 * elf/unload8.c: New file.
21193 * elf/unload8mod1.c: New file.
21194 * elf/unload8mod1x.c: New file.
21195 * elf/unload8mod2.c: New file.
21196 * elf/unload8mod3.c: New file.
21197
21198 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21199 it wasn't used.
21200
2c0b250a
DM
212012011-08-23 David S. Miller <davem@davemloft.net>
21202
21203 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21204 subtract stack bias.
21205 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21206 %sp not %fp in calculations.
21207 (_JMPBUF_UNWINDS_ADJ): Likewise.
21208
22044b48
DM
21209 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21210 (aio_suspend): Call it to force an exception region around the
21211 AIO_MISC_WAIT() invocation.
21212
2cae4995
AS
212132011-08-23 Andreas Schwab <schwab@redhat.com>
21214
21215 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21216 backslash.
21217
873a772e
AJ
212182011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21219
21220 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21221 protection macro.
21222 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21223 and <dl-machine.h>.
21224 (Elf64_FuncDesc): Remove.
21225
25ad0df1
DM
212262011-08-22 David S. Miller <davem@davemloft.net>
21227
21228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21229 sigaltstack check, add missing cfi directives.
21230 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21231 missing cfi directives, and sigaltstack handling.
21232
e888bcbe
AS
212332011-08-16 Andreas Schwab <schwab@redhat.com>
21234
21235 [BZ #11724]
21236 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21237 object is seen twice.
21238 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21239
21240 * elf/Makefile (distribute): Add tst-initorder2.c.
21241 (tests): Add tst-initorder2.
21242 (modules-names): Add tst-initorder2a tst-initorder2b
21243 tst-initorder2c tst-initorder2d. Add rules to build them.
21244 ($(objpfx)tst-initorder2.out): New rule.
21245 * elf/tst-initorder2.c: New file.
21246 * elf/tst-initorder2.exp: New file.
21247
87162f46
AS
212482011-08-22 Andreas Schwab <schwab@redhat.com>
21249
70538b7f
AS
21250 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21251
f55ffe58
AS
21252 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21253 dependencies back to end of function.
21254
87162f46
AS
21255 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21256 $(elfobjdir)/ld.so.
21257
91b392a4
UD
212582011-08-21 Ulrich Drepper <drepper@gmail.com>
21259
21260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21261 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21263 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21264 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21265 of __vdso_gettimeofday.
21266 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21267 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21268 attribute_hidden.
21269 (_libc_vdso_platform_setup): Remove initialization of
21270 __vdso_gettimeofday and __vdso_time.
21271
5c43483f
UD
212722011-08-20 Ulrich Drepper <drepper@gmail.com>
21273
775a77e7
UD
21274 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21275 and fgetc_unlocked.
21276 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21277 getc_unlocked.
89f447ed 21278
49c74ba9
UD
21279 * elf/dl-open.c (add_to_global): Report additions to the global scope
21280 for LD_DEBUG=scopes.
21281 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21282 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21283
5c43483f
UD
21284 [BZ #13114]
21285 * stdio-common/Makefile (tests): Add bug24.
21286 * stdio-common/bug24.c: New file.
21287
a101b025
AJ
212882011-08-19 Andreas Jaeger <aj@suse.de>
21289
21290 [BZ #13114]
21291 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21292 non-existant file when using close-on-exec mode.
21293
c88f1766
UD
212942011-08-20 Ulrich Drepper <drepper@gmail.com>
21295
0276a718
UD
21296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21297 the very first instruction.
21298
c88f1766
UD
21299 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21300 the CFI state in the end.
21301 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21302 inclusion of dl-trampoline.h.
21303 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21304
51ccffa0
AS
213052011-08-19 Andreas Schwab <schwab@redhat.com>
21306
94d7165f
AS
21307 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21308 expectations for long double.
21309
51ccffa0
AS
21310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21311 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21312
fd708658 213132011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21314
21315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21316 artificual limit depends upon the system page size.
21317
44f0a71e
UD
213182011-08-17 Ulrich Drepper <drepper@gmail.com>
21319
21320 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21321 * resolv/Makefile: Define CFLAGS-libresolv.
21322
8de79a24
AS
213232011-08-17 Andreas Schwab <schwab@redhat.com>
21324
21325 * nss/makedb.c (compute_tables): Make variables used in nested
21326 function static.
21327
27724598
UD
213282011-08-17 Ulrich Drepper <drepper@gmail.com>
21329
c5305d88
UD
21330 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21331 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21332 if buffer was too small.
21333
27724598
UD
21334 * elf/pldd.c (main): Attach to all threads in the process.
21335 Rewrite /proc handling to use *at functions.
21336
076fe015
UD
213372011-08-16 Ulrich Drepper <drepper@gmail.com>
21338
174baab3
UD
21339 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21340 specifies first scope to show.
21341 (dl_open_worker): Update callers. Move printing scope of new
21342 object to before the relocation.
44f0a71e 21343 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21344 * sysdeps/generic/ldsodefs.h: Update declaration.
21345
076fe015
UD
21346 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21347 string for the scope number.
21348
a60df2c3
UD
213492011-08-14 Ulrich Drepper <drepper@gmail.com>
21350
21351 * nscd/servicescache.c (cache_addserv): Make sure written is always
21352 initialized.
21353
5e4287d1
RM
213542011-08-14 Roland McGrath <roland@hack.frob.com>
21355
85ae0589
RM
21356 * sysdeps/i386/i486/bits/atomic.h
21357 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21358 statement expression, so as to suppress "set but not used" warning.
21359 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21360
69f63097
RM
21361 * string/strncat.c (STRNCAT): Use prototype definition.
21362
675456ef
RM
21363 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21364 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21365 -Iprograms here.
21366 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21367 (localedef-modules): Add localedef.
21368 (locale-modules): Add locale.
21369
5e4287d1
RM
21370 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21371 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21372 to avoid a warning.
21373
9c96ff23
DM
213742011-08-14 David S. Miller <davem@davemloft.net>
21375
21376 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21377 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21378
f9ddf089
UD
213792011-08-13 Ulrich Drepper <drepper@gmail.com>
21380
44f0a71e 21381 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21382 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21383 * elf/rtld.c (dl_main): Set l_name of vDSO.
21384 Call _dl_show_scope when DL_DEBUG_SCOPES.
21385 (process_dl_debug): Recognize scopes flag and also set it for all.
21386 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21387 Declare _dl_show_scope.
21388
1dc27704
UD
21389 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21390 (do_dlopen): Pass caller_dlopen to dl_open.
21391 (__libc_dlopen_mode): Initialize caller_dlopen.
21392
f9ddf089
UD
21393 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21394 of libc. Make tolower call locale-independent. Optimize a bit by
21395 using isdigit instead of isalnum.
21396 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21397
9ac533d3
UD
213982011-08-12 Ulrich Drepper <drepper@gmail.com>
21399
21400 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21401 was a dependency or dynamically loaded.
21402
89edf2e9
UD
214032011-08-11 Ulrich Drepper <drepper@gmail.com>
21404
8e999d29
UD
21405 * intl/l10nflist.c: Allow architecture-specific pop function.
21406 * sysdeps/x86_64/l10nflist.c: New file.
21407
89edf2e9
UD
21408 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21409 classification.
21410
14d96785
AS
214112011-08-10 Andreas Schwab <schwab@redhat.com>
21412
21413 * include/dirent.h: Add libc_hidden_proto for scandirat and
21414 scandirat64. Don't declare __scandirat64.
21415 * dirent/scandirat.c: Add libc_hidden_def.
21416 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21417 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21418
6761ac04
DM
214192011-08-10 David S. Miller <davem@davemloft.net>
21420
21421 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21422 enum.
21423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21424 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21425 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21426
c55fbd1e
UD
214272011-08-09 Ulrich Drepper <drepper@gmail.com>
21428
21429 * Versions.def [libc]: Add GLIBC_2.15.
21430 * dirent/Makefile (routines): Add scandirat and scandirat64.
21431 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21432 GLIBC_2.15.
21433 * dirent/dirent.h: Declare scandirat and scandirat64.
21434 * dirent/scandirat.c: New file.
21435 * dirent/scandirat64.c: New file.
21436 * sysdeps/wordsize-64/scandirat.c: New file.
21437 * sysdeps/wordsize-64/scandirat64.c: New file.
21438 * dirent/opendir.c: Define opendirat.
21439 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21440 using scandirat.
21441 * dirent/scandir64.c: Adjust for scandir.c change.
21442 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21443 __scandirat64, and __scandir_cancel_handler.
21444 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21445 additional parameter and use openat instead of open (outside of ld.so).
21446 Add new __opendir as wrapper around __opendirat.
21447 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21448 here without requiring old scandirat implementation.
21449
879165f2
UD
214502011-08-08 Ulrich Drepper <drepper@gmail.com>
21451
21452 * dirent/scandir.c (cancel_handler): Renamed to
21453 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21454 defined. Adjust users.
21455 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21457
cb7e923b
UD
214582011-08-04 Ulrich Drepper <drepper@gmail.com>
21459
16292edd
UD
21460 * string/test-string.h (IMPL): Use __STRING to expand name and then
21461 stringify it.
21462
cb7e923b
UD
21463 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21464 of cleanups.
21465
cff82933
LD
214662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21467
21468 * string/Makefile: Update.
21469 (strop-tests): Append strncat.
21470 * string/test-wcscmp.c: New file.
21471 New comprehensive test for wcscmp.
21472 * string/test-strcmp.c: Update.
21473 (WIDE): New define.
21474
9be9bfcc
AS
214752011-07-22 Andreas Schwab <schwab@redhat.com>
21476
21477 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21478 line.
21479
2e96f1c7
AS
214802011-07-26 Andreas Schwab <schwab@redhat.com>
21481
21482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21483 encoding to ACE if AI_IDN.
21484
85188888
JJ
214852011-08-01 Jakub Jelinek <jakub@redhat.com>
21486
21487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21488 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21489
5fa16e9b
LD
214902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21491
21492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21493 Fix overflow bug in strncat.
21494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21495
21496 * string/test-strncat.c: Update.
21497 Add new tests for checking overflow bugs.
21498
214992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21500
21501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21502 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21503 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21504 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21506 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21507 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21508 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21509 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21510
21511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21512 (USE_AS_STRCAT): Define.
21513 Add strcat and strncat support.
21514 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21515
8c1a459f
AS
215162011-07-25 Andreas Schwab <schwab@redhat.com>
21517
21518 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21519 __n bigger than INT_MAX+1.
21520 (__strncmp_g): Likewise.
21521
bba33c28
UD
215222011-07-23 Ulrich Drepper <drepper@gmail.com>
21523
798be72d
UD
21524 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21525 * libio/stido.h: Likewise.
21526
8accd4dc
UD
21527 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21528 (AF_NFC): Define.
21529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21530 (AF_NFC): Define.
21531
cbff0d96
UD
21532 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21534 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21535 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21537
9191c04a
UD
21538 [BZ #13021]
21539 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21540 installed.
21541
bba33c28
UD
21542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21543 typo.
21544 (_dl_x86_64_save_sse): Likewise.
21545
90f139dd
UD
215462011-07-22 Ulrich Drepper <drepper@gmail.com>
21547
1aae088a
UD
21548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21549 OSXSAVE.
21550 (_dl_x86_64_save_sse): Likewise.
21551
8e2045f5
UD
21552 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21553
90f139dd
UD
21554 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21555
1d002f25
AS
215562011-07-21 Andreas Schwab <schwab@redhat.com>
21557
21558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21559 change.
21560 (_dl_x86_64_save_sse): Use correct AVX check.
21561
21137f89
UD
215622011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21563
21564 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21565 bug in strncpy/strncat.
21566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21567
a65c0b7a
UD
215682011-07-21 Ulrich Drepper <drepper@gmail.com>
21569
21570 * string/tester.c (test_strcat): Add tests for different alignments
21571 of source and destination.
21572 (test_strncat): Likewise.
21573
6986b98a
UD
215742011-07-20 Ulrich Drepper <drepper@gmail.com>
21575
90bb2039
UD
21576 [BZ #12852]
21577 * posix/glob.c (glob): Check passed in values before using them in
21578 expressions to avoid some overflows.
21579 (glob_in_dir): Likewise.
21580
5644ef54
UD
21581 [BZ #13007]
21582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21583 check for AVX enablement so that we don't crash with old kernels and
21584 new hardware.
21585 * elf/tst-audit4.c: Add same checks here.
21586 * elf/tst-audit6.c: Likewise.
21587
21588 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21589
bfc9dc9b
AS
215902011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21591
21592 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21593
702e64bb
UD
215942011-07-20 Ulrich Drepper <drepper@gmail.com>
21595
21596 * po/cs.po: Update from translation team.
21597 * po/bg.po: Likewise.
21598
295e904f
MP
215992011-07-12 Marek Polacek <mpolacek@redhat.com>
21600
21601 * misc/sys/cdefs.h: Add support for const attribute.
21602 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21603 to gnu_dev_{major,minor,makedev} functions.
21604
3ff94596
MP
216052011-07-20 Marek Polacek <mpolacek@redhat.com>
21606
21607 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21608
28b59fca
AS
216092011-07-20 Andreas Schwab <schwab@redhat.com>
21610
21611 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21612 strlen results.
21613
19df733e
AK
216142011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21615
21616 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21617 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21618 register in order to avoid conflicts with the soft frame pointer
21619 being held in r11 when necessary.
21620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21621 (INTERNAL_VSYSCALL_NCS): Likewise.
21622
c8835729
MP
216232011-07-14 Marek Polacek <mpolacek@redhat.com>
21624
21625 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21626 * elf/dl-fini.c (_dl_fini): Adjust caller.
21627 * elf/dl-close.c (_dl_close_worker): Likewise.
21628 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21629
b902330c
MP
216302011-07-15 Marek Polacek <mpolacek@redhat.com>
21631
8991e135
MP
21632 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21633 "aux_cache->nlibs < 0".
21634
b902330c
MP
21635 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21636 in the reload-count case.
21637
99710781
LD
216382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21639
21640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21641 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21642 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21643 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21644 * sysdeps/x86_64/multiarch/strcat.S: New file.
21645 * sysdeps/x86_64/multiarch/strncat.S: New file.
21646 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21647 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21648 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21649 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21651 (USE_AS_STRCAT): Define.
21652 Add strcat and strncat support.
21653 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21655 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21656 * string/strncat.c: Update.
21657 (USE_AS_STRNCAT): Define.
21658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21659 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21660 and i7.
21661 * sysdeps/x86_64/multiarch/init-arch.h
21662 (bit_Prefer_PMINUB_for_stringop): New.
21663 (index_Prefer_PMINUB_for_stringop): Likewise.
21664 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21665 bit_Prefer_PMINUB_for_stringop.
21666
7dc6bd90
UD
216672011-07-19 Ulrich Drepper <drepper@gmail.com>
21668
21669 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21670 buffer64.
21671 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21672 of casting of buffer.
21673 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21674 buffer32 and buffer64.
21675 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21676 writes instead of casting of buffer.
21677 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21678 buffer32.
21679 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21680 casting of buffer.
21681
e0e72284
AS
216822011-07-19 Andreas Schwab <schwab@redhat.com>
21683
21684 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21685
feb1eb0b
UD
216862011-07-19 Ulrich Drepper <drepper@gmail.com>
21687
21688 * nscd/nscd.c (termination_handler): Don't do anything for a database
21689 if it has not yet been initialized.
21690
298711ff
UD
216912011-07-18 Ulrich Drepper <drepper@gmail.com>
21692
21693 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21694
216952011-07-15 Marek Polacek <mpolacek@redhat.com>
21696
21697 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21698
f9d68389
UD
216992011-07-18 Ulrich Drepper <drepper@gmail.com>
21700
21701 * po/nl.po: Update from translation team.
21702 * po/sv.po: Likewise.
21703
db290cf5
RM
217042011-07-16 Roland McGrath <roland@hack.frob.com>
21705
21706 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21707 now disallowed by GCC.
5c550700 21708
fd5e21c7
RM
21709 * configure.in (use-default-link): Default to yes if a test -shared
21710 link meets our qualifications.
21711 * configure: Regenerated.
21712
5c550700
RM
21713 * config.make.in (output-format): New variable.
21714 * configure.in: Check for ld --print-output-format support.
21715 * configure: Regenerated.
21716 * Makerules ($(common-objpfx)format.lds)
21717 [$(output-format) != unknown]: Just use $(output-format),
21718 instead of the linker-script munging.
21719
9fa2c032
RM
217202011-07-14 Roland McGrath <roland@hack.frob.com>
21721
a6928d51
RM
21722 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21723 of $(common-objpfx)shlib.lds.
21724 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21725
661607b3
RM
21726 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21727 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21728
9fa2c032
RM
21729 * configure.in (-z relro check): Adjust test code to add a large
21730 writable data section after it.
21731 * configure: Regenerated.
21732
defe9061
RM
217332011-07-11 Roland McGrath <roland@hack.frob.com>
21734
21735 * configure.in (-z relro check): Fix test code to make the variable
21736 truly const.
21737 * configure: Regenerated.
21738
319b9ad4
UD
217392011-07-11 Ulrich Drepper <drepper@gmail.com>
21740
21741 * nscd/nscd.h (struct traced_file): Define.
21742 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21743 elements. Add traced_files.
21744 (inotify_fd): Declare.
21745 (register_traced_file): Declare.
21746 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21747 (inotify_fd): Export.
21748 (resolv_conf_descr): Remove.
21749 (nscd_init): Move inotify descriptor creation to main.
21750 Don't register files for notification here.
21751 (register_traced_file): New function.
21752 (invalidate_cache): Don't use reset_res to determine whether to call
21753 res_init, go through the list of registered files.
21754 (main_loop_poll): The inotify descriptors are now stored in the
21755 structures for the traced files.
21756 (main_loop_epoll): Likewise
21757 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21758 to __nss_disable_nscd.
21759 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21760 for a database anymore. Check the records for all the registered
21761 files instead.
21762 * nss/Makefile (libnss_files-routines): Add files-init.
21763 (libnss_db-routines): Add db-init.
21764 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21765 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21766 * nss/nss_db/db-init.c: New file.
21767 * nss/nss_files/files-init.c: New file.
21768 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21769 __nss_lookup_function.
21770 (__nss_lookup_function): Call nss_load_library.
21771 (nss_load_all_libraries): New function.
21772 (__nss_disable_nscd): Take parameter with callback function for files
21773 to register. Set is_nscd. Load all the DSOs for the NSS modules
21774 used for the cached services.
21775 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21776 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21777 options for features to all the files in nscd.
21778
21779 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21780
23bee3e8
RM
217812011-07-10 Roland McGrath <roland@hack.frob.com>
21782
21783 * csu/elf-init.c (__libc_csu_init): Comment typo.
21784
46a5b7f0
UD
217852011-07-09 Ulrich Drepper <drepper@gmail.com>
21786
21787 * po/pl.po: Update from translation team.
21788 * po/ja.po: Likewise.
21789 * po/ru.po: Likewise.
21790 * po/ko.po: Likewise.
21791 * po/fr.po: Likewise.
21792
d30cf5bb
RM
217932011-07-09 Roland McGrath <roland@hack.frob.com>
21794
113ddea4
RM
21795 * configure.in (.ctors/.dtors header and trailer check):
21796 Use an empirical test on a built program.
21797 * configure: Regenerated.
21798
574920b4
RM
21799 * configure.in (-z relro check): Use an empirical test on a built DSO.
21800 Detect, but do not require, on ia64.
21801 * configure: Regenerated.
21802
d30cf5bb
RM
21803 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21804 Update tests that use readelf to use $READELF instead.
21805 * configure: Regenerated.
21806
8538fdb3
UD
218072011-07-08 Ulrich Drepper <drepper@gmail.com>
21808
21809 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21810 if the result is not used.
21811
04d08991
AJ
218122011-07-05 Andreas Jaeger <aj@suse.de>
21813
21814 [BZ#9696]
21815 * stdlib/tst-strtod.c: Add testcase.
21816
de283087
AD
218172011-07-07 Ulrich Drepper <drepper@gmail.com>
21818
4e5f31c8 21819 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21820 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21821 The latter has a higher limit. Take additional parameter to pass to
21822 the new function.
21823 (__pathconf): Pass file to __statfs_link_max.
21824 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21825 __statfs_link_max.
21826 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21827 __statfs_link_max.
21828
de283087
AD
21829 [BZ #12868]
21830 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21831 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21832 Handle Lustre.
21833 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21834 (__statfs_filesize_max): Likewise.
21835 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21836
c75fa153
AJ
218372011-07-05 Andreas Jaeger <aj@suse.de>
21838
21839 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21840
1a544854
UD
218412011-07-06 Marek Polacek <mpolacek@redhat.com>
21842
21843 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21844 `status' variable.
21845 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21846 Likewise.
21847
6f0eec67
UD
218482011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21849
21850 * Makefile (strop-tests): Add strncat.
21851 * string/test-strncat.c: New file.
21852
aae30307
UD
218532011-06-30 Marek Polacek <mpolacek@redhat.com>
21854
21855 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21856
c0cfb5eb
UD
218572011-06-21 Andreas Jaeger <aj@suse.de>
21858
21859 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21860 Copy rule from iconvdata/Makefile.
21861
01636b21
UD
218622011-07-06 Ulrich Drepper <drepper@gmail.com>
21863
21864 [BZ #12922]
21865 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21866 but no long options are defined, just return 'W'.
21867
9895c8bc
UD
218682011-06-22 Marek Polacek <mpolacek@redhat.com>
21869
21870 [BZ #9696]
21871 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21872
5d4cf042
UD
218732011-07-06 Ulrich Drepper <drepper@gmail.com>
21874
21875 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21876 netgroups to read.
960e5535 21877 (innetgr): Likewise.
5d4cf042 21878
751eb97e
RM
218792011-07-05 Roland McGrath <roland@hack.frob.com>
21880
21881 * config.make.in (install_root): Default to $(DESTDIR).
21882
f15f1e45
UD
218832011-07-05 Ulrich Drepper <drepper@gmail.com>
21884
21885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21886
4e34ac6a
RM
218872011-07-02 Roland McGrath <roland@hack.frob.com>
21888
5e9b6af4
RM
21889 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21890
84f9ea0f
RM
21891 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21892 containing directory rather than embedding absolute directory names.
21893
ea5ee9f7
RM
21894 * scripts/check-local-headers.sh: Rewritten using awk.
21895 Match by word, not by line. Print error messages for matches.
21896 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21897
1b74661a
RM
21898 * Makerules [shlib-lds-flags empty]:
21899 ($(common-objpfx)libc_pic.opts): New target.
21900 ($(common-objpfx)libc_pic.os.clean): New target.
21901 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21902
21903 * config.make.in (OBJCOPY): New variable.
21904 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21905 * configure: Regenerated.
21906
f781ef40
RM
21907 * config.make.in (use-default-link): New variable.
21908 * configure.in (use_default_link): Grok --with-default-link to set it.
21909 * configure: Regenerated.
21910 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21911 (shlib-lds, shlib-lds-flags): Define to empty.
21912
2d4fa81e
RM
21913 * Makerules (shlib-lds): New variable.
21914 (shlib-lds-flags): New variable.
21915 (build-shlib, build-moduile, build-module-asneeded): Use it.
21916 ($(common-objpfx)libc.so): Use $(shlib-lds).
21917 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21918 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21919
31fffa6b
RM
21920 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21921 DT_FLAGS/DT_FLAGS_1 with zero flags.
21922
4e34ac6a
RM
21923 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21924 linker script munging.
21925
fcfc776b
UD
219262011-07-02 Ulrich Drepper <drepper@gmail.com>
21927
21928 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21929 as 128-bit value.
21930 * crypt/sha512.c (sha512_process_block): Perform total addition using
21931 128-bit if possible.
21932 (__sha512_finish_ctx): Likewise.
21933 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21934 as 64-bit value.
21935 * crypt/sha256.c (SWAP64): Define.
21936 (sha256_process_block): Perform total addition using 64-bit if
21937 possible.
21938 (__sha256_finish_ctx): Likewise.
21939
99231d9a
UD
219402011-07-01 Ulrich Drepper <drepper@gmail.com>
21941
21942 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21944 * nscd/hstcache.c (cache_addhst): Likewise.
21945 * nscd/grpcache.c (cache_addgr): Likewise.
21946 * nscd/aicache.c (addhstaiX): Likewise
21947 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21948
445b4a53
TK
219492011-07-01 Thorsten Kukuk <kukuk@suse.de>
21950
21951 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21953 * nscd/hstcache.c (cache_addhst): Likewise.
21954 * nscd/grpcache.c (cache_addgr): Likewise.
21955 * nscd/aicache.c (addhstaiX): Likewise
21956
6d4d8e8e
AS
219572011-07-01 Andreas Schwab <schwab@redhat.com>
21958
21959 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21960 domain only when needed.
21961
89f654c5
AS
219622011-06-30 Andreas Schwab <schwab@redhat.com>
21963
21964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21965 is always restored.
21966
cf3b23ff
UD
219672011-06-29 Ulrich Drepper <drepper@gmail.com>
21968
21969 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21970 are re-adding the entry.
21971 * nscd/servicescache.c (cache_addserv): Likewise.
21972
751626f9
AJ
219732011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21974
21975 * sysdeps/generic/dl-irel.h: fix protection against multiple
21976 inclusions.
21977 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21978
9113ea1f
UD
219792011-06-28 Ulrich Drepper <drepper@gmail.com>
21980
5c0b8d90
UD
21981 [BZ #12935]
21982 * malloc/memusage.sh: Fix quoting in message.
21983 * debug/xtrace.sh: Likewise.
21984
9113ea1f
UD
21985 * configure.in: Remove support for --experimental-malloc option, make
21986 it the default.
21987 * config.make.in: Likewise.
21988 * malloc/Makefile: Likewise.
21989
a4172181
AS
219902011-06-27 Andreas Schwab <schwab@redhat.com>
21991
21992 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21993 two-byte characters.
21994
78a7eee7
RM
219952011-06-27 Roland McGrath <roland@hack.frob.com>
21996
62bede13
RM
21997 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21998 AC_CACHE_CHECK invocation.
21999 * configure: Regenerated.
22000
78a7eee7
RM
22001 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22002
5ce33a62
UD
220032011-06-27 Ulrich Drepper <drepper@gmail.com>
22004
034807a9
UD
22005 [BZ #12350]
22006 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22007 bit from old_res_options.
22008
4902da17
UD
22009 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22010
5ce33a62
UD
22011 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22012 value type for setfct.
22013
c2344f56
L
220142011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22015
22016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22017 __gettimeofday instead of gettimeofday.
22018
68468076
UD
220192011-06-26 Ulrich Drepper <drepper@gmail.com>
22020
22021 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22022
acb0d739
L
220232011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22024
22025 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22026
22027 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22028 info.
22029
8912479f
L
220302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22031
22032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22033 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22034 strcpy-sse2-unaligned strncpy-sse2-unaligned
22035 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22036 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22037 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22038 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22039 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22040 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22041 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22042 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22043 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22044 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22045 (STRCPY): Support SSE2 and SSSE3 versions.
22046
d5495a11
UD
220472011-06-24 Ulrich Drepper <drepper@gmail.com>
22048
22049 [BZ #12874]
22050 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22051 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22052 kernels which artificially limit size of requests.
22053
0b1cbaae
L
220542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22055
22056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22057 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22058 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22059 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22060 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22061 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22062 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22063 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22064 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22066 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22067 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22068 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22069 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22070 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22072 Enable unaligned load optimization for Intel Core i3, i5 and i7
22073 processors.
22074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22075 Define.
22076 (index_Fast_Unaligned_Load): Define.
22077 (HAS_FAST_UNALIGNED_LOAD): Define.
22078
07f494a0
MP
220792011-06-23 Marek Polacek <mpolacek@redhat.com>
22080
22081 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22082
fa3fc0fe
UD
220832011-06-22 Ulrich Drepper <drepper@gmail.com>
22084
22085 [BZ #12907]
22086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22087 until it is clear that the information is realy needed.
22088 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22089
e12df166
AS
220902011-06-22 Andreas Schwab <schwab@redhat.com>
22091
22092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22093
852eb34d
UD
220942011-06-22 Ulrich Drepper <drepper@gmail.com>
22095
84e2a551
UD
22096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22097 /sys/devices/system/cpu/online if it is usable.
22098
852eb34d
UD
22099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22100 reading the information from the /proc filesystem to once a second.
22101
6e502e19
UD
221022011-06-21 Andreas Jaeger <aj@suse.de>
22103
22104 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22105 NULL after inclusion of kernel headers.
22106
75d39ff2
UD
221072011-06-21 Ulrich Drepper <drepper@gmail.com>
22108
51f9aa6a
UD
22109 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22110 calls to internal_setent.
22111
c0244a9d
UD
22112 [BZ #12885]
22113 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22114 addresses using gethostbyname4_r ignore IPv4 addresses.
22115
c5e3c2ae
UD
22116 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22117 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22118
75d39ff2
UD
22119 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22120
42675c6f
DM
221212011-06-20 David S. Miller <davem@davemloft.net>
22122
22123 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22124 inclusions.
22125 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22126
22127 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22128 (elf_irel): Use it.
22129 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22130 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22131 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22132 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22133 * sysdeps/x86_64/dl-irel.h: Likewise.
22134
22135 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22136 * elf/dl-sym.c: Likewise.
22137
57912a71
UD
221382011-06-15 Ulrich Drepper <drepper@gmail.com>
22139
22140 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22141 need to dereference resplen2.
22142
ee22793d
AS
221432011-06-14 Andreas Schwab <schwab@redhat.com>
22144
22145 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22146
a9e836b0
UD
221472011-06-15 Ulrich Drepper <drepper@gmail.com>
22148
77fb9117
UD
22149 * Makeconfig: Define vardbdir and inst_vardbdir.
22150 * nss/Makefile: Add rules to install db-Makefile.
22151
40c1b22c
UD
22152 * nss/nss_db/db-XXX.c: Cleanup.
22153
9f2da732
UD
22154 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22155 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22156 GLIBC_PRIVATE.
22157 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22158 * nss/makedb.c: Implement -g option to specify that value strings
22159 are generated and should not be added to table iterated over for
22160 get*ent calls.
22161 * nss/nss_db/db-initgroups.c: New file.
22162
82e9a1f7
UD
22163 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22164 interface.
22165
c41af17e
UD
22166 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22167 (internal_getgrouplist): Adjust to name change.
22168 Update use_initgroups_entry if this is not the first call.
22169 * nss/databases.def: Add initgroups entry.
22170
a9e836b0
UD
22171 * nss/makedb.c (compute_tables): Check result of multiple hash table
22172 sizes to minimize maximum chain length.
22173
2666d441
UD
221742011-06-14 Ulrich Drepper <drepper@gmail.com>
22175
22176 * Versions.def: Add entry for libnss_db.
22177 * shlib-versions: Likewise.
22178 * nss/Makefile: Add rules to build libnss_db.
22179 * nss/Versions: Add libnss_db information. Organize libnss_files
22180 entries better.
22181 * nss/db-Makefile: Add gshadow support. Change rules for the new
22182 makedb progra. Some minor improvements to generate smaller files.
22183 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22184 here from...
22185 * nss/makedb.c: ...here.
22186 Improve database format to be smaller and require less memory at
22187 runtime.
22188 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22189 db anymore.
22190 * nss/nss_db/db-netgrp.c: Likewise.
22191 * nss/nss_db/db-open.c: Likewise.
22192 * nss/nss_files/flies-XXX.x: Adjust comments.
22193 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22194 * nss/nss_files/files-grp.c: Likewise.
22195 * nss/nss_files/files-hosts.c: Likewise.
22196 * nss/nss_files/files-network.c: Likewise.
22197 * nss/nss_files/files-proto.c: Likewise.
22198 * nss/nss_files/files-pwd.c: Likewise.
22199 * nss/nss_files/files-rpc.c: Likewise.
22200 * nss/nss_files/files-service.c: Likewise.
22201 * nss/nss_files/files-sgrp.c: Likewise.
22202 * nss/nss_files/files-spwd.c: Likewise.
22203 * nss/nss_db/db-alias.c: Removed.
22204 * nss/nss_db/dummy-db.h: Removed.
22205
9ee76b5a
UD
222062011-06-02 Ulrich Drepper <drepper@gmail.com>
22207
22208 * nss/makedb.c: Rewritten to not use database library.
22209 * nss/Makefile: Update to build new makedb program.
22210
c71ca1f8
AJ
222112011-06-14 Andreas Jaeger <aj@suse.de>
22212
22213 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22214 memset declaration.
22215
3154bfb8
UD
222162011-06-10 Andreas Schwab <schwab@redhat.com>
22217
22218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22219 tmpbuf.
22220
b350afab
RM
222212011-06-10 Roland McGrath <roland@hack.frob.com>
22222
decd4e50
RM
22223 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22224 * elf/Makefile ($(objpfx)ld.so): Likewise.
22225
5615eaf2
RM
22226 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22227 Don't list ld.so twice in dependencies.
22228
22229 * posix/bug-regex31.c: Include <stdlib.h>.
22230
22231 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22232
22233 * nis/nss_compat/compat-spwd.c
22234 (getspent_next_nss_netgr): Remove unused variable.
22235 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22236
22237 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22238 nonmembers" output to use the right array.
22239
22240 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22241
22242 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22243
22244 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22245 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22246 * catgets/gencat.c (read_input_file): Likewise.
22247 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22248
22249 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22250 variable definition inside #if's controlling its use.
22251
22252 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22253
22254 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22255
22256 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22257
22258 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22259 unreachable code.
22260
22261 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22262
b68e08db
RM
22263 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22264 * configure: Regenerated.
22265
b350afab
RM
22266 * Makerules: Revert last change.
22267 * elf/Makefile: Likewise.
22268
28368601
RM
222692011-06-09 Roland McGrath <roland@hack.frob.com>
22270
22271 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22272 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22273 (reloc-link): Likewise.
22274
11988f8f
UD
222752011-06-09 Ulrich Drepper <drepper@gmail.com>
22276
22277 * elf/Makefile: Add rules to build pldd.
22278 * elf/pldd.c: New file.
22279 * elf/pldd-xx.c: New file.
22280
e80fab37
UD
222812011-06-07 Ulrich Drepper <drepper@gmail.com>
22282
22283 * version.h: Update for 2.15 development version.
22284
9b849836
DM
222852011-06-07 David S. Miller <davem@davemloft.net>
22286
22287 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22288 ifuncs.
22289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22290 elf_machine_lazy_rel): Likewise.
22291 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22293 elf_machine_lazy_rel): Likewise.
22294 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22295 dl_hwcap via passed in argument.
22296 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22297 Likewise.
22298
5a31b283
AK
222992011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22300
22301 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22302
069e52f8
RM
223032011-06-06 Roland McGrath <roland@hack.frob.com>
22304
22305 [BZ #12849]
22306 * manual/fdl-1.1.texi: New file, verbatim from:
22307 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22308 * manual/lgpl-2.1.texi: New file, verbatim from:
22309 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22310 * manual/Makefile (licenses): New variable, list those new file names.
22311 (texis): Use it.
22312 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22313
22314 * manual/fdl.texi: File removed.
22315 * manual/lesser.texi: File removed.
22316 * manual/libc.texinfo (Copying, Documentation License):
22317 Use new @include file names, put @appendix directive before @include.
22318
f16846a5
JJ
223192011-06-04 Jakub Jelinek <jakub@redhat.com>
22320
22321 [BZ #12841]
22322 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22323 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22324 (mq_open): Add __NTH.
22325
3d29045b
L
223262011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22327
22328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22329 Assume Intel Core i3/i5/i7 processor if AVX is available.
22330
8c297311
UD
223312011-05-31 Ulrich Drepper <drepper@gmail.com>
22332
22333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22334 typo.
22335
c8fc0c91
UD
223362011-05-31 Andreas Schwab <schwab@redhat.com>
22337
22338 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22339 memory. Use alloca_account. Fix memory leak when retrying.
22340
5b27a807
UD
223412011-05-31 Ulrich Drepper <drepper@gmail.com>
22342
356f8bc6
UD
22343 * version.h (RELEASE): Bump for 2.14 release.
22344 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22345
5b27a807
UD
22346 * config.make.in (RANLIB): Remove entry.
22347
01f16ab0
UD
223482011-05-30 Ulrich Drepper <drepper@gmail.com>
22349
41fce8bd
UD
22350 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22351 (libc.pot): Work around missing support for .ksh extension in xgettext.
22352
4769ae77
UD
22353 [BZ #12684]
22354 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22355 if both request failed.
22356 (send_dg): In case of server errors clear resplen or *resplen2.
22357
6b1e7d19
UD
22358 [BZ #12454]
22359 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22360 when there are multiple maps.
22361 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22362 (_dl_fini): Remove test here.
22363
01f16ab0
UD
22364 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22365
b1ebd700
UD
223662011-05-29 Ulrich Drepper <drepper@gmail.com>
22367
7ae22829
UD
22368 [BZ #12350]
22369 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22370 bit from old_res_options.
22371 (gaih_inet): Likewise.
22372
553149f6 22373 [BZ #11099]
18a84741 22374 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22375 as signed.
22376
652ffab1
UD
22377 * resolv/res_init.c (res_setoptions): Make the code more compact.
22378
16985fd0
UD
22379 [BZ #11558]
22380 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22381 set RES_USEVC.
22382
0464f746
UD
22383 [BZ #11634]
22384 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22385
7d17596c
UD
22386 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22387
cf6bbbd7
UD
22388 [BZ #11781]
22389 * malloc/malloc.h: Declare malloc hook variables as volatile.
22390
13f1ab36
UD
22391 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22392 in last patch.
22393
b1ebd700
UD
22394 [BZ #11799]
22395 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22396 raise in the comment.
80e2212d
UD
22397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22399 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22400
ce67228d
UD
224012011-05-28 Ulrich Drepper <drepper@gmail.com>
22402
8887a920
UD
22403 [BZ #12811]
22404 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22405 grow the buffers more if it already has to be sufficient.
22406 (build_wcs_upper_buffer): Likewise.
22407 * posix/regexec.c (check_matching): Likewise.
22408 (clean_state_log_if_needed): Likewise.
22409 (extend_buffers): Don't enlarge buffers beyond size of the input
22410 buffer.
22411 Patches mostly by Emil Wojak <emil@wojak.eu>.
22412 * posix/bug-regex32.c: New file.
22413 * posix/Makefile (tests): Add bug-regex32.
22414
4f031072
UD
22415 * locale/findlocale.c (_nl_find_locale): Return right away if
22416 _nl_explode_name failed.
22417 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22418
d0478f0c
UD
22419 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22420
de81b246
UD
22421 * debug/xtrace.sh: Unify messages.
22422 * malloc/memusage.sh: Likewise.
22423
c738465a
UD
22424 [BZ #12813]
22425 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22426 time symbol from vDSO. Substitute with vsyscall if not available.
22427 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22428 __vdso_time.
22429
f1f929d7
UD
22430 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22431 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22432 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22433 Add sendmmsg and internal_sendmmsg.
22434 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22435 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22436 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22437
ce67228d
UD
22438 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22439 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22441
e57420c6
UD
224422011-05-27 Ulrich Drepper <drepper@gmail.com>
22443
a8509ca5
UD
22444 [BZ #12813]
22445 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22446 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22447 available.
22448 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22449 __vdso_getcpu.
22450
e57420c6
UD
22451 [BZ #12814]
22452 * iconvdata/Makefile (tests): Add bug-iconv9.
22453 * iconvdata/bug-iconv9.c: New file.
22454
4d07db15
AS
224552011-05-27 Andreas Schwab <schwab@redhat.com>
22456
22457 [BZ #12814]
22458 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22459
ea486f69
JJ
224602011-05-25 Jakub Jelinek <jakub@redhat.com>
22461
22462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22463 (struct user_regs_struct): Change intcs field back to cs.
22464
6f038433
UD
224652011-05-25 Ulrich Drepper <drepper@gmail.com>
22466
22467 * po/ja.po: Update from translation team.
22468
67f86a25
UD
224692011-05-23 Ulrich Drepper <drepper@gmail.com>
22470
22471 [BZ #12795]
22472 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22473 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22474
def7fbd6
AS
224752011-05-20 Andreas Schwab <schwab@redhat.com>
22476
22477 * stdlib/longlong.h: Update from GCC.
22478
f50ef8f1
AS
224792011-05-23 Andreas Schwab <schwab@redhat.com>
22480
22481 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22482 parameter name.
22483 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22484 Add parameter name.
22485 (__sysconf): Pass it down.
22486
de7ce8f1
UD
224872011-05-22 Ulrich Drepper <drepper@gmail.com>
22488
f2962a71
UD
22489 [BZ #12671]
22490 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22491 some situations.
22492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22493 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22494 add in in __libc_use_alloca calls. Adjust callers.
22495 (glob): Use malloc in some situations.
22496
de7ce8f1
UD
22497 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22498 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22499 pltexit.
22500
aec84f53
UD
225012011-05-21 Ulrich Drepper <drepper@gmail.com>
22502
05bb4a68
UD
22503 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22504 and CLOCK_BOOTTIME_ALARM.
22505
7ea72f99
UD
22506 [BZ #12782]
22507 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22508 is returned.
22509
7e4afad5
UD
22510 * string/_strerror.c (__strerror_r): Print negative errors as signed
22511 numbers.
22512
8e211fec
UD
22513 [BZ #12777]
22514 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22515 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22516 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22517
f7d82dc9
UD
22518 * configure.in: Fix typo in redirection and correct removal of test
22519 files in two cases.
22520
cc9e536d
UD
22521 [BZ #12788]
22522 * locale/setlocale.c (new_composite_name): Fix test to check for
22523 identical name of all categories.
22524
aec84f53
UD
22525 [BZ #12792]
22526 * libio/filedoalloc.c (local_isatty): New function.
22527 (_IO_file_doallocate): Use local_isatty.
22528 * stdio-common/perror.c (perror): In case a new stream is used
22529 forward the stream error.
22530 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22531 error flag.
22532
78e64fdc
RT
225332011-05-20 Ulrich Drepper <drepper@gmail.com>
22534
34a9094f
UD
22535 [BZ #11869]
22536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22537 alloca.
22538 * include/alloca.h (extend_alloca_account): Define.
22539
78e64fdc
RT
22540 [BZ #11857]
22541 * posix/regex.h: Fix comments with documentation of user-accessible
22542 fields after compilation and describe correct free'ing of pattern
22543 after re_compile_pattern.
22544 Patch by Reuben Thomas <rrt@sc3d.org>.
22545
457bddfc
RA
225462011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22547
22548 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22549 and -mno-altivec to prevent the compiler from using Altivec and/or
22550 VSX instructions when the corresponding registers are not available.
22551
a4527b51
AS
225522011-05-19 Andreas Schwab <schwab@redhat.com>
22553
22554 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22555
ed690b2f
UD
225562011-05-19 Ulrich Drepper <drepper@gmail.com>
22557
22558 * libio/freopen.c (freopen): Use __dup2, not dup2.
22559 * libio/freopen64.c (freopen64): Likewise.
22560
8db73634
L
225612011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22562
22563 [BZ #12775]
22564 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22565 * math/Makefile (tests): Add test-powl.
22566 (CFLAGS-test-powl.c): Define.
22567 * math/test-powl.c: New file.
22568
0a197a9d
L
225692011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22570
22571 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22572
ee30c380
UD
225732011-05-17 Ulrich Drepper <drepper@gmail.com>
22574
22575 [BZ #11837]
22576 * iconvdata/gb18030.c: Update to GB18020-2005.
22577
6ce75379
UD
225782011-05-16 Ulrich Drepper <drepper@gmail.com>
22579
a4b89fd8
AR
22580 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22581 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22582 Patch by Aharon Robbins <arnold@skeeve.com>.
22583
ea389b12
UD
22584 [BZ #11892]
22585 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22586 on the stack.
22587
68a3f91f
UD
22588 [BZ #11895]
22589 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22590 through underflows.
22591
15cc7dd1
UD
22592 [BZ #12766]
22593 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22594 point to strings before performing equality test for error_one_per_line
22595 mode.
22596
f3799213
UD
22597 [BZ #11697]
22598 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22599
d79a9c94
UD
22600 [BZ #11820]
22601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22602 (struct user_fpregs_struct): Avoid __uint*_t types.
22603
56e5eb46
UD
22604 [BZ #6420]
22605 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22606 symbol info. Use it instead of calling _dl_addr locally.
22607 (lock_and_info): New function.
22608 (tr_freehook): Call lock_and_info and pass symbol info as additional
22609 parameter to tr_where.
22610 (tr_mallochook): Likewise.
22611 (tr_reallochook): Likewise.
22612 (tr_memalignhook): Likewise.
22613
6ce75379
UD
22614 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22615 used and couldn't be at all thread-safe.
22616
f8a3b5bf
UD
226172011-05-15 Ulrich Drepper <drepper@gmail.com>
22618
94b7cc37
UD
22619 * libio/freopen.c (freopen): Don't close old file descriptor
22620 before the new one is opened. Instead dup the new file descriptor
22621 to the old one after the new stream is created.
22622 * libio/freopen64.c (freopen64): Likewise.
22623 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22624 * libio/fileops.c (_IO_new_file_close_it): Handle new
22625 _IO_FLAGS2_NOCLOSE flag.
22626 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22627 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22628 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22629 _IO_FLAGS2_NOCLOSE flag.
22630 * include/unistd.h: Add hidden_proto for dup3.
22631 Define __have_dup3.
22632 * io/dup3.c: Define hidden symbol.
22633 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22634
bd25564e
UD
22635 [BZ #7101]
22636 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22637 when an incomplete long option is used.
22638 * posix/tst-getopt_long1.c: New file.
22639 * posix/Makefile (tests): Add tst-getopt_long1.
22640
c84cfef4
UD
22641 [BZ #10138]
22642 * scripts/config.guess: Update from autoconf-2.68.
22643 * scripts/config.sub: Likewise.
22644
3b85df27
UD
22645 [BZ #10157]
22646 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22647 tests into ...
22648 (has_cpuclock): ...this. New function.
22649 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22650 macro here based on has_cpuclock code.
22651
15a856b1
UD
22652 [BZ #10149]
22653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22654 First byte (not low byte) is now always NUL.
22655 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22656
05f399e6
UD
22657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22658 Use non-cancelable interfaces.
22659
10a52685 22660 [BZ #9809]
94ecc67d
UD
22661 * locale/iso-639.def: Add entry for Sorani.
22662
f8a3b5bf
UD
22663 [BZ #11901]
22664 * include/stdlib.h: Move include protection to the right place.
22665 Define abort_msg_s. Declare __abort_msg with it.
22666 * stdlib/abort.c (__abort_msg): Adjust type.
22667 * assert/assert.c (__assert_fail_base): New function. Majority
22668 of code from __assert_fail. Allocate memory for __abort_msg with
22669 mmap.
22670 (__assert_fail): Now call __assert_fail_base.
22671 * assert/assert-perr.c: Remove bulk of implementation. Use
22672 __assert_fail_base.
22673 * include/assert.hL Declare __assert_fail_base.
22674 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22675 mmap.
22676 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22677
1af4e298
UD
226782011-05-14 Ulrich Drepper <drepper@gmail.com>
22679
f8a3b5bf 22680 [BZ #11952]
d26dfc60
MG
22681 [BZ #12453]
22682 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22683 until all modules are registered in the DTV.
22684 * elf/Makefile: Add rules to build and run tst-tls19.
22685 * elf/tst-tls19.c: New file.
22686 * elf/tst-tls19mod1.c: New file.
22687 * elf/tst-tls19mod2.c: New file.
22688 * elf/tst-tls19mod3.c: New file.
22689 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22690
2fc54d6f
UD
22691 [BZ #12083]
22692 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22693 correctly.
22694
98d76b46
UD
22695 [BZ #12601]
22696 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22697 two-byte sequence errors.
22698 * iconvdata/Makefile (tests): Add bug-iconv8.
22699 * iconvdata/bug-iconv8.c: New file.
22700
da3c19ef
UD
22701 [BZ #12626]
22702 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22703 buf2 definition.
22704
ca408c15
UD
22705 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22706
d6f67f7d
UD
22707 [BZ #12432]
22708 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22709 (dummy_getcfa): New function.
22710 (init): Get _Unwind_GetCFA address, use dummy if not found.
22711 (backtrace_helper): In recursion check, also check whether CFA changes.
22712 (__backtrace): Completely initialize arg.
22713
1af4e298 22714 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22715 storing incomplete byte sequence in state object. Avoid testing for
22716 guaranteed too small input if we know there is enough data available.
1af4e298 22717
da62f81b
AS
227182011-05-11 Andreas Schwab <schwab@redhat.com>
22719
22720 * Makeconfig (+link-pie): Indent.
22721 * Rules (binaries-pie): Define if $(have-fpie) and
22722 $(build-shared).
22723 (binaries-shared): Also filter out $(binaries-pie).
22724 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22725 * nscd/Makefile (others-pie): Add nscd.
22726 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22727 ($(objpfx)nscd): Remove command override.
22728 * login/Makefile (others-pie): Add pt_chown.
22729 ($(objpfx)pt_chown): Remove command override.
22730 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22731 remove command overrides.
22732
fcabc0f8
UD
227332011-05-13 Ulrich Drepper <drepper@gmail.com>
22734
20030ae6
UD
22735 * libio/tst_putwc.c: Fix error messages.
22736
fcabc0f8
UD
22737 [BZ #12724]
22738 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22739 currently writing and seek to current position when not.
22740 * libio/Makefile (tests): Add bug-fclose1.
22741 * libio/bug-fclose1.c: New file.
22742
320a5dc0
PB
227432011-05-12 Ulrich Drepper <drepper@gmail.com>
22744
22745 [BZ #12511]
22746 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22747 don't set DF_1_NODELETE here.
22748 (do_lookup_x): When entering new entry test for copy relocation
22749 and if necessary set DF_1_NODELETE flag.
22750 * elf/tst-unique4.cc: New file.
22751 * elf/tst-unique4.h: New file.
22752 * elf/tst-unique4lib.cc: New file.
22753 * elf/Makefile: Add rules to build and run tst-unique4.
22754 Patch by Piotr Bury <pbury@goahead.com>.
22755
22836f52
UD
227562011-05-11 Ulrich Drepper <drepper@gmail.com>
22757
f574184a
UD
22758 [BZ #12052]
22759 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22760
e1fb097f
UD
22761 [BZ #12625]
22762 * misc/mntent_r.c (addmntent): Flush the stream after the output
22763
22836f52
UD
22764 [BZ #12393]
22765 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22766 (is_trusted_path_normalize): Skip initial colon. Append slash
22767 to empty buffer. Duplicate is_trusted_path code but allow
22768 constructed patch to be prefix.
22769 (is_dst): Allow $ORIGIN followed by /.
22770 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22771 Correct testing of result of is_trusted_path_normalize
22772 (decompose_rpath): Fix warning.
22773
7b3b0b2a
UD
227742011-05-10 Ulrich Drepper <drepper@gmail.com>
22775
22776 [BZ #11257]
22777 * grp/initgroups.c (internal_getgrouplist): When we found the service
22778 list through the initgroups entry in nsswitch.conf do not always
22779 continue on a successful lookup. Don't always use the
eac80ce2 22780 __nss_group_database value if it is set.
7b3b0b2a
UD
22781 * nss/nsswitch.conf (initgroups): Change action for successful db
22782 lookup to continue for compatibility.
22783
2a81eaa5
UD
227842011-05-09 Ulrich Drepper <drepper@gmail.com>
22785
be97a69e
UD
22786 [BZ #11532]
22787 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22788 and CP774 modules.
22789 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22790 and CP774 modules.
22791 * iconvdata/tst-tables.sh: Likewise.
22792 * iconvdata/cp770.c: New file.
22793 * iconvdata/cp771.c: New file.
22794 * iconvdata/cp772.c: New file.
22795 * iconvdata/cp773.c: New file.
22796 * iconvdata/cp774.c: New file.
22797 * iconvdata/testdata/CP770: New file.
22798 * iconvdata/testdata/CP770..UTF8: New file.
22799 * iconvdata/testdata/CP771: New file.
22800 * iconvdata/testdata/CP771..UTF8: New file.
22801 * iconvdata/testdata/CP772: New file.
22802 * iconvdata/testdata/CP772..UTF8: New file.
22803 * iconvdata/testdata/CP773: New file.
22804 * iconvdata/testdata/CP773..UTF8: New file.
22805 * iconvdata/testdata/CP774: New file.
22806 * iconvdata/testdata/CP774..UTF8: New file.
22807
22808 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22809 END CHARMAP line.
22810 * iconvdata/gen-8bit-gap.sh: Likewise.
22811 * iconvdata/gen-8bit.sh: Likewise.
22812
c1e9e399
UD
22813 * locale/iso-639.def: Add ary entry.
22814
24c55fb3 22815 [BZ #11258]
96b4b1b0
UD
22816 * locale/C-translit.h.in: Add U20A1 transliteration.
22817
bdc2f971
KB
22818 [BZ #12178]
22819 * locale/iso-639.def: Add wae entry.
22820 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22821
2952b117
UD
22822 [BZ #12545]
22823 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22824 for n.
22825
2a81eaa5
UD
22826 [BZ #12711]
22827 * locale/C-translit.h.in: Add entry for U20B9.
22828 Patch by pravin.d.s@gmail.com.
22829
28377d1b
UD
228302011-05-08 Ulrich Drepper <drepper@gmail.com>
22831
7fb90fb8
UD
22832 [BZ #12713]
22833 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22834 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22835 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22836 in rtld. Use *stat64.
7fb90fb8 22837 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22838 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22839 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22840 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22841 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22842 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22843 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22844 __fstatat64 macros.
7fb90fb8
UD
22845 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22846 * dirent/rewinddir.c: Add libc_hidden_def.
22847 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22848 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22849
28377d1b
UD
22850 * include/dirent.h (__alloc_dir): Add flags parameter.
22851 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22852 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22853 __alloc_dir.
22854 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22855 from fdopendir if O_CLOEXEC is already set.
22856
66bdbaa4
AM
228572011-03-15 Alan Modra <amodra@gmail.com>
22858
22859 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22860 l_tls_firstbyte_offset non-zero. Save padding offset in
22861 l_tls_firstbyte_offset for later use.
22862 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22863 freeing static tls block.
22864
95721191
JN
228652011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22866
22867 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22868 where #ifdef was intended. The intent is to prevent ARG_MAX from
22869 being defined by the kernel headers.
22870
f87dfb1f
UD
228712011-05-07 Ulrich Drepper <drepper@gmail.com>
22872
22873 [BZ #12734]
22874 * resolv/resolv.h: Define RES_NOTLDQUERY.
22875 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22876 no-tld-query and set RES_NOTLDQUERY.
22877 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22878 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22879 modern BIND to search name as TLD unless forbidden.
22880
47c3cd7a
UD
228812011-05-07 Petr Baudis <pasky@suse.cz>
22882 Ulrich Drepper <drepper@gmail.com>
22883
22884 [BZ #12393]
22885 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22886 (is_trusted_path): ...to here.
c1e9ea35 22887 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22888 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22889 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22890
8a35c912
PP
228912011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22892
22893 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22894 __BEGIN/__END_DECLS.
22895
acd41f47
UD
228962011-05-06 Ulrich Drepper <drepper@gmail.com>
22897
22898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22899 NSS_STATUS_NOTFOUND if no record was found.
22900
597df647
AS
229012011-05-05 Andreas Schwab <schwab@redhat.com>
22902
22903 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22904 (headers-not-in-tirpc): Remove rpc/netdb.h
22905 * resolv/netdb.h: Revert last change.
22906
b9af1301
PP
229072011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22908
22909 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22910 circular dependency between libgcc.a and libc.a.
22911
4e34d5f5
AS
229122011-05-05 Andreas Schwab <schwab@redhat.com>
22913
22914 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22915 * nis/Makefile: Don't install rpcsvc/*.
22916 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22917 instead of <rpc/types.h>.
22918 (MAXHOSTNAMELEN): Define.
22919
00ee369c
AS
229202011-05-03 Andreas Schwab <schwab@redhat.com>
22921
22922 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22923
0b592a30
MB
229242011-04-28 Maciej Babinski <mbabinski@google.com>
22925
22926 [BZ #12714]
22927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22928 gethostbyname4_r when IPv6 results are possible.
22929
6e04cbbe
UD
229302011-05-02 Ulrich Drepper <drepper@gmail.com>
22931
22932 [BZ #12723]
22933 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22934 _PC_PIPE_BUF handling.
22935
e4ecafe0
BH
229362011-04-30 Bruno Haible <bruno@clisp.org>
22937
22938 [BZ #12717]
22939 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22940 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22941 to 'int'.
22942 * inet/getnameinfo.c (getnameinfo): Likewise.
22943
125ee683
UD
229442011-04-29 Ulrich Drepper <drepper@gmail.com>
22945
22946 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22947 to groups setting in database lookup.
22948 * nss/nsswitch.conf: Add initgroups entry.
22949
b722481a
EB
229502011-04-22 Ulrich Drepper <drepper@gmail.com>
22951
22952 [BZ #12685]
22953 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22954 mode string.
22955 Patch by Eric Blake <eblake@redhat.com>.
22956
4df46dbd
L
229572011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22958
22959 * sunrpc/Makefile (need-export-routines): Add svc_run.
22960 (routines): Remove svc_run.
22961 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22962 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22963 * sunrpc/svc_run.c (svc_run): Likewise.
22964 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22965
e84142d2
UD
229662011-04-21 Ulrich Drepper <drepper@gmail.com>
22967
22968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22969 problem in reallocation in last patch.
22970
877175d8
UD
229712011-04-20 Ulrich Drepper <drepper@gmail.com>
22972
22973 * sunrpc/Makefile: Move inclusion of Rules.
22974
ab8eed78
UD
229752011-04-19 Ulrich Drepper <drepper@gmail.com>
22976
22977 * nss/nss_files/files-initgroups.c: New file.
22978 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22979 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22980 _nss_files_initgroups_dyn.
22981
e3d8f584
RS
229822011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22983
22984 * elf/elf.h (R_ARM_IRELATIVE): Define.
22985
af190f45
UD
229862011-04-19 Ulrich Drepper <drepper@gmail.com>
22987
22988 * po/ru.po: Update from translation team.
22989
53cf59ef
UD
229902011-04-17 Ulrich Drepper <drepper@gmail.com>
22991
22992 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22993 dependencies.
22994
4c559bcd
MF
229952011-02-06 Mike Frysinger <vapier@gentoo.org>
22996
22997 [BZ #12653]
22998 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22999 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23000 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23002 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23003
4420675c
AS
230042011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23005
23006 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23007 differing bytes.
23008 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23011
75ea32ab
UD
230122011-04-17 Ulrich Drepper <drepper@gmail.com>
23013
23014 [BZ #12420]
23015 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23016 storing it.
23017 * stdlib/bug-getcontext.c: New file.
23018 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23019
27390476
AK
230202011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23021
23022 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23023 instructions into .machine "z9-109".
23024 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23025 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23026
10442705
AK
230272011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23028
23029 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23030 between environment variables and auxiliary vector.
23031
7b57bfe5
UD
230322011-04-16 Ulrich Drepper <drepper@gmail.com>
23033
23034 * Makefile: Add rules to build linkobj/libc.so.
23035 * include/libc-symbols.h: Define libc_hidden_nolink.
23036 * include/rpc/auth.h: Mark functions which are to be hidden.
23037 * include/rpc/auth_des.h: Likewise.
23038 * include/rpc/auth_unix.h: Likewise.
23039 * include/rpc/clnt.h: Likewise.
23040 * include/rpc/des_crypt.h: Likewise.
23041 * include/rpc/key_prot.h: Likewise.
23042 * include/rpc/pmap_clnt.h: Likewise.
23043 * include/rpc/pmap_prot.h: Likewise.
23044 * include/rpc/pmap_rmt.h: Likewise.
23045 * include/rpc/rpc_msg.h: Likewise.
23046 * include/rpc/svc.h: Likewise.
23047 * include/rpc/svc_auth.h: Likewise.
23048 * include/rpc/xdr.h: Likewise.
23049 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23050 * nss/Makefile: Likewise.
23051 * sunrpc/Makefile: Don't install headers. Build library with normal
23052 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23053 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23054 for the compat linking library. Remove use of INTDEF/INTUSE.
23055 * sunrpc/auth_none.c: Likewise.
23056 * sunrpc/auth_unix.c: Likewise.
23057 * sunrpc/authdes_prot.c: Likewise.
23058 * sunrpc/authuxprot.c: Likewise.
23059 * sunrpc/clnt_gen.c: Likewise.
23060 * sunrpc/clnt_perr.c: Likewise.
23061 * sunrpc/clnt_raw.c: Likewise.
23062 * sunrpc/clnt_simp.c: Likewise.
23063 * sunrpc/clnt_tcp.c: Likewise.
23064 * sunrpc/clnt_udp.c: Likewise.
23065 * sunrpc/clnt_unix.c: Likewise.
23066 * sunrpc/des_crypt.c: Likewise.
23067 * sunrpc/des_soft.c: Likewise.
23068 * sunrpc/get_myaddr.c: Likewise.
23069 * sunrpc/key_call.c: Likewise.
23070 * sunrpc/key_prot.c: Likewise.
23071 * sunrpc/netname.c: Likewise.
23072 * sunrpc/pm_getmaps.c: Likewise.
23073 * sunrpc/pm_getport.c: Likewise.
23074 * sunrpc/pmap_clnt.c: Likewise.
23075 * sunrpc/pmap_prot.c: Likewise.
23076 * sunrpc/pmap_prot2.c: Likewise.
23077 * sunrpc/pmap_rmt.c: Likewise.
23078 * sunrpc/publickey.c: Likewise.
23079 * sunrpc/rpc_cmsg.c: Likewise.
23080 * sunrpc/rpc_common.c: Likewise.
23081 * sunrpc/rpc_dtable.c: Likewise.
23082 * sunrpc/rpc_prot.c: Likewise.
23083 * sunrpc/rpc_thread.c: Likewise.
23084 * sunrpc/rtime.c: Likewise.
23085 * sunrpc/svc.c: Likewise.
23086 * sunrpc/svc_auth.c: Likewise.
23087 * sunrpc/svc_authux.c: Likewise.
23088 * sunrpc/svc_raw.c: Likewise.
23089 * sunrpc/svc_run.c: Likewise.
23090 * sunrpc/svc_simple.c: Likewise.
23091 * sunrpc/svc_tcp.c: Likewise.
23092 * sunrpc/svc_udp.c: Likewise.
23093 * sunrpc/svc_unix.c: Likewise.
23094 * sunrpc/svcauth_des.c: Likewise.
23095 * sunrpc/xcrypt.c: Likewise.
23096 * sunrpc/xdr.c: Likewise.
23097 * sunrpc/xdr_array.c: Likewise.
23098 * sunrpc/xdr_float.c: Likewise.
23099 * sunrpc/xdr_intXX_t.c: Likewise.
23100 * sunrpc/xdr_mem.c: Likewise.
23101 * sunrpc/xdr_rec.c: Likewise.
23102 * sunrpc/xdr_ref.c: Likewise.
23103 * sunrpc/xdr_sizeof.c: Likewise.
23104 * sunrpc/xdr_stdio.c: Likewise.
23105
e6c61494
UD
231062011-04-10 Ulrich Drepper <drepper@gmail.com>
23107
23108 [BZ #12650]
23109 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23110 * sysdeps/ia64/dl-tls.h: Likewise.
23111 * sysdeps/powerpc/dl-tls.h: Likewise.
23112 * sysdeps/s390/dl-tls.h: Likewise.
23113 * sysdeps/sh/dl-tls.h: Likewise.
23114 * sysdeps/sparc/dl-tls.h: Likewise.
23115 * sysdeps/x86_64/dl-tls.h: Likewise.
23116 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23117
34fe483e
AS
231182011-03-14 Andreas Schwab <schwab@redhat.com>
23119
23120 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23121 rpath element also skip the following colon.
23122 (expand_dynamic_string_token): Add is_path parameter and pass
23123 down to DL_DST_REQUIRED and _dl_dst_substitute.
23124 (decompose_rpath): Call expand_dynamic_string_token with
23125 non-zero is_path. Ignore empty rpaths.
23126 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23127 with zero is_path.
23128
f12a32e6
AS
231292011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23130
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23132 Make cancelable.
23133
38a7d692
UD
231342011-04-09 Ulrich Drepper <drepper@gmail.com>
23135
23136 [BZ #12655]
23137 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23138 Patch by Filipe David Manana <fdmanana@apache.org>.
23139
e451d22b
AS
231402011-04-07 Andreas Schwab <schwab@redhat.com>
23141
23142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23143 Maintain aligned stack.
23144 (CHECK_RSP): Remove unused macro.
23145
dedc7c7b
UD
231462011-04-03 Ulrich Drepper <drepper@gmail.com>
23147
23148 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23149 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23150
94521213
UD
231512011-04-02 Ulrich Drepper <drepper@gmail.com>
23152
23153 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23154
8cb700c0 23155 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23156
0354e355
L
231572011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23158
23159 [BZ #12518]
23160 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23161 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23162 * sysdeps/x86_64/memmove.c: New file.
23163 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23164 (memcpy): Renamed to ...
23165 (__new_memcpy): This.
23166 (memcpy): Provide GLIBC_2_14 memcpy.
23167 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23168 (memcpy): Provide GLIBC_2_2_5 memcpy.
23169
8593482f
UD
231702011-04-01 Ulrich Drepper <drepper@gmail.com>
23171
23172 [BZ #12631]
23173 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23174
81a5726b
AS
231752011-03-30 Andreas Schwab <schwab@redhat.com>
23176
23177 * misc/syncfs.c: New file.
23178 * misc/Makefile (routines): Add syncfs.
23179 * posix/unistd.h: Declare syncfs.
23180 * sysdeps/unix/syscalls.list: Add syncfs.
23181
00e5419f
AS
231822011-04-01 Andreas Schwab <schwab@redhat.com>
23183
23184 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23185 open_by_handle_at.
23186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23191 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23193
748876bf
UD
231942011-04-01 Ulrich Drepper <drepper@gmail.com>
23195
658e451d
UD
23196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23197 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23198 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23200 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23203
748876bf
UD
23204 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23205 sync_file_range.c with -fexceptions.
23206 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23207 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23208 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23209 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23210 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23211 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23213 sync_file_range as cancellation point
23214 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23215 now a wrapper around __call_sync_file_range with cancellation handling.
23216 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23217 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23218 function name to __call_sync_file_range.
23219 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23220 Add call_sync_file_range.
748876bf 23221
6e63d5e1
AS
232222011-04-01 Andreas Schwab <schwab@redhat.com>
23223
23224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23225 bits/timex.h.
6e63d5e1 23226
46998f74
UD
232272011-04-01 Ulrich Drepper <drepper@gmail.com>
23228
4c1423ed
UD
23229 * iconv/iconv.h: Fix typo in comment.
23230 * io/fcntl.h: Likewise.
23231 * libio/stdio.h: Likewise.
23232 * posix/spawn.h: Likewise.
23233 * posix/unistd.h: Likewise.
23234 * stdlib/stdlib.h: Likewise.
23235 * time/time.h: Likewise.
23236 * wcsmbs/wchar.h: Likewise.
23237
158648c0
UD
23238 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23239 open_by_handle): Add.
23240 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23241 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23242 Augment a few comments.
23243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23248 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23249 open_by_handle.
23250
46998f74
UD
23251 * io/fcntl.h (AT_EMPTY_PATH): Define.
23252
83fe108b
UD
232532011-03-30 Ulrich Drepper <drepper@gmail.com>
23254
23255 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23256 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23257 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23258 to...
23259 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23260 * Versions.def: Add GLIBC_2.14.
23261 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23262 Export.
83fe108b 23263
bb242059
UD
232642011-03-22 Ulrich Drepper <drepper@gmail.com>
23265
23266 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23267 round counter.
23268 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23269
c97a1282
L
232702011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23271
23272 [BZ #12597]
23273 * string/test-strncmp.c (do_page_test): New function.
23274 (check2): Likewise.
23275 (test_main): Call check2.
23276 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23277
2a115601
UD
232782011-03-20 Ulrich Drepper <drepper@gmail.com>
23279
23280 [BZ #12587]
23281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23282 Handle cache information in CPU leaf 4.
23283 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23284
8126d904
UD
232852011-03-18 Ulrich Drepper <drepper@gmail.com>
23286
042c49c6 23287 [BZ #12583]
8126d904
UD
23288 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23289 character representation.
23290 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23291
ccfe366e
RA
232922011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23293
23294 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23295 END(__isnan) to END(__isnanf) to match function entry point/label
23296 EALIGN(__isnanf,...).
23297
c6e13027
JJ
232982011-03-10 Jakub Jelinek <jakub@redhat.com>
23299
23300 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23301
33f85a3f
UD
233022011-03-10 Ulrich Drepper <drepper@gmail.com>
23303
028478fa
UD
23304 [BZ #12510]
23305 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23306 copy from the symbol referenced in the relocation to initialize the
23307 used variable.
23308 Patch by Piotr Bury <pbury@goahead.com>.
23309 * elf/Makefile: Add rules to build and tst-unique3.
23310 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23311 * elf/tst-unique3.cc: New file.
23312 * elf/tst-unique3.h: New file.
23313 * elf/tst-unique3lib.cc: New file.
23314 * elf/tst-unique3lib2.cc: New file.
23315
33f85a3f
UD
23316 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23317
03592fc7
MF
233182011-03-10 Mike Frysinger <vapier@gentoo.org>
23319
23320 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23321 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23322 to _start.
03592fc7 23323
6a5ee102
UD
233242011-03-06 Ulrich Drepper <drepper@gmail.com>
23325
23326 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23327 to-be-loaded object along a path to loader is ld.so.
23328
7e4ba49c
HJ
233292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23330 Ulrich Drepper <drepper@gmail.com>
23331
23332 * sysdeps/x86_64/memset.S: After aligning destination, code
23333 branches to different locations depending on the value of
23334 misalignment, when multiarch is enabled. Fix this.
23335
233362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23337
23338 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23339 Set _x86_64_preferred_memory_instruction for AMD processsors.
23340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23341 Set bit_Prefer_SSE_for_memop for AMD processors.
23342
13a804de
UD
233432011-03-04 Ulrich Drepper <drepper@gmail.com>
23344
23345 * libio/fmemopen.c (fmemopen): Optimize a bit.
23346
9d25c392
AS
233472011-03-03 Andreas Schwab <schwab@redhat.com>
23348
23349 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23350
a5543c6a
RM
233512011-03-03 Roland McGrath <roland@redhat.com>
23352
23353 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23354
012d35f7
DM
233552011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23356
7e4ba49c 23357 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23358 __bzero_ultra1 instead of __memset_ultra1.
23359
4bff6e01
AS
233602011-02-23 Andreas Schwab <schwab@redhat.com>
23361 Ulrich Drepper <drepper@gmail.com>
23362
23363 [BZ #12509]
23364 * include/link.h (struct link_map): Add l_orig_initfini.
23365 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23366 returning unsuccessfully.
23367 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23368 close of a file loaded at startup, restore the original l_initfini
23369 list.
23370 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23371 list, store the pointer.
23372 * elf/Makefile ($(objpfx)noload-mem): New rule.
23373 (noload-ENV): Define.
23374 (tests): Add $(objpfx)noload-mem.
23375 * elf/noload.c: Include <memcheck.h>.
23376 (main): Call mtrace. Close all opened handles.
23377
f2092faf
AS
233782011-02-17 Andreas Schwab <schwab@redhat.com>
23379
23380 [BZ #12454]
23381 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23382 dependencies are missing.
23383
6c8a2e88
ST
233842011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23385
f2092faf 23386 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23387 Hurd needs munmap.
23388 * sysdeps/mach/hurd/ifreq.h: New file.
23389
84a42118
PB
233902011-01-27 Petr Baudis <pasky@suse.cz>
23391 Ulrich Drepper <drepper@gmail.com>
23392
071f805e 23393 [BZ 12445]#
84a42118
PB
23394 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23395 to extend_alloca().
23396 * stdio-common/bug23.c: New file.
23397 * stdio-common/Makefile (tests): Add bug23.
23398
e23fe25b
AS
233992010-09-28 Andreas Schwab <schwab@redhat.com>
23400 Ulrich Drepper <drepper@gmail.com>
23401
23402 [BZ #12489]
23403 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23404 before performing relro protection. At old place add assertion
23405 to make sure nothing changed.
23406
d3f02e10
NS
234072011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23408 Glauber de Oliveira Costa <glommer@gmail.com>
23409
23410 * elf/elf.h: Add new ARM TLS relocs.
23411
d55fd7a5
RA
234122011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23413
23414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23415 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23416 cast from r3.
23417 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23418 'tests' variable.
23419 * sysdeps/wordsize-64/tst-writev.c: New file.
23420
2206397e
RA
234212011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23422
23423 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23424 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23425 insns in _dl_start to prevent a TOC reference before relocs are
23426 resolved.
23427
e9433893
UD
234282011-02-15 Ulrich Drepper <drepper@gmail.com>
23429
23430 [BZ #12469]
23431 * Makeconfig: Remove RANLIB definition.
23432 * Makerules: Don't use RANLIB.
23433 * aclocal.m4: Remove ranlib test.
23434 * configure.in: No need to check for ranlib.
23435 * elf/rtld-Rules: Don't use RANLIB.
23436
f75286c6
ST
234372011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23438
8e31c82d
ST
23439 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23440 protection macro.
23441 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23442 inclusion protection macro.
23443
f75286c6
ST
23444 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23445 SIGRTMIN and SIGRTMAX and print information in that case only when
23446 SIGRTMIN is defined.
23447
c1d0e639
JJ
234482011-02-11 Jakub Jelinek <jakub@redhat.com>
23449
23450 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23451 arginfo fn returning -1.
23452
23453 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23454 and thousands string is zero terminated.
23455
edf9294e
AS
234562011-02-03 Andreas Schwab <schwab@redhat.com>
23457
23458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23459 sysdeps/unix/sysv/linux/bits/socket.h.
23460
2b7e92df
ST
234612011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23462
edf9294e
AS
23463 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23464 (__CPU_COUNT): Remove old macros.
23465 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23466 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23467 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23468 (__sched_cpualloc, __sched_cpufree): Add declarations.
23469
a4c7ea7b
UD
234702011-02-05 Ulrich Drepper <drepper@gmail.com>
23471
23472 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23473 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23474 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23475 (readdhstai): Return value of addhstaiX call.
23476 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23477 (addgrbyX): Return value returned by cache_addgr.
23478 (readdgrbyname): Return value returned by addgrbyX.
23479 (readdgrbygid): Likewise.
23480 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23481 (addpwbyX): Return value returned by cache_addpw.
23482 (readdpwbyname): Return value returned by addhstbyX.
23483 (readdpwbyuid): Likewise.
23484 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23485 (addservbyX): Return value returned by cache_addserv.
23486 (readdservbyname): Return value returned by addservbyX:
23487 (readdservbyport): Likewise.
23488 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23489 (addhstbyX): Return value returned by cache_addhst.
23490 (readdhstbyname): Return value returned by addhstbyX.
23491 (readdhstbyaddr): Likewise.
23492 (readdhstbynamev6): Likewise.
23493 (readdhstbyaddrv6): Likewise.
23494 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23495 (readdinitgroups): Return value returned by addinitgroupsX.
23496 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23497 (prune_cache): Keep track of timeout value of re-added entries.
23498 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23499 * nscd/nscd.h: Adjust prototypes of readd* functions.
23500
a0bf67cc
RM
235012011-02-04 Roland McGrath <roland@redhat.com>
23502
23503 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23504 (nis_stats): Likewise.
23505 * nis/nis_modify.c (nis_modify): Likewise.
23506 * nis/nis_remove.c (nis_remove): Likewise.
23507 * nis/nis_add.c (nis_add): Likewise.
23508
23509 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23510
23511 * posix/fnmatch_loop.c: Add some consts.
23512
23513 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23514
435b95eb
L
235152011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23516
23517 [BZ #12460]
23518 * config.make.in (config-cflags-novzeroupper): Define.
23519 * configure.in: Substitute libc_cv_cc_novzeroupper.
23520 * elf/Makefile (AVX-CFLAGS): Define.
23521 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23522 (CFLAGS-tst-auditmod4a.c): Likewise.
23523 (CFLAGS-tst-auditmod4b.c): Likewise.
23524 (CFLAGS-tst-auditmod6b.c): Likewise.
23525 (CFLAGS-tst-auditmod6c.c): Likewise.
23526 (CFLAGS-tst-auditmod7b.c): Likewise.
23527 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23528
8517b15e
UD
235292011-02-02 Ulrich Drepper <drepper@gmail.com>
23530
23531 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23532 function to the callback.
23533 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23534
10a656fe
AS
235352011-02-02 Andreas Schwab <schwab@redhat.com>
23536
23537 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23538 of errno.
23539
968dad0a
UD
235402011-01-19 Ulrich Drepper <drepper@gmail.com>
23541
9f94d2ea 23542 [BZ #11724]
968dad0a
UD
23543 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23544 of constructors.
23545 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23546 of destructors.
23547 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23548
23549 [BZ #11724]
23550 * elf/Makefile: Add rules to build and run new test.
23551 * elf/tst-initorder.c: New file.
23552 * elf/tst-initorder.exp: New file.
23553 * elf/tst-initordera1.c: New file.
23554 * elf/tst-initordera2.c: New file.
23555 * elf/tst-initordera3.c: New file.
23556 * elf/tst-initordera4.c: New file.
23557 * elf/tst-initorderb1.c: New file.
23558 * elf/tst-initorderb2.c: New file.
23559 * elf/tst-order-a1.c: New file.
23560 * elf/tst-order-a2.c: New file.
23561 * elf/tst-order-a3.c: New file.
23562 * elf/tst-order-a4.c: New file.
23563 * elf/tst-order-b1.c: New file.
23564 * elf/tst-order-b2.c: New file.
23565 * elf/tst-order-main.c: New file.
23566 New test case by George Gensure <werkt0@gmail.com>.
23567
86e92359
UD
235682010-10-01 Andreas Schwab <schwab@redhat.com>
23569
23570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23571 decoding ACE if AI_CANONIDN.
23572
5d5732b0
UD
235732011-01-18 Ulrich Drepper <drepper@gmail.com>
23574
23575 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23576
a77e8cbc
UD
235772011-01-17 Ulrich Drepper <drepper@gmail.com>
23578
6392473f
UD
23579 * version.h (RELEASE): Bump for 2.13 release.
23580 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23581
620a0529
UD
23582 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23583
18ba70a5
UD
23584 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23585 MADV_NOHUGEPAGE.
32465c3e
UD
23586 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23587 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23589 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23591 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23592
c0dafcf1
UD
23593 * posix/getconf.c: Update copyright year.
23594 * catgets/gencat.c: Likewise.
23595 * csu/version.c: Likewise.
23596 * debug/catchsegv.sh: Likewise.
23597 * debug/xtrace.sh: Likewise.
23598 * elf/ldconfig.c: Likewise.
23599 * elf/ldd.bash.in: Likewise.
23600 * elf/sprof.c (print_version): Likewise.
23601 * iconv/iconv_prog.c: Likewise.
23602 * iconv/iconvconfig.c: Likewise.
23603 * locale/programs/locale.c: Likewise.
23604 * locale/programs/localedef.c: Likewise.
23605 * malloc/memusage.sh: Likewise.
23606 * malloc/mtrace.pl: Likewise.
23607 * nscd/nscd.c (print_version): Likewise.
23608 * nss/getent.c: Likewise.
23609
a77e8cbc
UD
23610 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23611 PF_CAIF, and PF_ALG.
23612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23613
77e8bddf
AS
236142011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23615
1f20b93a
AS
23616 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23617 (modules-names): Use them.
23618 (ifunc-test-modules, ifunc-pie-tests): Define.
23619 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23620 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23621 (test-extras): Likewise.
23622 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23623 $(compile-command.c).
23624 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23625 (all-built-dso): Define.
23626 (check-textrel.out, check-execstack.out): Depend on it.
23627
77e8bddf
AS
23628 * configure.in: Don't override --enable-multi-arch.
23629
bc425b33
UD
236302011-01-15 Ulrich Drepper <drepper@gmail.com>
23631
23632 [BZ #6812]
23633 * nscd/hstcache.c (tryagain): Define.
23634 (cache_addhst): Return tryagain not notfound for temporary errors.
23635 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23636 failed.
23637
794c3ad3
UD
236382011-01-14 Ulrich Drepper <drepper@gmail.com>
23639
70181fdd
UD
23640 [BZ #10563]
23641 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23642 to make the syscall.
23643 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23644
794c3ad3
UD
23645 [BZ #12378]
23646 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23647 and fall back to matching as normal character if the string ends before
23648 the matching ']' is found. This is what POSIX requires.
23649 * posix/testfnm.c: Adjust test result.
23650 * posix/globtest.sh: Adjust test result. Add new test.
23651 * posix/tst-fnmatch.input: Likewise.
23652 * posix/tst-fnmatch2.c: Add new test.
23653
68dc9497
AS
236542010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23655
23656 * elf/Makefile (check-execstack): Revert last change. Depend on
23657 check-execstack.h.
23658 (check-execstack.h): New target.
23659 (generated): Add check-execstack.h.
23660 * elf/check-execstack.c: Include "check-execstack.h".
23661 (main): Revert last change.
23662 (handle_file): Return zero if GNU_STACK is absent and
23663 DEFAULT_STACK_PERMS doesn't include PF_X.
23664
451f001b
UD
236652011-01-13 Ulrich Drepper <drepper@gmail.com>
23666
cfa28e56
UD
23667 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23668 in child fails because the descriptor is already closed.
8cf8ce17
UD
23669 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23670 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23671 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23672
1086d70d
UD
23673 [BZ #12397]
23674 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23675 syscall.
23676
451f001b
UD
23677 [BZ #10484]
23678 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23679 temporary buffer used to handle multi lookups locally.
a85b5cb4 23680 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23681
08769175
UD
236822011-01-12 Ulrich Drepper <drepper@gmail.com>
23683
23684 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23685 loader is ld.so.
23686
5e49c52e
UD
236872011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23688
23689 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23690 alignment for SSE2.
23691
60522a5f
UD
236922011-01-12 Ulrich Drepper <drepper@gmail.com>
23693
23694 [BZ #12394]
23695 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23696 characters. When rounding increased number of integer digits recompute
23697 number of groups.
23698 * stdio-common/tst-grouping.c: New file.
23699 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23700
f257bbd7
UD
237012011-01-09 Ulrich Drepper <drepper@gmail.com>
23702
23703 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23704 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23705
23706 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23707 void.
23708 * bits/select.h: Likewise.
23709
fa9c15cb
UD
237102011-01-08 Ulrich Drepper <drepper@gmail.com>
23711
23712 * po/ja.po: Update from translation team.
23713
16c2895f
DM
237142011-01-04 David S. Miller <davem@sunset.davemloft.net>
23715
23716 [BZ #11155]
23717 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23718 implementation just like for lxstat, fxstatat, et al.
23719
2543fef2
JM
237202010-12-27 Jim Meyering <meyering@redhat.com>
23721
23722 [BZ #12348]
23723 * posix/regexec.c (build_trtable): Return failure indication upon
23724 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23725
98727dbe
UD
237262010-12-25 Ulrich Drepper <drepper@gmail.com>
23727
5bd6dc5c
UD
23728 [BZ #12201]
23729 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23730 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23731 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23733
97983464
UD
23734 [BZ #12207]
23735 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23736
98727dbe
UD
23737 [BZ #12204]
23738 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23739 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23740
4a531bb0
L
237412010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23742
23743 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23744 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23745 script has SORT_BY_INIT_PRIORITY.
23746 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23747 NO_CTORS_DTORS_SECTIONS is defined.
23748 * elf/soinit.c: Likewise.
23749 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23750 NO_CTORS_DTORS_SECTIONS is defined.
23751 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23752 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23753 * sysdeps/sh/init-first.c: Likewise.
23754 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23755
07eb4b71
UD
237562010-12-24 Ulrich Drepper <drepper@gmail.com>
23757
23758 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23759 always use the slow path.
23760
30950a5f
RA
237612010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23762
23763 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23764 similar rule which adds the sysdep directories to the header search in
23765 order to pick up the correct platform stackinfo.h.
23766 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23767 perform test if it is, otherwise return successfully without testing.
23768 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23769 DEFAULT_STACK_PERMS define in stackinfo.h.
23770 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23771 defined in stackinfo.h.
23772 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23773 DEFAULT_STACK_PERMS defined in stackinfo.h.
23774 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23775 * sysdeps/ia64/stackinfo.h: Likewise.
23776 * sysdeps/s390/stackinfo.h: Likewise.
23777 * sysdeps/sh/stackinfo.h: Likewise.
23778 * sysdeps/sparc/stackinfo.h: Likewise.
23779 * sysdeps/x86_64/stackinfo.h: Likewise.
23780 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23781 PF_X for powerpc64. Retain PF_X for powerpc32.
23782
db753e2c
UD
237832010-12-19 Ulrich Drepper <drepper@gmail.com>
23784
14b697f7
UD
23785 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23786 accurately.
db753e2c
UD
23787 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23788 GETDENTS_64BIT_ALIGNED.
23789
28300719
UD
237902010-12-14 Ulrich Drepper <dreper@gmail.com>
23791
14b697f7 23792 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23793
4f197237
AS
237942010-12-10 Andreas Schwab <schwab@redhat.com>
23795
dbb0472f
AS
23796 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23797 _GNU_SOURCE.
23798
4f197237
AS
23799 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23800 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23801 Remove __restrict.
23802 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23803 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23804
fb88ac72
UD
238052010-12-09 Ulrich Drepper <drepper@gmail.com>
23806
23807 [BZ #11655]
23808 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23809 are initialized.
23810
42acbb92
JJ
238112010-12-09 Jakub Jelinek <jakub@redhat.com>
23812
23813 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23814
c038d98d
UD
238152010-12-03 Ulrich Drepper <drepper@gmail.com>
23816
23817 * po/it.po: Update from translation team.
23818
3a4a2499
L
238192010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23820
23821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23822 unused codes.
23823
1e24cf6e
UD
238242010-11-30 Ulrich Drepper <drepper@gmail.com>
23825
23826 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23827
a7690819
AS
238282010-11-24 Andreas Schwab <schwab@redhat.com>
23829
23830 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23831 specially.
23832 (gaih_getanswer_slice): Likewise.
23833
3bf8d1b1
JJ
238342010-10-20 Jakub Jelinek <jakub@redhat.com>
23835
23836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23837
6db52fbb
PB
238382010-05-31 Petr Baudis <pasky@suse.cz>
23839
23840 [BZ #11149]
23841 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23842 silently even in the chroot mode.
23843
eaca7569
UD
238442010-11-22 Ulrich Drepper <drepper@gmail.com>
23845
23846 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23847 last patch a bit. Pretty printing
23848
3056dcdb
UD
238492010-05-31 Petr Baudis <pasky@suse.cz>
23850
23851 [BZ #10085]
23852 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23853 initialization of skip_initgroups_dyn.
23854
cf7c9078
UD
238552010-11-19 Ulrich Drepper <drepper@gmail.com>
23856
23857 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23858 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23859
a1fb5e3e
UD
238602010-11-16 Ulrich Drepper <drepper@gmail.com>
23861
23862 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23863
3540d66b
AS
238642010-11-11 Andreas Schwab <schwab@redhat.com>
23865
23866 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23867 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23868 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23869 ($(objpfx)tst-fnmatch-mem): New rule.
23870 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23871 * posix/tst-fnmatch.c (main): Call mtrace.
23872
13b69574
L
238732010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23874
23875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23876 Support Intel processor model 6 and model 0x2c.
23877
da93d214
LM
238782010-11-10 Luis Machado <luisgpm@br.ibm.com>
23879
23880 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23881 signed comparison.
23882
8ca52c6e
L
238832010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23884
23885 [BZ #12205]
23886 * string/test-strncasecmp.c (check_result): New function.
23887 (do_one_test): Use it.
23888 (check1): New function.
23889 (test_main): Use it.
23890 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23891 Support strcasecmp and strncasecmp.
23892
69da074d
UD
238932010-11-08 Ulrich Drepper <drepper@gmail.com>
23894
23895 [BZ #12194]
23896 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23898
ff02d528
L
238992010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23900
23901 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23902 IFUNC support.
23903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23904 memset-x86-64.
23905 * sysdeps/x86_64/multiarch/bzero.S: New file.
23906 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23907 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23908 * sysdeps/x86_64/multiarch/memset.S: New file.
23909 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23911 Set bit_Prefer_SSE_for_memop for Intel processors.
23912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23913 Define.
23914 (index_Prefer_SSE_for_memop): Define.
23915 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23916
344d0b54
LM
239172010-11-04 Luis Machado <luisgpm@br.ibm.com>
23918
23919 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23921
c0dde15b
UD
239222010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23923
23924 [BZ #12191]
23925 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23926 (__x86_64_raw_data_cache_size_half): Likewise.
23927 (__x86_64_raw_shared_cache_size): Likewise.
23928 (__x86_64_raw_shared_cache_size_half): Likewise.
23929
23930 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23931 (__x86_64_raw_data_cache_size_half): Likewise.
23932 (__x86_64_raw_shared_cache_size): Likewise.
23933 (__x86_64_raw_shared_cache_size_half): Likewise.
23934 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23935 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23936 and __x86_64_raw_shared_cache_size_half. Round
23937 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23938 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23939 to multiple of 256 bytes.
23940
0e516e0e
MS
239412010-11-03 Ulrich Drepper <drepper@gmail.com>
23942
23943 [BZ #12167]
23944 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23945 of inacessible symlinks. Verify result of symlink before returning it.
23946 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23947 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23948
0e012e87
ER
239492010-10-28 Erich Ritz <erichritz@gmail.com>
23950
23951 * math/math.h (isinf): Fix typo in comment.
23952
de0ff7bc
UD
239532010-11-01 Ulrich Drepper <drepper@gmail.com>
23954
23955 * po/da.po: Update from translation team.
23956
fa41c84d
UD
239572010-10-26 Ulrich Drepper <drepper@gmail.com>
23958
23959 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23960 is added to the list.
23961
f0967738
AK
239622010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23963 Ulrich Drepper <drepper@gmail.com>
23964
23965 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23966 the global list here. Move code to...
23967 (_dl_add_to_namespace_list): ...here. New function.
23968 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23969 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23970 * elf/dl-load.c (lose): Don't remove the element from the list.
23971 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23972 (_dl_map_object): Likewise.
23973
239742010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23975
23976 [BZ #12159]
23977 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23978 into all bytes of SSE register.
23979 Patch by Richard Li <richardpku@gmail.com>.
23980
f0967738 239812010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23982
23983 [BZ #12140]
23984 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23985 perturbing.
23986
d0b9e94f
MB
239872010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23988
23989 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23990 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23992 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23994 submachine.
23995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23996
8e9f92e9
AS
239972010-10-22 Andreas Schwab <schwab@redhat.com>
23998
23999 * include/dlfcn.h (__RTLD_SECURE): Define.
24000 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24001 mode & __RTLD_SECURE instead.
24002 (open_path): Rename preloaded parameter to secure.
24003 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24004 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24005 * elf/dl-deps.c (openaux): Likewise.
24006 * elf/rtld.c (struct map_args): Remove is_preloaded.
24007 (map_doit): Don't use it.
24008 (dl_main): Likewise.
24009 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24010 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24011
bc96fbda
AS
240122010-09-09 Andreas Schwab <schwab@redhat.com>
24013
24014 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24015 (sysd-rules-targets): Remove duplicates.
24016 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24017 rtld-%.$o dependency.
24018
22cd1c9b
AS
240192010-10-18 Andreas Schwab <schwab@redhat.com>
24020
24021 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24022 _dl_map_object do it.
24023
18edac48
UD
240242010-10-19 Ulrich Drepper <drepper@gmail.com>
24025
24026 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24027 fast fma builtins, define the macros in the C99 standard.
24028 (FP_FAST_FMAF): Likewise.
24029 (FP_FAST_FMAL): Likewise.
24030 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24031
24032 * bits/mathdef.h: Update copyright year.
24033 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24034
d2050124
MM
240352010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24036
24037 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24038 builtins, define the macros in the C99 standard.
24039 (FP_FAST_FMAF): Likewise.
24040 (FP_FAST_FMAL): Likewise.
24041 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24042 multiply/add.
24043 (FP_FAST_FMAF): Likewise.
24044
475facd1
JJ
240452010-10-15 Jakub Jelinek <jakub@redhat.com>
24046
24047 [BZ #3268]
24048 * math/libm-test.inc (fma_test): Some new testcases.
24049 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24051 y and infinite z. Do multiplication by C already in long double.
24052 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24054 y and infinite z. Do bitwise or of inexact bit into u.d.
24055 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24056 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24057 * sysdeps/i386/fpu/s_fma.S: Removed.
24058 * sysdeps/i386/fpu/s_fmal.S: Removed.
24059
7c08a05c
JJ
240602010-10-16 Jakub Jelinek <jakub@redhat.com>
24061
24062 [BZ #3268]
24063 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24065 computation is not scheduled after fetestexcept. Fix value
24066 of minimum denormal long double.
24067
f3f7372d
JJ
240682010-10-14 Jakub Jelinek <jakub@redhat.com>
24069
24070 [BZ #3268]
24071 * math/libm-test.inc (fma_test): Add some more tests.
24072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24073 correctly.
24074
14d43591
AS
240752010-10-15 Andreas Schwab <schwab@redhat.com>
24076
24077 * scripts/data/localplt-s390-linux-gnu.data: New file.
24078 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24079
5e908464
JJ
240802010-10-13 Jakub Jelinek <jakub@redhat.com>
24081
24082 [BZ #3268]
24083 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24084 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24085 instead of dbl-64.
24086 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24087 inlines.
24088 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24090 if one of x and y is very large and the other is subnormal.
24091 * sysdeps/s390/fpu/s_fmaf.c: New file.
24092 * sysdeps/s390/fpu/s_fma.c: New file.
24093 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24094 * sysdeps/powerpc/fpu/s_fma.S: New file.
24095 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24096 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24097 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24098
240992010-10-12 Jakub Jelinek <jakub@redhat.com>
24100
24101 [BZ #3268]
24102 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24103 fma tests.
24104 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24105 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24106 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24107 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24108 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24109 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24111
b833d51f
UD
241122010-10-12 Ulrich Drepper <drepper@redhat.com>
24113
24114 [BZ #12078]
24115 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24116 * posix/bug-regex31.input: Add test case.
24117
1751705d
UD
241182010-10-11 Ulrich Drepper <drepper@gmail.com>
24119
e9b9cbf5
UD
24120 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24121 * posix/bug-regex31.input: New file.
24122
24123 [BZ #12078]
24124 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24125 (parse_sub_exp): Fix last change, use postorder.
24126
ef06edbe
UD
24127 * posix/bug-regex31.c: New file.
24128 * posix/Makefile: Add rules to build and run bug-regex31.
24129
a129c80d
UD
24130 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24131
24132 [BZ #12078]
24133 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24134
b76b818e
UD
24135 [BZ #12108]
24136 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24137 to have entries in sys_siglist.
24138
1751705d
UD
24139 [BZ #12093]
24140 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24141 be NULL.
24142
9ff8d36f
JJ
241432010-10-07 Jakub Jelinek <jakub@redhat.com>
24144
24145 [BZ #3268]
24146 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24147 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24148 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24149 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24150 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24151 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24152 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24153 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24154 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24155 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24156 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24157 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24158 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24159 * math/ftestexcept.c (fetestexcept): Likewise.
24160 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24161 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24162 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24163 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24164 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24165 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24166 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24167
af325969
UD
241682010-10-11 Ulrich Drepper <drepper@gmail.com>
24169
c579b202 24170 [BZ #12107]
af325969
UD
24171 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24172 newline.
24173
67a67b95
UD
241742010-10-06 Ulrich Drepper <drepper@gmail.com>
24175
24176 * string/bug-strstr1.c: New file.
24177 * string/Makefile: Add rules to build and run bug-strstr1.
24178
5fb308bc
EB
241792010-10-05 Eric Blake <eblake@redhat.com>
24180
24181 [BZ #12092]
24182 * string/str-two-way.h (two_way_long_needle): Always clear memory
24183 when skipping input due to the shift table.
24184
45db99c7
UD
241852010-10-03 Ulrich Drepper <drepper@gmail.com>
24186
3b111893
UD
24187 [BZ #12005]
24188 * malloc/mcheck.c: Handle large requests.
24189
45db99c7
UD
24190 [BZ #12077]
24191 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24192 for strncmp and strncasecmp.
24193 * string/stratcliff.c: Add tests for strcmp and strncmp.
24194 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24195
cf7a1eb8
NI
241962010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24197
24198 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24199 __set_fpscr.
24200
6484ba5e
AJ
242012010-09-30 Andreas Jaeger <aj@suse.de>
24202
24203 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24204 (CGROUP_SUPER_MAGIC): Define.
24205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24206 Handle btrfs and cgroup file systems.
24207 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24208 Likewise.
24209
91c42559
LM
242102010-09-27 Luis Machado <luisgpm@br.ibm.com>
24211
24212 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24213 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24214
87a97932
AK
242152010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24216
24217 [BZ #12067]
24218 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24219 trying to locate the ELF header.
24220
c21cc9bc
AS
242212010-09-27 Andreas Schwab <schwab@redhat.com>
24222
24223 [BZ #11611]
24224 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24225 Mask out sign-bit copies when constructing f_fsid.
24226
315970f6
PB
242272010-09-24 Petr Baudis <pasky@suse.cz>
24228
24229 * debug/stack_chk_fail_local.c: Add missing licence exception.
24230 * debug/warning-nop.c: Likewise.
24231
1ac7a2c7
JM
242322010-09-15 Joseph Myers <joseph@codesourcery.com>
24233
24234 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24235 implementing getdents64 using getdents syscall, set d_type if
24236 __ASSUME_GETDENTS32_D_TYPE.
24237
56801c50
AS
242382010-09-16 Andreas Schwab <schwab@redhat.com>
24239
24240 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24241 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24242
dda51327
UD
242432010-09-21 Ulrich Drepper <drepper@redhat.com>
24244
24245 [BZ #12037]
24246 * posix/unistd.h: Undo change of feature selection for ftruncate from
24247 2010-01-11.
24248
8ffcee4a
UD
242492010-09-20 Ulrich Drepper <drepper@redhat.com>
24250
a545ecd9 24251 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24252 detection.
24253
e24f0a8b
AS
242542010-09-20 Andreas Schwab <schwab@redhat.com>
24255
24256 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24257 fanotify_mark.
24258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24259
7291c56f
AS
242602010-09-14 Andreas Schwab <schwab@redhat.com>
24261
24262 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24263 variables after CHECK_SP call.
24264 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24265
bc5fb037
AS
242662010-09-13 Andreas Schwab <schwab@redhat.com>
24267 Ulrich Drepper <drepper@redhat.com>
24268
24269 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24270 re-relocationg ld.so.
24271 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24272 _dl_init_paths call.
24273 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24274 here anymore.
24275
e66e7419
UD
242762010-09-14 Ulrich Drepper <drepper@redhat.com>
24277
24278 * resolv/res_init.c (__res_vinit): Count the default server we added.
24279
c044aa75
CLT
242802010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24281 Ulrich Drepper <drepper@redhat.com>
24282
24283 [BZ #11968]
24284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24285 (____longjmp_chk): Use %ebx for saving value across system call.
24286 Add unwind info.
24287
32cf4069
AS
242882010-09-06 Andreas Schwab <schwab@redhat.com>
24289
24290 * manual/Makefile: Don't mix pattern rules with normal rules.
24291
817328ee
AS
242922010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24293
24294 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24295 operation.
24296 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24297 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24298 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24299 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24301 Likewise.
24302
29fddf61
UD
243032010-09-04 Ulrich Drepper <drepper@redhat.com>
24304
24305 [BZ #11979]
24306 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24307 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24308
0959ffc9
UD
243092010-09-02 Ulrich Drepper <drepper@redhat.com>
24310
24311 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24312 * sysdeps/x86_64/addmul_1.S: Likewise.
24313 * sysdeps/x86_64/lshift.S: Likewise.
24314 * sysdeps/x86_64/mul_1.S: Likewise.
24315 * sysdeps/x86_64/rshift.S: Likewise.
24316 * sysdeps/x86_64/sub_n.S: Likewise.
24317 * sysdeps/x86_64/submul_1.S: Likewise.
24318
ece29840
ST
243192010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24320
0959ffc9
UD
24321 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24322 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24323 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24324 * bits/sched.h [__need_schedparam]
ece29840 24325 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24326 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24327 (__defined_schedparam): Define to 1.
ece29840
ST
24328 (__sched_param): New structure, identical to sched_param.
24329 (__need_schedparam): Undefine.
24330
e53a31fe
MF
243312010-08-31 Mike Frysinger <vapier@gentoo.org>
24332
fdc0c10d
MF
24333 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24334 (epoll_create1): Declare.
24335
e53a31fe
MF
24336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24337
a726d796
AS
243382010-08-31 Andreas Schwab <schwab@redhat.com>
24339
24340 [BZ #7066]
24341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24342 shifting retval into place.
24343
2f3e3dc7
UD
243442010-09-01 Ulrich Drepper <drepper@redhat.com>
24345
f2933da9
UD
24346 * nis/rpcsvc/nis.h: Update copyright notice.
24347 * nis/rpcsvc/nis.x: Likewise.
24348 * nis/rpcsvc/nis_callback.h: Likewise.
24349 * nis/rpcsvc/nis_callback.x: Likewise.
24350 * nis/rpcsvc/nis_object.x: Likewise.
24351 * nis/rpcsvc/nis_tags.h: Likewise.
24352 * nis/rpcsvc/yp.h: Likewise.
24353 * nis/rpcsvc/yp.x: Likewise.
24354 * nis/rpcsvc/ypupd.h: Likewise.
24355 * nis/yp_xdr.c: Likewise.
24356 * nis/ypupdate_xdr.c: Likewise.
24357
2f3e3dc7
UD
24358 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24359 mainly the body of pmap_getport. Add parameters to specify timeouts.
24360 (pmap_getport): Use __libc_rpc_getport.
24361 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24362 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24363 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24364
f3dcc2f9
AS
243652010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24366
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24368 fanotify_mark.
24369
6d34eb5b
RM
243702010-08-27 Roland McGrath <roland@redhat.com>
24371
24372 * sysdeps/i386/i686/multiarch/Makefile
24373 (CFLAGS-varshift.c): New variable.
24374
9ea3de11
UD
243752010-08-27 Ulrich Drepper <drepper@redhat.com>
24376
c96d23fc
UD
24377 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24378 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24379
9ea3de11
UD
24380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24381
24382 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24383
623aac7f
L
243842010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24385
24386 * sysdeps/x86_64/strlen.S: Unroll the loop.
24387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24388 strlen-sse2 strlen-sse2-bsf.
24389 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24390 __strlen_no_bsf if bit_Slow_BSF is set.
24391 (__strlen_sse42): Removed.
24392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24393 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24394
8b2b7715
RM
243952010-08-25 Roland McGrath <roland@redhat.com>
24396
24397 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24398 * sysdeps/x86_64/multiarch/varshift.c: New file.
24399 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24400 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24401 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24402 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24403
e73015f2
L
244042010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24405
24406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24407 strlen-sse2 strlen-sse2-bsf.
24408 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24409 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24410 (__strlen_sse2): Removed.
24411 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24414 bit_Slow_BSF for Atom.
24415 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24416 (index_Slow_BSF): Define.
24417 (HAS_SLOW_BSF): Define.
24418
df24a73e
UD
244192010-08-25 Ulrich Drepper <drepper@redhat.com>
24420
24421 [BZ #10851]
24422 * resolv/res_init.c (__res_vinit): When no server address at all
24423 is given default to loopback.
24424
f2ac4868
RM
244252010-08-24 Roland McGrath <roland@redhat.com>
24426
09055553
RM
24427 * configure.in: Remove config-name.h generation.
24428 * configure: Regenerated.
24429 * config-name.in: File removed.
24430 * scripts/config-uname.sh: New file.
24431 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24432 ($(objdir)config-name.h): New target.
24433
f2ac4868
RM
24434 * sunrpc/rpc_parse.h: Avoid nested comment.
24435
73f27d5e
RH
244362010-08-24 Richard Henderson <rth@redhat.com>
24437 Ulrich Drepper <drepper@redhat.com>
24438 H.J. Lu <hongjiu.lu@intel.com>
24439
24440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24442 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24443 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24444 _mm_alignr_epi8 with _mm_loadu_si128.
24445 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24446 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24447 (__m128i_shift_right): Removed.
24448 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24449 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24450 * sysdeps/x86_64/multiarch/varshift.h: New file.
24451 * sysdeps/x86_64/multiarch/varshift.S: New file.
24452
84b9230c
MF
244532010-08-21 Mike Frysinger <vapier@gentoo.org>
24454
24455 * configure.in: Move assembler checks to before sysdep dir checking.
24456
9bbd0ddc
PB
244572010-08-20 Petr Baudis <pasky@suse.cz>
24458
24459 * LICENSES: Sync the sunrpc license.
24460
9da4bb31
UD
244612010-08-19 Ulrich Drepper <drepper@redhat.com>
24462
a7ab6ec8
UD
24463 * sunrpc/auth_des.c: Update copyright notice once again.
24464 * sunrpc/auth_none.c: Likewise.
24465 * sunrpc/auth_unix.c: Likewise.
24466 * sunrpc/authdes_prot.c: Likewise.
24467 * sunrpc/authuxprot.c: Likewise.
24468 * sunrpc/bindrsvprt.c: Likewise.
24469 * sunrpc/clnt_gen.c: Likewise.
24470 * sunrpc/clnt_perr.c: Likewise.
24471 * sunrpc/clnt_raw.c: Likewise.
24472 * sunrpc/clnt_simp.c: Likewise.
24473 * sunrpc/clnt_tcp.c: Likewise.
24474 * sunrpc/clnt_udp.c: Likewise.
24475 * sunrpc/clnt_unix.c: Likewise.
24476 * sunrpc/des_crypt.c: Likewise.
24477 * sunrpc/des_soft.c: Likewise.
24478 * sunrpc/get_myaddr.c: Likewise.
24479 * sunrpc/getrpcport.c: Likewise.
24480 * sunrpc/key_call.c: Likewise.
24481 * sunrpc/key_prot.c: Likewise.
24482 * sunrpc/openchild.c: Likewise.
24483 * sunrpc/pm_getmaps.c: Likewise.
24484 * sunrpc/pm_getport.c: Likewise.
24485 * sunrpc/pmap_clnt.c: Likewise.
24486 * sunrpc/pmap_prot.c: Likewise.
24487 * sunrpc/pmap_prot2.c: Likewise.
24488 * sunrpc/pmap_rmt.c: Likewise.
24489 * sunrpc/rpc/auth.h: Likewise.
24490 * sunrpc/rpc/auth_unix.h: Likewise.
24491 * sunrpc/rpc/clnt.h: Likewise.
24492 * sunrpc/rpc/des_crypt.h: Likewise.
24493 * sunrpc/rpc/key_prot.h: Likewise.
24494 * sunrpc/rpc/netdb.h: Likewise.
24495 * sunrpc/rpc/pmap_clnt.h: Likewise.
24496 * sunrpc/rpc/pmap_prot.h: Likewise.
24497 * sunrpc/rpc/pmap_rmt.h: Likewise.
24498 * sunrpc/rpc/rpc.h: Likewise.
24499 * sunrpc/rpc/rpc_des.h: Likewise.
24500 * sunrpc/rpc/rpc_msg.h: Likewise.
24501 * sunrpc/rpc/svc.h: Likewise.
24502 * sunrpc/rpc/svc_auth.h: Likewise.
24503 * sunrpc/rpc/types.h: Likewise.
24504 * sunrpc/rpc/xdr.h: Likewise.
24505 * sunrpc/rpc_clntout.c: Likewise.
24506 * sunrpc/rpc_cmsg.c: Likewise.
24507 * sunrpc/rpc_common.c: Likewise.
24508 * sunrpc/rpc_cout.c: Likewise.
24509 * sunrpc/rpc_dtable.c: Likewise.
24510 * sunrpc/rpc_hout.c: Likewise.
24511 * sunrpc/rpc_main.c: Likewise.
24512 * sunrpc/rpc_parse.c: Likewise.
24513 * sunrpc/rpc_parse.h: Likewise.
24514 * sunrpc/rpc_prot.c: Likewise.
24515 * sunrpc/rpc_sample.c: Likewise.
24516 * sunrpc/rpc_scan.c: Likewise.
24517 * sunrpc/rpc_scan.h: Likewise.
24518 * sunrpc/rpc_svcout.c: Likewise.
24519 * sunrpc/rpc_tblout.c: Likewise.
24520 * sunrpc/rpc_util.c: Likewise.
24521 * sunrpc/rpc_util.h: Likewise.
24522 * sunrpc/rpcinfo.c: Likewise.
24523 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24524 * sunrpc/rpcsvc/key_prot.x: Likewise.
24525 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24526 * sunrpc/rpcsvc/mount.x: Likewise.
24527 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24528 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24529 * sunrpc/rpcsvc/rex.x: Likewise.
24530 * sunrpc/rpcsvc/rstat.x: Likewise.
24531 * sunrpc/rpcsvc/rusers.x: Likewise.
24532 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24533 * sunrpc/rpcsvc/spray.x: Likewise.
24534 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24535 * sunrpc/rtime.c: Likewise.
24536 * sunrpc/svc.c: Likewise.
24537 * sunrpc/svc_auth.c: Likewise.
24538 * sunrpc/svc_authux.c: Likewise.
24539 * sunrpc/svc_raw.c: Likewise.
24540 * sunrpc/svc_run.c: Likewise.
24541 * sunrpc/svc_simple.c: Likewise.
24542 * sunrpc/svc_tcp.c: Likewise.
24543 * sunrpc/svc_udp.c: Likewise.
24544 * sunrpc/svc_unix.c: Likewise.
24545 * sunrpc/svcauth_des.c: Likewise.
24546 * sunrpc/xcrypt.c: Likewise.
24547 * sunrpc/xdr.c: Likewise.
24548 * sunrpc/xdr_array.c: Likewise.
24549 * sunrpc/xdr_float.c: Likewise.
24550 * sunrpc/xdr_mem.c: Likewise.
24551 * sunrpc/xdr_rec.c: Likewise.
24552 * sunrpc/xdr_ref.c: Likewise.
24553 * sunrpc/xdr_sizeof.c: Likewise.
24554 * sunrpc/xdr_stdio.c: Likewise.
24555
9da4bb31
UD
24556 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24557 handling.
24558
bdaa77bc
AS
245592010-08-19 Andreas Schwab <schwab@redhat.com>
24560
24561 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24562
fe2f79db
LM
245632010-08-19 Luis Machado <luisgpm@br.ibm.com>
24564
24565 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24566 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24567 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24568 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24569 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24570 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24571 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24572 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24573 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24574 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24575 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24577 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24578 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24579
b9b42ee0
AB
245802010-07-26 Anton Blanchard <anton@samba.org>
24581
24582 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24583 * malloc/arena.c (heap_trim): Likewise.
24584
1c06ba31
UD
245852010-08-16 Ulrich Drepper <drepper@redhat.com>
24586
24587 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24588 here. Not...
24589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24590 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24591
f8392f40
L
245922010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24593
24594 * sysdeps/i386/elf/Makefile: New file.
24595
3162f12e
AS
245962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24597
24598 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24599 from fanotify_init.
24600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24602
28c90b2c
UD
246032010-08-15 Ulrich Drepper <drepper@redhat.com>
24604
24605 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24606 of strncasecmp_l.
1feccb6c 24607 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24608
ca6bb004
UD
246092010-08-14 Ulrich Drepper <drepper@redhat.com>
24610
e9f82e0d
UD
24611 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24612 strncase_l-nonascii.
24613 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24614 Add strncase_l-ssse3.
24615 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24616 * sysdeps/x86_64/strcmp.S: Likewise.
24617 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24618 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24619 * sysdeps/x86_64/strncase.S: New file.
24620 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24621 * sysdeps/x86_64/strncase_l.S: New file.
24622 * string/Makefile (strop-tests): Add strncasecmp.
24623 * string/test-strncasecmp.c: New file.
24624
24625 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24626 warning.
24627
ca6bb004
UD
24628 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24629 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24630
052fa7b3
AS
246312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24632
24633 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24634
962dba78
UD
246352010-08-12 Ulrich Drepper <drepper@redhat.com>
24636
24637 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24639 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24640
bebff237
AM
246412010-05-01 Alan Modra <amodra@gmail.com>
24642
24643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24644 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24645 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24646 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24647 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24648 tidying. Don't tail-call __sigjmp_save for static lib.
24649 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24650 save location.
24651 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24652 (CALL_MCOUNT): Add eh info, and nop after bl.
24653 (TAIL_CALL_SYSCALL_ERROR): New macro.
24654 (PSEUDO_RET): Use it.
24655 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24656 Correct save location of integer regs and cr.
24657 (_dl_profile_resolve): Correct cr save location. Delete nops
24658 after bl when SHARED. Reduce cfi size a little by better
24659 placement of cfi directives.
24660 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24661 make a stack frame. Instead use parm save area as a temp.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24663 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24665 Don't make a stack frame for parent, use parm save area.
24666 Increase child stack frame to 112 bytes. Don't save unused reg,
24667 and adjust reg usage. Set up cfi on error recovery and
24668 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24670 (__makecontext): Add dummy nop after jump to exit.
24671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24672 Use correct parm save area and cr save, reduce stack frame.
24673 Correct cfi for possible PSEUDO_RET frame setup.
24674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24675 Branch to local label emitted by PSEUDO_RET rather than
24676 __syscall_error.
24677
02637374
AS
246782010-08-12 Andreas Schwab <schwab@redhat.com>
24679
24680 [BZ #11904]
24681 * locale/programs/locale.c (print_assignment): New function.
24682 (show_locale_vars): Use it.
24683
c3e2f19b
UD
246842010-08-11 Ulrich Drepper <drepper@redhat.com>
24685
3cdaa6ad
UD
24686 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24687 field.
24688 (struct statfs64): Likewise.
24689 (_STATFS_F_FLAGS): Define.
24690 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24691 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24692 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24693 (ST_VALID): Define locally.
24694 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24695 __statvfs_getflags, use the provided value.
24696 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24697 __ASSUME_STATFS_F_FLAGS.
24698
754f7da3
UD
24699 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24700
10b3bedc
UD
24701 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24702 Add sys/fanotify.h.
24703 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24704 fanotify_mask for GLIBC_2.13.
24705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24706 fanotify_init and fanotify_mark.
24707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24708 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24709
c08fb0d7
UD
24710 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24711 Add prlimit.
24712 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24713 prlimit64 for GLIBC_2.13.
24714 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24715 prlimit64.
24716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24717 syscall.
24718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24719 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24720 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24721 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24723 add prlimit alias.
24724 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24725
15bac72b
UD
24726 [BZ #11903]
24727 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24728 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24729
c3e2f19b
UD
24730 * nss/Makefile: Add rules to build and run tst-nss-test1.
24731 * shlib-versions: Add entry for libnss_test1.
24732 * nss/nss_test1.c: New file.
24733 * nss/tst-nss-test1.c: New file.
24734
24735 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24736 (__nss_configure_lookup): Set appropriate entry in
24737 __nss_configure_lookup to true.
24738 * nss/nsswitch.h: Define enum with indeces of databases in
24739 databases and __nss_database_custom arrays. Declare
24740 __nss_database_custom.
24741 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24742 to avoid using nscd when custom rules are installed.
24743 * nss/getXXbyYY_r.c: Likewise.
24744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24745
24746 * nss/nss_files/files-parse.c: Whitespace fixes.
24747
f15ce4d8
UD
247482010-08-09 Ulrich Drepper <drepper@redhat.com>
24749
24750 [BZ #11883]
24751 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24752 * posix/fnmatch_loop.c: Likewise.
24753
d22e4cc9
AK
247542010-07-17 Andi Kleen <ak@linux.intel.com>
24755
24756 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24757 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24758 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24759 * Versions.def [GLIBC_2.13]: Add.
24760
805bc17d
UD
247612010-08-06 Ulrich Drepper <drepper@redhat.com>
24762
24763 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24764 Also fail if tpwd after pwuid call is NULL.
24765
5a42321d
ST
247662010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24767
24768 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24769 when converting to ms.
24770
fd3ebeda
ST
247712010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24772
24773 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24774 EOPNOTSUPP errors with ENOTTY.
24775 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24776 EOPNOTSUPP errors with ENOTTY.
24777
73507d3a
UD
247782010-07-31 Ulrich Drepper <drepper@redhat.com>
24779
24780 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24781 Add strcasecmp_l-ssse3.
24782 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24783 strcasecmp.
24784 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24785 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24786 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24787
fe36dd02
UD
247882010-07-30 Ulrich Drepper <drepper@redhat.com>
24789
66f6765a
UD
24790 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24791
42e08a54
UD
24792 * string/Makefile (strop-tests): Add strcasecmp.
24793 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24794 strcasecmp_l-nonascii.
24795 (gen-as-const-headers): Add locale-defines.sym.
24796 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24797 * sysdeps/x86_64/strcasecmp.S: New file.
24798 * sysdeps/x86_64/strcasecmp_l.S: New file.
24799 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24800 * sysdeps/x86_64/locale-defines.sym: New file.
24801 * string/test-strcasecmp.c: New file.
24802
fe36dd02
UD
24803 * string/test-strcasestr.c: Test both ends of the range of characters.
24804 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24805
48cbc0d6
RM
248062010-07-29 Roland McGrath <roland@redhat.com>
24807
76e6d6bc 24808 [BZ #11856]
48cbc0d6
RM
24809 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24810
880113d9
UD
248112010-07-27 Ulrich Drepper <drepper@redhat.com>
24812
24813 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24814 for ld.so.
24815
deb9cabb
AS
248162010-07-27 Andreas Schwab <schwab@redhat.com>
24817
24818 * manual/memory.texi (Malloc Tunable Parameters): Document
24819 M_PERTURB.
24820
1c7570ff
RM
248212010-07-26 Roland McGrath <roland@redhat.com>
24822
24823 [BZ #11840]
24824 * configure.in (-fgnu89-inline check): Set and substitute
24825 gnu89_inline, not libc_cv_gnu89_inline.
24826 * configure: Regenerated.
24827 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24828
24fb0f88
UD
248292010-07-26 Ulrich Drepper <drepper@redhat.com>
24830
24831 * string/test-strnlen.c: New file.
24832 * string/Makefile (strop-tests): Add strnlen.
24833 * string/tester.c (test_strnlen): Add a few more test cases.
24834 * string/tst-strlen.c: Better error reporting.
24835
24836 * sysdeps/x86_64/strnlen.S: New file.
24837
8e96b93a
UD
248382010-07-24 Ulrich Drepper <drepper@redhat.com>
24839
24840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24841 lower-latency instructions.
24842
dbc676d4
UD
248432010-07-23 Ulrich Drepper <drepper@redhat.com>
24844
24845 * string/test-strcasestr.c: New file.
24846 * string/test-strstr.c: New file.
24847 * string/Makefile (strop-tests): Add strstr and strcasestr.
24848 * string/str-two-way.h: Don't undefine MAX.
24849 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24850
f6a31e0e
AS
248512010-07-21 Andreas Schwab <schwab@redhat.com>
24852
24853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24854 strcasestr-nonascii.
24855 (CFLAGS-strcasestr-nonascii.c): Define.
24856 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24858 Remove unused attribute.
24859
5dbc3b6c
RM
248602010-07-20 Roland McGrath <roland@redhat.com>
24861
24862 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24863 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24864 ld.so.cache was broken. With it, there is no way to disable dsocaps
24865 like LD_HWCAP_MASK can disable hwcaps.
24866
23d101d8
EPM
248672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24868
24869 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24870
cc9f2e47
UD
248712010-07-16 Ulrich Drepper <drepper@redhat.com>
24872
24873 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24874 call in strcasestr.
24875 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24876 __strcasestr_sse42_nonascii.
24877 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24878 strcasestr-nonascii.c.
24879 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24880
77c1b069
LM
248812010-06-15 Luis Machado <luisgpm@br.ibm.com>
24882
24883 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24885 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24886 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24887
440566c3
UD
248882010-07-09 Ulrich Drepper <drepper@redhat.com>
24889
24890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24891 fcntl.
24892
5be9d05d
AS
248932010-07-06 Andreas Schwab <schwab@redhat.com>
24894
c30b7ee2 24895 [BZ #11577]
5be9d05d
AS
24896 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24897 dl_signal_cerror.
24898
8a492a67
UD
248992010-07-06 Ulrich Drepper <drepper@redhat.com>
24900
24901 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24902 _PC_PIPE_BUF using F_GETPIPE_SZ.
24903
713df3d5
RM
249042010-07-05 Roland McGrath <roland@redhat.com>
24905
24906 * manual/arith.texi (Rounding Functions): Fix rint description
24907 implicit in round description.
24908
702e8f14
UD
249092010-07-02 Ulrich Drepper <drepper@redhat.com>
24910
24911 * elf/Makefile: Fix linking for a few tests to make recent linker
24912 happy.
24913
52ed8be9
AS
249142010-06-30 Andreas Schwab <schwab@redhat.com>
24915
24916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24917 $(common-objpfx)libc_nonshared.a.
24918
f47c9a11
LM
249192010-06-21 Luis Machado <luisgpm@br.ibm.com>
24920
24921 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24922 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24923 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24924 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24925 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24926 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24927 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24928 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24943 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24944 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24945 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24946 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24947 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24948 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24949 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24950 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24951 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24952 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24953 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24954 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24969
6fb8cbcb
L
249702010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24971
24972 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24973 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24974 * string/memmove.c (memmove): Renamed to ...
24975 (MEMMOVE): ...this. Default to memmove.
24976 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24977 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24978 (END_CHK): Define.
24979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24980 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24981 mempcpy-ssse3-back memmove-ssse3-back.
24982 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24984 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24985 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24986 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24987 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24988 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24989 * sysdeps/x86_64/multiarch/memmove.c: New file.
24990 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24991 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24992 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24993 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24995 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24996 Define.
24997 (index_Fast_Copy_Backward): Define.
24998 (HAS_ARCH_FEATURE): Define.
24999 (HAS_FAST_REP_STRING): Define.
25000 (HAS_FAST_COPY_BACKWARD): Define.
25001
4e733bac 250022010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25003
25004 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25005 Restore proper fallback handling.
25006
63c4ed22
UD
250072010-06-19 Ulrich Drepper <drepper@redhat.com>
25008
ac2b484c
UD
25009 [BZ #11701]
25010 * posix/group_member.c (__group_member): Correct checking loop.
25011
63c4ed22
UD
25012 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25013 OOM in getpwuid_r correctly. Return error number when the caller
25014 should return, otherwise -1.
25015 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25016 call returning > 0 value.
25017 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25018
765ade4b
AS
250192010-06-07 Andreas Schwab <schwab@redhat.com>
25020
25021 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25022 libc_nonshared.a from targets in modules-names.
25023
80da2e09
KS
250242010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25025
25026 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25027 requires it.
25028
158db122
LM
250292010-06-10 Luis Machado <luisgpm@br.ibm.com>
25030
25031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25032 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25035
caa78cf8
AS
250362010-06-02 Andreas Schwab <schwab@redhat.com>
25037
25038 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25039
b2ef2c01
UD
250402010-06-14 Ulrich Drepper <drepper@redhat.com>
25041
25042 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25043 and F_GETPIPE_SZ.
25044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25045 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25048 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25050
fbd643b6
RM
250512010-06-14 Roland McGrath <roland@redhat.com>
25052
25053 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25054
f32f2869
JJ
250552010-06-07 Jakub Jelinek <jakub@redhat.com>
25056
25057 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25058 __REDIRECT followed by __THROW.
25059 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25060 * posix/getopt.h (getopt): Likewise.
25061
2a50c078
EPM
250622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25063
25064 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25065 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25066 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25067 in AT_FLAGS.
25068 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25069 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25070
eb5ad2eb
LM
250712010-05-28 Luis Machado <luisgpm@br.ibm.com>
25072
25073 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25074
3c88fe1e
L
250752010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25076
25077 [BZ #11640]
25078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25079 Properly check family and model.
25080
d2f73151
TY
250812010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25082
25083 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25084
ebd2e13d
LM
250852010-05-24 Luis Machado <luisgpm@br.ibm.com>
25086
25087 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25088
b32b8b45
UD
250892010-05-21 Ulrich Drepper <drepper@redhat.com>
25090
25091 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25092 symbol reference.
25093
9acbe24d
AS
250942010-05-19 Andreas Schwab <schwab@redhat.com>
25095
25096 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25097 symbol reference.
25098
f0ccf6ea
AS
250992010-05-21 Andreas Schwab <schwab@redhat.com>
25100
3d04ff3a
AS
25101 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25102 and internal_recvmmsg.
25103 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25104 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25105 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25106 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25107
f0ccf6ea
AS
25108 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25109 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25110 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25111
5b08ac57
AS
251122010-05-20 Andreas Schwab <schwab@redhat.com>
25113
25114 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25115
4828935d
LM
251162010-05-17 Luis Machado <luisgpm@br.ibm.com>
25117
25118 POWER7 optimizations.
25119 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25120 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25121
373d545e
UD
251222010-05-19 Ulrich Drepper <drepper@redhat.com>
25123
25124 * version.h: Update for 2.13 development version.
25125
21a2b1ae
AS
251262010-05-12 Andrew Stubbs <ams@codesourcery.com>
25127
25128 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25129 exceptions. Return 0.
25130
3f7dcb2b
RM
251312010-05-07 Roland McGrath <roland@redhat.com>
25132
25133 * elf/ldconfig.c (main): Add a const.
25134
5f24d53a 251352010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25136
a160f8d8
UD
25137 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25138 (args_options): Add no-idn option.
25139 (ahosts_keys_int): Add idn_flags to ai_flags.
25140 (parse_option): Handle 'i' option to clear idn_flags.
25141
5f24d53a
UD
25142 * malloc/malloc.c (_int_free): Possible race in the most recently
25143 added check. Only act on the data if no current modification
25144 happened.
265bb1ce
UD
25145
25146See ChangeLog.17 for earlier changes.