]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Install stdlib-bsearch.h header
[thirdparty/glibc.git] / ChangeLog
CommitLineData
cc7834d6
OB
12013-02-13 Ondřej Bílka <neleai@seznam.cz>
2
3 * stdlib/Makefile: Install stdlib-bsearch.h header.
4
170704c9
OB
52013-02-13 Ondřej Bílka <neleai@seznam.cz>
6
7 * string/mempcpy.c: Implement by calling memcpy.
8
bdf02814
SP
92013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10
c2af38aa
SP
11 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12
4e92d59e
SP
13 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14 evaluation.
15
909279a5
SP
16 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17 values in the mantissa.
18
bdf02814
SP
19 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20 minimize writes to Z.
21 (sub_magnitudes): Simplify code a bit.
22
cd525923
RM
232013-02-12 Roland McGrath <roland@hack.frob.com>
24
25 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26 from the message. The linker prefixes all warnings with that already.
27
7e2f0d2d
AS
282013-02-12 Andreas Schwab <schwab@suse.de>
29
a445af0b
AS
30 [BZ #15078]
31 * posix/regexec.c (extend_buffers): Add parameter min_len.
32 (check_matching): Pass minimum needed length.
33 (clean_state_log_if_needed): Likewise.
34 (get_subexp): Likewise.
35 * posix/Makefile (tests): Add bug-regex34.
36 (bug-regex34-ENV): Define.
37 * posix/bug-regex34.c: New file.
38
7e2f0d2d
AS
39 [BZ #11561]
40 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41 elements compare against the byte sequence of it, not its name.
42 * posix/Makefile (tests): Add bug-regex35.
43 (bug-regex35-ENV): Define.
44 * posix/bug-regex35.c: New file.
45
a175b684
TV
462013-02-11 Tom de Vries <tom@codesourcery.com>
47
48 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
49 comment.
50 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52 (CHECK_EOL): Add undef.
53
310998fe 542013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
55
56 * bits/stdlib-bsearch.h: New file.
57 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 58 * stdlib/stdlib.h: Likewise.
41eda41d 59
8ded91fb
RM
602013-02-11 Roland McGrath <roland@hack.frob.com>
61
62 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64 declaration.
65 * manual/search.texi (Array Search Function): Add missing const in
66 lfind prototype.
67 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68 declaration to use rlim_t.
69 (Basic Scheduling Functions): Remove erroneous const from
70 sched_getparam prototype. Remove erroneous * from
71 sched_get_priority_max and sched_get_priority_min prototypes.
72 (Resource Usage): Fix summary @comment on vtimes to refer to
73 sys/vtimes.h rather than vtimes.h.
74 Add missing *s in vtimes prototype.
75 (Limits on Resources): Fix ulimit prototype to return long int.
76 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
77 prototypes to use long int rather than double.
78 (BSD Random): Fix initstate and setstate to use char *, not void *.
79 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
80 prototype to make second argument 'struct aiocb64 *const[]'.
81 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
82 (Status of AIO Operations): Remove erroneous const in aio_return and
83 aio_return64 prototypes.
84 (Synchronizing I/O): Fix sync prototype to return void.
85 * manual/startup.texi (Suboptions): Remove an erroneous const in
86 getsubopt prototype.
87 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
88 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
89 use size_t rather than int.
90 (Scanning All Users): Likewise for getpwent_r.
91 (Setting Groups): Add missing const to setgroups prototype.
92 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
93 * manual/socket.texi (Host Names): Fix gethostbyaddr and
94 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
95 'const void *' rather than 'const char *'.
96 (Host Address Functions): Likewise for inet_ntop.
97 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
98 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
99 ssize_t for return value.
100 (Sending Data): Likewise for send, sendto, sendmsg.
101 (Socket Option Functions): Add a missing const in setsockopt prototype.
102 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
103 use wchar_t for the argument.
104 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
105 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
106 take no arguments.
107 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
108 double/float/long double for second argument.
109 Fix return types of significand, significandf, significandl.
110 * manual/filesys.texi (Setting Permissions): Use mode_t for second
111 argument in fchmod prototype.
112 (File Owner): Use uid_t and gid_t in fchown prototype.
113 (File Times): Add const to utimes, futimes, and lutimes prototypes.
114 (Making Special Files): Use mode_t and dev_t in mknod prototype.
115 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
116 use 'const struct dirent **' as argument types to CMP function pointer
117 argument.
118 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
119 (File Times): Fix summary magic @comment for struct utimbuf and utime
120 to refer to utime.h, not time.h.
121 * manual/string.texi (Argz Functions): Add missing const in
122 argz_extract and argz_next prototypes.
123 (Finding Tokens in a String): Likewise for basename.
124 (String/Array Comparison): Fix typo in wcscasecmp prototype.
125 (Copying and Concatenation): Fix typo in wmemmove prototype.
126 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
127 (Signal Stack): Remove erroneous const in sigstack prototype.
128 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
129 prototype.
130 (Simple Calendar Time): Likewise for stime.
131 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
132 prototype.
133 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
134 say sys/sysctl.h instead.
135 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
136 and vsyslog prototypes.
137
fe77fe6d
TV
1382013-02-11 Tom de Vries <tom@codesourcery.com>
139
140 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
141 Remove.
142
3a09b620
RM
1432013-02-11 Roland McGrath <roland@hack.frob.com>
144
145 * misc/sys/mman.h: Fix typo in mremap comment.
146
550a0b89
RM
1472013-02-08 Roland McGrath <roland@hack.frob.com>
148
149 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
150 the '\0' terminator.
151
a2da1673
JM
1522013-02-08 Joseph Myers <joseph@codesourcery.com>
153
154 [BZ #13550]
155 * debug/segfault.c: Don't include <bp-checks.h>.
156 * sysdeps/generic/bp-checks.h: Remove file.
157 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
158 (__GETDENTS): Don't use CHECK_N.
159 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
160 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
161 (__getgroups): Don't use CHECK_N.
162 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
163 (setgroups): Don't use CHECK_N.
164 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
165 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
166 (__libc_msgrcv): Don't use CHECK_N.
167 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
168 (__libc_msgsnd): Don't use CHECK_N.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
170 <bp-checks.h>.
171 (__libc_pread): Don't use CHECK_N.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
173 include <bp-checks.h>.
174 (__libc_pread64): Don't use CHECK_N.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
176 include <bp-checks.h>.
177 (__libc_pwrite): Don't use CHECK_N.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
179 include <bp-checks.h>.
180 (__libc_pwrite64): Don't use CHECK_N.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
182 <bp-checks.h>.
183 (__libc_pread): Don't use CHECK_N.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
185 include <bp-checks.h>.
186 (__libc_pread64): Don't use CHECK_N.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
188 include <bp-checks.h>.
189 (__libc_pwrite): Don't use CHECK_N.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
191 include <bp-checks.h>.
192 (__libc_pwrite64): Don't use CHECK_N.
193 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
194 (do_pread): Don't use CHECK_N.
195 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
196 (do_pread64): Don't use CHECK_N.
197 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
198 (do_pwrite): Don't use CHECK_N.
199 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
200 (do_pwrite64): Don't use CHECK_N.
201 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
202 (__libc_readv): Don't use CHECK_N.
203 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
204 (semop): Don't use CHECK_N.
205 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
206 <bp-checks.h>.
207 (semtimedop): Don't use CHECK_N.
208 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
209 (__libc_pread): Don't use CHECK_N.
210 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
211 <bp-checks.h>.
212 (__libc_pread64): Don't use CHECK_N.
213 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
214 <bp-checks.h>.
215 (__libc_pwrite): Don't use CHECK_N.
216 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
217 <bp-checks.h>.
218 (__libc_pwrite64): Don't use CHECK_N.
219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
220 <bp-checks.h>.
221 (__libc_msgrcv): Don't use CHECK_N.
222 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
223 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
224 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
225 (__libc_writev): Don't use CHECK_N.
226
b84660a8
RM
2272013-02-08 Roland McGrath <roland@hack.frob.com>
228
7f3e75f8
RM
229 * string/strcpy.c: Removed unused variable.
230
b84660a8
RM
231 * Makeconfig (+sysdep-includes): Define with := rather than =.
232 Use an existing include/ subdir of each sysdeps dir before it.
233
471514d3
CD
2342013-02-08 Carlos O'Donell <carlos@redhat.com>
235
236 * nscd/connection.c (register_traced_file): Comment function.
237 [HAVE_INOTIFY] (union __inev): Define.
238 [HAVE_INOTIFY] (inotify_check_files): New function.
239 [HAVE_INOTIFY] (clear_db_cache): Likewise.
240 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
241 clear_db_cache.
242 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
243
b2d3c3be
CD
2442013-02-08 Carlos O'Donell <carlos@redhat.com>
245
246 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
247 loaded if not already and that a failure is permanent.
248
b39949d2
CD
2492013-02-08 Carlos O'Donell <carlos@redhat.com>
250
ddacd1db 251 [BZ #15006]
b39949d2
CD
252 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
253 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
254
b2c9eff4
JM
2552013-02-08 Joseph Myers <joseph@codesourcery.com>
256
f3aae3f3
JM
257 [BZ #13550]
258 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
259 (CHECK_1_NULL_OK): Likewise.
260 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
261 (__fxstat): Do not use CHECK_1.
262 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
263 <bp-checks.h>.
264 (___fxstat64): Do not use CHECK_1.
265 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
266 <bp-checks.h>.
267 (__fxstatat): Do not use CHECK_1.
268 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
269 <bp-checks.h>.
270 (__fxstatat64): Do not use CHECK_1.
271 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
272 <bp-checks.h>.
273 (__fxstat): Do not use CHECK_1.
274 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
275 <bp-checks.h>.
276 (__fxstatat): Do not use CHECK_1.
277 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
278 <bp-checks.h>.
279 (__getresgid): Do not use CHECK_1.
280 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
281 <bp-checks.h>.
282 (__getresuid): Do not use CHECK_1.
283 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
284 <bp-checks.h>.
285 (__lxstat): Do not use CHECK_1.
286 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
287 <bp-checks.h>.
288 (__old_msgctl): Do not use CHECK_1.
289 (__new_msgctl): Likewise.
290 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
291 <bp-checks.h>.
292 (__new_setrlimit): Do not use CHECK_1.
293 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
294 <bp-checks.h>.
295 (__old_shmctl): Do not use CHECK_1.
296 (__new_shmctl): Likewise.
297 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
298 <bp-checks.h>.
299 (__xstat): Do not use CHECK_1.
300 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
301 (__lxstat): Do not use CHECK_1.
302 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
303 <bp-checks.h>.
304 (___lxstat64): Do not use CHECK_1.
305 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
306 (__old_msgctl): Do not use CHECK_1.
307 (__new_msgctl): Likewise.
308 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
309 <bp-checks.h>.
310 (__gettimeofday): Do not use CHECK_1.
311 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
312 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
313 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
314 <bp-checks.h>.
315 (__gettimeofday): Do not use CHECK_1.
316 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
317 (__old_shmctl): Do not use CHECK_1_NULL_OK.
318 (__new_shmctl): Do not use CHECK_1.
319 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
320 <bp-checks.h>.
321 (do_sigtimedwait): Do not use CHECK_1.
322 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
323 <bp-checks.h>.
324 (do_sigwaitinfo): Do not use CHECK_1.
325 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
326 <bp-checks.h>.
327 (msgctl): Do not use CHECK_1.
328 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
329 <bp-checks.h>.
330 (shmctl): Do not use CHECK_1.
331 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
332 (ustat): Do not use CHECK_1.
333 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
334 <bp-checks.h>.
335 (__fxstat): Do not use CHECK_1.
336 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
337 <bp-checks.h>.
338 (__fxstatat): Do not use CHECK_1.
339 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
340 <bp-checks.h>.
341 (__lxstat): Do not use CHECK_1.
342 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
343 <bp-checks.h>.
344 (__xstat): Do not use CHECK_1.
345 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
346 (__xstat): Do not use CHECK_1.
347 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
348 (___xstat64): Do not use CHECK_1.
349
b2c9eff4
JM
350 [BZ #13550]
351 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
352 definitions.
353 (CHECK_BOUNDS_HIGH): Likewise.
354 * string/strcpy.c: Do not include <bp-checks.h>.
355 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
356
f1d70dad
RM
3572013-02-07 Roland McGrath <roland@hack.frob.com>
358
359 * nscd/nscd-client.h (__nscd_drop_map_ref):
360 Add __attribute__ ((unused)).
361 * nis/nss-nisplus.h (niserr2nss): Likewise.
362
363 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
364 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
365
366 * csu/libc-tls.c (init_static_tls, init_slotinfo):
367 Remove inline keyword.
368 * include/rounding-mode.h (round_away): Likewise.
369 * libio/wfileops.c (adjust_wide_data): Likewise.
370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
371 (__m128i_strloadu_tolower): Likewise.
372 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
373 (__m128i_strloadu_tolower): Likewise.
374 * time/mktime.c (ydhms_diff): Likewise.
375 * locale/elem-hash.h (elem_hash): Likewise.
376 * locale/setlocale.c (setdata): Likewise.
377 * posix/regex_internal.h (re_string_char_size_at): Likewise.
378 (re_string_wchar_at): Likewise.
379 (bitset_not, bitset_merge, bitset_mask): Likewise.
380 [!(__GNUC__ > 3)] (inline): Remove macro.
381 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
382 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
383 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
384 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
385 * string/memcmp.c (memcmp_bytes): Likewise.
386 * locale/programs/locarchive.c (compute_hashval): Likewise.
387 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
388 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
389 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
390 * nss/getent.c (print_rpc, print_protocols): Likewise.
391 (print_passwd, print_group, print_aliases): Likewise.
392 * nis/nss-nisplus.h (niserr2nss): Likewise.
393 * nscd/connections.c (restart_p): Likewise.
394 Change return type to bool.
395
eab55bfb
RM
3962013-02-05 Roland McGrath <roland@hack.frob.com>
397
7bd642f5
RM
398 * Makeconfig (all-Depend-files): Add existing
399 $(sorted-subdirs:=/Depend) files.
400 (all-subdirs): Remove nss.
401 * sysdeps/unix/inet/Subdirs: Add it here instead.
402 * hesiod/Depend: New file.
403
573c29b2
RM
404 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
405 instead of calling alloca.
406
b2e25af0
RM
407 * io/lseek.c (__lseek): Rename to __libc_lseek.
408 Define __lseek as an alias.
409
eab55bfb
RM
410 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
411
9a0d1941
CD
4122013-02-04 Carlos O'Donell <carlos@redhat.com>
413
414 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
415 else clause and remove check for non-standard endianness.
416
b83bbec4
DM
4172013-02-04 David S. Miller <davem@davemloft.net>
418
419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
420
6277fdab
JM
4212013-02-04 Joseph Myers <joseph@codesourcery.com>
422
423 [BZ #13550]
424 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
425 (__ubp_memchr): Remove prototype.
426 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
427 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
428 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
429 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
430 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
431 Remove alias.
432 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
433 (__ubp_memchr): Likewise.
434 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
435 (__ubp_memchr): Likewise.
436 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
437 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
438 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
439 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
440 CHECK_STRING.
441 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
442 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
443 (__getcwd): Do not use CHECK_STRING.
444 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
445 <bp-checks.h>.
446 (__real_chown): Do not use CHECK_STRING.
447 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
448 <bp-checks.h>.
449 (fchownat): Do not use CHECK_STRING.
450 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
451 CHECK_STRING.
452 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
453 <bp-checks.h>.
454 (__lchown): Do not use CHECK_STRING.
455 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
456 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
457 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
458 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
460 include <bp-checks.h>.
461 (truncate64): Do not use CHECK_STRING.
462 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
463 <bp-checks.h>.
464 (__real_chown): Do not use CHECK_STRING.
465 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
466 <bp-checks.h>.
467 (__lchown): Do not use CHECK_STRING.
468 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
469 <bp-checks.h>.
470 (__chown): Do not use CHECK_STRING.
471 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
472 <bp-checks.h>.
473 (truncate64): Do not use CHECK_STRING.
474 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
475 Likewise.
476 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
477 (__xmknod): Do not use CHECK_STRING.
478 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
479 <bp-checks.h>.
480 (__xmknodat): Do not use CHECK_STRING.
481 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
482 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
483
903ae060
AS
4842013-02-04 Andreas Schwab <schwab@suse.de>
485
486 [BZ #14142]
487 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
488 * include/netdb.h: Likewise for h_errno.
489 * elf/tst-stackguard1.c: Include <tls.h>.
490
542f9466
JK
4912013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
492
493 * elf/link.h (struct link_map): Extend the l_addr comment.
494 * include/link.h (struct link_map): Likewise.
495
e782a927
JM
4962013-02-01 Joseph Myers <joseph@codesourcery.com>
497
498 [BZ #13550]
499 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
500 (BOUNDED_1): Remove macro.
501 * debug/backtrace.c: Don't include <bp-checks.h>.
502 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
503 (__backtrace): Likewise.
504 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
505 <bp-checks.h>.
506 (__backtrace): Don't use BOUNDED_1.
507 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
508 <bp-checks.h>.
509 (__backtrace): Don't use BOUNDED_1.
510 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
511 (__backtrace): Don't use BOUNDED_1.
512 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
513 (shmat): Don't use BOUNDED_N.
514
8cf28c5e
JM
5152013-01-31 Joseph Myers <joseph@codesourcery.com>
516
3a7ac8a0
JM
517 [BZ #13550]
518 * sysdeps/generic/bp-start.h: Remove file.
519 * csu/libc-start.c: Don't include <bp-start.h>.
520 (LIBC_START_MAIN): Set up __environ directly instead of using
521 INIT_ARGV_and_ENVIRON.
522 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
523 <bp-start.h>.
524
f3499f95
JM
525 [BZ #13550]
526 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
527 definitions.
528 (CHECK_FCNTL): Likewise.
529 (CHECK_N_PAGES): Likewise.
530
32a45bea
JM
531 [BZ #13550]
532 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
533 definitions.
534 (CHECK_SIGSET_NULL_OK): Likewise.
535 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
536 <bp-checks.h>.
537 (sigpending): Don't use CHECK_SIGSET.
538 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
539 <bp-checks.h>.
540 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
541 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
542 <bp-checks.h>.
543 (do_sigsuspend): Don't use CHECK_SIGSET.
544 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
545 use CHECK_SIGSET.
546 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
547 (do_sigwait): Don't use CHECK_SIGSET.
548 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
549 use CHECK_SIGSET.
550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
551 include <bp-checks.h>.
552 (sigpending): Don't use CHECK_SIGSET.
553 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
554 include <bp-checks.h>.
555 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
556 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
557 <bp-checks.h>.
558 (sigpending): Don't use CHECK_SIGSET.
559 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
560 <bp-checks.h>.
561 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
562
2e8a5c8c
JM
563 [BZ #13550]
564 * sysdeps/generic/bp-semctl.h: Remove file.
565 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
566 <bp-checks.h> and <bp-semctl.h>.
567 (__old_semctl): Don't use CHECK_SEMCTL.
568 (__new_semctl): Likewise.
569 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
570 and <bp-semctl.h>.
571 (__old_semctl): Don't use CHECK_SEMCTL.
572 (__new_semctl): Likewise.
573 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
574 <bp-checks.h> and <bp-semctl.h>.
575 (__old_semctl): Don't use CHECK_SEMCTL.
576 (__new_semctl): Likewise.
577 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
578 <bp-checks.h> and <bp-semctl.h>.
579 (semctl): Don't use CHECK_SEMCTL.
580
c2d54929
JM
581 [BZ #13550]
582 * Makerules (elide-bp-thunks): Remove variable.
583 (elide-routines.oS): Don't use $(elide-bp-thunks).
584 (elide-routines.os): Likewise.
585 (elide-routines.o): Likewise.
586 (elide-routines.op): Likewise.
587 (elide-routines.og): Likewise.
588 (objects): Don't use $(bp-thunks).
589 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
590 include.
591 (common-generated): Do not add s-proto-bp.d.
592 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
593 (int): Likewise.
594 (typ): Likewise.
595 Do not generate makefile rules for bounded-pointer thunks.
596 * sysdeps/generic/bp-thunks.h: Remove file.
597 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
598 * sysdeps/unix/s-proto-bp.S: Likewise.
599
8cf28c5e
JM
600 [BZ #15062]
601 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
602 parts of result separately when argument is not close to line from
603 -i to i and one part of argument is small.
604 * math/k_casinhf.c (__kernel_casinhf): Likewise.
605 * math/k_casinhl.c (__kernel_casinhl): Likewise.
606 * math/libm-test.inc (cacos_test): Add more tests.
607 (casin_test): Likewise.
608 (casinh_test): Likewise.
609 * sysdeps/i386/fpu/libm-test-ulps: Update.
610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
611
c4e33b8d
DM
6122013-01-31 David S. Miller <davem@davemloft.net>
613
614 * po/de.po: Update from translation team.
615
3b60b421
MK
6162013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
617
618 * time/tzfile.c: Include stdint.h for SIZE_MAX.
619
bb931195
TS
6202013-01-25 Thomas Schwinge <thomas@codesourcery.com>
621
b5a5da23
TS
622 * configure.in (_AC_PROG_CC_C89): New definition.
623 * configure: Regenerate.
624
bb931195
TS
625 * configure.in (AC_PROG_CPP): New definition.
626 * configure: Regenerate.
627
8c53a12c
JM
6282013-01-23 Joseph Myers <joseph@codesourcery.com>
629
630 * debug/tst-backtrace.h: New file.
631 * debug/tst-backtrace2.c: Include tst-backtrace.h.
632 (ret): Remove variable.
633 (x): Likewise.
634 (FAIL): Remove macro.
635 (NO_INLINE): Likewise.
636 (fn1): Use match function instead of strstr.
637 * debug/tst-backtrace3.c: Include tst-backtrace.h.
638 (ret): Remove variable.
639 (x): Likewise.
640 (FAIL): Remove macro.
641 (NO_INLINE): Likewise.
642 (fn): Use match function instead of strstr.
643 * debug/tst-backtrace4.c: Include tst-backtrace.h.
644 (ret): Remove variable.
645 (x): Likewise.
646 (FAIL): Remove macro.
647 (NO_INLINE): Likewise.
648 (handle_signal): Use match function instead of strstr.
649 * debug/tst-backtrace5.c: Include tst-backtrace.h.
650 (ret): Remove variable.
651 (x): Likewise.
652 (FAIL): Remove macro.
653 (NO_INLINE): Likewise.
654 (handle_signal): Use match function instead of strstr.
655
4858fa2a
RM
6562013-01-23 Roland McGrath <roland@hack.frob.com>
657
658 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
659
bae8e7f5
DM
6602013-01-23 David S. Miller <davem@davemloft.net>
661
662 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
663 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
664 argument of CAS if possible.
665 * sysdeps/sparc/sparc64/bits/atomic.h
666 (__arch_compare_and_exchange_val_32_acq): Likewise.
667 (__arch_compare_and_exchange_val_64_acq): Likewise.
668
9cbbc4ae
PT
6692013-01-23 Pino Toscano <toscano.pino@tiscali.it>
670
671 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
672 * sysdeps/posix/ulimit.c: ... this.
92a601b8 673 Include <limits.h>.
67b3f58c 674 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 675
5655a0b5
AC
6762013-01-23 Adam Conrad <adconrad@0c3.net>
677
678 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
679 (LDFLAGS-tst-array5): Likewise.
680
052aff95
JM
6812013-01-23 Joseph Myers <joseph@codesourcery.com>
682
683 [BZ #15036]
684 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
685 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
686 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
687 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
688
7c1e01aa
DM
6892013-01-21 David S. Miller <davem@davemloft.net>
690
691 * sysdeps/sparc/backtrace.c: New file.
692 * sysdeps/sparc/sparc32/backtrace.h: New file.
693 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
694 * sysdeps/sparc/sparc64/backtrace.h: New file.
695 * sysdeps/sparc/sparc64/backtrace.c: Delete.
696 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
697 -funwind-tables.
698
ab087e0a
AS
6992013-01-21 Andreas Schwab <schwab@suse.de>
700
701 [BZ #15020]
702 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
703 closed its stdout.
704
ed689c2f
AS
7052013-01-20 Andreas Schwab <schwab@linux-m68k.org>
706
707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
708 "mpa2.h".
709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
710
31d470ac
JM
7112013-01-18 Joseph Myers <joseph@codesourcery.com>
712 Mark Mitchell <mark@codesourcery.com>
713 Tom de Vries <tom@codesourcery.com>
714 Paul Pluzhnikov <ppluzhnikov@google.com>
715
716 * debug/tst-backtrace2.c: New file.
717 * debug/tst-backtrace3.c: Likewise.
718 * debug/tst-backtrace4.c: Likewise.
719 * debug/tst-backtrace5.c: Likewise.
720 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
721 (CFLAGS-tst-backtrace3.c): Likewise.
722 (CFLAGS-tst-backtrace4.c): Likewise.
723 (CFLAGS-tst-backtrace5.c): Likewise.
724 (LDFLAGS-tst-backtrace2): Likewise.
725 (LDFLAGS-tst-backtrace3): Likewise.
726 (LDFLAGS-tst-backtrace4): Likewise.
727 (LDFLAGS-tst-backtrace5): Likewise.
728 (tests): Add new tests tst-backtrace2, tst-backtrace3,
729 tst-backtrace4 and tst-backtrace5.
730
90567f30 7312013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
732 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
733
734 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
735 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
736 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
737 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
739 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
740 "+r" and remove output regs list as redundant. Add explicit inline
741 asm to specify register of return val to work around compiler codegen
742 bug. Remove (int) cast on return value. Add return type parameter to
743 use in macro so that this macro does not truncate return value for
744 64-bit values.
745 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
746 pass to INTERNAL_VSYSCALL_NCS.
747 (INLINE_VSYSCALL): Add 'long int' as return type to
748 INTERNAL_VSYSCALL_NCS macro invocation.
749 (INTERNAL_VSYSCALL): Add 'long int' as return type to
750 INTERNAL_VSYSCALL_NCS macro invocation.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
752
d3b9ea61
SP
7532013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
754
0b57daeb
SP
755 [BZ #14496]
756 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
757 Fix application of SIMD FP exception mask.
758
caa99d06
SP
759 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
760 mp_no from a power of two.
761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
762 __mpexp_twomm1. Use __pow_mp.
763
d3b9ea61
SP
764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
765 multiplication.
766
1dbaee3c
DM
7672013-01-17 David S. Miller <davem@davemloft.net>
768
769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
770
728d7b43
JM
7712013-01-17 Joseph Myers <joseph@codesourcery.com>
772
773 [BZ #15023]
774 * include/complex.h: Condition contents on [!_COMPLEX_H].
775 (__kernel_casinhf): New prototype.
776 (__kernel_casinh): Likewise.
777 (__kernel_casinhl): Likewise.
778 * math/Makefile (libm_calls): Add k_casinh.
779 * math/k_casinh.c: New file.
780 * math/k_casinhf.c: Likewise.
781 * math/k_casinhl.c: Likewise.
782 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
783 finite nonzero arguments.
784 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
785 finite nonzero arguments.
786 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
787 finite nonzero arguments.
788 * math/s_casinh.c: Do not include <float.h>.
789 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
790 * math/s_casinhf.c: Do not include <float.h>.
791 (__casinhf): Move code for finite nonzero arguments to
792 k_casinhf.c.
793 * math/s_casinhl.c: Do not include <float.h>.
794 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
795 redefine.
796 (__casinhl): Move code for finite nonzero arguments to
797 k_casinhl.c.
798 * math/libm-test.inc (cacos_test): Add more tests.
799 * sysdeps/i386/fpu/libm-test-ulps: Update.
800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
801
2a26ef3a
PT
8022013-01-17 Pino Toscano <toscano.pino@tiscali.it>
803
804 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
805 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
806 [!HAVE_MREMAP]: Remove [defined linux] case.
807 * malloc/arena.c: Do not include <malloc-sysdep.h>.
808
a897655d
SP
8092013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
810
811 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
812
881ebe89 8132013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
814
815 * elf/elf.h (R_386_SIZE32): New relocation.
816 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
817 R_386_SIZE32.
818 (elf_machine_rela): Likewise.
819 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
820 R_X86_64_SIZE64 and R_X86_64_SIZE32.
821
59981e9b
JM
8222013-01-17 Joseph Myers <joseph@codesourcery.com>
823
824 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
825 (FP_FAST_FMA): Do not define.
826 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
827 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
828 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
829 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
830 !_SOFT_FLOAT]: Likewise.
831 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
832 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
833 value.
834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
835 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
836 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
837 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
838 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
839 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
840 file.
841
cfa8054f
AS
8422013-01-16 Andreas Schwab <schwab@suse.de>
843
844 [BZ #14327]
845 * include/stdlib.h (__mktemp): Add declaration.
846 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
847 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
848
dd930cc5
SP
8492013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
850
881ebe89
SP
851 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
852 definitions.
853 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
854 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
855 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
856 definitions here.
857 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
858 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
859 definitions.
860 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
861 and ONE.
862 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
863 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
864 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
865 definitions.
866 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
867 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
868 definitions.
869 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 870
dd930cc5
SP
871 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
872
c19a9f89
DM
8732013-01-15 David S. Miller <davem@davemloft.net>
874
1aa61767
DM
875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
876 trunc{,f} to libm-sysdep_routes.
877 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
879 file.
880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
882 file.
883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
884 file.
885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
887 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
888 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
889 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
890 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
891 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
892 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
893
c42d5e98
DM
894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
895 nearbyint{,f} to libm-sysdep_routes.
896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
898 New file.
899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
900 file.
901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
902 New file.
903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
904 file.
905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
907 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
908 file.
909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
910 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
911 file.
912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
913 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
914 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
915
c19a9f89
DM
916 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
917 libc_feholdexcept and libc_fesetenv.
918
357679d2
MF
9192013-01-15 Mike Frysinger <vapier@gentoo.org>
920
921 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
922
65a82e3d
DM
9232013-01-14 David S. Miller <davem@davemloft.net>
924
8b954ab9
DM
925 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
926 (SPARC_ASM_VIS2_IFUNC): Likewise.
927 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
929 use of 'siam' instruction.
930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
931 Likewise.
932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
933 Likewise.
934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
935 Likewise.
936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
941 file.
942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
943 file.
944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
945 file.
946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
947 file.
948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
953 new VIS2 routines.
954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
957 Likewise.
958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
963 routines to libm-sysdep_routines.
964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
965
65a82e3d
DM
966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
967 fdim/fdimf to libm-sysdep_routines.
968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
969 file.
970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
972 file.
973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
976 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
977 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
978 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
979 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
980
e34ab705
SP
9812013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
982
2a91b573
SP
983 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
984 to optimize copies.
985
1066a534
SP
986 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
989
e34ab705
SP
990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
991 local variable MPTWO.
992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
993 Likewise.
994
aba5e596
MF
9952013-01-13 Mike Frysinger <vapier@gentoo.org>
996
997 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
998 GLOB_NOESCAPE.
999
e557e9e5
MF
10002013-01-13 Mike Frysinger <vapier@gentoo.org>
1001
1002 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1003
0428cec9
MF
10042013-01-13 Mike Frysinger <vapier@gentoo.org>
1005
1006 * manual/pattern.texi (glob_t): Document gl_flags.
1007 (glob64_t): Likewise.
1008
8794a964
DM
10092013-01-11 David S. Miller <davem@davemloft.net>
1010
66438c3f
RM
1011 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1012 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1013 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1014 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1015 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1016 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1017 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1018 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1019 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1020 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1021 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1022 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1023 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1024
4ae4244d
DM
1025 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1026 sparc V9 rather than using V8 code.
1027 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1028 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1029
8794a964
DM
1030 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1031 Move to...
1032 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1033 Here.
1034
6270516e
RM
10352013-01-11 Roland McGrath <roland@hack.frob.com>
1036
1037 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1038 not in the main loop.
1039 * configure: Regenerated.
1040
6a57d931
JM
10412013-01-11 Joseph Myers <joseph@codesourcery.com>
1042
1043 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1044 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1045 to just #else.
1046 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1047 [!__GLIBC_HAVE_LONG_LONG] case.
1048 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1049 condition to just #else.
1050 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1051 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1052 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1053 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1054 unconditional.
1055 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1056 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1057 #elif condition to just #else.
1058 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1059 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1060 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1061 #elif condition to just #else.
1062
0e8529e9
SE
10632013-01-11 Steve Ellcey <sellcey@mips.com>
1064
1065 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1066 (EF_MIPS_ARCH_64): Fix value.
1067 (EF_MIPS_ARCH_32R2): New.
1068 (EF_MIPS_ARCH_64R2): New.
1069
740b3dbe
L
10702013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 * Makeconfig (+link-pie-before-libc): New.
1073 (+link-pie-after-libc): Likewise.
1074 (+link-pie-tests): Likewise.
1075 (+link-pie): Rewritten.
1076 (link-before-libc): Remove $(config-LDFLAGS).
1077 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1078 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1079 (config-LDFLAGS): Renamed to ...
1080 (rtld-LDFLAGS): This.
1081 (rtld-tests-LDFLAGS): New macro.
1082 (link-libc-rpath-link): Likewise.
1083 (link-libc-tests-rpath-link): Likewise.
1084 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1085 (link-libc): Prepand $(link-libc-rpath-link).
1086 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1087 (test-program-prefix): New macro.
1088 (test-via-rtld-prefix): Likewise.
1089 (test-program-cmd): Likewise.
1090 (host-test-program-cmd): Likewise.
1091 * Makefile ($(common-objpfx)testrun.sh): Replace
1092 $(run-program-prefix) with $(test-program-prefix).
1093 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1094 $(rtld-LDFLAGS).
1095 ($(common-objpfx)shlib.lds): Likewise.
1096 (build-module-helper): Likewise.
1097 ($(common-objpfx)format.lds): Likewise.
1098 * Rules (binaries-pie-tests): New.
1099 (binaries-pie-notests): Likewise.
1100 (binaries-pie): Rewritten.
1101 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1102 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1103 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1104 (make-test-out): Replace $(host-built-program-cmd) with
1105 $(host-test-program-cmd).
1106 * config.make.in (build-hardcoded-path-in-tests): New variable.
1107 * configure.in (--enable-hardcoded-path-in-tests): New configure
1108 option.
1109 (hardcoded_path_in_tests): New AC_SUBST.
1110 * configure: Regenerated.
1111 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1112 $(built-program-cmd) with $(test-program-cmd).
1113 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1114 (test_program_cmd): This.
1115 * elf/Makefile ($(objpfx)order.out): Run test with
1116 $(test-program-prefix).
1117 ($(objpfx)order2.out): Likewise.
1118 ($(objpfx)tst-initorder.out): Likewise.
1119 ($(objpfx)tst-initorder2.out): Likewise.
1120 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1121 $(test-program-cmd).
1122 ($(objpfx)tst-array1-static.out): Likewise.
1123 ($(objpfx)tst-array2.out): Likewise.
1124 ($(objpfx)tst-array3.out): Likewise.
1125 ($(objpfx)tst-array4.out): Likewise.
1126 ($(objpfx)tst-array5.out): Likewise.
1127 ($(objpfx)tst-array5-static.out): Likewise.
1128 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1129 $(test-program-cmd).
1130 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1131 $(run-program-prefix) with $(test-program-prefix).
1132 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1133 (test_program_prefix): This.
1134 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1135 $(run-program-prefix) with $(test-program-prefix).
1136 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1137 (test_program_prefix): This.
1138 * iconvdata/tst-tables.sh: Likewise.
1139 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1140 $(run-program-prefix) with $(test-program-prefix).
1141 ($(objpfx)tst-translit.out): Likewise.
1142 ($(objpfx)tst-gettext2.out): Likewise.
1143 ($(objpfx)tst-gettext4.out): Likewise.
1144 ($(objpfx)tst-gettext6.out): Likewise.
1145 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1146 (test_program_prefix): This.
1147 * intl/tst-gettext2.sh: Likewise.
1148 * intl/tst-gettext4.sh Likewise.
1149 * intl/tst-gettext6.sh: Likewise.
1150 * intl/tst-translit.sh: Likewise.
1151 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1152 with $(test-program-cmd).
1153 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1154 $(run-program-prefix) with $(test-program-prefix).
1155 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1156 (test_program_prefix): This.
1157 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1158 $(run-program-prefix) with $(test-program-prefix).
1159 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1160 (test_program_prefix): This.
1161 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1162 * posix/Makefile ($(objpfx)globtest.out): Replace
1163 $(run-via-rtld-prefix) and $(test-wrapper) with
1164 $(test-program-prefix) and $(test-via-rtld-prefix).
1165 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1166 $(test-program-prefix).
1167 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1168 $(host-test-program-cmd).
1169 (tst-spawn-ARGS): Likewise.
1170 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1171 $(test-program-prefix).
1172 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1173 (test_via_rtld_prefix): This.
1174 (test_wrapper): Renamed to ...
1175 (test_program_prefix): This.
1176 (run_program_prefix): Replaced by test_program_prefix.
1177 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1178 (test_program_prefix): This.
1179 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1180 with $(host-test-program-cmd).
1181 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1182 $(run-program-prefix) with $(test-program-prefix).
1183 ($(objpfx)tst-printf.out): Likewise.
1184 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1185 $(test-program-cmd).
1186 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1187 (test_program_prefix): This.
1188 * stdio-common/tst-unbputc.sh: Likewise.
1189 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1190 $(run-program-prefix) with $(test-program-prefix).
1191 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1192 (test_program_prefix): This.
1193 * string/Makefile ($(objpfx)tst-svc.out): Replace
1194 $(built-program-cmd) with $(test-program-cmd).
1195
c6fe55cf
AJ
11962013-01-11 Andreas Jaeger <aj@suse.de>
1197
1198 [BZ #15003]
1199 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1200 value. Sync with Linux 3.7.
1201
9e6919c8
DM
12022013-01-10 David S. Miller <davem@davemloft.net>
1203
1204 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1205 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1206 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1207
1c9f1a02
RM
12082013-01-10 Roland McGrath <roland@hack.frob.com>
1209
1210 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1211 never set.
1212 * configure: Regenerated.
1213
b9de2dde
DM
12142013-01-10 David S. Miller <davem@davemloft.net>
1215
1216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1217 sparc V9 rather than using V8 code.
1218 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1219 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1220
e7f68ef4
RM
12212013-01-10 Roland McGrath <roland@hack.frob.com>
1222
1223 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1224 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1225 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1226 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1227 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1228 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1229 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1230 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1231 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1232 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1233 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1234 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1235 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1236 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1237 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1238 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1239 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1240 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1241 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1242 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1243 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1244 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1245 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1246 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1247 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1248 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1249 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1250
5a47cc9c
DM
12512013-01-10 David S. Miller <davem@davemloft.net>
1252
1253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1254
4cf8f209
L
12552013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1256
1257 * posix/Makefile (tests-static): New variable.
1258 (tests): Add $(tests-static).
1259 (tst-exec-static-ARGS): New variable.
1260 (tst-spawn-static-ARGS): Likewise.
1261 * posix/tst-exec-static.c: New file.
1262 * posix/tst-spawn-static.c: Likewise.
1263 * posix/tst-exec.c: Support run directly.
1264 * posix/tst-spawn.c: Likewise.
1265
fed0faa1
JM
12662013-01-10 Joseph Myers <joseph@codesourcery.com>
1267
828beb13
JM
1268 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1269 long.
1270 * math/bits/mathcalls.h (llrint): Likewise.
1271 (llround): Likewise.
1272 * stdlib/stdlib.h (struct drand48_data): Likewise.
1273 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1274 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1275 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1276 Likewise.
1277 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1278 Likewise.
1279 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1280 (elf_greg_t): Likewise.
1281 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1282 (__jmp_buf): Likewise.
1283 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1284 definitions.
1285 (llrint): Likewise, for all definitions.
1286 (llrintl): Likewise.
1287
fed0faa1
JM
1288 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1289 Remove [__GNUC__] condition.
1290 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1291 condition to just [__USE_ISOC99].
1292 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1293
1a20cb20
L
12942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 [BZ #14200]
1297 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1298 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1299 defined.
1300 (_POSIX_V6_ILP32_OFF32): Likewise.
1301 (_XBS5_ILP32_OFF32): Likewise.
1302 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1303 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1304
751b85f7
SP
13052013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1306
7490eb81
SP
1307 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1308
751b85f7
SP
1309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1310 doubles __mpexp_twomm1. Adjust usage.
1311 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1312 Remove.
1313
988197f0
AS
13142013-01-10 Andreas Schwab <schwab@suse.de>
1315
1316 [BZ #14964]
1317 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1318 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1319
e83d7298
DM
13202013-01-09 David S. Miller <davem@davemloft.net>
1321
034ed64b 1322 [BZ #15003]
e83d7298
DM
1323 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1324 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1325 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1326 TCP_FASTOPEN): Define.
1327 (tcp_repair_opt): New structure.
1328 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1329 enum values.
1330 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1331 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1332 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1333 (tcp_cookie_transactions): New structure.
1334
d5e0b9bd
AB
13352013-01-09 Anton Blanchard <anton@samba.org>
1336
1337 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1338 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1340 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1341
0c07e3ea
JM
13422013-01-09 Joseph Myers <joseph@codesourcery.com>
1343
1344 * include/features.h (__USE_ANSI): Remove.
1345
232f7002
RM
13462013-01-09 Roland McGrath <roland@hack.frob.com>
1347
ad98e30c
RM
1348 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1349
232f7002
RM
1350 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1351
950c99ca
SP
13522013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1353
b5792741
SP
1354 * sysdeps/s390/fpu/libm-test-ulps: Update.
1355
47cf2278
SP
1356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1357
950c99ca
SP
1358 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1359 (__acr): Likewise.
1360 (__cpy): Likewise.
1361 (norm): Likewise.
1362 (denorm): Likewise.
1363 (__mp_dbl): Likewise.
1364 (__dbl_mp): Likewise.
1365 (add_magnitudes): Likewise.
1366 (sub_magnitudes): Likewise.
1367 (__add): Likewise.
1368 (__sub): Likewise.
1369 (__mul): Likewise.
1370 (__inv): Likewise.
1371 (__dvd): Likewise.
1372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1373 (__acr): Likewise.
1374 (__cpy): Likewise.
1375 (norm): Likewise.
1376 (denorm): Likewise.
1377 (__mp_dbl): Likewise.
1378 (__dbl_mp): Likewise.
1379 (add_magnitudes): Likewise.
1380 (sub_magnitudes): Likewise.
1381 (__add): Likewise.
1382 (__sub): Likewise.
1383 (__mul): Likewise.
1384 (__inv): Likewise.
1385 (__dvd): Likewise.
1386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1387 (__acr): Likewise.
1388 (__cpy): Likewise.
1389 (norm): Likewise.
1390 (denorm): Likewise.
1391 (__mp_dbl): Likewise.
1392 (__dbl_mp): Likewise.
1393 (add_magnitudes): Likewise.
1394 (sub_magnitudes): Likewise.
1395 (__add): Likewise.
1396 (__sub): Likewise.
1397 (__mul): Likewise.
1398 (__inv): Likewise.
1399 (__dvd): Likewise.
1400
eede9df9
JM
14012013-01-08 Joseph Myers <joseph@codesourcery.com>
1402
1403 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1404 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1405 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1406 2 && __USE_EXTERN_INLINES]: Likewise.
1407
c40ea3d9
AJ
14082013-01-08 Andreas Jaeger <aj@suse.de>
1409
1410 [BZ# 14985]
1411 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1412 Remove.
1413 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1414 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1415
2ccdea26
AB
14162013-01-07 Anton Blanchard <anton@samba.org>
1417
1418 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1419 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1420 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1421 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1422 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1423 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1424 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1425 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1427 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1429 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1430 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1431 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1432 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1433 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1434 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1435 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1436 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1437 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1438 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1439 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1440 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1441 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1442 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1443 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1444 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1445 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1446 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1447 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1448 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1450 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1453 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1454 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1455 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1460 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1461
a9708fed
JM
14622013-01-07 Joseph Myers <joseph@codesourcery.com>
1463
375607b9
JM
1464 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1465 (__MALLOC_PMT): Likewise.
1466 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1467 [__GNUC__], only on [_LIBC].
1468 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1469 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1470 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1471 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1472 forward declaration.
1473 (realloc_hook_ini): Likewise.
1474 (memalign_hook_ini): Likewise.
1475 (__libc_memalign): Do not use __MALLOC_PMT in variable
1476 declaration.
1477 (__libc_valloc): Likewise.
1478 (__libc_pvalloc): Likewise.
1479 (__libc_calloc): Likewise.
1480 (__posix_memalign): Likewise.
1481
a9708fed
JM
1482 [BZ #14996]
1483 * math/s_casinh.c: Include <float.h>.
1484 (__casinh): Do not do computation with squaring and square root
1485 for large arguments.
1486 * math/s_casinhf.c: Include <float.h>.
1487 (__casinhf): Do not do computation with squaring and square root
1488 for large arguments.
1489 * math/s_casinhl.c: Include <float.h>.
1490 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1491 (__casinhl): Do not do computation with squaring and square root
1492 for large arguments.
1493 * math/libm-test.inc (casin_test): Add more tests.
1494 (casinh_test): Likewise.
1495 * sysdeps/i386/fpu/libm-test-ulps: Update.
1496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1497
afec409a
L
14982013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1499
1500 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1501 (__x86_64_raw_data_cache_size): Likewise.
1502 (__x86_64_data_cache_size_half): Likewise.
1503 (__x86_64_raw_data_cache_size_half): Likewise.
1504 (__x86_64_shared_cache_size): Likewise.
1505 (__x86_64_raw_shared_cache_size): Likewise.
1506 (__x86_64_shared_cache_size_half): Likewise.
1507 (__x86_64_raw_shared_cache_size_half): Likewise.
1508 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1509 to ...
1510 (__x86_data_cache_size): This.
1511 (__x86_64_raw_data_cache_size): Renamed to ...
1512 (__x86_raw_data_cache_size): This.
1513 (__x86_64_data_cache_size_half): Renamed to ...
1514 (__x86_data_cache_size_half): This.
1515 (__x86_64_raw_data_cache_size_half): Renamed to ...
1516 (__x86_raw_data_cache_size_half): This.
1517 (__x86_64_shared_cache_size): Renamed to ...
1518 (__x86_shared_cache_size): This.
1519 (__x86_64_raw_shared_cache_size): Renamed to ...
1520 (__x86_raw_shared_cache_size): This.
1521 (__x86_64_shared_cache_size_half): Renamed to ...
1522 (__x86_shared_cache_size_half): This.
1523 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1524 (__x86_raw_shared_cache_size_half): This.
1525 * sysdeps/x86_64/memcpy.S: Updated.
1526 * sysdeps/x86_64/memset.S: Likewise.
1527 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1530
0b3986d0
DM
15312013-01-04 David S. Miller <davem@davemloft.net>
1532
1533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1534
e47686e9
AS
15352013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1536
d643bac1
AS
1537 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1538 1 to avoid redefinition warning.
1539 (__USE_GNU): Don't define.
1540 (init_signaling_nan): Protoize.
1541
e47686e9
AS
1542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1543
b18decba
SP
15442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1545
fffb407f
SP
1546 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1548 (__cpymn): Likewise.
1549 (norm): Remove commented code.
1550 (denorm): Likewise.
1551 (__mp_dbl): Likewise.
1552 (__inv): Likewise.
1553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1554 (__cpymn): Likewise.
1555 (norm): Remove commented code.
1556 (denorm): Likewise.
1557 (__mp_dbl): Likewise.
1558 (__inv): Likewise.
1559
b18decba
SP
1560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1561 mp_no value for 1.0 and 2.0.
1562 (norm): Use RADIXI instead of radixi.d.
1563 (denorm): Likewise.
1564 (__mul): Use 0.0 instead of zero.d.
1565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1566 mp_no value for 1.0 and 2.0.
1567 (norm): Use RADIXI instead of radixi.d.
1568 (denorm): Likewise.
1569 (__mul): Use 0.0 instead of zero.d.
1570
cdc1c96f
JM
15712013-01-04 Joseph Myers <joseph@codesourcery.com>
1572
1573 [BZ #14994]
1574 * math/s_casinh.c (__casinh): Reduce finite argument to first
1575 quadrant then set signs of results at the end.
1576 * math/s_casinhf.c (__casinhf): Likewise.
1577 * math/s_casinhl.c (__casinhl): Likewise.
1578 * math/libm-test.inc (casin_test): Add more tests.
1579 (casinh_test): Likewise.
1580 * sysdeps/i386/fpu/libm-test-ulps: Update.
1581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1582
302913e1
SP
15832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1584
6420d207
SP
1585 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1586
a9e48ab4
SP
1587 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1588
b7837264
SP
1589 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1590 declarations.
1591 (denorm): Likewise.
1592 (__mp_dbl): Likewise.
1593 (__inv): Likewise.
1594
f8af25d2
SP
1595 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1596 and adjust the header comment.
1597
302913e1
SP
1598 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1599 variable name from declaration.
1600
5d7dd1ca
L
16012013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1602
1603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1604 Initialize COMMON_CPUID_INDEX_7 element.
1605 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1606 (CPUID_RTM): Likewise.
1607 (HAS_RTM): Likewise.
1608 (COMMON_CPUID_INDEX_7): New enum.
1609
2f5f40f4
AS
16102013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1611
1612 [BZ #14981]
1613 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1614 size is zero, record memory as freed.
1615
4056f4a0
AJ
16162013-01-03 Andreas Jaeger <aj@suse.de>
1617
1618 * po/ia.po: Add new Interlingua translation.
1619
ab15736f 16202012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1621
1622 * locale/programs/localedef.c: Fix description of '--posix' flag.
1623
568035b7
JM
16242013-01-02 Joseph Myers <joseph@codesourcery.com>
1625
e6898b8d
JM
1626 * NEWS: Update dates in second copyright notice.
1627 * README: Update copyright dates in example.
1628 * manual/libc.texinfo: Update copyright dates.
1629 * scripts/test-installation.pl: Update copyright date in --version
1630 output.
1631
0e2f9562
JM
1632 * hurd/ctty-input.c: Fix copyright notice formatting.
1633 * hurd/ctty-output.c: Likewise.
1634 * hurd/dtable.c: Likewise.
1635 * hurd/hurd-raise.c: Likewise.
1636 * hurd/hurdprio.c: Likewise.
1637 * hurd/msgportdemux.c: Likewise.
1638 * misc/sys/file.h: Likewise.
1639 * misc/sys/ioctl.h: Likewise.
1640 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1641 * sysdeps/mach/hurd/chdir.c: Likewise.
1642 * sysdeps/mach/hurd/fchdir.c: Likewise.
1643 * sysdeps/mach/hurd/rename.c: Likewise.
1644 * sysdeps/mach/hurd/rmdir.c: Likewise.
1645 * sysdeps/mach/hurd/seekdir.c: Likewise.
1646 * sysdeps/mach/hurd/setsid.c: Likewise.
1647 * sysdeps/posix/wait3.c: Likewise.
1648
568035b7
JM
1649 * All files with FSF copyright notices: Update copyright dates
1650 using scripts/update-copyrights.
1651 * intl/plural.c: Regenerated.
1652 * locale/programs/charmap-kw.h: Likewise.
1653 * locale/programs/locfile-kw.h: Likewise.
1654
da08f647
SP
16552013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1656
0f5477af
SP
1657 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1658 four values.
1659
44e0d4c2
SP
1660 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1661 calculation loop and add branch prediction.
1662
4d55b4e5
SP
1663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1664 check access beyond bounds of m1np.
1665
da08f647
SP
1666 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1667 MPTWO.
1668 (__inv): Remove local variable MPTWO to use the global
1669 constant.
1670 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1671 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1672 variable MPTWO.
1673 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1674 MP3HALFS static const.
1675
8e051029
DM
16762013-01-01 David S. Miller <davem@davemloft.net>
1677
1678 * po/ca.po: Update from translation team.
1679
f4cf5f2d
JM
16802013-01-01 Joseph Myers <joseph@codesourcery.com>
1681
1682 * scripts/update-copyrights: New file.
1683 * Makeconfig: Reformat copyright notice.
1684 * ctype/ctype.h: Likewise.
1685 * debug/swprintf_chk.c: Likewise.
1686 * elf/dl-cache.c: Likewise.
1687 * elf/dl-debug.c: Likewise.
1688 * elf/dl-object.c: Likewise.
1689 * grp/initgroups.c: Likewise.
1690 * hurd/Makefile: Likewise.
1691 * hurd/hurd/signal.h: Likewise.
1692 * hurd/hurdfault.c: Likewise.
1693 * hurd/hurdioctl.c: Likewise.
1694 * hurd/hurdlookup.c: Likewise.
1695 * hurd/intr-msg.c: Likewise.
1696 * iconv/gconv_open.c: Likewise.
1697 * libio/swprintf.c: Likewise.
1698 * locale/lc-ctype.c: Likewise.
1699 * locale/nl_langinfo.c: Likewise.
1700 * mach/Machrules: Likewise.
1701 * mach/Makefile: Likewise.
1702 * malloc/obstack.h: Likewise.
1703 * manual/Makefile: Likewise.
1704 * manual/tsort.awk: Likewise.
1705 * misc/bits/stab.def: Likewise.
1706 * nis/nis_print_group_entry.c: Likewise.
1707 * nis/nis_table.c: Likewise.
1708 * nis/nss_compat/compat-pwd.c: Likewise.
1709 * nis/nss_compat/compat-spwd.c: Likewise.
1710 * po/Makefile: Likewise.
1711 * posix/fnmatch.c: Likewise.
1712 * posix/regex.h: Likewise.
1713 * resolv/Makefile: Likewise.
1714 * resolv/nss_dns/dns-network.c: Likewise.
1715 * resolv/res_hconf.c: Likewise.
1716 * scripts/gen-sorted.awk: Likewise.
1717 * soft-fp/soft-fp.h: Likewise.
1718 * stdio-common/printf.h: Likewise.
1719 * stdlib/monetary.h: Likewise.
1720 * stdlib/random.c: Likewise.
1721 * stdlib/random_r.c: Likewise.
1722 * sysdeps/generic/Makefile: Likewise.
1723 * sysdeps/gnu/Makefile: Likewise.
1724 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1744 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1745 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1746 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1752 * sysdeps/mach/hurd/errnos.awk: Likewise.
1753 * sysdeps/mach/hurd/fork.c: Likewise.
1754 * sysdeps/mach/hurd/getcwd.c: Likewise.
1755 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1756 * sysdeps/mach/hurd/mmap.c: Likewise.
1757 * sysdeps/mach/hurd/utimes.c: Likewise.
1758 * sysdeps/mach/hurd/xmknod.c: Likewise.
1759 * sysdeps/posix/profil.c: Likewise.
1760 * sysdeps/posix/readdir_r.c: Likewise.
1761 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1762 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1763 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1764 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1768 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1770 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1772 * sysdeps/pthread/lio_listio.c: Likewise.
1773 * sysdeps/sparc/dl-procinfo.h: Likewise.
1774 * sysdeps/unix/i386/sysdep.S: Likewise.
1775 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1776 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1777 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1778 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1780 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1781 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1782 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1783 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1784 * sysdeps/wordsize-32/divdi3.c: Likewise.
1785 * time/sys/time.h: Likewise.
1786 * wcsmbs/Makefile: Likewise.
1787
0549fbba
DM
17882013-01-01 David S. Miller <davem@davemloft.net>
1789
a141f1a7
DM
1790 * po/fr.po: Update from translation team.
1791
0549fbba
DM
1792 * catgets/gencat.c: Update copyright year.
1793 * csu/version.c: Likewise.
1794 * debug/catchsegv.sh: Likewise.
1795 * debug/pcprofiledump.c: Likewise.
1796 * debug/xtrace.sh: Likewise.
1797 * elf/ldconfig.c: Likewise.
1798 * elf/ldd.bash.in: Likewise.
1799 * elf/pldd.c: Likewise.
1800 * elf/sotruss.ksh: Likewise.
1801 * elf/sprof.c: Likewise.
1802 * iconv/iconv_prog.c: Likewise.
1803 * iconv/iconvconfig.c: Likewise.
1804 * locale/programs/locale.c: Likewise.
1805 * locale/programs/localedef.c: Likewise.
1806 * login/programs/pt_chown.c: Likewise.
1807 * malloc/memusage.sh: Likewise.
1808 * malloc/memusagestat.c: Likewise.
1809 * malloc/mtrace.pl: Likewise.
1810 * nscd/nscd.c: Likewise.
1811 * nss/getent.c: Likewise.
1812 * nss/makedb.c: Likewise.
1813 * posix/getconf.c: Likewise.
1814
18ea052c
SP
18152012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1816
1817 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1818 numbers.
1819
9c89fca6
MF
18202012-12-30 Mike Frysinger <vapier@gentoo.org>
1821
1822 * math/bits/mathcalls.h (modf): Use __nonnull.
1823
085ec079
SP
18242012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1825
1826 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1827 (split): Use macro CN instead of the bare value.
1828 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1829 could be used.
1830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1831 instead of the bare value.
1832 (power1): Likewise.
1833
6d9f97e1
SP
18342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1835
d63f73be
SP
1836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1837 __ATAN_TWOM.
1838 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1839
6d9f97e1
SP
1840 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1841 their values.
1842 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1843 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1844 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1845 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1846
4c4febf5
AJ
18472012-12-28 Andreas Jaeger <aj@suse.de>
1848
af5843ef
AJ
1849 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1850 values are from Linux 3.7.
1851
4c4febf5
AJ
1852 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1853 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1854
99136f82
SP
18552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1856
2f216c3c 1857 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1858 TRUE case.
1859
99136f82
SP
1860 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1861 (norm): Likewise.
1862 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1863 variables with preprocessor constants.
1864 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1865 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1866 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1867
7fffbdff
BH
18682012-12-27 Bruno Haible <bruno@clisp.org>
1869
1870 [BZ #14317]
1871 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1872 only if needed.
1873
b76eb5f0
SP
18742012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1875
31a7fe5c
SP
1876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1877 and use variable directly.
1878 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1879
b76eb5f0
SP
1880 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1881 MPONE.
1882 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1883 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1884 variable MPONE.
1885 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1886 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1887 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1888 include directive. Remove local variable MPONE.
1889 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1890 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1891 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1892
2c8bfe7d
DM
18932012-12-25 David S. Miller <davem@davemloft.net>
1894
1895 * version.h (RELEASE): Set to "development".
1896 (VERSION): Set to "2.17.90".
1897 * NEWS: Add 2.18 section.
1898
147d03b0
DM
18992012-12-21 David S. Miller <davem@davemloft.net>
1900
1901 * po/hr.po: Update from translation team.
1902
a8ebb2b9
AK
19032012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1904
1905 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1906
95b4f1b6
SE
19072012-12-19 Steve Ellcey <sellcey@mips.com>
1908
b2d94007 1909 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1910
cedb2a90
MS
19112012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1912
1913 * manual/contrib.texi (Contributors): Spelling correction.
1914
bbf527d6
DM
19152012-12-15 David S. Miller <davem@davemloft.net>
1916
1917 * po/ru.po: Update from translation team.
1918
bc38c906
DM
19192012-12-13 David S. Miller <davem@davemloft.net>
1920
85429b1a
DM
1921 * NEWS: Mention IFUNC testsuite enhancements.
1922
d283e353
DM
1923 * po/pl.po: Update from translation team.
1924 * po/bg.po: Likewise.
1925
bc38c906
DM
1926 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1927 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1928
a181b0d7
DM
19292012-12-11 David S. Miller <davem@davemloft.net>
1930
4641d57e
DM
1931 * po/sv.po: Update from translation team.
1932
f7bc6495
DM
1933 * po/vi.po: Update from translation team.
1934
6fc9048f
DM
1935 * po/cs.po: Update from translation team.
1936
a181b0d7
DM
1937 * po/de.po: Update from translation team.
1938 * po/eo.po: Likewise.
1939 * po/nl.po: Likewise.
1940
f70bfe80
SP
19412012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1942
3c8b4190
SP
1943 [BZ #14246]
1944 * manual/argp.texi (Argp Helper Functions): Move node to follow
1945 Argp Parsing State.
1946
f70bfe80
SP
1947 [BZ #14872]
1948 * manual/conf.texi (Limits on File System Capacity): Mention if
1949 terminating null is included in the max size.
1950
188f0adf
AJ
19512012-12-10 Andreas Jaeger <aj@suse.de>
1952
1953 * po/cs.po: Update from translation team.
1954
56e7d3ad
SP
19552012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1956
1957 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1958 void pointer and cast to uintptr_t.
1959 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1960 path.
1961 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1962 * sysdeps/s390/s390-64/memset.S: Likewise.
1963
76f2d2ea 19642012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1965
1966 [BZ #14833]
1967 * menual/message.texi (Message Translation): Fix typos.
1968 (Helper programs for gettext): Likewise.
1969
67cbf9a2
AS
19702012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1971
1972 [BZ #14898]
1973 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1974 Change to -1.
1975
682d0e9a
DM
19762012-12-07 David S. Miller <davem@davemloft.net>
1977
1978 * po/libc.pot: Update.
1979
573cd484
RH
19802012-12-07 Richard Henderson <rth@redhat.com>
1981
7e9da188 1982 [BZ #10114]
573cd484
RH
1983 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1984 normal/normal case to before the switch.
1985 (_FP_DIV): Likewise.
1986
e933a943
MF
19872012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1988 Mike Frysinger <vapier@gentoo.org>
1989
1990 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1991 check for __NR_fadvise64_64.
1992
82123268
CM
19932012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1994
1995 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1996 0, not just to plain "0" as a statement.
1997 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1998 with cw.
1999
d9814526
JM
20002012-12-06 Joseph Myers <joseph@codesourcery.com>
2001
2002 * NEWS: Use sourceware.org in Bugzilla URL.
2003
7728c574
SP
20042012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2005
f16946dd
SP
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2007 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2008
5704bbcb
SP
2009 * stdio-common/tst-put-error.c (do_test): Add newline to the
2010 padded test to ensure flush.
2011
17aa0516
JL
20122012-12-05 Jeff Law <law@redhat.com>
2013
2014 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2015
363313b5
JM
20162012-12-05 Joseph Myers <joseph@codesourcery.com>
2017
effbd42a
JM
2018 * README: Don't refer to ports add-on as distributed separately.
2019 Mention AArch64 in list of systems supported in the ports add-on.
2020
87600365
JM
2021 * LICENSES: Add more non-FSF copyright and license notices.
2022
a0d7066a
JM
2023 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2024 ((unused)).
2025
66ca5a5b
JM
2026 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2027
363313b5
JM
2028 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2029 10000 as width of padded output.
2030
b37984ad
JM
20312012-12-04 Joseph Myers <joseph@codesourcery.com>
2032
9003570a
JM
2033 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2034
b37984ad
JM
2035 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2036 variable LX with __attribute__ ((unused)).
2037 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2038 Likewise.
2039 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2040 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2042 with __attribute__ ((unused)).
2043
c8df52ec
DM
20442012-12-04 David S. Miller <davem@abraco.davemloft.net>
2045
2046 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2047
b3b099af
JM
20482012-12-04 Joseph Myers <joseph@codesourcery.com>
2049
c33aa6e3
JM
2050 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2051 (CFLAGS-nldbl-acos.c): New variable.
2052 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2053 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2054 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2055 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2056 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2057 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2058 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2059 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2060 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2061 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2062 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2063 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2064 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2065 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2066 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2067 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2068 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2069 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2070 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2071 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2072 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2073 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2074 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2075 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2076 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2077 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2078 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2079 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2080 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2081 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2082 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2083 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2084 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2085 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2086 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2087 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2088 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2089 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2090 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2091 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2092 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2093 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2094 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2095 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2096 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2097 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2098 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2099 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2100 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2101 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2102 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2103 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2104 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2105 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2106 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2107 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2108 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2109 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2110 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2111 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2112 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2113 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2114 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2115 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2116 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2117 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2118 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2119 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2120 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2121 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2122 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2123 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2124 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2125 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2126 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2127 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2128 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2129 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2130 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2131 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2132 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2133 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2134 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2135 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2136 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2137 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2138 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2139 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2140 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2141 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2142 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2143 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2144 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2145 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2146 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2147 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2148 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2149
20f0018d
JM
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2151 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2152
b3b099af
JM
2153 [BZ #14914]
2154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2155 whole low double instead of just low 47 bits when splitting values
2156 into two parts.
2157
029264d1
AM
21582012-12-03 Allan McRae <allan@archlinux.org>
2159
2160 * manual/stdio.texi (Predefined Printf Handlers): Remove
2161 @hsep and @vsep usage.
2162
c9d6789e
MF
21632012-12-03 Mike Frysinger <vapier@gentoo.org>
2164
2165 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2166 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2167
4b7634a5
JL
21682012-12-03 Jeff Law <law@redhat.com>
2169
2170 * time/sys/time.h (settimeofday): Do not mark TV argument
2171 as __nonnull.
2172
eb6cbd24
MF
21732012-12-01 Mike Frysinger <vapier@gentoo.org>
2174
2175 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2176 when currently writing and seek to current position when not.
2177 * libio/Makefile (tests): Remove bug-fclose1.
2178 * libio/bug-fclose1.c: Delete.
2179
f638872a
JM
21802012-12-01 Joseph Myers <joseph@codesourcery.com>
2181
2182 * manual/arith.texi (feenableexcept): Fix typo.
2183 (fedisableexcept): Likewise.
2184
48085d14
RM
21852012-11-30 Roland McGrath <roland@hack.frob.com>
2186
2187 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2188 second, differently-typed declaration, rather than a cast.
2189
1a538b9f
SP
21902012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2191
2192 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2193 * include/rpc/svc.h: ... here.
2194
d07f2ff1 21952012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2196
2197 [BZ #13013]
2198 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2199 depending n and resplen2 to catch cases where answer
2200 equals answerp2.
2201
c93ec1f0
CD
22022012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2203
2204 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2205 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2206
37db69de
MF
22072012-11-29 Mike Frysinger <vapier@gentoo.org>
2208
2209 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2210
e10c4e4f
RM
22112012-11-29 Roland McGrath <roland@hack.frob.com>
2212
2213 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2214
2af1b328
JL
22152012-11-28 Jeff Law <law@redhat.com>
2216
2217 [BZ #13761]
2218 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2219 dataset_temporary. Track alloca usage into alloca_used.
2220 If dataset is large allocate and release it via malloc/free.
2221
111db5b1
FW
22222012-06-04 Florian Weimer <fweimer@redhat.com>
2223
f06cc227 2224 [BZ #14197]
111db5b1
FW
2225 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2226
dd694abd
DM
22272012-11-28 David S. Miller <davem@davemloft.net>
2228
2229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2230
9984dd01
JM
22312012-11-28 Joseph Myers <joseph@codesourcery.com>
2232
2233 [BZ #14803]
2234 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2235 of pi/2 rounded to nearest to 64 bits.
2236 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2237 nearest to 64 bits.
2238 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2239 bits.
2240
14bc93a9
JL
22412012-11-28 Jeff Law <law@redhat.com>
2242 Martin Osvald <mosvald@redhat.com>
2243
2244 [BZ #14889]
2245 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2246 * sunrpc/svc.c: Include time.h.
2247 (__svc_accept_failed): New function.
2248 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2249 any reason other than EINTR, call __svc_accept_failed.
2250 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2251 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2252
e3c6aa3a
AS
22532012-11-28 Andreas Schwab <schwab@suse.de>
2254
2255 * scripts/abilist.awk: Also handle indirect functions in .opd
2256 section.
2257
1bead169
JM
22582012-11-28 Joseph Myers <joseph@codesourcery.com>
2259
2260 [BZ #13881]
2261 * sysdeps/x86/fpu/powl_helper.c: New file.
2262 * sysdeps/x86/fpu/Makefile: Likewise.
2263 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2264 (p3): New object.
2265 (__ieee754_powl): Use __powl_helper for finite arguments except
2266 integer exponents below 8.
2267 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2268 (p3): New object.
2269 (__ieee754_powl): Use __powl_helper for finite arguments except
2270 integer exponents below 8.
2271 * math/libm-test.inc (pow_test): Add more tests and enable some
2272 previously disabled tests.
2273 * sysdeps/i386/fpu/libm-test-ulps: Update.
2274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2275
0817d63d
SP
22762012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2277 Carlos O'Donell <carlos_odonell@mentor.com>
2278
2279 * nss/makedb.c (is_prime): Assert that input is odd and greater
2280 than 4. Note that fact in a comment too.
2281 (next_prime): Add 4 to input.
2282
de2fd463
SP
22832012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2284
2285 [BZ #11741]
2286 * libio/Makefile (tests): Add test case tst-fwrite-error.
2287 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2288 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2289 * libio/tst-fwrite-error.c: New test case.
2290
c515fb51
L
22912012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2292
2293 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2294 before casting to void *.
2295 * include/libc-internal.h (__pointer_type): New macro.
2296 (__integer_if_pointer_type_sub): Likewise.
2297 (__integer_if_pointer_type): Likewise.
2298 (cast_to_integer): Likewise.
2299 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2300 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2301 before casting to atomic64_t.
2302 (atomic_exchange_acq): Likewise.
2303 (__arch_exchange_and_add_body): Likewise.
2304 (__arch_add_body): Likewise.
2305 (atomic_add_negative): Likewise.
2306 (atomic_add_zero): Likewise.
2307
4cf77aa9
JM
23082012-11-26 Joseph Myers <joseph@codesourcery.com>
2309
2310 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2311 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2312 (add_fdes): Likewise.
2313 (linear_search_fdes): Likewise.
2314 (binary_search_unencoded_fdes): Likewise.
2315
d260b3b4
AS
23162012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2317
2318 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2319
67060746
AC
23202012-11-24 Adam Conrad <adconrad@0c3.net>
2321
2322 * configure.in: Autodetect C++ header directories.
2323 * configure: Regenerated.
2324
800938a1
MF
23252012-11-23 Mike Frysinger <vapier@gentoo.org>
2326
2327 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2328
4e6e34e6
AS
23292012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2330
2331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2332
7c7feb47
JM
23332012-11-22 Joseph Myers <joseph@codesourcery.com>
2334
7184dcdf
JM
2335 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2336 LDBL_MANT_DIG == 106]: Disable some tests.
2337 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2338 Likewise.
2339 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2340 Likewise.
2341
0a42601f
JM
2342 [BZ #14871]
2343 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2344 input for small inputs. Return +/- pi/2 for large inputs.
2345 * math/libm-test.inc (atan_test): Add more tests.
2346
79c9b9fe
JM
2347 * sysdeps/generic/unwind-dw2-fde-glibc.c
2348 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2349 __attribute__ ((unused)).
2350
c60d3bf2
JM
2351 [BZ #14645]
2352 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2353 x * y if x and y are nonzero and z is zero.
2354
ef1e0867
JM
2355 [BZ #14811]
2356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2357 nonzero exponents with absolute value below 0x1p-117 to +/-
2358 0x1p-117.
2359
1468ded3
JM
2360 [BZ #14869]
2361 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2362 up arguments below 2**-450, not just those below 2**-500.
2363 * math/libm-test.inc (hypot_test): Add another test.
2364
8e27e3cc
JM
2365 [BZ #14868]
2366 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2367 Return a+b for ratio over 2**120, not 2**60.
2368 * math/libm-test.inc (hypot_test): Add another test.
2369
c9c0279b
JM
2370 * math/libm-test.inc (clog_test): Use
2371 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2372 (clog10_test): Likewise.
2373
7c7feb47
JM
2374 [BZ #6778]
2375 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2376
fff1530e
AS
23772012-11-22 Andreas Schwab <schwab@suse.de>
2378
2379 * sysdeps/i386/fpu/libm-test-ulps: Update.
2380
94558d30
PT
23812012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2382
2383 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2384 printf output with newline.
2385
7e1be741
L
23862012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2387
6bfea974
L
2388 [BZ #14865]
2389 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2390 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2391 -z nodlopen, -z initfirst and -z execstack support.
2392 * configure: Regenerated.
2393
7e1be741
L
2394 * elf/elf.h (DF_1_NODIRECT): New macro.
2395 (DF_1_IGNMULDEF): Likewise.
2396 (DF_1_NOKSYMS): Likewise.
2397 (DF_1_NOHDR): Likewise.
2398 (DF_1_EDITED): Likewise.
2399 (DF_1_NORELOC): Likewise.
2400 (DF_1_SYMINTPOSE): Likewise.
2401 (DF_1_GLOBAUDIT): Likewise.
2402 (DF_1_SINGLETON): Likewise.
2403 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2404 DT_1_SUPPORTED_MASK bits.
2405 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2406
105ce2ce
CD
24072012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2408
2409 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2410
123be9de
TS
24112012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2412
d072f3f7
TS
2413 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2414 macro.
2415
123be9de
TS
2416 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2417 (sendmmsg): Move declarations...
2418 * socket/sys/socket.h: ... here.
2419 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2420 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2421 include it from...
2422 * socket/recvmmsg.c: ... this new file.
2423 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2424 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2425 definition of __sendmmsg hidden.
2426 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2427 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2428 Move ENOSYS stub into and include it from...
2429 * socket/sendmmsg.c: ... this new file.
2430 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2431 (sysdep_routines): Move recvmmsg and sendmmsg...
2432 * socket/Makefile (routines): ... here.
2433 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2434 (GLIBC_PRIVATE): Add __sendmmsg.
2435 * include/sys/socket.h (__sendmmsg): Add declarations.
2436 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2437 sendmmsg.
2438
cf9a5d18
JM
24392012-11-20 Joseph Myers <joseph@codesourcery.com>
2440
2441 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2442 variable I1 with __attribute__ ((unused)).
2443 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2444
ecd4caf9
JM
24452012-11-19 Joseph Myers <joseph@codesourcery.com>
2446
be14d48f
JM
2447 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2448 DUMMY variables with __attribute__ ((unused)).
2449
ecd4caf9
JM
2450 * bits/byteswap.h: Include <bits/types.h>.
2451 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2452
986cab95
PT
24532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2454
2455 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2456 string_t. Do not manually set errno.
2457 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2458 length with __strnlen. Make sure to both set errno and return it on
2459 failure.
2460
6d33cc9d
DM
24612012-11-19 David S. Miller <davem@davemloft.net>
2462
2463 With help from Joseph Myers.
2464 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2465 very large arguments properly.
2466 * math/libm-test.inc (atan_test): New tests.
2467 (atan2_test): New tests.
2468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2470
ee663277
JM
24712012-11-19 Joseph Myers <joseph@codesourcery.com>
2472
877f2d8e
JM
2473 [BZ #14856]
2474 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2475 Define to 3.
2476
116fc08a
JM
2477 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2478 [POSIX] (EADDRNOTAVAIL): Likewise.
2479 [POSIX] (EAFNOSUPPORT): Likewise.
2480 [POSIX] (EALREADY): Likewise.
2481 [POSIX] (ECONNABORTED): Likewise.
2482 [POSIX] (ECONNREFUSED): Likewise.
2483 [POSIX] (ECONNRESET): Likewise.
2484 [POSIX] (EDESTADDRREQ): Likewise.
2485 [POSIX] (EDQUOT): Likewise.
2486 [POSIX] (EHOSTUNREACH): Likewise.
2487 [POSIX] (EIDRM): Likewise.
2488 [POSIX] (EISCONN): Likewise.
2489 [POSIX] (ELOOP): Likewise.
2490 [POSIX] (EMULTIHOP): Likewise.
2491 [POSIX] (ENETDOWN): Likewise.
2492 [POSIX] (ENETUNREACH): Likewise.
2493 [POSIX] (ENOBUFS): Likewise.
2494 [POSIX] (ENODATA): Likewise.
2495 [POSIX] (ENOLINK): Likewise.
2496 [POSIX] (ENOMSG): Likewise.
2497 [POSIX] (ENOPROTOOPT): Likewise.
2498 [POSIX] (ENOSR): Likewise.
2499 [POSIX] (ENOSTR): Likewise.
2500 [POSIX] (ENOTCONN): Likewise.
2501 [POSIX] (ENOTSOCK): Likewise.
2502 [POSIX] (EOPNOTSUPP): Likewise.
2503 [POSIX] (EOVERFLOW): Likewise.
2504 [POSIX] (EPROTO): Likewise.
2505 [POSIX] (EPROTONOSUPPORT): Likewise.
2506 [POSIX] (EPROTOTYPE): Likewise.
2507 [POSIX] (ESTALE): Likewise.
2508 [POSIX] (ETIME): Likewise.
2509 [POSIX] (ETXTBSY): Likewise.
2510 [POSIX] (EWOULDBLOCK): Likewise.
2511 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2512 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2513 [POSIX] (SEEK_CUR): Likewise.
2514 [POSIX] (SEEK_END): Likewise.
2515 [POSIX || UNIX98] (mode_t): Do not require.
2516 [POSIX] (off_t): Likewise.
2517 [POSIX] (pid_t): Likewise.
2518 [POSIX] (sys/stat.h): Do not allow header.
2519 [POSIX] (unistd.h): Likewise.
2520 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2521 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2522 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2523 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2524 require.
2525 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2526 sigevent): Specify elements.
2527 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2528 entry.
2529 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2530 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2531
a483863f
JM
2532 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2533 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2534 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2535 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2536 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2537 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2538 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2539 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2540 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2541 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2542 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2543 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2544 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2546 Likewise.
2547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2548 Likewise.
2549 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2550 Likewise.
2551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2552 Likewise.
2553 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2554 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2555 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2556 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2557 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2558 Specify lower bound on value.
2559 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2560 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2561 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2562 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2563 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2564 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2565 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2566 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2567 value.
2568 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2569 as optional.
2570 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2571 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2572 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2573 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2574 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2575 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2576 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2577 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2578 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2579 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2580 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2581 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2582 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2583 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2584 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2585 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2586 entry.
2587 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2588 optional.
2589 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2590 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2591 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2592 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2593 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2594 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2595 Likewise.
2596 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2597 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2598 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2599 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2600 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2601 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2603 as optional.
2604 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2605 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2606 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2607 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2608 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2609 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2610 specify as optional.
2611 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2612 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2613 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2614 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2615 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2616 [XPG3] (NL_LANGMAX): Likewise.
2617 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2618 [POSIX || XPG3] (NL_NMAX): Likewise.
2619 [POSIX || XPG3] (NL_SETMAX): Likewise.
2620 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2621 [XPG3] (NZERO): Likewise.
2622 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2623 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2624 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2625 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2626 (REG_ERANGE): Expect.
2627 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2628 optional-constant.
2629 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2630 Use (void) in prototype.
2631 [POSIX] (*_t): Allow.
2632 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2633 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2634 (WRDE_BADVAL): Expect.
2635
5ba924e3
JM
2636 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2637 expect.
2638 [XPG3 || XPG4] (O_RSYNC): Likewise.
2639 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2640 Likewise.
2641 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2642 [XPG3 || XPG4] (sigqueue): Likewise.
2643 [XPG3 || XPG4] (sigtimedwait): Likewise.
2644 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2645 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2646 [XPG3 || XPG4] (vsnprintf): Likewise.
2647 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2648 Likewise.
2649 [XPG3 || XPG4] (blksize_t): Likewise.
2650 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2651 Likewise.
2652 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2653 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2654 [XPG3 || XPG4] (struct itimerspec): Likewise.
2655 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2656 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2657 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2658 [XPG3 || XPG4] (clockid_t): Likewise.
2659 [XPG3 || XPG4] (timer_t): Likewise.
2660 [XPG3 || XPG4] (clock_getres): Likewise.
2661 [XPG3 || XPG4] (clock_gettime): Likewise.
2662 [XPG3 || XPG4] (clock_settime): Likewise.
2663 [XPG3 || XPG4] (nanosleep): Likewise.
2664 [XPG3 || XPG4] (timer_create): Likewise.
2665 [XPG3 || XPG4] (timer_delete): Likewise.
2666 [XPG3 || XPG4] (timer_gettime): Likewise.
2667 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2668 [XPG3 || XPG4] (timer_settime): Likewise.
2669 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2670 [XPG3 || XPG4] (getlogin_r): Likewise.
2671 [XPG3 || XPG4] (pread): Likewise.
2672 [XPG3 || XPG4] (pthread_atfork): Likewise.
2673 [XPG3 || XPG4] (pwrite): Likewise.
2674
ee663277
JM
2675 [BZ #14835]
2676 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2677 <bits/siginfo.h>.
2678
942caa16
PT
26792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2680
e19af380
PT
2681 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2682 finalizing MALLSTREAM.
2683
942caa16
PT
2684 * sysdeps/mach/hurd/syncfs.c: New file.
2685
cfde9b46
SP
26862012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2687
2688 [BZ #14719]
2689 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2690 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2691 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2692 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2693 (_nss_dns_gethostbyname4_r): Likewise.
2694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2695 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2696
f6da27e5
PH
26972012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2698
2699 [BZ #13763]
2700 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2701
6665d4a2
SM
27022012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2703
1f51ee92
SM
2704 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2705 * elf/cache.c (print_entry): Print ",AArch64" for
2706 FLAG_AARCH64_LIB64
2707
6665d4a2
SM
2708 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2709 * elf/cache.c (print_entry): Print ",hard-float" for
2710 FLAG_ARM_LIBHF.
2711
05b227bd
DM
27122012-11-18 David S. Miller <davem@davemloft.net>
2713
2714 With help from Joseph Myers.
2715 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2716 cutoff to 2**-13.
2717 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2718 cutoff to 2**-25.
2719 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2720 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2721 small.
2722 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2723 * math/libm-test.inc (y0_test): New tests.
2724 (y1_test): New tests.
2725 * sysdeps/i386/fpu/libm-test-ulps: Update.
2726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2728
786b0b67
AS
27292012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2730
2731 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2732 64-bit targets.
2733 * configure: Regenerated.
2734
8e18b86d
DM
27352012-11-17 David S. Miller <davem@davemloft.net>
2736
2737 [BZ #14811]
2738 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2739 nonzero exponents with absolute value below 0x1p-128 to +/-
2740 0x1p-128.
2741
531f1ae0
JM
27422012-11-17 Joseph Myers <joseph@codesourcery.com>
2743
12df29e2
JM
2744 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2745
150dc1a0
JM
2746 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2747
531f1ae0
JM
2748 * posix/getconf-speclist.c: New file.
2749 * posix/posix-envs.def: Likewise.
2750 * posix/confstr.c (START_ENV_GROUP): New macro.
2751 (END_ENV_GROUP): Likewise.
2752 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2753 (KNOWN_PRESENT_ENV_STRING): Likewise.
2754 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2755 (UNKNOWN_ENVIRONMENT): Likewise.
2756 (confstr): Include posix-envs.def instead of handling
2757 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2758 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2759 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2760 (END_ENV_GROUP): Likewise.
2761 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2762 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2763 (UNKNOWN_ENVIRONMENT): Likewise.
2764 (__sysconf): Include posix-envs.def instead of handling associated
2765 cases directly here.
2766 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2767 preprocessing getconf-speclist.c rather than running getconf or
2768 generating empty file.
2769
a93f9cbc
PT
27702012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2771
2772 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2773
d64d9f87
AL
27742012-11-16 Andrej Lajovic <natrij@gmail.com>
2775
2776 [BZ #14672]
2777 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2778
447885eb
DM
27792012-11-16 David S. Miller <davem@davemloft.net>
2780
2781 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2782 smaller than LDBL_EPSILON/2.0L, just return xm1.
2783
bcbf9830
L
27842012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2785
2786 * elf/tst-array1.c (init): Set constructor priority to 1000.
2787 (fini): Set destructor priority to 1000.
2788 * elf/tst-array2dep.c: Likewise.
2789
2b766585
SP
27902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2791
2792 [BZ #11741]
2793 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2794 (_IO_new_file_xsputn): Also return EOF if none of the input
2795 data was written when overflow failed.
2796 * libio/iopadn.c (_IO_padn): Likewise.
2797 * libio/iowpadn.c (_IO_wpadn): Likewise.
2798 * stdio-common/tst-put-error.c: Add copyright notice.
2799 (do_test): Add case for printing padded string.
2800 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2801 _IO_padn returned error.
2802 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2803 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2804 return EOF.
2805
b1848fde
SP
28062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2807
2808 * libio/libioP.h: Add comment note that the references to C++
2809 bits are now obsolete.
2810
2fd89785
MS
28112012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2812
2813 * math/libm-test.inc (check_complex): Use asprintf.
2814
e3ea5409
JM
28152012-11-14 Joseph Myers <joseph@codesourcery.com>
2816
2817 * debug/pcprofiledump.c (print_version): Update copyright year.
2818 * malloc/memusagestat.c (print_version): Likewise.
2819
2e64d265
L
28202012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2821
2822 [BZ #14831]
2823 * elf/Makefile (tests): Add tst-audit8.
2824 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2825 ($(objpfx)tst-audit8.out): New target.
2826 (tst-audit8-ENV): New variable.
2827 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2828 audit if l_reloc_result is NULL.
2829 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2830 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2831 * elf/tst-audit8.c: New file.
2832
c485e4d2
MS
28332012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2834
2835 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2836 * misc/Makefile (CFLAGS-select.c): Define.
2837 * posix/Makefile (CFLAGS-pause.c): Define.
2838
3a0d900a
DM
28392012-11-13 David S. Miller <davem@davemloft.net>
2840
2841 * crypt/Makefile: Move test targets after toplevel Rules
2842 inclusion. Grab any necessary sysdep routines when linking.
2843 * crypt/md5.c (md5_process_block): Remove define, we will always
2844 name it __md5_process_block.
2845 (md5_finish_ctx): Update md5_process_block call.
2846 (md5_stream): Likewise.
2847 (md5_process_bytes): Likewise.
2848 (md5_process_block): Rename to __md5_process_block and move to ...
2849 * crypt/md5-block.c: ... here.
2850 * crypt/sha256.c (sha256_process_block): Move to ...
2851 * crypt/sha256-block.c: ... here.
2852 * crypt/sha512.c (sha512_process_block): Move to ...
2853 * crypt/sha512-block.c: ... here.
2854 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2855 path.
2856 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2857 * sysdeps/sparc/sparc64/multiarch/Makefile
2858 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2859 crypt subdir.
2860 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2861 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2862 multiarch changes.
2863 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2864 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2865 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2866 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2867 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2868 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2869 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2870 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2871 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2872 file.
2873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2874 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2875 file.
2876 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2877
8ca89318
JM
28782012-11-13 Joseph Myers <joseph@codesourcery.com>
2879
e27d476a
JM
2880 * timezone/tzselect.ksh: Update from tzcode git revision
2881 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2882 * timezone/zdump.c: Likewise.
2883 * timezone/zic.c: Likewise.
2884 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2885 in TZVERSION setting, not $(PKGVERSION).
2886 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2887 REPORT_BUGS_TO settings.
2888
8ca89318
JM
2889 [BZ #14838]
2890 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2891 macro.
2892
47594329
MS
28932012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2894
2895 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2896 detection to immediately after _FP_ROUND().
2897 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2898 bits are 0.
2899
640ac3f1
DM
29002012-11-11 David S. Miller <davem@davemloft.net>
2901
2902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2903 inttypes.h
2904 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2905 __close rather than their public counterparts.
2906
3d2577bb
JM
29072012-11-10 Joseph Myers <joseph@codesourcery.com>
2908
2909 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2910 file.
2911 [UNIX98] (sem_timedwait): Do not expect.
2912 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2913 [XPG4 || UNIX98] (sockatmark): Do not expect.
2914 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2915 (clock_getcpuclockid): Do not expect.
2916 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2917 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2918 Do not expect.
2919 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2920 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2921 [UNIX98] (vwscanf): Likewise.
2922 [UNIX98] (vswscanf): Likewise.
2923
fb1ae1ee
JM
29242012-11-09 Joseph Myers <joseph@codesourcery.com>
2925
9ec6f8bd
JM
2926 * timezone/version.h: Remove file.
2927 * timezone/README: Do not refer to version.h.
2928 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2929 $(objpfx)version.h.
2930 ($(objpfx)zdump.o): Likewise.
c3f81911 2931 ($(objpfx)version.h): New target.
9ec6f8bd 2932
0aa8f8a1
JM
2933 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2934 2012i.
2935 * timezone/README: Don't mention modification to tzselect.ksh.
2936 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2937 work on unmodified tzselect.ksh. Substitute version numbers in
2938 tzselect.ksh.
2939
4e87147f
JM
2940 * Makefile (format-me): Remove.
2941 (INSTALL): Adjust indentation. Use commands directly instead of
2942 using $(format-me).
2943
8b748aed
JM
2944 * aclocal.m4 (ACX_PKGVERSION): New macro.
2945 (ACX_BUGURL): Likewise.
2946 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2947 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2948 (REPORT_BUGS_TO): Likewise.
2949 * configure: Regenerated.
2950 * config.h.in (PKGVERSION): New macro.
2951 (REPORT_BUGS_TO): Likewise.
2952 * config.make.in (PKGVERSION): New variable.
2953 (PKGVERSION_TEXI): Likewise.
2954 (REPORT_BUGS_TO): Likewise.
2955 (REPORT_BUGS_TEXI): Likewise.
2956 * Makefile (format-me): Use -I$(common-objpfx)manual.
2957 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2958 ($(common-objpfx)manual/%): New target.
2959 (manual/%): Remove target.
2960 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2961 (print_version): Use PKGVERSION.
2962 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2963 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2964 and REPORT_BUGS_TO.
2965 ($(objpfx)xtrace): Likewise.
2966 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2967 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2968 (print_version): Use PKGVERSION.
2969 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2970 (do_version): Use PKGVERSION.
2971 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2972 REPORT_BUGS_TO.
2973 (common-ldd-rewrite): Likewise.
2974 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2975 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2976 (print_version): Use PKGVERSION.
2977 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2978 * elf/pldd.c (argp_program_bug_address): Remove variable.
2979 (more_help): New function.
2980 (argp): Use more_help.
2981 (print_version): Use PKGVERSION.
2982 * elf/sln.c (main): Use PKGVERSION.
2983 (usage): Use REPORT_BUGS_TO.
2984 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2985 (top level): Use PKGVERSION.
2986 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2987 (print_version): Use PKGVERSION.
2988 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2989 (print_version): Use PKGVERSION.
2990 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2991 (print_version): Use PKGVERSION.
2992 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2993 (print_version): Use PKGVERSION.
2994 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2995 (print_version): Use PKGVERSION.
2996 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2997 (print_version): Use PKGVERSION.
2998 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2999 and BUGURL.
3000 ($(objpfx)memusage): Likewise.
3001 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3002 (do_version): Use PKGVERSION.
3003 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3004 (print_version): Use PKGVERSION.
3005 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3006 ($PKGVERSION): New variable.
3007 ($REPORT_BUGS_TO): Likewise.
3008 (usage): Use $REPORT_BUGS_TO.
3009 (top level): Use $PKGVERSION.
3010 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3011 ($(objpfx)pkgvers.texi): New rule.
3012 ($(objpfx)stamp-pkgvers): Likewise.
3013 * manual/install.texi: Include pkgvers.texi.
3014 (--with-pkgversion): Document new configure option.
3015 (--with-bugurl): Likewise.
3016 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3017 than necessarily for this particular distribution. Use
3018 REPORT_BUGS_TO for where to report bugs.
3019 * INSTALL: Regenerated.
3020 * manual/libc.texinfo: Include pkgvers.texi.
3021 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3022 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3023 (print_version): Use PKGVERSION.
3024 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3025 (print_version): Use PKGVERSION.
3026 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3027 (print_version): Use PKGVERSION.
3028 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3029 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3030 macro.
3031 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3032 (print_version): Use PKGVERSION.
3033 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3034 (print_version): Use PKGVERSION.
3035 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3036 and PKGVERSION.
3037
92e4b6a9
JM
3038 * timezone/checktab.awk: Update from tzcode 2012i.
3039 * timezone/ialloc.c: Likewise.
3040 * timezone/private.h: Likewise.
3041 * timezone/scheck.c: Likewise.
3042 * timezone/tzfile.h: Likewise.
3043 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3044 (TZVERSION): Hardcode tzcode version number.
3045 * timezone/zdump.c: Update from tzcode 2012i.
3046 * timezone/zic.c: Likewise.
3047 * timezone/version.h: New file.
3048 * timezone/README: Describe version.h. Update upstream location.
3049
9bde902c
JM
3050 [BZ #14824]
3051 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3052 (mktemp): Enable declaration.
3053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3057 Likewise.
3058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3059 Likewise.
3060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3061 Likewise.
3062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3063 Likewise.
3064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3065 Likewise.
3066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3067 Likewise.
3068
fb1ae1ee
JM
3069 [BZ #14821]
3070 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3071 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3072 for copies of such integer values.
3073 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3074 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3075
2c1adbcb
AJ
30762012-11-09 Andreas Jaeger <aj@suse.de>
3077
3078 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3079 definitions and declarations that are provided by
3080 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3081
d0f8457e
AK
30822012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3083
3a235abb 3084 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3085 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3086 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3087 definition.
3088
57241e26
MS
30892012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3090
3091 * elf/elf.h: Update comment before AArch64 relocations.
3092
60e8270d
DM
30932012-11-07 David S. Miller <davem@davemloft.net>
3094
3095 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3097 (__start_context): Declare.
3098 (__makecontext_ret): Delete.
3099 (__makecontext): Hook up __start_context instead of
3100 __makecontext_ret.
3101 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3102 (sysdep_routines): Add __start_context when in stdlib.
3103
0fbb0fbc
JM
31042012-11-07 Joseph Myers <joseph@codesourcery.com>
3105
3106 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3107 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3108 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3109 hardcoded "nm".
3110 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3111 (READELF): New variable. Use it instead of hardcoded "readelf".
3112
eb48db7e
L
31132012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3114
3115 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3116 * sysdeps/x86/Makefile: Here.
3117 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3118 * sysdeps/x86/tst-xmmymm.sh: This.
3119
05bcf62a
JM
31202012-11-07 Joseph Myers <joseph@codesourcery.com>
3121
c4b6cf53
JM
3122 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3123 expectations.
3124 [UNIX98] (pthread_barrier_t): Do not expect.
3125 [UNIX98] (pthread_barrierattr_t): Likewise.
3126 [UNIX98] (pthread_spinlock_t): Likewise.
3127 [UNIX98] (pthread_barrier_destroy): Likewise.
3128 [UNIX98] (pthread_barrier_init): Likewise.
3129 [UNIX98] (pthread_barrier_wait): Likewise.
3130 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3131 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3132 [UNIX98] (pthread_barrierattr_init): Likewise.
3133 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3134 [UNIX98] (pthread_getcpuclockid): Likewise.
3135 [UNIX98] (pthread_mutex_timedlock): Likewise.
3136 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3137 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3138 [UNIX98] (pthread_sigmask): Likewise.
3139 [UNIX98] (pthread_spin_destroy): Likewise.
3140 [UNIX98] (pthread_spin_init): Likewise.
3141 [UNIX98] (pthread_spin_lock): Likewise.
3142 [UNIX98] (pthread_spin_trylock): Likewise.
3143 [UNIX98] (pthread_spin_unlock): Likewise.
3144 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3145 Do not expect.
3146 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3147 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3148 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3149 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3150 [XPG3 || XPG4] (pthread_key_t): Likewise.
3151 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3152 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3153 [XPG3 || XPG4] (pthread_once_t): Likewise.
3154 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3155 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3156 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3157 [XPG3 || XPG4] (pthread_t): Likewise.
3158
cbe6e120
JM
3159 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3160 not expect.
3161 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3162
1b126443
JM
3163 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3164 Change function return type to int.
3165
b961a573
JM
3166 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3167 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3168 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3169 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3170 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3171 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3172 [!POSIX] (posix_madvise): Likewise.
3173 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3174 && !UNIX98].
3175 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3176 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3177 (mode_t): Likewise.
3178 (posix_mem_offset): Likewise.
3179 (posix_typed_mem_get_info): Likewise.
3180 (posix_typed_mem_open): Likewise.
3181
9e188909
JM
3182 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3183 Change condition to [XOPEN2K8].
3184
05bcf62a
JM
3185 * conform/conformtest.pl: Preprocess allow-header data with -x c
3186 instead of from stdin.
3187 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3188 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3189 [C99-based standards] (cerfc): Likewise.
3190 [C99-based standards] (cexp2): Likewise.
3191 [C99-based standards] (cexpm1): Likewise.
3192 [C99-based standards] (clog10): Likewise.
3193 [C99-based standards] (clog1p): Likewise.
3194 [C99-based standards] (clog2): Likewise.
3195 [C99-based standards] (clgamma): Likewise.
3196 [C99-based standards] (ctgamma): Likewise.
3197 [C99-based standards] (cerff): Likewise.
3198 [C99-based standards] (cerfcf): Likewise.
3199 [C99-based standards] (cexp2f): Likewise.
3200 [C99-based standards] (cexpm1f): Likewise.
3201 [C99-based standards] (clog10f): Likewise.
3202 [C99-based standards] (clog1pf): Likewise.
3203 [C99-based standards] (clog2f): Likewise.
3204 [C99-based standards] (clgammaf): Likewise.
3205 [C99-based standards] (ctgammaf): Likewise.
3206 [C99-based standards] (cerfl): Likewise.
3207 [C99-based standards] (cerfcl): Likewise.
3208 [C99-based standards] (cexp2l): Likewise.
3209 [C99-based standards] (cexpm1l): Likewise.
3210 [C99-based standards] (clog10l): Likewise.
3211 [C99-based standards] (clog1pl): Likewise.
3212 [C99-based standards] (clog2l): Likewise.
3213 [C99-based standards] (clgammal): Likewise.
3214 [C99-based standards] (ctgammal): Likewise.
3215 * conform/data/inttypes.h-data [C99-based standards]: Include
3216 stdint.h-data. Remove all expectations for stdint.h contents.
3217 [C99-based standards] (PRI*): Do not allow.
3218 [C99-based standards] (SCN*): Likewise.
3219 [C99-based standards] (*_t): Likewise.
3220 [C99-based-standards] (PRId8): Expect macro.
3221 [C99-based-standards] (PRIi8): Likewise.
3222 [C99-based-standards] (PRIo8): Likewise.
3223 [C99-based-standards] (PRIu8): Likewise.
3224 [C99-based-standards] (PRIx8): Likewise.
3225 [C99-based-standards] (PRIX8): Likewise.
3226 [C99-based-standards] (SCNd8): Likewise.
3227 [C99-based-standards] (SCNi8): Likewise.
3228 [C99-based-standards] (SCNo8): Likewise.
3229 [C99-based-standards] (SCNu8): Likewise.
3230 [C99-based-standards] (SCNx8): Likewise.
3231 [C99-based-standards] (PRIdLEAST8): Likewise.
3232 [C99-based-standards] (PRIiLEAST8): Likewise.
3233 [C99-based-standards] (PRIoLEAST8): Likewise.
3234 [C99-based-standards] (PRIuLEAST8): Likewise.
3235 [C99-based-standards] (PRIxLEAST8): Likewise.
3236 [C99-based-standards] (PRIXLEAST8): Likewise.
3237 [C99-based-standards] (SCNdLEAST8): Likewise.
3238 [C99-based-standards] (SCNiLEAST8): Likewise.
3239 [C99-based-standards] (SCNoLEAST8): Likewise.
3240 [C99-based-standards] (SCNuLEAST8): Likewise.
3241 [C99-based-standards] (SCNxLEAST8): Likewise.
3242 [C99-based-standards] (PRIdFAST8): Likewise.
3243 [C99-based-standards] (PRIiFAST8): Likewise.
3244 [C99-based-standards] (PRIoFAST8): Likewise.
3245 [C99-based-standards] (PRIuFAST8): Likewise.
3246 [C99-based-standards] (PRIxFAST8): Likewise.
3247 [C99-based-standards] (PRIXFAST8): Likewise.
3248 [C99-based-standards] (SCNdFAST8): Likewise.
3249 [C99-based-standards] (SCNiFAST8): Likewise.
3250 [C99-based-standards] (SCNoFAST8): Likewise.
3251 [C99-based-standards] (SCNuFAST8): Likewise.
3252 [C99-based-standards] (SCNxFAST8): Likewise.
3253 [C99-based-standards] (PRId16): Likewise.
3254 [C99-based-standards] (PRIi16): Likewise.
3255 [C99-based-standards] (PRIo16): Likewise.
3256 [C99-based-standards] (PRIu16): Likewise.
3257 [C99-based-standards] (PRIx16): Likewise.
3258 [C99-based-standards] (PRIX16): Likewise.
3259 [C99-based-standards] (SCNd16): Likewise.
3260 [C99-based-standards] (SCNi16): Likewise.
3261 [C99-based-standards] (SCNo16): Likewise.
3262 [C99-based-standards] (SCNu16): Likewise.
3263 [C99-based-standards] (SCNx16): Likewise.
3264 [C99-based-standards] (PRIdLEAST16): Likewise.
3265 [C99-based-standards] (PRIiLEAST16): Likewise.
3266 [C99-based-standards] (PRIoLEAST16): Likewise.
3267 [C99-based-standards] (PRIuLEAST16): Likewise.
3268 [C99-based-standards] (PRIxLEAST16): Likewise.
3269 [C99-based-standards] (PRIXLEAST16): Likewise.
3270 [C99-based-standards] (SCNdLEAST16): Likewise.
3271 [C99-based-standards] (SCNiLEAST16): Likewise.
3272 [C99-based-standards] (SCNoLEAST16): Likewise.
3273 [C99-based-standards] (SCNuLEAST16): Likewise.
3274 [C99-based-standards] (SCNxLEAST16): Likewise.
3275 [C99-based-standards] (PRIdFAST16): Likewise.
3276 [C99-based-standards] (PRIiFAST16): Likewise.
3277 [C99-based-standards] (PRIoFAST16): Likewise.
3278 [C99-based-standards] (PRIuFAST16): Likewise.
3279 [C99-based-standards] (PRIxFAST16): Likewise.
3280 [C99-based-standards] (PRIXFAST16): Likewise.
3281 [C99-based-standards] (SCNdFAST16): Likewise.
3282 [C99-based-standards] (SCNiFAST16): Likewise.
3283 [C99-based-standards] (SCNoFAST16): Likewise.
3284 [C99-based-standards] (SCNuFAST16): Likewise.
3285 [C99-based-standards] (SCNxFAST16): Likewise.
3286 [C99-based-standards] (PRId32): Likewise.
3287 [C99-based-standards] (PRIi32): Likewise.
3288 [C99-based-standards] (PRIo32): Likewise.
3289 [C99-based-standards] (PRIu32): Likewise.
3290 [C99-based-standards] (PRIx32): Likewise.
3291 [C99-based-standards] (PRIX32): Likewise.
3292 [C99-based-standards] (SCNd32): Likewise.
3293 [C99-based-standards] (SCNi32): Likewise.
3294 [C99-based-standards] (SCNo32): Likewise.
3295 [C99-based-standards] (SCNu32): Likewise.
3296 [C99-based-standards] (SCNx32): Likewise.
3297 [C99-based-standards] (PRIdLEAST32): Likewise.
3298 [C99-based-standards] (PRIiLEAST32): Likewise.
3299 [C99-based-standards] (PRIoLEAST32): Likewise.
3300 [C99-based-standards] (PRIuLEAST32): Likewise.
3301 [C99-based-standards] (PRIxLEAST32): Likewise.
3302 [C99-based-standards] (PRIXLEAST32): Likewise.
3303 [C99-based-standards] (SCNdLEAST32): Likewise.
3304 [C99-based-standards] (SCNiLEAST32): Likewise.
3305 [C99-based-standards] (SCNoLEAST32): Likewise.
3306 [C99-based-standards] (SCNuLEAST32): Likewise.
3307 [C99-based-standards] (SCNxLEAST32): Likewise.
3308 [C99-based-standards] (PRIdFAST32): Likewise.
3309 [C99-based-standards] (PRIiFAST32): Likewise.
3310 [C99-based-standards] (PRIoFAST32): Likewise.
3311 [C99-based-standards] (PRIuFAST32): Likewise.
3312 [C99-based-standards] (PRIxFAST32): Likewise.
3313 [C99-based-standards] (PRIXFAST32): Likewise.
3314 [C99-based-standards] (SCNdFAST32): Likewise.
3315 [C99-based-standards] (SCNiFAST32): Likewise.
3316 [C99-based-standards] (SCNoFAST32): Likewise.
3317 [C99-based-standards] (SCNuFAST32): Likewise.
3318 [C99-based-standards] (SCNxFAST32): Likewise.
3319 [C99-based-standards] (PRId64): Likewise.
3320 [C99-based-standards] (PRIi64): Likewise.
3321 [C99-based-standards] (PRIo64): Likewise.
3322 [C99-based-standards] (PRIu64): Likewise.
3323 [C99-based-standards] (PRIx64): Likewise.
3324 [C99-based-standards] (PRIX64): Likewise.
3325 [C99-based-standards] (SCNd64): Likewise.
3326 [C99-based-standards] (SCNi64): Likewise.
3327 [C99-based-standards] (SCNo64): Likewise.
3328 [C99-based-standards] (SCNu64): Likewise.
3329 [C99-based-standards] (SCNx64): Likewise.
3330 [C99-based-standards] (PRIdLEAST64): Likewise.
3331 [C99-based-standards] (PRIiLEAST64): Likewise.
3332 [C99-based-standards] (PRIoLEAST64): Likewise.
3333 [C99-based-standards] (PRIuLEAST64): Likewise.
3334 [C99-based-standards] (PRIxLEAST64): Likewise.
3335 [C99-based-standards] (PRIXLEAST64): Likewise.
3336 [C99-based-standards] (SCNdLEAST64): Likewise.
3337 [C99-based-standards] (SCNiLEAST64): Likewise.
3338 [C99-based-standards] (SCNoLEAST64): Likewise.
3339 [C99-based-standards] (SCNuLEAST64): Likewise.
3340 [C99-based-standards] (SCNxLEAST64): Likewise.
3341 [C99-based-standards] (PRIdFAST64): Likewise.
3342 [C99-based-standards] (PRIiFAST64): Likewise.
3343 [C99-based-standards] (PRIoFAST64): Likewise.
3344 [C99-based-standards] (PRIuFAST64): Likewise.
3345 [C99-based-standards] (PRIxFAST64): Likewise.
3346 [C99-based-standards] (PRIXFAST64): Likewise.
3347 [C99-based-standards] (SCNdFAST64): Likewise.
3348 [C99-based-standards] (SCNiFAST64): Likewise.
3349 [C99-based-standards] (SCNoFAST64): Likewise.
3350 [C99-based-standards] (SCNuFAST64): Likewise.
3351 [C99-based-standards] (SCNxFAST64): Likewise.
3352 [C99-based-standards] (PRIdMAX): Likewise.
3353 [C99-based-standards] (PRIiMAX): Likewise.
3354 [C99-based-standards] (PRIoMAX): Likewise.
3355 [C99-based-standards] (PRIuMAX): Likewise.
3356 [C99-based-standards] (PRIxMAX): Likewise.
3357 [C99-based-standards] (PRIXMAX): Likewise.
3358 [C99-based-standards] (SCNdMAX): Likewise.
3359 [C99-based-standards] (SCNiMAX): Likewise.
3360 [C99-based-standards] (SCNoMAX): Likewise.
3361 [C99-based-standards] (SCNuMAX): Likewise.
3362 [C99-based-standards] (SCNxMAX): Likewise.
3363 [C99-based-standards] (PRIdPTR): Likewise.
3364 [C99-based-standards] (PRIiPTR): Likewise.
3365 [C99-based-standards] (PRIoPTR): Likewise.
3366 [C99-based-standards] (PRIuPTR): Likewise.
3367 [C99-based-standards] (PRIxPTR): Likewise.
3368 [C99-based-standards] (PRIXPTR): Likewise.
3369 [C99-based-standards] (SCNdPTR): Likewise.
3370 [C99-based-standards] (SCNiPTR): Likewise.
3371 [C99-based-standards] (SCNoPTR): Likewise.
3372 [C99-based-standards] (SCNuPTR): Likewise.
3373 [C99-based-standards] (SCNxPTR): Likewise.
3374 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3375 allow.
3376 * conform/data/stdint.h-data: Update comments to clarify
3377 requirements.
3378 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3379 type.
3380 [C99-based standards] (INT8_MAX): Likewise.
3381 [C99-based standards] (INT16_MIN): Likewise.
3382 [C99-based standards] (INT16_MAX): Likewise.
3383 [C99-based standards] (INT32_MIN): Likewise.
3384 [C99-based standards] (INT32_MAX): Likewise.
3385 [C99-based standards] (INT64_MIN): Likewise.
3386 [C99-based standards] (INT64_MAX): Likewise.
3387 [C99-based standards] (UINT8_MAX): Likewise.
3388 [C99-based standards] (UINT16_MAX): Likewise.
3389 [C99-based standards] (UINT32_MAX): Likewise.
3390 [C99-based standards] (UINT64_MAX): Likewise.
3391 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3392 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3393 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3394 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3395 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3396 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3397 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3398 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3399 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3400 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3401 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3402 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3403 [C99-based standards] (INT_FAST8_MIN): Likewise.
3404 [C99-based standards] (INT_FAST8_MAX): Likewise.
3405 [C99-based standards] (INT_FAST16_MIN): Likewise.
3406 [C99-based standards] (INT_FAST16_MAX): Likewise.
3407 [C99-based standards] (INT_FAST32_MIN): Likewise.
3408 [C99-based standards] (INT_FAST32_MAX): Likewise.
3409 [C99-based standards] (INT_FAST64_MIN): Likewise.
3410 [C99-based standards] (INT_FAST64_MAX): Likewise.
3411 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3412 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3413 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3414 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3415 [C99-based standards] (INTPTR_MIN): Likewise.
3416 [C99-based standards] (INTPTR_MAX): Likewise.
3417 [C99-based standards] (UINTPTR_MAX): Likewise.
3418 [C99-based standards] (INTMAX_MIN): Likewise.
3419 [C99-based standards] (INTMAX_MAX): Likewise.
3420 [C99-based standards] (UINTMAX_MAX): Likewise.
3421 [C99-based standards] (PTRDIFF_MIN): Likewise.
3422 [C99-based standards] (PTRDIFF_MAX): Likewise.
3423 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3424 [C99-based standards] (SIZE_MAX): Likewise.
3425 [C99-based standards] (WCHAR_MAX): Likewise.
3426 [C99-based standards] (WINT_MAX): Likewise.
3427 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3428 constraint on value.
3429 [C99-based standards] (WCHAR_MIN): Likewise.
3430 [C99-based standards] (WINT_MIN): Likewise.
3431 [C99-based standards] (*_t): Allow.
3432 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3433 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3434 Include math.h-data and complex.h-data. Remove all expectations
3435 of math.h and complex.h contents.
3436 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3437 at end of line.
3438 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3439 (struct tm): Expect tag.
3440 [C99-based-standards] (wcstof): Expect function.
3441 [C99-based-standards] (wcstold): Likewise.
3442 [C99-based-standards] (wcstoll): Likewise.
3443 [C99-based-standards] (wcstoull): Likewise.
3444 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3445 macro-int-constant. Specify type.
3446 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3447 constraint on value.
3448 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3449 Specify type.
3450 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3451 Specify value.
3452 [ISO C standards]: Do not allow headers.
3453 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3454 wcs[abcdefghijklmnopqrstuvwxyz]*.
3455 [ISO C standards] (*_t): Do not allow.
3456 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3457 Expect function.
3458 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3459 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3460 Specify type.
3461 [ISO C standards]: Do not allow headers.
3462 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3463 is[abcdefghijklmnopqrstuvwxyz]*.
3464 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3465 to[abcdefghijklmnopqrstuvwxyz]*.
3466 [ISO C standards] (*_t): Do not allow.
3467 * conform/data/stdalign.h-data: New file.
3468 * conform/data/stdbool.h-data: Likewise.
3469 * conform/data/stdnoreturn.h-data: Likewise.
3470
7514feb8
RM
34712012-11-07 Roland McGrath <roland@hack.frob.com>
3472
3473 [BZ #14815]
3474 * manual/filesys.texi (Directory Entries): Typo fix.
3475 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3476
19b2ecfc
MS
34772012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3478
3479 * elf/elf.h (EM_AARCH64): New macro.
3480 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3481 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3482 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3483 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3484 (R_AARCH64_TLSDESC): Likewise.
3485 (NT_ARM_TLS): Likewise.
3486 (NT_ARM_HW_BREAK): Likewise.
3487 (NT_ARM_HW_WATCH): Likewise.
3488
60e235ee
JM
34892012-11-07 Joseph Myers <joseph@codesourcery.com>
3490
3491 [BZ #14811]
3492 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3493 (__ieee754_powl): Saturate nonzero exponents with absolute value
3494 below 0x1p-79 to +/- 0x1p-79.
3495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3496 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3497 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3498 nonzero exponents with absolute value below 0x1p-32 to +/-
3499 0x1p-32.
3500 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3501 (__ieee754_powl): Saturate nonzero exponents with absolute value
3502 below 0x1p-79 to +/- 0x1p-79.
3503 * math/libm-test.inc (pow_test): Add more tests.
3504
0ab234b7
AK
35052012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3506
3507 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3508 _dl_s390_cap_flags with kernel. Increase string length.
3509 (_dl_s390_platforms): Add z196 and zEC12.
3510
45832f74
JM
35112012-11-07 Joseph Myers <joseph@codesourcery.com>
3512
3513 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3514 Change XOPEN21K to XOPEN2K.
3515
19218757
MK
35162012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3517
3518 * string/memmove.c: Use memcpy when possible.
3519
c5f45721
AJ
35202012-11-06 Andreas Jaeger <aj@suse.de>
3521
3522 * po/eo.po: Update from translation team.
3523
82477c28
JM
35242012-11-06 Joseph Myers <joseph@codesourcery.com>
3525
3526 [BZ #14793]
3527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3528 exponent and small x and y exponents, scale x or y up. Increase
3529 by 2 the exponent used in scaling up.
3530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3532 * math/libm-test.inc (fma_test): Add more tests.
3533 (fma_test_towardzero): Likewise.
3534 (fma_test_downward): Likewise.
3535 (fma_test_upward): Likewise.
3536
99252c8c
JM
35372012-11-05 Joseph Myers <joseph@codesourcery.com>
3538
acfa885f
JM
3539 [BZ #14805]
3540 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3541 fenv_t *.
3542
99252c8c
JM
3543 [BZ #14801]
3544 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3545 namespace for names of struct fields.
3546 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3547 fenv_t fields.
3548 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3549 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3550
d6d98dea
ST
35512012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3552
3553 [BZ #3665]
3554 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3555
e10bb107
TS
35562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3557
3558 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3559 PTR_DEMANGLE.
3560
3561 [BZ #5246]
3562 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3563 PTR_DEMANGLE.
3564
a0c2940d
JM
35652012-11-04 Joseph Myers <joseph@codesourcery.com>
3566
3567 [BZ #14797]
3568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3569 definitely overflow as x * y not x * y + z.
3570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3572 * math/libm-test.inc (fma_test): Add more tests.
3573 (fma_test_towardzero): Likewise.
3574 (fma_test_downward): Likewise.
3575 (fma_test_upward): Likewise.
3576
b830319d
TS
35772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3578
3579 [BZ #157]
3580
3581 * include/stub-tag.h: Remove file.
3582 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3583 '#include' of it.
3584 * manual/maint.texi (Porting): Don't reference it.
3585 * Makerules ($(objpfx)stubs): Likewise.
3586 * dirent/closedir.c: Don't include <stub-tag.h>.
3587 * dirent/dirfd.c: Likewise.
3588 * dirent/fdopendir.c: Likewise.
3589 * dirent/getdents.c: Likewise.
3590 * dirent/getdents64.c: Likewise.
3591 * dirent/opendir.c: Likewise.
3592 * dirent/readdir.c: Likewise.
3593 * dirent/readdir64.c: Likewise.
3594 * dirent/readdir64_r.c: Likewise.
3595 * dirent/readdir_r.c: Likewise.
3596 * dirent/rewinddir.c: Likewise.
3597 * dirent/seekdir.c: Likewise.
3598 * dirent/telldir.c: Likewise.
3599 * gmon/profil.c: Likewise.
3600 * grp/setgroups.c: Likewise.
3601 * inet/if_index.c: Likewise.
3602 * io/access.c: Likewise.
3603 * io/chdir.c: Likewise.
3604 * io/chmod.c: Likewise.
3605 * io/chown.c: Likewise.
3606 * io/close.c: Likewise.
3607 * io/dup.c: Likewise.
3608 * io/dup2.c: Likewise.
3609 * io/dup3.c: Likewise.
3610 * io/euidaccess.c: Likewise.
3611 * io/faccessat.c: Likewise.
3612 * io/fchdir.c: Likewise.
3613 * io/fchmod.c: Likewise.
3614 * io/fchmodat.c: Likewise.
3615 * io/fchown.c: Likewise.
3616 * io/fchownat.c: Likewise.
3617 * io/fcntl.c: Likewise.
3618 * io/flock.c: Likewise.
3619 * io/fstatfs.c: Likewise.
3620 * io/fstatfs64.c: Likewise.
3621 * io/fstatvfs.c: Likewise.
3622 * io/fstatvfs64.c: Likewise.
3623 * io/futimens.c: Likewise.
3624 * io/fxstat.c: Likewise.
3625 * io/fxstat64.c: Likewise.
3626 * io/fxstatat.c: Likewise.
3627 * io/fxstatat64.c: Likewise.
3628 * io/getcwd.c: Likewise.
3629 * io/isatty.c: Likewise.
3630 * io/lchmod.c: Likewise.
3631 * io/lchown.c: Likewise.
3632 * io/link.c: Likewise.
3633 * io/linkat.c: Likewise.
3634 * io/lseek.c: Likewise.
3635 * io/lseek64.c: Likewise.
3636 * io/lxstat64.c: Likewise.
3637 * io/mkdir.c: Likewise.
3638 * io/mkdirat.c: Likewise.
3639 * io/mkfifo.c: Likewise.
3640 * io/mkfifoat.c: Likewise.
3641 * io/open.c: Likewise.
3642 * io/open64.c: Likewise.
3643 * io/openat.c: Likewise.
3644 * io/openat64.c: Likewise.
3645 * io/pipe.c: Likewise.
3646 * io/pipe2.c: Likewise.
3647 * io/poll.c: Likewise.
3648 * io/posix_fadvise.c: Likewise.
3649 * io/posix_fadvise64.c: Likewise.
3650 * io/posix_fallocate.c: Likewise.
3651 * io/posix_fallocate64.c: Likewise.
3652 * io/read.c: Likewise.
3653 * io/readlink.c: Likewise.
3654 * io/readlinkat.c: Likewise.
3655 * io/rmdir.c: Likewise.
3656 * io/sendfile.c: Likewise.
3657 * io/sendfile64.c: Likewise.
3658 * io/statfs.c: Likewise.
3659 * io/statfs64.c: Likewise.
3660 * io/statvfs.c: Likewise.
3661 * io/statvfs64.c: Likewise.
3662 * io/symlink.c: Likewise.
3663 * io/symlinkat.c: Likewise.
3664 * io/ttyname.c: Likewise.
3665 * io/ttyname_r.c: Likewise.
3666 * io/umask.c: Likewise.
3667 * io/unlink.c: Likewise.
3668 * io/unlinkat.c: Likewise.
3669 * io/utime.c: Likewise.
3670 * io/utimensat.c: Likewise.
3671 * io/write.c: Likewise.
3672 * io/xmknod.c: Likewise.
3673 * io/xmknodat.c: Likewise.
3674 * io/xstat.c: Likewise.
3675 * io/xstat64.c: Likewise.
3676 * login/getpt.c: Likewise.
3677 * login/grantpt.c: Likewise.
3678 * login/unlockpt.c: Likewise.
3679 * math/e_acoshl.c: Likewise.
3680 * math/e_acosl.c: Likewise.
3681 * math/e_asinl.c: Likewise.
3682 * math/e_atan2l.c: Likewise.
3683 * math/e_atanhl.c: Likewise.
3684 * math/e_coshl.c: Likewise.
3685 * math/e_expl.c: Likewise.
3686 * math/e_fmodl.c: Likewise.
3687 * math/e_gammal_r.c: Likewise.
3688 * math/e_hypotl.c: Likewise.
3689 * math/e_j0l.c: Likewise.
3690 * math/e_j1l.c: Likewise.
3691 * math/e_jnl.c: Likewise.
3692 * math/e_lgammal_r.c: Likewise.
3693 * math/e_log10l.c: Likewise.
3694 * math/e_log2l.c: Likewise.
3695 * math/e_logl.c: Likewise.
3696 * math/e_powl.c: Likewise.
3697 * math/e_rem_pio2l.c: Likewise.
3698 * math/e_sinhl.c: Likewise.
3699 * math/e_sqrtl.c: Likewise.
3700 * math/fclrexcpt.c: Likewise.
3701 * math/fedisblxcpt.c: Likewise.
3702 * math/feenablxcpt.c: Likewise.
3703 * math/fegetenv.c: Likewise.
3704 * math/fegetexcept.c: Likewise.
3705 * math/fegetround.c: Likewise.
3706 * math/feholdexcpt.c: Likewise.
3707 * math/fesetenv.c: Likewise.
3708 * math/fesetround.c: Likewise.
3709 * math/feupdateenv.c: Likewise.
3710 * math/fgetexcptflg.c: Likewise.
3711 * math/fraiseexcpt.c: Likewise.
3712 * math/fsetexcptflg.c: Likewise.
3713 * math/ftestexcept.c: Likewise.
3714 * math/k_cosl.c: Likewise.
3715 * math/k_rem_pio2l.c: Likewise.
3716 * math/k_sinl.c: Likewise.
3717 * math/k_tanl.c: Likewise.
3718 * math/s_asinhl.c: Likewise.
3719 * math/s_atanl.c: Likewise.
3720 * math/s_cbrtl.c: Likewise.
3721 * math/s_erfl.c: Likewise.
3722 * math/s_expm1l.c: Likewise.
3723 * math/s_log1pl.c: Likewise.
3724 * math/s_tanhl.c: Likewise.
3725 * misc/acct.c: Likewise.
3726 * misc/brk.c: Likewise.
3727 * misc/chflags.c: Likewise.
3728 * misc/chroot.c: Likewise.
3729 * misc/fchflags.c: Likewise.
3730 * misc/fgetxattr.c: Likewise.
3731 * misc/flistxattr.c: Likewise.
3732 * misc/fremovexattr.c: Likewise.
3733 * misc/fsetxattr.c: Likewise.
3734 * misc/fsync.c: Likewise.
3735 * misc/ftruncate.c: Likewise.
3736 * misc/futimes.c: Likewise.
3737 * misc/futimesat.c: Likewise.
3738 * misc/getdomain.c: Likewise.
3739 * misc/getdtsz.c: Likewise.
3740 * misc/gethostid.c: Likewise.
3741 * misc/gethostname.c: Likewise.
3742 * misc/getloadavg.c: Likewise.
3743 * misc/getpagesize.c: Likewise.
3744 * misc/getsysstats.c: Likewise.
3745 * misc/getxattr.c: Likewise.
3746 * misc/gtty.c: Likewise.
3747 * misc/ioctl.c: Likewise.
3748 * misc/lgetxattr.c: Likewise.
3749 * misc/listxattr.c: Likewise.
3750 * misc/llistxattr.c: Likewise.
3751 * misc/lremovexattr.c: Likewise.
3752 * misc/lsetxattr.c: Likewise.
3753 * misc/lutimes.c: Likewise.
3754 * misc/madvise.c: Likewise.
3755 * misc/mincore.c: Likewise.
3756 * misc/mlock.c: Likewise.
3757 * misc/mlockall.c: Likewise.
3758 * misc/mmap.c: Likewise.
3759 * misc/mprotect.c: Likewise.
3760 * misc/msync.c: Likewise.
3761 * misc/munlock.c: Likewise.
3762 * misc/munlockall.c: Likewise.
3763 * misc/munmap.c: Likewise.
3764 * misc/preadv.c: Likewise.
3765 * misc/preadv64.c: Likewise.
3766 * misc/ptrace.c: Likewise.
3767 * misc/pwritev.c: Likewise.
3768 * misc/pwritev64.c: Likewise.
3769 * misc/readv.c: Likewise.
3770 * misc/reboot.c: Likewise.
3771 * misc/remap_file_pages.c: Likewise.
3772 * misc/removexattr.c: Likewise.
3773 * misc/revoke.c: Likewise.
3774 * misc/select.c: Likewise.
3775 * misc/setdomain.c: Likewise.
3776 * misc/setegid.c: Likewise.
3777 * misc/seteuid.c: Likewise.
3778 * misc/sethostid.c: Likewise.
3779 * misc/sethostname.c: Likewise.
3780 * misc/setregid.c: Likewise.
3781 * misc/setreuid.c: Likewise.
3782 * misc/setxattr.c: Likewise.
3783 * misc/sstk.c: Likewise.
3784 * misc/stty.c: Likewise.
3785 * misc/swapoff.c: Likewise.
3786 * misc/swapon.c: Likewise.
3787 * misc/sync.c: Likewise.
3788 * misc/syncfs.c: Likewise.
3789 * misc/syscall.c: Likewise.
3790 * misc/truncate.c: Likewise.
3791 * misc/ualarm.c: Likewise.
3792 * misc/usleep.c: Likewise.
3793 * misc/ustat.c: Likewise.
3794 * misc/utimes.c: Likewise.
3795 * misc/vhangup.c: Likewise.
3796 * misc/writev.c: Likewise.
3797 * posix/_exit.c: Likewise.
3798 * posix/alarm.c: Likewise.
3799 * posix/execve.c: Likewise.
3800 * posix/fexecve.c: Likewise.
3801 * posix/fork.c: Likewise.
3802 * posix/fpathconf.c: Likewise.
3803 * posix/getaddrinfo.c: Likewise.
3804 * posix/getegid.c: Likewise.
3805 * posix/geteuid.c: Likewise.
3806 * posix/getgid.c: Likewise.
3807 * posix/getgroups.c: Likewise.
3808 * posix/getlogin.c: Likewise.
3809 * posix/getlogin_r.c: Likewise.
3810 * posix/getpgid.c: Likewise.
3811 * posix/getpid.c: Likewise.
3812 * posix/getppid.c: Likewise.
3813 * posix/getresgid.c: Likewise.
3814 * posix/getresuid.c: Likewise.
3815 * posix/getsid.c: Likewise.
3816 * posix/getuid.c: Likewise.
3817 * posix/glob64.c: Likewise.
3818 * posix/nanosleep.c: Likewise.
3819 * posix/pathconf.c: Likewise.
3820 * posix/pause.c: Likewise.
3821 * posix/posix_madvise.c: Likewise.
3822 * posix/pread.c: Likewise.
3823 * posix/pread64.c: Likewise.
3824 * posix/pwrite.c: Likewise.
3825 * posix/pwrite64.c: Likewise.
3826 * posix/sched_getaffinity.c: Likewise.
3827 * posix/sched_getp.c: Likewise.
3828 * posix/sched_gets.c: Likewise.
3829 * posix/sched_primax.c: Likewise.
3830 * posix/sched_primin.c: Likewise.
3831 * posix/sched_rr_gi.c: Likewise.
3832 * posix/sched_setaffinity.c: Likewise.
3833 * posix/sched_setp.c: Likewise.
3834 * posix/sched_sets.c: Likewise.
3835 * posix/sched_yield.c: Likewise.
3836 * posix/setgid.c: Likewise.
3837 * posix/setlogin.c: Likewise.
3838 * posix/setpgid.c: Likewise.
3839 * posix/setresgid.c: Likewise.
3840 * posix/setresuid.c: Likewise.
3841 * posix/setsid.c: Likewise.
3842 * posix/setuid.c: Likewise.
3843 * posix/sleep.c: Likewise.
3844 * posix/spawni.c: Likewise.
3845 * posix/sysconf.c: Likewise.
3846 * posix/times.c: Likewise.
3847 * posix/wait.c: Likewise.
3848 * posix/wait3.c: Likewise.
3849 * posix/wait4.c: Likewise.
3850 * posix/waitpid.c: Likewise.
3851 * resolv/gai_sigqueue.c: Likewise.
3852 * resource/getpriority.c: Likewise.
3853 * resource/getrlimit.c: Likewise.
3854 * resource/getrusage.c: Likewise.
3855 * resource/nice.c: Likewise.
3856 * resource/setpriority.c: Likewise.
3857 * resource/setrlimit.c: Likewise.
3858 * resource/ulimit.c: Likewise.
3859 * rt/aio_cancel.c: Likewise.
3860 * rt/aio_fsync.c: Likewise.
3861 * rt/aio_read.c: Likewise.
3862 * rt/aio_sigqueue.c: Likewise.
3863 * rt/aio_suspend.c: Likewise.
3864 * rt/aio_write.c: Likewise.
3865 * rt/clock_getres.c: Likewise.
3866 * rt/clock_gettime.c: Likewise.
3867 * rt/clock_nanosleep.c: Likewise.
3868 * rt/clock_settime.c: Likewise.
3869 * rt/lio_listio.c: Likewise.
3870 * rt/mq_close.c: Likewise.
3871 * rt/mq_getattr.c: Likewise.
3872 * rt/mq_notify.c: Likewise.
3873 * rt/mq_open.c: Likewise.
3874 * rt/mq_receive.c: Likewise.
3875 * rt/mq_send.c: Likewise.
3876 * rt/mq_setattr.c: Likewise.
3877 * rt/mq_timedreceive.c: Likewise.
3878 * rt/mq_timedsend.c: Likewise.
3879 * rt/mq_unlink.c: Likewise.
3880 * rt/shm_open.c: Likewise.
3881 * rt/shm_unlink.c: Likewise.
3882 * rt/timer_create.c: Likewise.
3883 * rt/timer_delete.c: Likewise.
3884 * rt/timer_getoverr.c: Likewise.
3885 * rt/timer_gettime.c: Likewise.
3886 * rt/timer_settime.c: Likewise.
3887 * setjmp/__longjmp.c: Likewise.
3888 * setjmp/setjmp.c: Likewise.
3889 * signal/kill.c: Likewise.
3890 * signal/killpg.c: Likewise.
3891 * signal/raise.c: Likewise.
3892 * signal/sigaction.c: Likewise.
3893 * signal/sigaltstack.c: Likewise.
3894 * signal/sigblock.c: Likewise.
3895 * signal/sigignore.c: Likewise.
3896 * signal/sigintr.c: Likewise.
3897 * signal/signal.c: Likewise.
3898 * signal/sigpause.c: Likewise.
3899 * signal/sigpending.c: Likewise.
3900 * signal/sigqueue.c: Likewise.
3901 * signal/sigreturn.c: Likewise.
3902 * signal/sigset.c: Likewise.
3903 * signal/sigsetmask.c: Likewise.
3904 * signal/sigstack.c: Likewise.
3905 * signal/sigsuspend.c: Likewise.
3906 * signal/sigtimedwait.c: Likewise.
3907 * signal/sigvec.c: Likewise.
3908 * signal/sigwait.c: Likewise.
3909 * signal/sigwaitinfo.c: Likewise.
3910 * signal/sysv_signal.c: Likewise.
3911 * socket/accept.c: Likewise.
3912 * socket/accept4.c: Likewise.
3913 * socket/bind.c: Likewise.
3914 * socket/connect.c: Likewise.
3915 * socket/getpeername.c: Likewise.
3916 * socket/getsockname.c: Likewise.
3917 * socket/getsockopt.c: Likewise.
3918 * socket/isfdtype.c: Likewise.
3919 * socket/listen.c: Likewise.
3920 * socket/recv.c: Likewise.
3921 * socket/recvfrom.c: Likewise.
3922 * socket/recvmsg.c: Likewise.
3923 * socket/send.c: Likewise.
3924 * socket/sendmsg.c: Likewise.
3925 * socket/sendto.c: Likewise.
3926 * socket/setsockopt.c: Likewise.
3927 * socket/shutdown.c: Likewise.
3928 * socket/sockatmark.c: Likewise.
3929 * socket/socket.c: Likewise.
3930 * socket/socketpair.c: Likewise.
3931 * stdio-common/ctermid.c: Likewise.
3932 * stdio-common/cuserid.c: Likewise.
3933 * stdio-common/remove.c: Likewise.
3934 * stdio-common/rename.c: Likewise.
3935 * stdio-common/renameat.c: Likewise.
3936 * stdio-common/tempname.c: Likewise.
3937 * stdlib/getcontext.c: Likewise.
3938 * stdlib/makecontext.c: Likewise.
3939 * stdlib/setcontext.c: Likewise.
3940 * stdlib/swapcontext.c: Likewise.
3941 * stdlib/system.c: Likewise.
3942 * streams/fattach.c: Likewise.
3943 * streams/fdetach.c: Likewise.
3944 * streams/getmsg.c: Likewise.
3945 * streams/getpmsg.c: Likewise.
3946 * streams/putmsg.c: Likewise.
3947 * streams/putpmsg.c: Likewise.
3948 * sysdeps/unix/bsd/getpt.c: Likewise.
3949 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3950 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3951 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3953 Likewise.
3954 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3955 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3956 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3957 * sysvipc/msgctl.c: Likewise.
3958 * sysvipc/msgget.c: Likewise.
3959 * sysvipc/msgrcv.c: Likewise.
3960 * sysvipc/msgsnd.c: Likewise.
3961 * sysvipc/semctl.c: Likewise.
3962 * sysvipc/semget.c: Likewise.
3963 * sysvipc/semop.c: Likewise.
3964 * sysvipc/semtimedop.c: Likewise.
3965 * sysvipc/shmat.c: Likewise.
3966 * sysvipc/shmctl.c: Likewise.
3967 * sysvipc/shmdt.c: Likewise.
3968 * sysvipc/shmget.c: Likewise.
3969 * termios/tcdrain.c: Likewise.
3970 * termios/tcflow.c: Likewise.
3971 * termios/tcflush.c: Likewise.
3972 * termios/tcgetattr.c: Likewise.
3973 * termios/tcgetpgrp.c: Likewise.
3974 * termios/tcsendbrk.c: Likewise.
3975 * termios/tcsetattr.c: Likewise.
3976 * termios/tcsetpgrp.c: Likewise.
3977 * time/adjtime.c: Likewise.
3978 * time/clock.c: Likewise.
3979 * time/getitimer.c: Likewise.
3980 * time/gettimeofday.c: Likewise.
3981 * time/setitimer.c: Likewise.
3982 * time/settimeofday.c: Likewise.
3983 * time/stime.c: Likewise.
3984 * time/time.c: Likewise.
3985
39862012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3987
a20492cf
PT
3988 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3989 /usr/old/bin.
3990
72e182e3
PT
3991 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3992 instead of spaces.
3993 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3994
fbeafede
JM
39952012-11-03 Joseph Myers <joseph@codesourcery.com>
3996
5b5b04d6
JM
3997 [BZ #14796]
3998 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3999 FE_TONEAREST before applying Dekker multiplication and Knuth
4000 addition. Clear inexact exceptions and check for exact zero
4001 results afterwards.
4002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4003 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4005 * math/libm-test.inc (fma_test): Add more tests.
4006 (fma_test_towardzero): Likewise.
4007 (fma_test_downward): Likewise.
4008 (fma_test_upward): Likewise.
4009 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4010 function.
4011 (libc_fesetround): New macro.
4012 (libc_fesetroundf): Likewise.
4013 (libc_fesetroundl): Likewise.
4014 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4015 function.
4016 (libc_fesetround_387): Likewise.
4017 (libc_fesetroundf): New macro.
4018 (libc_fesetround): Likewise.
4019 (libc_fesetroundl): Likewise.
4020 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4021 function.
4022 (libc_fesetroundf): New macro.
4023 (libc_fesetround): Likewise.
4024 (libc_fesetroundl): Likewise.
4025 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4026 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4027 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4028 libm_hidden_ver.
4029 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4030 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4031 libm_hidden_def.
4032 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4033 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4034 libm_hidden_ver.
4035 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4036 libm_hidden_def.
4037
fbeafede
JM
4038 [BZ #3439]
4039 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4040 integer constant usable in #if and use that to give value to enum
4041 constant.
4042 (FE_DIVBYZERO): Likewise.
4043 (FE_UNDERFLOW): Likewise.
4044 (FE_OVERFLOW): Likewise.
4045 (FE_INVALID): Likewise.
4046 (FE_INVALID_SNAN): Likewise.
4047 (FE_INVALID_ISI): Likewise.
4048 (FE_INVALID_IDI): Likewise.
4049 (FE_INVALID_ZDZ): Likewise.
4050 (FE_INVALID_IMZ): Likewise.
4051 (FE_INVALID_COMPARE): Likewise.
4052 (FE_INVALID_SOFTWARE): Likewise.
4053 (FE_INVALID_SQRT): Likewise.
4054 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4055 (FE_TONEAREST): Likewise.
4056 (FE_TOWARDZERO): Likewise.
4057 (FE_UPWARD): Likewise.
4058 (FE_DOWNWARD): Likewise.
4059 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4060 (FE_DIVBYZERO): Likewise.
4061 (FE_OVERFLOW): Likewise.
4062 (FE_UNDERFLOW): Likewise.
4063 (FE_INEXACT): Likewise.
4064 (FE_TONEAREST): Likewise.
4065 (FE_DOWNWARD): Likewise.
4066 (FE_UPWARD): Likewise.
4067 (FE_TOWARDZERO): Likewise.
4068 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4069 (FE_UNDERFLOW): Likewise.
4070 (FE_OVERFLOW): Likewise.
4071 (FE_DIVBYZERO): Likewise.
4072 (FE_INVALID): Likewise.
4073 (FE_TONEAREST): Likewise.
4074 (FE_TOWARDZERO): Likewise.
4075 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4076 (FE_OVERFLOW): Likewise.
4077 (FE_UNDERFLOW): Likewise.
4078 (FE_DIVBYZERO): Likewise.
4079 (FE_INEXACT): Likewise.
4080 (FE_TONEAREST): Likewise.
4081 (FE_TOWARDZERO): Likewise.
4082 (FE_UPWARD): Likewise.
4083 (FE_DOWNWARD): Likewise.
4084 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4085 (FE_DIVBYZERO): Likewise.
4086 (FE_OVERFLOW): Likewise.
4087 (FE_UNDERFLOW): Likewise.
4088 (FE_INEXACT): Likewise.
4089 (FE_TONEAREST): Likewise.
4090 (FE_DOWNWARD): Likewise.
4091 (FE_UPWARD): Likewise.
4092 (FE_TOWARDZERO): Likewise.
4093
105ca950
CM
40942012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4095
4096 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4097
a542b389
AS
40982012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4099
4100 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4101 commands. Quote $PWD.
4102 (blacklist_exports): Don't use remove_newlines. Replace "declare
4103 -x" by "export".
4104 (remove_newlines): Remove.
4105
f62c8abc
L
41062012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4107
4108 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4109 * stdlib/stdlib.h (atof): Moved to ...
4110 * include/bits/stdlib-float.h: Here. New file.
4111 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4112 * stdlib/bits/stdlib-float.h: New file.
4113 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4114 -mno-sse -mno-mmx.
4115 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4116 <xmmintrin.h>.
4117
0155d5b2
JM
41182012-11-02 Joseph Myers <joseph@codesourcery.com>
4119
a68d0680
JM
4120 * conform/conformtest.pl (@headers): Add fenv.h.
4121 * conform/data/fenv.h-data: New file.
4122 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4123 include of <math/fenv.h>.
4124
caf7f573
JM
4125 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4126 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4127 && !UNIX98]. Enables tests for XOPEN2K8.
4128 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4129 POSIX2008]: Likewise.
4130
6c073ad6
JM
4131 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4132 (struct rusage): Do not expect type or its members.
4133
0155d5b2
JM
4134 [BZ #3439]
4135 * math/math.h (FP_NAN): Define macro to integer constant usable in
4136 #if and use that to give value to enum constant.
4137 (FP_INFINITE): Likewise.
4138 (FP_ZERO): Likewise.
4139 (FP_SUBNORMAL): Likewise.
4140 (FP_NORMAL): Likewise.
4141
b5dcacb4
AS
41422012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4143
4144 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4145 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4146 arguments.
4147
f7934be8
RM
41482012-11-02 Roland McGrath <roland@hack.frob.com>
4149
4150 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4151 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4152 autoconf-time if not.
4153 * configure.in: Remove AC_PREREQ.
4154
d7d08bde
TMQMF
41552012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4156
4157 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4158 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4159 of the internal implementation.
4160
dcdae19a
JM
41612012-11-02 Joseph Myers <joseph@codesourcery.com>
4162
4163 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4164 except include of <misc/sys/syslog.h>.
4165
d6cffd3e
AS
41662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4167
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4169 function returns with a NULL context exit with zero.
4170
b3563932
TMQMF
41712012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4172
4173 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4174
b288a93d
L
41752012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4176
4177 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4178 (run_program_cmd): This.
4179 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4180 (tst_langinfo): New variable. Use it.
4181
a2421a68
SAS
41822012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4183
4184 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4185 floating point opcodes.
4186
6f796e1b
TS
41872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4188
7402596b
TS
4189 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4190 variable.
4191
d0d4f868
TS
4192 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4193
6f796e1b
TS
4194 * sysdeps/mach/hurd/powerpc: Remove directory.
4195 * sysdeps/mach/powerpc: Likewise.
4196
4da224a2
AS
41972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4198
4199 * scripts/check-local-headers.sh: Ignore c++ headers.
4200
341dd673
TS
42012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4202
4203 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4204 __libc_cleanup_region_start argument.
4205
473611b2
JM
42062012-11-01 Joseph Myers <joseph@codesourcery.com>
4207
4208 [BZ #14784]
4209 [BZ #14785]
4210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4211 x * y using scaling, not as x * y + z.
4212 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4213 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4214 * math/libm-test.inc (fma_test): Add more tests.
4215 (fma_test_towardzero): Likewise.
4216 (fma_test_downward): Likewise.
4217 (fma_test_upward): Likewise.
4218
4078da3d
TS
42192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4220
4221 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4222
903252aa
JM
42232012-10-31 Joseph Myers <joseph@codesourcery.com>
4224
4225 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4226 New variable.
4227
cbc818d0
TS
42282012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4229
4230 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4231
5a03cb1e
AS
42322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4233
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4235 Fix sort order.
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4237 Likewise.
4238
90aff2ff
TMQMF
42392012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4240
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4242 Fix the order of the list for glibc 2.17.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4244 Likewise.
4245
1818fcb7
AS
42462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4247
4248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4249
ef82f4da
JM
42502012-10-31 Joseph Myers <joseph@codesourcery.com>
4251
16a0e2ec
JM
4252 [BZ #14610]
4253 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4254 for low part of x being zero before using __atanl (y).
4255 * math/libm-test.inc (atan2_test): Add another test.
4256
0eb69512
JM
4257 * manual/install.texi (Configuring and compiling): Document
4258 general use of test-wrapper and test-wrapper-env.
4259 * INSTALL: Regenerated.
4260
ef82f4da
JM
4261 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4262 (__fma): Do not extract and scale down low bits on after-rounding
4263 systems when result rounded to normal precision would have normal
4264 exponent.
4265 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4266 (__fmal): Do not extract and scale down low bits on after-rounding
4267 systems when result rounded to normal precision would have normal
4268 exponent.
4269 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4270 (__fmal): Do not extract and scale down low bits on after-rounding
4271 systems when result rounded to normal precision would have normal
4272 exponent.
4273 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4274 macro.
4275 (fma_test): Add more tests.
4276 (fma_test_towardzero): Likewise.
4277 (fma_test_downward): Likewise.
4278 (fma_test_upward): Likewise.
4279
954ef0d9
L
42802012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4281
4282 * sysdeps/i386/tininess.h: Renamed to ...
4283 * sysdeps/x86/tininess.h: This.
4284 * sysdeps/x86_64/tininess.h: Removed.
4285
df61ffb2
JM
42862012-10-30 Joseph Myers <joseph@codesourcery.com>
4287
4288 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4289 input. Use $(build-program-cmd).
4290 ($(objpfx)tst-array1-static.out): Likewise.
4291 ($(objpfx)tst-array2.out): Likewise.
4292 ($(objpfx)tst-array3.out): Likewise.
4293 ($(objpfx)tst-array4.out): Likewise.
4294 ($(objpfx)tst-array5.out): Likewise.
4295 ($(objpfx)tst-array5-static.out): Likewise.
4296
01767843
CM
42972012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4298
47cc1490
CM
4299 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4300 if defined.
4301
01767843
CM
4302 * nss/nsswitch.h (nss_interface_function): Provide new
4303 macro for use with NSS functions.
4304 * grp/initgroups.c: Use new macro.
4305 * nss/getXXbyYY.c: Likewise.
4306 * nss/getXXbyYY_r.c: Likewise.
4307 * nss/getXXent.c: Likewise.
4308 * nss/getXXent_r.c: Likewise.
4309 * sysdeps/posix/getaddrinfo.c: Likewise.
4310
8321aa97
AJ
43112012-10-30 Andreas Jaeger <aj@suse.de>
4312
4313 * po/ru.po: Update Russion translation from translation project.
4314
2a27fd6d
JM
43152012-10-30 Joseph Myers <joseph@codesourcery.com>
4316
8627a232
JM
4317 [BZ #14152]
4318 [BZ #14783]
4319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4320 result and shift together with sticky bit instead of replicating
4321 round-to-nearest rounding.
4322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4323 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4324 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4325 missing underflow exceptions.
4326 (fma_test_towardzero): Add more tests.
4327 (fma_test_downward): Likewise.
4328 (fma_test_upward): Likewise.
4329
2a27fd6d
JM
4330 [BZ #14047]
4331 * sysdeps/generic/tininess.h: New file.
4332 * sysdeps/i386/tininess.h: Likewise.
4333 * sysdeps/sh/tininess.h: Likewise.
4334 * sysdeps/x86_64/tininess.h: Likewise.
4335 * stdlib/tst-strtod-underflow.c: Likewise.
4336 * stdlib/tst-tininess.c: Likewise.
4337 * stdlib/strtod_l.c: Include <tininess.h>.
4338 (round_and_return): Do not set errno for exact underflow cases.
4339 Force an underflow exception when setting errno for underflow.
4340 Determine underflow based on rounding to normal precision if
4341 TININESS_AFTER_ROUNDING.
4342 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4343 ERANGE for exact underflow cases.
4344 * stdlib/Makefile (tests): Add tst-tininess and
4345 tst-strtod-underflow.
4346 ($(objpfx)tst-tininess): Use $(link-libm).
4347 ($(objpfx)tst-strtod-underflow): Likewise.
4348
e7170363
AJ
43492012-10-30 Andreas Jaeger <aj@suse.de>
4350
e5088dc6
AJ
4351 [BZ#14767]
4352 * elf/Makefile (tests): Remove conditional for have-initfini-array
4353 since this is now always required and the variable does not exist
4354 anymore.
4355 (tests-static): Likewise.
4356 (modules-names): Likewise.
4357
e7170363 4358 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4359
4360 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4361 merged with constructor/destructor.
4362 (init_array): Likewise.
4363 * elf/tst-array2dep.c (fini_array): Likewise.
4364 (init_array): Likewise.
4365
60457d8a
MF
43662012-10-29 Mike Frysinger <vapier@gentoo.org>
4367
4368 * manual/message.texi: Delete @cartouche tags.
4369
8bece752
PT
43702012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4371
94ce799f
PT
4372 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4373 EOPNOTSUPP.
4374 * sysdeps/mach/hurd/fsync.c: Likewise.
4375
8bece752
PT
4376 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4377 [_POSIX_REALTIME_SIGNALS]: Change condition to
4378 [_POSIX_REALTIME_SIGNALS > 0].
4379
86ebe6b1
AJ
43802012-10-27 Andreas Jaeger <aj@suse.de>
4381
4382 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4383 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4385 [__WORDSIZE != 64]: Likewise.
4386
54399c08
L
43872012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 * iconvdata/tst-table.sh: Remove ${SHELL}.
4390 * iconvdata/tst-tables.sh: Likewise.
4391
e2211bed
DM
43922012-10-25 David S. Miller <davem@davemloft.net>
4393
4394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4395 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4396 of strtoull.
4397
f303f97c
DM
4398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4399 ifunc-impl-list.c
4400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4401 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4402 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4403 file.
4404
1e9d84cd
RM
44052012-10-25 Roland McGrath <roland@hack.frob.com>
4406
4407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4408 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4409 __getdirentries.
4410
df381762
JM
44112012-10-25 Joseph Myers <joseph@codesourcery.com>
4412 Jim Blandy <jimb@codesourcery.com>
4413
4414 * scripts/cross-test-ssh.sh: New file.
4415 * manual/install.texi (Configuring and compiling): Document use of
4416 cross-test-ssh.sh.
4417 * INSTALL: Regenerated.
4418
bff64913
PT
44192012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4420
4421 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4422 EOPNOTSUPP.
4423
25fe8932
JM
44242012-10-25 Joseph Myers <joseph@codesourcery.com>
4425
4426 * Makeconfig (run-program-prefix): Fix comment.
4427
cc1290d0
JM
44282012-10-24 Joseph Myers <joseph@codesourcery.com>
4429 Jim Blandy <jimb@codesourcery.com>
4430
4431 * Makeconfig (test-wrapper): New variable,
4432 (test-wrapper-env): Likewise.
4433 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4434 (run-built-tests): Define to yes.
4435 (run-program-prefix): Use $(test-wrapper).
4436 (built-program-cmd): Likewise.
4437 * Rules (make-test-out): Use $(test-wrapper-env) and
4438 $(host-built-program-cmd).
4439 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4440 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4441 tst-pathopt.sh.
4442 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4443 $(test-wrapper-env) to tst-rtld-load-self.sh.
4444 ($(objpfx)order2.out): Use $(test-wrapper).
4445 ($(objpfx)tst-initorder.out): Likewise.
4446 ($(objpfx)tst-initorder2.out): Likewise.
4447 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4448 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4449 (test_wrapper_env): New variable. Use it to run ld.so.
4450 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4451 Use it to run ld.so.
4452 (test_wrapper_env): Likewise.
4453 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4454 $(test-wrapper) to run-iconv-test.sh.
4455 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4456 (ICONV): Use $test_wrapper.
4457 * posix/Makefile ($(objpfx)globtest.out): Pass
4458 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4459 globtest.sh, not $(run-program-prefix).
4460 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4461 (test_wrapper): Likewise.
4462 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4463 set together with run_via_rtld_prefix.
4464 (run_program_prefix): Define in terms of test_wrapper and
4465 run_via_rtld_prefix.
4466
6e6249d0
RM
44672012-10-24 Roland McGrath <roland@hack.frob.com>
4468
4469 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4470 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4471 Targets removed.
4472
4473 [BZ #14743]
4474 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4475 Declare __clock_getres, __clock_gettime, __clock_settime,
4476 __clock_nanosleep, and __clock_getcpuclockid.
4477 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4478 Remove librt_hidden_def (clock_gettime).
4479 * sysdeps/unix/clock_gettime.c: Likewise.
4480 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4482 * rt/clock_getres.c: Define __clock_getres as an alias.
4483 * sysdeps/posix/clock_getres.c: Likewise.
4484 * rt/clock_settime.c: Define __clock_settime as an alias.
4485 * sysdeps/unix/clock_settime.c: Likewise.
4486 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4487 * sysdeps/unix/clock_nanosleep.c: Likewise.
4488 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4489 * rt/clock-compat.c: New file.
4490 * rt/Makefile (librt-routines): Add clock-compat and move
4491 $(clock-routines) to ...
4492 (routines): ... here, new variable.
4493 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4494 Don't add get_clockfreq here.
4495 * rt/Versions (libc: GLIBC_2.17): New version set.
4496 Add clock_* symbols here.
4497 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4498 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4499 (GLIBC_2.17): Add clock_* symbols.
4500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4504 Likewise.
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4506 Likewise.
4507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4511 * NEWS: Mention the move.
4512
4513 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4514 Use __open, __read, __close rather than their public counterparts.
4515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4516 (__get_clockfreq_via_cpuinfo): Likewise.
4517 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4518 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4519
4520 * config.h.in (HAVE_IFUNC): New #undef.
4521 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4522 was successful.
4523 * configure: Regenerated.
4524
0cae3f4b
MF
45252012-10-24 Mike Frysinger <vapier@gentoo.org>
4526
4527 * configure.in: Move READELF check to start of file.
4528 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4529 libc_cv_asm_gnu_indirect_function in the process.
4530 * configure: Regenerated.
4531
8175a253
MF
45322012-10-24 Mike Frysinger <vapier@gentoo.org>
4533
4534 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4535 send the output to /dev/null.
4536 (libc_cv_cc_with_libunwind): Likewise.
4537 (libc_cv_as_noexecstack): Likewise.
4538 * configure: Regenerate.
4539
0708a7d1
JM
45402012-10-24 Joseph Myers <joseph@codesourcery.com>
4541
10b40d85
JM
4542 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4543
0708a7d1
JM
4544 * posix/globtest.sh (TMPDIR): Do not set.
4545 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4546 (testout): Likewise.
4547
9fddec1a
AJ
45482012-10-24 Andreas Jaeger <aj@suse.de>
4549
3a8db22f
AJ
4550 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4551 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4552 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4553 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4554 posix_fadvise64, posix_fallocate64.
4555
9fddec1a
AJ
4556 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4557 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4558 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4559 Likewise.
4560 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4561 Likewise.
4562 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4563
4564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4565 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4566 <bits/fcntl-linux.h>.
4567 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4568
4569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4570 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4571 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4572 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4573 [__WORDSIZE != 64]: Likewise.
4574
ebfd1bbd
JM
45752012-10-23 Joseph Myers <joseph@codesourcery.com>
4576
03ac099f
JM
4577 * Makeconfig (run-built-tests): New variable.
4578 * Rules [$(cross-compiling) = yes]: Change condition to
4579 [$(run-built-tests) = no].
4580 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4581 to [$(run-built-tests) = yes].
4582 * elf/Makefile [$(cross-compiling) = no]: Likewise
4583 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4584 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4585 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4586 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4587 * io/Makefile [$(cross-compiling) = no]: Likewise.
4588 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4589 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4590 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4591 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4592 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4593 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4594 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4595 * string/Makefile [$(cross-compiling) = no]: Likewise.
4596
ebfd1bbd
JM
4597 * posix/Makefile ($(objpfx)globtest.out): Pass
4598 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4599 $(rtld-installed-name).
4600 * posix/globtest.sh (elf_objpfx): Remove variable.
4601 (rtld_installed_name): Likewise.
4602 (library_path): Likewise.
4603 (run_program_prefix): New variable. Use for running globtest
4604 binary.
4605
166bca24
JB
46062012-10-23 Jim Blandy <jimb@codesourcery.com>
4607 Joseph Myers <joseph@codesourcery.com>
4608
4609 * Makeconfig (host-built-program-cmd): New variable.
4610 * elf/Makefile (tst-stackguard1-ARGS): Use
4611 $(host-built-program-cmd).
4612 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4613 (tst-spawn-ARGS): Likewise.
4614 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4615
88866099
JM
46162012-10-23 Joseph Myers <joseph@codesourcery.com>
4617 Jim Blandy <jimb@codesourcery.com>
4618
4619 * Makeconfig (run-via-rtld-prefix): New variable.
4620 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4621 (built-program-cmd): Likewise.
4622
b4b4c296
AJ
46232012-10-22 Andreas Jaeger <aj@suse.de>
4624
4625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4626 __O_RSYNC if it exists, otherwise to O_SYNC.
4627
6fb54a22
JB
46282012-10-22 Jim Blandy <jimb@codesourcery.com>
4629 Joseph Myers <joseph@codesourcery.com>
4630
4631 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4632 /dev/null.
4633 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4634 from /dev/null
4635 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4636 /dev/null.
4637
481b90b9
AJ
46382012-10-22 Andreas Jaeger <aj@suse.de>
4639
2a0e2669
AJ
4640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4641 Define always.
4642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4643
76e38f9a
AJ
4644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4645 bits/fcntl-linux.h.
4646
7cd37b43
AJ
4647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4648 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4649
481b90b9
AJ
4650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4651 to __O_LARGEFILE.
4652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4653 to __O_LARGEFILE.
4654
aba75984
JB
46552012-10-21 Jim Blandy <jimb@codesourcery.com>
4656 Joseph Myers <joseph@codesourcery.com>
4657
4658 * config.make.in (NM): New variable.
4659
88d4247f
AJ
46602012-10-21 Andreas Jaeger <aj@suse.de>
4661
4662 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4663 definitions and declarations that are provided by
4664 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4665
f2eed205
L
46662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4667
4668 [BZ #14683]
4669 * elf/Makefile (tests-static): Add tst-leaks1-static.
4670 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4671 ($(objpfx)tst-leaks1-static): New rule.
4672 ($(objpfx)tst-leaks1-static-mem): Likewise.
4673 (tst-leaks1-static-ENV): New macro.
4674 * elf/dl-open.c (dl_open_worker): Check the main application
4675 only if SHARED is defined.
4676 * elf/tst-leaks1-static.c: New file.
4677
335e6931
AJ
46782012-10-20 Andreas Jaeger <aj@suse.de>
4679
4680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4681 generic values for Linux.
4682 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4683 and declarations that are provided by <bits/fcntl-linux.h> and
4684 include <bits/fcntl-linux.h>.
4685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4687
ac5c94d3
RM
46882012-10-20 Roland McGrath <roland@hack.frob.com>
4689
4690 * io/fcntl.h: Move include of <bits/types.h> to the top and
4691 include it unconditionally.
4692
de54b33a
L
46932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4694
228cfb01
L
4695 * wcsmbs/Makefile (tests-ifunc): New variable.
4696 (tests): Add $(tests-ifunc).
4697 * wcsmbs/test-wcschr-ifunc.c: New file.
4698 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4699 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4700 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4701 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4702 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4703
69f07e5f
L
4704 * string/Makefile (tests-ifunc): New variable.
4705 (tests): Add $(tests-ifunc).
4706 * string/test-memccpy.c (TEST_NAME): New macro.
4707 * string/test-memchr.c (TEST_NAME): Likewise.
4708 * string/test-memcmp.c (TEST_NAME): Likewise.
4709 * string/test-memcpy.c (TEST_NAME): Likewise.
4710 * string/test-memmem.c (TEST_NAME): Likewise.
4711 * string/test-memmove.c (TEST_NAME): Likewise.
4712 * string/test-memset.c (TEST_NAME): Likewise.
4713 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4714 * string/test-stpcpy.c (TEST_NAME): Likewise.
4715 * string/test-stpncpy.c (TEST_NAME): Likewise.
4716 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4717 * string/test-strcasestr.c (TEST_NAME): Likewise.
4718 * string/test-strcat.c (TEST_NAME): Likewise.
4719 * string/test-strchr.c (TEST_NAME): Likewise.
4720 * string/test-strcmp.c(TEST_NAME): Likewise.
4721 * string/test-strcpy.c (TEST_NAME): Likewise.
4722 * string/test-strcspn.c (TEST_NAME): Likewise.
4723 * string/test-strlen.c (TEST_NAME): Likewise.
4724 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4725 * string/test-strncmp.c (TEST_NAME): Likewise.
4726 * string/test-strncpy.c (TEST_NAME): Likewise.
4727 * string/test-strnlen.c (TEST_NAME): Likewise.
4728 * string/test-strpbrk.c (TEST_NAME): Likewise.
4729 * string/test-strrchr.c (TEST_NAME): Likewise.
4730 * string/test-strspn.c (TEST_NAME): Likewise.
4731 * string/test-strstr.c (TEST_NAME): Likewise.
4732 * string/test-bcopy-ifunc.c: New file.
4733 * string/test-bzero-ifunc.c: Likewise.
4734 * string/test-memccpy-ifunc.c: Likewise.
4735 * string/test-memchr-ifunc.c: Likewise.
4736 * string/test-memcmp-ifunc.c: Likewise.
4737 * string/test-memcpy-ifunc.c: Likewise.
4738 * string/test-memmem-ifunc.c: Likewise.
4739 * string/test-memmove-ifunc.c: Likewise.
4740 * string/test-mempcpy-ifunc.c: Likewise.
4741 * string/test-memset-ifunc.c: Likewise.
4742 * string/test-rawmemchr-ifunc.c: Likewise.
4743 * string/test-stpcpy-ifunc.c: Likewise.
4744 * string/test-stpncpy-ifunc.c: Likewise.
4745 * string/test-strcasecmp-ifunc.c: Likewise.
4746 * string/test-strcasestr-ifunc.c: Likewise.
4747 * string/test-strcat-ifunc.c: Likewise.
4748 * string/test-strchr-ifunc.c: Likewise.
4749 * string/test-strchrnul-ifunc.c: Likewise.
4750 * string/test-strcmp-ifunc.c: Likewise.
4751 * string/test-strcpy-ifunc.c: Likewise.
4752 * string/test-strcspn-ifunc.c: Likewise.
4753 * string/test-strlen-ifunc.c: Likewise.
4754 * string/test-strncasecmp-ifunc.c: Likewise.
4755 * string/test-strncat-ifunc.c: Likewise.
4756 * string/test-strncmp-ifunc.c: Likewise.
4757 * string/test-strncpy-ifunc.c: Likewise.
4758 * string/test-strnlen-ifunc.c: Likewise.
4759 * string/test-strpbrk-ifunc.c: Likewise.
4760 * string/test-strrchr-ifunc.c: Likewise.
4761 * string/test-strspn-ifunc.c: Likewise.
4762 * string/test-strstr-ifunc.c: Likewise.
4763
de54b33a
L
4764 * debug/Makefile (tests-ifunc): New variable.
4765 (tests): Add $(tests-ifunc).
4766 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4767 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4768 * debug/test-stpcpy_chk-ifunc.c: New file.
4769 * debug/test-strcpy_chk-ifunc.c: Likewise.
4770
88481c16
SP
47712012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4772
4773 [BZ #13601]
4774 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4775 header is not read in.
4776
135948bd
JM
47772012-10-19 Joseph Myers <joseph@codesourcery.com>
4778
89f1c388
JM
4779 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4780 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4781 directly. Pass built executable to script as
4782 $(built-program-cmd).
4783 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4784 $testprogram without using LD_LIBRARY_PATH and $ldso.
4785
e40a0d21
JM
4786 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4787 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4788 $(rtld-installed-name).
4789 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4790 (rtld_installed_name): Likewise.
4791 (library_path): Likewise.
4792 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4793 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4794 $(run-program-prefix) to tst-tables.sh.
4795 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4796 it to run tst-table-from and tst-table-to.
4797 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4798 Pass it to tst-table.sh.
4799 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4800 $(run-program-prefix) to tst-gettext.sh.
4801 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4802 tst-translit.sh.
4803 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4804 tst-gettext2.sh.
4805 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4806 to run tst-gettext.
4807 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4808 to run tst-gettext2.
4809 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4810 to run tst-translit.
4811 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4812 $(run-program-prefix) to tst-mtrace.sh.
4813 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4814 to run tst-mtrace.
4815 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4816 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4817 $(rtld-installed-name).
4818 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4819 (rtld_installed_name): Likewise.
4820 (run_program_prefix): New variable. Use it to run wordexp-test.
4821
728e272a
JM
4822 * Makeconfig (ARCH): Remove all definitions.
4823 (machine): Likewise.
4824 [ARCH]: Remove conditional code.
4825 [!objdir]: Give error.
4826 [!objdir] (objpfx): Remove.
4827 [!objdir] (common-objpfx): Likewise.
4828 [!objdir] (common-objdir): Likewise.
4829 * configure.in (config_makefile): Remove. Hardcode Makefile in
4830 AC_CONFIG_FILES call.
4831 * configure: Regenerated.
4832
d528cdcf
JM
4833 [BZ #13888]
4834 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4835 or TMPDIR.
4836 (testout): Likewise.
4837
135948bd
JM
4838 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4839 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4840 $(rtld-installed-name).
4841 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4842 (rtld_installed_name): Likwise.
4843 (runit): Remove function.
4844 (run_getconf): New variable, Use it for running getconf binary.
4845
38c78296
L
48462012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4847
4848 [BZ #14716]
4849 * string/test-memmem.c (check_result): New function.
4850 (do_one_test): Use it.
4851 (check1): New function.
4852 (test_main): Use it.
4853
d077f65f
MT
48542012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4855
4856 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4857
ced52c71
JM
48582012-10-18 Joseph Myers <joseph@codesourcery.com>
4859
4860 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4861 (_G_LSEEK64): Likewise.
4862 (_G_MMAP64): Likewise.
4863 (_G_FSTAT64): Likewise.
4864 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4865 (_G_LSEEK64): Likewise.
4866 (_G_MMAP64): Likewise.
4867 (_G_FSTAT64): Likewise.
4868 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4869 unconditional. Call __mmap64 directly.
4870 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4871 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4872 __lseek64 directly.
4873 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4874 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4875 __mmap64 directly.
4876 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4877 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4878 __lseek64 directly.
4879 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4880 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4881 __lseek64 directly.
4882 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4883 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4884 __lseek64 directly.
4885 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4886 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4887 __fxstat64 directly.
4888 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4889 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4890 unconditional.
4891 (freopen64) [!_G_OPEN64]: Remove conditional code.
4892 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4893 unconditional.
4894 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4895 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4896 unconditional.
4897 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4898 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4899 unconditional.
4900 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4901 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4902 unconditional.
4903 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4904 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4905 unconditional.
4906 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4907 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4908 unconditional.
4909 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4910 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4911 unconditional.
4912 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4913
b741de23
SP
49142012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4915
4916 [BZ #12140]
4917 * manual/memory.texi (Malloc Tunable Parameters): Add note
4918 about free list pointers overwriting some perturb bytes.
4919 Wording suggested by Roland McGrath.
4920
f9b9d9c9
JM
49212012-10-17 Joseph Myers <joseph@codesourcery.com>
4922
4923 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4924 (lgamma_test): Likewise.
4925 (tgamma_test): Likewise.
4926
172a631a
FW
49272012-10-16 Florian Weimer <fweimer@redhat.com>
4928
4929 [BZ #14700]
4930 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4931 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4932
e9f37252
MK
49332012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4934
4935 * NEWS: Mention BZ #14716.
4936 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4937 when removing AVAILABLE1_USES_J macro.
4938
d394eb74
L
49392012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4940
4941 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4942 (__bswap_64): __uint64_t for unsigned 64-bit int.
4943
ca38dc17
AS
49442012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4945
4946 * include/string.h (memmem): Declare libc hidden alias.
4947 * string/memmem.c (memmem): Define libc hidden alias.
4948 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4949 __read, __close instead of open, read, close.
4950
9a387d1f
L
49512012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4952
ac49ecaf
L
4953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4954 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4955 global and hidden.
4956 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4957 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4958 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4959 Likewise.
4960 (__rawmemchr_sse2): Likewise.
4961 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4962 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4963 (__strchr_sse2): Likewise.
4964 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4965 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4966 (__strcasecmp_sse2): Likewise.
4967 (__strncasecmp_sse2): Likewise.
4968 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4969 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4970 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4971 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4972 (__strrchr_sse2): Likewise.
4973 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4974 ifunc-impl-list.c.
4975 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4976 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4977 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4978 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4979 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4980 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4981 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4982 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4983 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4984 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4985 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4986 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4987 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4988 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4989 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4990 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4991 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4992 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4993 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4994 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4995 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4996 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4997 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4998 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4999 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5000 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5001 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5002 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5003 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5004 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5005
b090e8ea
L
5006 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5007 global and hidden.
5008 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5009 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5010 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5011 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5012 Likewise.
5013 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5014 Likewise.
5015 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5016 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5017 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5018 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5019 ifunc-impl-list.c.
5020 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5021 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5022 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5023 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5024 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5025 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5026 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5027 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5028 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5029 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5030 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5031 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5032 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5033 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5034 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5035 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5036 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5037 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5038 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5039 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5040 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5041 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5042 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5043 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5044 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5045 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5046 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5047 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5048 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5049 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5050 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5051 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5052 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5053 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5054 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5055 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5057 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5059 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5060 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5061
11dd4af6
L
5062 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5063 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5064 * include/ifunc-impl-list.h: New file.
5065 * misc/ifunc-impl-list.c: Likewise.
5066 * misc/Makefile (routines): Add ifunc-impl-list.
5067 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5068 * string/test-string.h: Include <ifunc-impl-list.h>.
5069 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5070 impl_array): New variables.
5071 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5072 are defined.
5073 (test_init): Call __libc_ifunc_impl_list to initialize
5074 func_list if TEST_IFUNC and TEST_NAME are defined.
5075
9a387d1f
L
5076 * string/Makefile (strop-tests): Add bcopy and bzero.
5077 * string/test-bcopy.c: New file.
5078 * string/test-bzero.c: Likewise.
5079 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5080 defined.
5081 * string/test-memset.c: Support bzero test if TEST_BZERO is
5082 defined.
5083 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5084 __libc_memmove.
5085 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5086 __libc_memset.
5087 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5088 of memset.
5089
472371b9
JM
50902012-10-10 Joseph Myers <joseph@codesourcery.com>
5091
1e4a9536
JM
5092 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5093 * configure: Regenerated.
5094
d173d12e
JM
5095 * Makeconfig (+link-static-before-libc): Don't include
5096 $(link-static-libc).
5097
472371b9
JM
5098 * libio/libio.h (_IO_pos_t): Remove.
5099
89a3ad0b
AO
51002012-10-10 Alexandre Oliva <aoliva@redhat.com>
5101
5102 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5103 McGrath.
5104
e7451425
AO
51052012-10-10 Alexandre Oliva <aoliva@redhat.com>
5106
5107 * crypt/crypt-entry.c: Include fips-private.h.
5108 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5109 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5110 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5111 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5112
4ba74a35
AO
51132012-10-10 Alexandre Oliva <aoliva@redhat.com>
5114
5115 * crypt/crypt-private.h: Include stdbool.h.
5116 (_ufc_setup_salt_r): Return bool.
5117 * crypt/crypt-entry.c: Include errno.h.
5118 (__crypt_r): Return NULL with EINVAL for bad salt.
5119 * crypt/crypt_util.c (bad_for_salt): New.
5120 (_ufc_setup_salt_r): Check that salt is long enough and within
5121 the specified alphabet.
5122 * crypt/badsalttest.c: New file.
5123 * crypt/Makefile (tests): Add it.
5124 ($(objpfx)badsalttest): New.
5125
f96f1242
MK
51262012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5127
5128 * NEWS: Add entry for BZ #14602.
5129
0e8e0c1c
JM
51302012-10-09 Joseph Myers <joseph@codesourcery.com>
5131
5132 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5133 type-generic.
5134 * math/libm-test.inc: Update comment listing what functions and
5135 macros are tested.
5136 (isgreater_test): New function.
5137 (isgreaterequal_test): Likewise.
5138 (isless_test): Likewise.
5139 (islessequal_test): Likewise.
5140 (islessgreater_test): Likewise.
5141 (isunordered_test): Likewise.
5142 (main): Call the new functions.
5143
273edc5e
RM
51442012-10-09 Roland McGrath <roland@hack.frob.com>
5145
b8493de0
RM
5146 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5147 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5148 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5149 * sysdeps/i386/configure: Regenerated.
5150 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5151 * sysdeps/mach/configure: Regenerated.
5152 * sysdeps/mach/hurd/configure: Regenerated.
5153 * sysdeps/powerpc/configure: Regenerated.
5154 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5155 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5156 * sysdeps/s390/s390-32/configure: Regenerated.
5157 * sysdeps/s390/s390-64/configure: Regenerated.
5158 * sysdeps/sh/configure: Regenerated.
5159 * sysdeps/sparc/configure: Regenerated.
5160 * sysdeps/unix/sysv/linux/configure: Regenerated.
5161 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5162 * sysdeps/x86_64/configure: Regenerated.
5163
273edc5e
RM
5164 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5165 defined. Don't check if MAP is NULL.
5166
c8450f70
JM
51672012-10-09 Joseph Myers <joseph@codesourcery.com>
5168
5169 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5170 (_G_stat64): Likewise.
5171 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5172 (_G_stat64): Likewise.
5173 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5174 instead of struct _G_stat64.
5175 * libio/fileops.c (mmap_remap_check): Likewise.
5176 (decide_maybe_mmap): Likewise.
5177 (_IO_new_file_seekoff): Likewise.
5178 (_IO_file_stat): Likewise.
5179 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5180 _G_off64_t.
5181 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5182 instead of struct _G_stat64.
5183 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5184
57e605ba
MK
51852012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5186
5187 [BZ #14602]
5188 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5189 Replace with ...
5190 (CHECK_EOL): New macro.
5191 (two_way_short_needle): Check beginning of haystack for EOL. Use
5192 CHECK_EOL.
5193 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5194 Replace with CHECK_EOL.
5195 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5196 Replace with CHECK_EOL.
5197
ef1bb361
JM
51982012-10-08 Joseph Myers <joseph@codesourcery.com>
5199
5200 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5201 type-generic.
5202 * math/libm-test.inc: Update comment listing what functions and
5203 macros are tested.
5204 (finite_test): New function.
5205 (isinf_test): Likewise.
5206 (isnan_test): Likewise.
5207 (fpclassify_test): Test subnormal input.
5208 (isfinite_test): Likewise.
5209 (isnormal_test): Likewise.
5210 (main): Call the new functions.
5211
55f11534
JN
52122012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5213
5214 [BZ #14660]
5215 * Makerules (%.dynsym): Force C locale when running
5216 $(OBJDUMP) --dynamic-syms.
5217
1ab29350
AS
52182012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5219
5220 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5221 <stdint.h>.
5222
f1ecb7ef
DM
52232012-10-06 David S. Miller <davem@davemloft.net>
5224
5225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5226 upper 32-bits of the length value in %o2 since we use branch-on-register
5227 tests which consider the entire 64-bit register.
5228
5d41d91a
L
52292012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5230
5231 * string/test-strstr.c (check2): Add a test for page boundary.
5232
3baddb72
DM
52332012-10-05 David S. Miller <davem@davemloft.net>
5234
5235 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5236 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5237 file.
5238 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5239 sysdep_routines.
5240 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5241 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5242 and bzero when HWCAP_SPARC_CRYPTO is present.
5243
9cee5585
L
52442012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5245
d7e0dab9
L
5246 [BZ #14602]
5247 * string/test-strstr.c (check2): New function.
5248 (test_main): Call check2.
5249
03759f47
L
5250 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5251 and bug-strchr1.
5252 * string/bug-strcasestr1.c (do_test): Moved to ...
5253 * string/test-strcasestr.c (check1): Here. New function.
5254 (do_one_test): Break out result checking code into ...
5255 (check_result): This. New function.
5256 (do_one_test): Call check_result.
5257 (test_main): Call check1.
5258 * string/bug-strchr1.c (do_test): Moved to ...
5259 * string/test-strchr.c (check1): Here. New function.
5260 (do_one_test): Break out result checking code into ...
5261 (check_result): This. New function.
5262 (do_one_test): Call check_result.
5263 (test_main): Call check1.
5264 * string/bug-strstr1.c (main): Moved to ...
046f153e 5265 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5266 (do_one_test): Break out result checking code into ...
5267 (check_result): This. New function.
5268 (do_one_test): Call check_result.
5269 (test_main): Call check1.
5270 * string/bug-strcasestr1.c: Removed.
5271 * string/bug-strchr1.c: Likewise.
5272 * string/bug-strstr1.c: Likewise.
5273
53cea63e
L
5274 * elf/Makefile (dl-routines): Add hwcaps.
5275 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5276 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5277 (_dl_important_hwcaps): Moved to ...
5278 * elf/dl-hwcaps.c: Here. New file.
5279 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5280
9cee5585 5281 [BZ #14557]
bb859b06
L
5282 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5283 if IS_IN_rtld isn't defined.
5284
9cee5585
L
5285 * elf/dl-support.c (_dl_sysinfo_map): New.
5286 Include "get-dynamic-info.h" and "setup-vdso.h".
5287 (_dl_non_dynamic_init): Call setup_vdso.
5288 * elf/dynamic-link.h: Don't include <assert.h>.
5289 (elf_get_dynamic_info): Moved to ...
5290 * elf/get-dynamic-info.h: Here. New file.
5291 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5292 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5293 * elf/setup-vdso.h: Here. New file.
5294 * elf/rtld.c: Include "setup-vdso.h".
5295 (dl_main): Call setup_vdso.
5296
23c31b76
JM
52972012-10-05 Joseph Myers <joseph@codesourcery.com>
5298
28234b07
JM
5299 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5300 creal in comment listing functions tested. List finite, isinf,
5301 isnan, isless, islessequal, isgreater, isgreaterequal,
5302 islessgreater, isunordered, lgamma_r and pow10 as functions and
5303 macros not tested. Mention which functions not tested are aliases
5304 for other functions. Fix typo. Note that signs of NaNs are not
5305 tested.
5306
23c31b76
JM
5307 * scripts/config.guess: Update from config.git.
5308 * scripts/config.sub: Likewise.
5309
9043e228
RM
53102012-10-04 Roland McGrath <roland@hack.frob.com>
5311
5312 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5313 * misc/madvise.c (madvise): Renamed to __madvise.
5314 Make madvise a weak alias.
5315 * include/sys/mman.h: Declare __madvise.
5316 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5317 * sysdeps/unix/syscalls.list
5318 (madvise): Make __madvise the strong name, and madvise a weak alias.
5319 * sysdeps/unix/sysv/linux/syscalls.list
5320 (madvise, mmap): Remove redundant entries.
5321 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5322 * malloc/malloc.c (mtrim): Likewise.
5323 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5324
f57f8055
RM
53252012-10-03 Roland McGrath <roland@hack.frob.com>
5326
5327 * sysdeps/mach/hurd/dl-cache.c: File removed.
5328 * config.h.in (USE_LDCONFIG): New #undef.
5329 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5330 * configure: Regenerated.
5331 * elf/Makefile (dl-routines): Add dl-cache only under
5332 [$(use-ldconfig) = yes].
5333 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5334 cache on [USE_LDCONFIG].
5335 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5336 [USE_LDCONFIG].
5337 * elf/rtld.c (dl_main): Likewise.
5338
5bb0c10a
PT
53392012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5340
5341 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5342 _SC_LEVEL4_CACHE_LINESIZE.
5343
010188c6
RM
53442012-10-03 Roland McGrath <roland@hack.frob.com>
5345
5346 * sysdeps/unix/bsd/confstr.h: File removed.
5347
b6c5ec07
AO
53482012-10-02 Alexandre Oliva <aoliva@redhat.com>
5349
5350 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5351 sys/sdt-config.h.
5352
408223d4
RM
53532012-10-02 Roland McGrath <roland@hack.frob.com>
5354
5355 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5356 Make 'mapoff' field ElfW(Off) rather than off_t.
5357
bb9510dc
DL
53582012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5359
fc997c6e
DL
5360 * nscd/Makefile: Remove nscd-cflags and all its users.
5361 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5362 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5363
bb9510dc
DL
5364 [BZ #10631]
5365 * malloc.c (malloc_printerr): Clarify error message.
5366
05699367
L
53672012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5368
5369 [BZ #14648]
5370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5371 Set bit_FMA_Usable if FMA is supported.
5372 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5373 macro.
5374 (bit_FMA4_Usable): Updated.
5375 (index_FMA_Usable): New macro.
5376 (CPUID_FMA): Likewise
5377 (HAS_FMA): Defined with bit_FMA_Usable.
5378
51367701
RM
53792012-10-01 Roland McGrath <roland@hack.frob.com>
5380
5381 * bits/types.h (__swblk_t): Type removed.
5382 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5383 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5385 (__SWBLK_T_TYPE): Likewise.
5386 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5387 (__SWBLK_T_TYPE): Likewise.
5388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5389 (__SWBLK_T_TYPE): Likewise.
5390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5391 (__SWBLK_T_TYPE): Likewise.
5392
4d57bf63 53932012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5394 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5395
5396 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5397 (xdr_mapname): Use YPMAXMAP as maxsize.
5398 (xdr_peername): Use YPMAXPEER as maxsize.
5399 (xdr_keydat): Use YPAXRECORD as maxsize.
5400 (xdr_valdat): Use YPMAXRECORD as maxsize.
5401
93c65d43
RM
54022012-10-01 Roland McGrath <roland@hack.frob.com>
5403
497a03d6
RM
5404 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5405
93c65d43
RM
5406 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5407 * csu/init-first.c: ... here.
5408 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5409 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5410 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5412 * sysdeps/i386/init-first.c: File removed.
5413 * sysdeps/sh/init-first.c: File removed.
5414
bec749fd
JM
54152012-10-01 Joseph Myers <joseph@codesourcery.com>
5416
5417 [BZ #14645]
5418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5419 if x * y might underflow to zero and z is zero.
5420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5422 * math/libm-test.inc (min_subnorm_value): New variable.
5423 (fma_test): Add more tests.
5424 (fma_test_towardzero): Likewise.
5425 (fma_test_downward): Likewise
5426 (fma_test_upward): Likewise.
5427 (initialize): Set min_subnorm_value.
5428
8ec5b013
JM
54292012-09-29 Joseph Myers <joseph@codesourcery.com>
5430
5431 [BZ #14638]
5432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5433 0 + 0.
5434 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5435 mode for addition resulting in exact zero.
5436 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5438 exact 0 + 0.
5439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5441 * math/libm-test.inc (fma_test): Add more tests.
5442 (fma_test_towardzero): New function.
5443 (fma_test_downward): Likewise.
5444 (fma_test_upward): Likewise.
5445 (main): Call the new functions.
5446
b1fa802e
DM
54472012-09-28 David S. Miller <davem@davemloft.net>
5448
5449 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5450
d3b9fd9e
RM
54512012-09-28 Roland McGrath <roland@hack.frob.com>
5452
ea4d37b3
RM
5453 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5454 instead of SIGALRM.
5455
ac51c949
RM
5456 * sysdeps/gnu/_G_config.h: Moved to ...
5457 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5458 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5459 * sysdeps/generic/_G_config.h: ... here.
5460
28c195f7
RM
5461 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5462
848917f9
RM
5463 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5464
6bacf05b
RM
5465 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5466 Conditionalize target on [libnss_test1.so-version].
5467
91363dbb
RM
5468 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5469
cc87f7d8
RM
5470 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5471 (elfobjdir): Move out of conditionals.
5472
b1c608fe
RM
5473 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5474 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5475 (__nss_lookup_function): Conditionalize label remove_from_tree on
5476 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5477
1d9a6d96
DM
54782012-09-28 David S. Miller <davem@davemloft.net>
5479
5480 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5481 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5482 file.
5483 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5484 sysdep_routines.
5485 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5487 when HWCAP_SPARC_CRYPTO is present.
5488
72581615
PT
54892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5490
5491 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5492
715a900c
JL
54932012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5494
5495 [BZ #6530]
5496 * stdio-common/vfprintf.c (process_string_arg): Revert
5497 2000-07-22 change.
5498
54992011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5500
5501 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5502 for testcase.
5503 * stdio-common/tst-sprintf.c: Include <locale.h>
5504 (main): Test sprintf's handling of incomplete multibyte
5505 characters.
5506
9bac1d86
L
55072012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5508
5509 * elf/dl-runtime.c (VERSYMIDX): Removed.
5510 * elf/dl-version.c (VERSYMIDX): Likewise.
5511 * elf/do-rel.h (VERSYMIDX): Likewise.
5512 (VALIDX): Likewise.
5513 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5514 * elf/rtld.c (VALIDX): Likewise.
5515 (ADDRIDX): Likewise.
9bac1d86
L
5516 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5517 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5518 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5519 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5520 (VALIDX): Likewise.
5521 (ADDRIDX): Likewise.
9bac1d86 5522
b31606c0
PT
55232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5524
5525 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5526
11541177
JL
55272012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5528
5529 [BZ #11438]
5530 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5531 to global scope.
5532 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5533 addresses are in the same scope as 192.0.2/24.
5534 * posix/gai.conf: Document new scope table defaults.
5535
adb26fae
SP
55362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5537
5538 [BZ #5298]
5539 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5540 for ftell. Compute offsets from write pointers instead.
5541 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5542
4573c6b0
SP
55432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5544
5545 [BZ #14543]
5546 * libio/Makefile (tests): New test case tst-fseek.
5547 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5548 combination works in wide mode.
5549 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5550 state when the external buffer state changes.
5551
aa9bbfe6
DM
55522012-09-27 David S. Miller <davem@davemloft.net>
5553
5554 [BZ #14376]
5555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5556 pass reloc->r_addend in as the 'high' argument to
5557 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5558
784421e7
DM
5559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5560
c39bc8b8
PT
55612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5562
5563 * rt/tst-aio2.c: Include <pthread.h>.
5564 * rt/tst-aio3.c: Likewise.
5565
1ccc2399
SE
55662012-09-27 Steve Ellcey <sellcey@mips.com>
5567
5568 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5569
31ed4153
L
55702012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5571
25f5f885
L
5572 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5573 contents on [SHARED].
31ed4153 5574
b7bfe116
MP
55752012-09-26 Marek Polacek <polacek@redhat.com>
5576
5577 [BZ #14530]
5578 [BZ #13741]
5579 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5580 for C++ and GCC <4.3 as well as for non GCC compilers.
5581
43c4edba
MT
55822012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5583
5584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5585
6a1bf82f
RM
55862012-09-25 Roland McGrath <roland@hack.frob.com>
5587
5588 * Makefile.in (all, install): Declare with .PHONY.
5589 Reported by Michael Hope <michael.hope@linaro.org>.
5590
8ad11b9a
TMQMF
55912012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5592
5593 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5594 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5595 system header.
5596 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5597 Likewise.
5598 (sydep_routines): Add the new and the internal functions.
5599 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5600 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5602 (GLIBC_2.17): Add the new function.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5604 (GLIBC_2.17): Likewise.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5606 (GLIBC_2.17): Likewise.
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5608 (GLIBC_2.17): Likewise.
5609 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5610
7e2fca8d
AM
56112012-09-25 Alan Modra <amodra@gmail.com>
5612
5613 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5614 Add release barrier before setting once_control to say
5615 initialisation is done. Add hints on lwarx. Use macro in
5616 place of isync.
5617 (clear_once_control): Add release barrier.
5618
b87c4b24
JM
56192012-09-25 Joseph Myers <joseph@codesourcery.com>
5620
d032e0d2
JM
5621 [BZ #13629]
5622 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5623 specially.
5624 * math/s_clog10.c (__clog10): Likewise.
5625 * math/s_clog10f.c (__clog10f): Likewise.
5626 * math/s_clog10l.c (__clog10l): Likewise.
5627 * math/s_clogf.c (__clogf): Likewise.
5628 * math/s_clogl.c (__clogl): Likewise.
5629 * math/Makefile (libm-calls): Add x2y2m1.
5630 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5631 (__x2y2m1): Likewise.
5632 (__x2y2m1l): Likewise.
5633 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5634 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5637 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5638 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5639 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5640 * sysdeps/i386/fpu/libm-test-ulps: Update.
5641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5642
b87c4b24
JM
5643 [BZ #14621]
5644 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5645 int as type of variable DEPTH.
5646 (glob): Use size_t instead of int as type of variables NEWCOUNT
5647 and OLD_PATHC.
5648
6d3bf199
LD
56492012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5650
22bf5c17
LD
5651 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5652 Add s_sincosf-sse2.
5653 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5654 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5655 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5656 macros for using routine as __sincosf_ia32.
5657 Use macro for function declaration and weak_alias.
5658 * sysdeps/i386/fpu/libm-test-ulps: Update.
5659
5660 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5662
5663 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5664 subnormal argument.
5665 * math/s_cexpf.c (__cexpf): Likewise.
5666 * math/s_csinf.c (__csinf): Likewise.
5667 * math/s_csinhf.c (__csinhf): Likewise.
5668 * math/s_ctanf.c (__ctanf): Likewise.
5669 * math/s_ctanhf.c (__ctanhf): Likewise.
5670 * math/s_ccosh.c (__ccoshf): Likewise.
5671 * math/s_cexp.c (__cexpl): Likewise.
5672 * math/s_csin.c (__csin): Likewise.
5673 * math/s_csinh.c (__csinh): Likewise.
5674 * math/s_ctan.c (__ctan): Likewise.
5675 * math/s_ctanh.c (ctanh): Likewise.
5676 * math/s_ccoshl.c (__ccoshl): Likewise.
5677 * math/s_cexpl.c (__cexpl): Likewise.
5678 * math/s_csinl.c (__csinl): Likewise.
5679 * math/s_csinhl.c (__csinhl): Likewise.
5680 * math/s_ctanl.c (__ctanl): Likewise.
5681 * math/s_ctanhl.c (__ctanhl): Likewise.
5682
203e5603
JM
56832012-09-25 Joseph Myers <joseph@codesourcery.com>
5684
5685 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5686 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5687 (_IO_off_t): Define to __off_t, not _G_off_t.
5688 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5689 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5690 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5691 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5692 type of __dummy and __dummy2 fields.
5693 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5694 (_G_ssize_t): Likewise.
5695 (_G_off_t): Likewise.
5696 (_G_pid_t): Likewise.
5697 (_G_uid_t): Likewise.
5698 (_G_wchar_t): Likewise.
5699 (_G_wint_t): Likewise.
5700 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5701 (_G_ssize_t): Likewise.
5702 (_G_off_t): Likewise.
5703 (_G_pid_t): Likewise.
5704 (_G_uid_t): Likewise.
5705 (_G_wchar_t): Likewise.
5706 (_G_wint_t): Likewise.
5707 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5708 (_G_ssize_t): Likewise.
5709 (_G_off_t): Likewise.
5710 (_G_pid_t): Likewise.
5711 (_G_uid_t): Likewise.
5712 (_G_wchar_t): Likewise.
5713 (_G_wint_t): Likewise.
5714
9fab36eb
SP
57152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5716
5717 * malloc/arena.c: Include malloc-sysdep.h.
5718 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5719 is sufficient to shrink the heap or an unmap is needed.
5720 * sysdeps/generic/malloc-sysdep.h: New file. Define
5721 new function check_may_shrink_heap.
5722 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5723 new function check_may_shrink_heap.
5724
2b4f00d1
SP
57252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5726
5727 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5728 comments.
5729
9a9028b1
DL
57302012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5731
57c69bef
DL
5732 * catgets/test-gencat.sh: Add "set -e".
5733 * elf/tst-pathopt.sh: Likewise.
5734 * grp/tst_fgetgrent.sh: Likewise.
5735 * iconvdata/run-iconv-test.sh: Likewise.
5736 * intl/tst-gettext.sh: Likewise.
5737 * intl/tst-gettext2.sh: Likewise.
5738 * intl/tst-gettext4.sh: Likewise.
5739 * intl/tst-gettext6.sh: Likewise.
5740 * intl/tst-translit.sh: Likewise.
5741 * io/ftwtest-sh: Likewise.
5742 * libio/test-freopen.sh: Likewise.
5743 * malloc/tst-mtrace.sh: Likewise.
5744 * posix/globtest.sh: Likewise.
5745 * posix/tst-getconf.sh: Likewise.
5746 * posix/wordexp-tst.sh: Likewise.
5747 * stdio-common/tst-printf.sh: Likewise.
5748 * stdio-common/tst-unbputc.sh: Likewise.
5749 * stdlib/tst-fmtmsg.sh: Likewise.
5750 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5751 * catgets/Makefile: Do not specify -e option when running
5752 testsuite shell scripts.
5753 * elf/Makefile: Likewise.
5754 * grp/Makefile: Likewise.
5755 * iconvdata/Makefile: Likewise.
5756 * intl/Makefile: Likewise.
5757 * io/Makefile: Likewise.
5758 * libio/Makefile: Likewise.
5759 * malloc/Makefile: Likewise.
5760 * posix/Makefile: Likewise.
5761 * stdio-common/Makefile: Likewise.
5762 * stdlib/Makefile: Likewise.
5763 * sysdeps/x86_64/Makefile: Likewise.
5764
9a9028b1
DL
5765 * io/ftwtest-sh: Add copyright header.
5766 * posix/globtest.sh: Likewise.
5767 * posix/tst-getconf.sh: Likewise.
5768 * posix/wordexp-tst.sh: Likewise.
5769 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5770
ced6f16e
L
57712012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5772
94b32c39
L
5773 [BZ #13679]
5774 * Makeconfig (+link): Defined as $(+link-static) if
5775 $(build-shared) isn't yes.
5776 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5777 isn't yes.
5778 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5779
189e935b
L
5780 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5781
ced6f16e
L
5782 [BZ #14562]
5783 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5784 new chunk size with MALLOC_ALIGN_MASK.
5785
a9f8e53a
JM
57862012-09-24 Joseph Myers <joseph@codesourcery.com>
5787
5788 [BZ #5044]
5789 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5790 <rounding-mode.h>.
5791 (__printf_fphex): Determine rounding using get_rounding_mode and
5792 round_away.
5793 * stdio-common/tst-printf-round.c (struct hex_test): New
5794 structure.
5795 (hex_tests): New variable.
5796 (test_hex_in_one_mode): New function.
5797 (do_test): Also run tests for hex float output.
5798
43153109
JM
57992012-09-21 Joseph Myers <joseph@codesourcery.com>
5800
5801 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5802 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5803 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5804 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5805 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5806 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5807 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5808 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5809
8a26625d
JM
58102012-09-20 Joseph Myers <joseph@codesourcery.com>
5811
5812 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5813 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5814 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5815 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5816
f3fd569c
DL
58172012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5818
5819 [BZ #14579]
5820 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5821 mode only.
5822 * elf/tst-rtld-load-self.sh: New test.
5823 * elf/Makefile: Run it.
5824
63bbedd4
JM
58252012-09-18 Joseph Myers <joseph@codesourcery.com>
5826
5827 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5828 (tst-writev-ENV): Remove.
5829 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5830
626f8b6a
CM
58312012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5832
5833 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5834
b7aaa4d6
JM
58352012-09-17 Joseph Myers <joseph@codesourcery.com>
5836
5837 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5838 unconditional.
5839 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5840 Likewise.
5841 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5842 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5843 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5844 Likewise.
5845
65513990
L
58462012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5847
5848 [BZ #14587]
5849 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5850 * config.make.in (have-cpp-asm-debuginfo): Removed.
5851 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5852 * configure: Regenerated.
5853
784761be
JM
58542012-09-14 Joseph Myers <joseph@codesourcery.com>
5855
5856 [BZ #5044]
5857 * stdio-common/printf_fp.c: Include <stdbool.h> and
5858 <rounding-mode.h>.
5859 (___printf_fp): Determine rounding using get_rounding_mode and
5860 round_away.
5861 * stdio-common/tst-printf-round.c: New file.
5862 * stdio-common/Makefile (tests): Add tst-printf-round.
5863 (link-libm): New variable.
5864 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5865
9503345f
L
58662012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5867
5868 [BZ #14576]
5869 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5870 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5871 Likewise.
5872 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5873 Likewise.
5874
ad35fc00
JM
58752012-09-13 Joseph Myers <joseph@codesourcery.com>
5876
5877 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5878 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5879 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5880 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5881
6c9b0f68
JM
58822012-09-12 Joseph Myers <joseph@codesourcery.com>
5883
5884 [BZ #14518]
5885 * include/rounding-mode.h: New file.
5886 * sysdeps/generic/get-rounding-mode.h: Likewise.
5887 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5888 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5889 (MAX_VALUE): New macro.
5890 (MIN_VALUE): Likewise.
5891 (overflow_value): New function.
5892 (underflow_value): Likewise.
5893 (round_and_return): Use overflow_value and underflow_value to
5894 determine return values in overflow and underflow cases. Use
5895 round_away to determine rounding depending on rounding mode.
5896 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5897 determine return values in overflow and underflow cases.
5898 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5899 (struct test_results): New structure.
5900 (struct test): Use struct test_results to store expected results
5901 for all rounding modes.
5902 (TEST): Include expected results for all rounding modes.
5903 (test_in_one_mode): New function.
5904 (do_test): Use test_in_one_mode to compute and check results.
5905 Check results for all rounding modes.
5906 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5907 $(link-libm).
5908
19fcedd5
AM
59092012-12-09 Allan McRae <allan@archlinux.org>
5910
1e9d84cd 5911 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5912
8bbfd2f1
JM
59132012-09-11 Joseph Myers <joseph@codesourcery.com>
5914
5915 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5916 (_G_int32_t): Likewise.
5917 (_G_uint16_t): Likewise.
5918 (_G_uint32_t): Likewise.
5919 (_G_HAVE_BOOL): Likewise.
5920 (_G_HAVE_ATEXIT): Likewise.
5921 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5922 (_G_HAVE_IO_FILE_OPEN): Likewise.
5923 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5924 (_G_int32_t): Likewise.
5925 (_G_uint16_t): Likewise.
5926 (_G_uint32_t): Likewise.
5927 (_G_HAVE_BOOL): Likewise.
5928 (_G_HAVE_ATEXIT): Likewise.
5929 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5930 (_G_HAVE_IO_FILE_OPEN): Likewise.
5931 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5932 (_G_int32_t): Likewise.
5933 (_G_uint16_t): Likewise.
5934 (_G_uint32_t): Likewise.
5935 (_G_HAVE_BOOL): Likewise.
5936 (_G_HAVE_ATEXIT): Likewise.
5937 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5938 (_G_HAVE_IO_FILE_OPEN): Likewise.
5939
b1dc5912
L
59402012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5941
5942 * csu/libc-tls.c: Update copyright years.
5943
0e886ef9
JM
59442012-09-10 Joseph Myers <joseph@codesourcery.com>
5945
28361c5e
JM
5946 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5947 [!_G_USING_THUNKS]: Remove conditional code.
5948 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5949 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5950
0e886ef9
JM
5951 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5952 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5953 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5954 (_G_VTABLE_LABEL_PREFIX): Likewise.
5955 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5956 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5958 (_G_VTABLE_LABEL_PREFIX): Likewise.
5959 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5960 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5961 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5962 (_G_VTABLE_LABEL_PREFIX): Likewise.
5963 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5964
bcba7aa2
L
59652012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5966
5967 * libio/Makefile: Include ../Makeconfig before tests.
5968 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5969 only if $(build-shared) is yes.
5970
06585ee8
L
5971 * iconv/gconv_db.c: Update copyright years.
5972
80ccd52c
LD
59732012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5974
5975 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5976 unwind info if defined PIC. Fix special cases description.
5977 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5978
5979 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5980 DP_HI_MASK entry.
5981 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5982
691bc9c1
L
59832012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5984
3d9b46b3
L
5985 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5986
de2139a9
L
5987 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5988 is NULL.
5989
5ca78dd0
L
5990 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5991 (LDLIBS-tst-chk4): This.
5992 (LDFLAGS-tst-chk5): Renamed to ...
5993 (LDLIBS-tst-chk5): This.
5994 (LDFLAGS-tst-chk6): Renamed to ...
5995 (LDLIBS-tst-chk6): This.
5996 (LDFLAGS-tst-lfschk4): Renamed to ...
5997 (LDLIBS-tst-lfschk4): This.
5998 (LDFLAGS-tst-lfschk5): Renamed to ...
5999 (LDLIBS-tst-lfschk5): This.
6000 (LDFLAGS-tst-lfschk6): Renamed to ...
6001 (LDLIBS-tst-lfschk6): This.
6002
691bc9c1
L
6003 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6004 on $(common-objpfx)soversions.mk.
6005
65cafb1c
JM
60062012-09-07 Joseph Myers <joseph@codesourcery.com>
6007
6008 [BZ #10014]
6009 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6010 example host name.
6011
c78ab094
SP
60122012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6013
6014 * malloc/arena.c (arena_get_retry): New function that gets
6015 another arena for the caller to try its request on.
6016 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6017 current arena cannot fulfill the request.
6018 (__libc_memalign): Likewise.
6019 (__libc_memalign): Likewise.
6020 (__libc_pvalloc): Likewise.
6021 (__libc_calloc): Likewise.
6022
01f49f59
JT
60232012-09-05 John Tobey <john.tobey@gmail.com>
6024
6025 [BZ #13542]
6026 * manual/arith.texi (Operations on Complex): Fix description
6027 of carg branch cut.
6028
4c23fed5
JM
60292012-09-06 Joseph Myers <joseph@codesourcery.com>
6030
1d3c8572
JM
6031 [BZ #10014]
6032 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6033 host name.
6034
4c23fed5
JM
6035 [BZ #10038]
6036 * manual/memory.texi (Memory): Make order of menu items match
6037 order of sections.
6038
04570aaa
L
60392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6040
6041 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6042 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6043 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6044
b80af2f4
L
60452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6046
6047 * csu/libc-tls.c (static_dtv): Renamed to ...
6048 (_dl_static_dtv): This. Make it global.
6049 (_dl_initial_dtv): Removed.
6050 (__libc_setup_tls): Updated.
6051 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6052 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6053 DL_INITIAL_DTV.
6054
2abe9f15
PM
60552012-09-06 Petr Machata <pmachata@redhat.com>
6056
6057 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6058 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6059 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6060 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6061
0948c3af
L
60622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6063
6064 [BZ #14545]
6065 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6066 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6067 freeing dtv[-1].
6068
a5055ad1
L
60692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6070
6071 [BZ #14544]
6072 * Makeconfig (link-static-before-libc): Replace $(+prector)
6073 with $(+prectorT).
6074 (link-static-after-libc): Replace $(+postctor) with
6075 $(+postctorT).
6076 (link-bounded): Replace $(+prector)/$(+postctor) with
6077 $(+prectorT)/$(+postctorT).
6078 (+prectorT): New macro.
6079 (+postctorT): Likewise.
6080
ed8c2ecd
JM
60812012-09-06 Joseph Myers <joseph@codesourcery.com>
6082
6083 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6084 (round_str): Handle values above the maximum for IBM long double
6085 as inexact.
6086 * stdlib/tst-strtod-round.c (tests): Regenerated.
6087
14c996c8
AK
60882012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6089
6090 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6091 assembler flag.
6092 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6093 zarch_nohighgprs around the zarch optimized routines.
6094 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6095 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6096 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6097 for zarch.
6098
430d6ce6
DM
60992012-09-05 David S. Miller <davem@davemloft.net>
6100
6101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6102
ff04dda4
DM
6103 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6104 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6105 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6106 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6107 entries.
6108
24d4e01b
AO
61092012-09-05 Alexandre Oliva <aoliva@redhat.com>
6110
6111 * malloc/arena.c: Fold copyright years.
6112 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6113
61d58174
AO
61142012-09-05 Alexandre Oliva <aoliva@redhat.com>
6115
6116 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6117
20196a5e
AO
61182012-09-05 Alexandre Oliva <aoliva@redhat.com>
6119
6120 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6121
5c447383
AO
61222012-09-05 Alexandre Oliva <aoliva@redhat.com>
6123
6124 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6125 change internal state upon failure.
6126
fad64255
AO
61272012-09-05 Alexandre Oliva <aoliva@redhat.com>
6128
6129 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6130 * malloc/memusage.c (mmap): Likewise.
6131 (mmap64, mremap): Likewise. Adjust name in comment.
6132
1ffb8c90
SP
61332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6134
6135 * libio/fileops.c: Fix typos in comments.
6136 * libio/oldfileops.c: Likewise.
6137 * libio/wfileops.c: Likewise.
6138
6ef9cc37
SP
61392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6140
6141 [BZ #1349]
6142 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6143 (tst-malloc-usable-ENV): Set environment for test case.
6144 * malloc/hooks.c (malloc_check_get_size): New function to get
6145 requested size.
6146 * malloc/malloc.c (musable): Use malloc_check_get_size.
6147 * malloc/tst-malloc-usable.c: New test case.
6148
4d038ae3
AS
61492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6150
6151 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6152
c4e85184
AM
61532012-09-05 Allan McRae <allan@archlinux.org>
6154
b9dafc56 6155 [BZ #13966]
c4e85184
AM
6156 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6157 determine header location.
6158 * configure: Regenerated.
6159
e1343020
AS
61602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6161
6162 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6163 float format.
6164 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6165 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6166 format.
e1343020
AS
6167 (test): Regenerate.
6168
0a9f1987
DM
61692012-09-04 David S. Miller <davem@davemloft.net>
6170
6171 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6172 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6173 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6174
29237804
FW
61752012-09-04 Florian Weimer <fweimer@redhat.com>
6176
6177 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6178 failures.
6179
edb3cb88
FW
6180 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6181
60160d83
JM
61822012-09-04 Joseph Myers <joseph@codesourcery.com>
6183
6184 [BZ #9914]
6185 * libio/iogetdelim.c: Include <limits.h>.
6186 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6187 + len + 1 would overflow.
6188
bcd6c8dc
AJ
61892012-09-03 Andreas Jaeger <aj@suse.de>
6190
6191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6192 * sysdeps/i386/fpu/libm-test-ulps: Update.
6193
4ffffbd2
LD
61942012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6195
6196 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6197 Add s_sinf-sse2, s_conf-sse2.
6198
6199 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6200 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6201 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6202 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6203
6204 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6205 for using routine as __sinf_ia32.
6206 Use macro for function declaration and weak_alias.
6207 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6208 for using routine as __cosf_ia32.
6209 Use macro for function declaration and weak_alias.
6210
6211 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6212 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6213
6214 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6215 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6217
6218 * math/libm-test.inc (cos_test): Add more test cases.
6219 (sin_test): Likewise.
6220 (sincos_test): Likewise.
6221
511fa286
AK
62222012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6223
6224 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6225 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6226 hidden.
6227 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6228
5f30cfec
L
62292012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6230
6231 [BZ #14538]
6232 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6233 first element of the GOT.
6234 (elf_machine_load_address): Return the difference between
6235 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6236
0786794f
AM
62372012-09-01 Allan McRae <allan@archlinux.org>
6238
5f30cfec
L
6239 [BZ #13412]
6240 * configure.in (AWK): Require gawk version 3.0 or later.
6241 * configure: Regenerated.
0786794f 6242
26889eac
JM
62432012-09-01 Joseph Myers <joseph@codesourcery.com>
6244
6245 * sysdeps/unix/sysv/linux/kernel-features.h
6246 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6248 [__NR_clock_getres]: Make code unconditional.
6249 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6250 (clock_getcpuclockid): Remove code left unreachable by removal of
6251 conditionals.
6252 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6253 code unconditional.
6254 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6256 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6257 Make code unconditional.
6258 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6259 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6260 * sysdeps/unix/sysv/linux/clock_settime.c
6261 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6262 conditional code.
6263 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6264 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6265
d22e28b0
L
62662012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6267
6268 [BZ #14476]
6269 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6270 scripts/test-installation.pl.
6271
6272 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6273 and $ld_so_version if it is set.
6274
050af9c4
SP
62752012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6276
6277 [BZ #14516]
6278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6279 failure if reading from procfs failed.
6280 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6281
ad845c0b
JM
62822012-08-27 Joseph Myers <joseph@codesourcery.com>
6283
6284 * sysdeps/unix/sysv/linux/kernel-features.h
6285 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6286 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6287 Remove conditional code.
6288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6289 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6290 Remove conditional code.
6291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6292 * sysdeps/unix/sysv/linux/i386/fxstat.c
6293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6295 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6298 * sysdeps/unix/sysv/linux/i386/lxstat.c
6299 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6301 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6302 Remove conditional code.
6303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6304 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6305 Remove conditional code.
6306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6307 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6308 <kernel-features.h>.
6309 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6310 Remove.
6311 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6312 Remove conditional code.
6313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6314 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6315 Remove conditional.
6316
5dbf56af
MF
63172012-08-27 Mike Frysinger <vapier@gentoo.org>
6318
6319 [BZ #5400]
6320 * NEWS: Add fixed bug number.
6321
d6e70f43
JM
63222012-08-27 Joseph Myers <joseph@codesourcery.com>
6323
7efb4737
JM
6324 [BZ #14519]
6325 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6326 underflowing exponent in case of negative sign.
6327 * stdlib/tst-strtod-round-data: Add more tests.
6328 * stdlib/tst-strtod-round.c (tests): Regenerated.
6329
af92131a
JM
6330 [BZ #3479]
6331 * stdlib/strtod_l.c (NDIG): Remove.
6332 (HEXNDIG): Likewise.
6333 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6334 smallest representable value.
6335 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6336 lie within an exact representation of 1/2 ulp of the result.
6337 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6338 unconditionally.
6339 (TENS_P9_IDX): Define unconditionally.
6340 (TENS_P9_SIZE): Likewise.
6341 (TENS_P10_IDX): Likewise.
6342 (TENS_P10_SIZE): Likewise.
6343 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6344 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6345 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6346 entries for 10^2^13 and 10^2^14.
6347 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6348 (TENS_P13_IDX): Define.
6349 (TENS_P13_SIZE): Likewise.
6350 (TENS_P14_IDX): Likewise.
6351 (TENS_P14_SIZE): Likewise.
6352 (_fpioconst_pow10): Change array size to
6353 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6354 unconditional.
6355 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6356 1024]: Add entries for 10^2^13 and 10^2^14.
6357 [LAST_POW10 > _LAST_POW10]: Remove #error.
6358 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6359 (_fpioconst_pow10): Change array size to
6360 FPIOCONST_POW10_ARRAY_SIZE.
6361 * stdlib/gen-fpioconst.c: New file.
6362 * stdlib/gen-tst-strtod-round.c: Likewise.
6363 * stdlib/tst-strtod-round-data: Likewise.
6364 * stdlib/tst-strtod-round.c: Likewise.
6365 * stdlib/Makefile (tests): Add tst-strtod-round.
6366
d6e70f43
JM
6367 [BZ #14459]
6368 * stdlib/strtod_l.c: Include <stdint.h>.
6369 (NDEBUG): Do not define.
6370 (round_and_return): Change EXPONENT parameter to type intmax_t.
6371 Rearrange calculations to avoid internal overflow possibilities.
6372 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6373 Rearrange calculations to avoid internal overflow possibilities.
6374 Assert that number fits inside MPNSIZE limbs.
6375 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6376 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6377 calculations and add assertions to avoid internal overflow
6378 possibilities. Add casts to avoid signed/unsigned operations.
6379 * stdlib/tst-strtod-overflow.c: New file.
6380 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6381
1f529f7d
MP
63822012-08-25 Marek Polacek <polacek@redhat.com>
6383
6384 * time/time.h: Fix some typos in comments.
6385
59a629f1
RM
63862012-08-23 Roland McGrath <roland@hack.frob.com>
6387
6388 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6389 * posix/tst-rfc3484-2.c: Likewise.
6390 * posix/tst-rfc3484-3.c: Likewise.
6391
d3bafbc9
SM
63922012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6393
6394 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6395 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6396
4efcc022
JM
63972012-08-23 Joseph Myers <joseph@codesourcery.com>
6398
6399 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6400 #include of fxstatat64.c.
6401
3cc3ef96
RM
64022012-08-22 Roland McGrath <roland@hack.frob.com>
6403
f04e2132
RM
6404 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6405 * shadow/getspent_r.c: Likewise.
6406 * shadow/getspnam.c: Likewise.
6407 * shadow/getspnam_r.c: Likewise.
6408 * gshadow/getsgent.c: Likewise.
6409 * gshadow/getsgent_r.c: Likewise.
6410 * gshadow/getsgnam.c: Likewise.
6411 * gshadow/getsgnam_r.c: Likewise.
6412 * inet/getnetbyad.c: Likewise.
6413 * inet/getnetbyad_r.c: Likewise.
6414 * inet/getnetbynm.c: Likewise.
6415 * inet/getnetbynm_r.c: Likewise.
6416 * inet/getnetent.c: Likewise.
6417 * inet/getnetent_r.c: Likewise.
6418 * inet/getproto.c: Likewise.
6419 * inet/getproto_r.c: Likewise.
6420 * inet/getprtent.c: Likewise.
6421 * inet/getprtent_r.c: Likewise.
6422 * inet/getprtname.c: Likewise.
6423 * inet/getprtname_r.c: Likewise.
6424 * inet/getrpcbyname.c: Likewise.
6425 * inet/getrpcbyname_r.c: Likewise.
6426 * inet/getrpcbynumber.c: Likewise.
6427 * inet/getrpcbynumber_r.c: Likewise.
6428 * inet/getrpcent.c: Likewise.
6429 * inet/getrpcent_r.c: Likewise.
6430 * inet/getaliasent.c: Likewise.
6431 * inet/getaliasent_r.c: Likewise.
6432 * inet/getaliasname.c: Likewise.
6433 * inet/getaliasname_r.c: Likewise.
6434 * nscd/getgrgid_r.c: Likewise.
6435 * nscd/getgrnam_r.c: Likewise.
6436 * nscd/gethstbyad_r.c: Likewise.
6437 * nscd/gethstbynm3_r.c: Likewise.
6438 * nscd/getpwnam_r.c: Likewise.
6439 * nscd/getpwuid_r.c: Likewise.
6440 * nscd/getsrvbynm_r.c: Likewise.
6441 * nscd/getsrvbypt_r.c: Likewise.
6442 * nscd/gai.c: Likewise.
6443
c53d909c
RM
6444 * configure.in (build_nscd): New substituted variable, set
6445 by --disable-build-nscd and defaults to $use_nscd.
6446 * configure: Regenerated.
6447 * config.make.in (build-nscd): New substituted variable.
6448 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6449 Change conditional to require [$(build-nscd) = yes] as well.
6450 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6451
3cc3ef96
RM
6452 [BZ# 13696]
6453 * configure.in (use_nscd): New substituted variable, set by
6454 --disable-nscd. If enabled, define USE_NSCD.
6455 * configure: Regenerated.
6456 * config.h.in: Add USE_NSCD.
6457 * config.make.in (use-nscd): New substituted variable.
6458 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6459 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6460 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6461 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6462 (CFLAGS-getgrnam_r.c): Likewise.
6463 (CFLAGS-initgroups.c): Likewise.
6464 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6465 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6466 Variables removed.
6467 * inet/getnetgrent_r.c
6468 (nscd_setnetgrent): New function, broken out of ...
6469 (setnetgrent): ... here. Call it.
6470 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6471 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6472 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6473 * nscd/Makefile (routines, aux): Move definitions after include of
6474 Makeconfig. Conditionalize on [$(use-nscd) != no].
6475 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6476 Conditionalize on [USE_NSCD].
6477 (is_nscd, nscd_init_cb): Likewise.
6478 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6479 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6480 * nss/nss_db/db-init.c: Likewise.
6481 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6482 [USE_NSCD].
6483 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6484 (make_request): Use it.
6485 (cache_valid_p): New function.
6486 (__check_pf): Use it.
6487 * NEWS: Add item for --disable-nscd.
6488
07e51550
DL
64892012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6490
6491 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6492 to support sed >= 4.2.1-20-ga9bf076.
6493 * configure: Regenerated.
6494
35a5b08b
RM
64952012-08-22 Roland McGrath <roland@hack.frob.com>
6496
6497 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6498 Conditionalize whole body on [IREL].
6499
8479f23a
JL
65002012-08-22 Jeff Law <law@redhat.com>
6501
6502 [BZ #14505]
6503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6504 if the family is PF_UNSPEC.
6505
48da0b21
MF
65062012-08-22 Mike Frysinger <vapier@gentoo.org>
6507
6508 * Makerules (lib-version): Rename from V.
6509 (install-lib-nosubdir): Change V to lib-version.
6510
15d0da8c
WS
65112012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6512
6513 [BZ #14252]
6514 * powerpc32/power6/wcschr.c: New file.
6515 * powerpc32/power6/wcscpy.c: New file.
6516 * powerpc32/power6/wcsrchr.c: New file.
6517 * powerpc64/power6/wcschr.c: New file.
6518 * powerpc64/power6/wcscpy.c: New file.
6519 * powerpc64/power6/wcsrchr.c: New file.
6520
bcca0895
MK
65212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6522
6523 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6524 (two_way_short_needle): Use it.
5a4aaa33
RM
6525 * string/strstr.c (AVAILABLE1_USES_J): Define.
6526 * string/strcasestr.c: Likewise.
99677e57
MK
6527
6528 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6529 array references.
6530 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6531
400726de
MK
6532 [BZ #11607]
6533 * NEWS: Add an entry.
6534 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6535 define their defaults.
6536 (two_way_short_needle): Detect end-of-string on-the-fly.
6537 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6538 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6539 * string/bug-strcasestr1.c: New test.
6540 * string/Makefile: Run it.
6541
20a71f2c
MK
65422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6543
6544 [BZ #11607]
6545 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6546 the first character.
6547
21ad0558
RM
65482012-08-21 Roland McGrath <roland@hack.frob.com>
6549
6550 * csu/elf-init.c (__libc_csu_irel): Function removed.
6551 * csu/libc-start.c (apply_irel): New function.
6552 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6553
0e1d9911
JM
65542012-08-21 Joseph Myers <joseph@codesourcery.com>
6555
6556 * sysdeps/unix/sysv/linux/kernel-features.h
6557 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6558 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6559 <kernel-features.h>.
6560 [__NR_fadvise64_64]: Make code unconditional.
6561 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6562 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6563 !__NR_fadvise64_64)]: Likewise.
6564 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6565 !__NR_fadvise64_64))]: Likewise.
6566 [__NR_fadvise64]: Make code unconditional.
6567 [!__NR_fadvise64]: Remove conditional code.
6568 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6569 <kernel-features.h>.
6570 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6571 unconditional.
6572 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6573 conditional code.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6575 not include <kernel-features.h>.
6576 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6577 unconditional.
6578 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6579 conditional code.
6580 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6581 include <kernel-features.h>.
6582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6583 unconditional.
6584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6585 conditional code.
6586
14a50c9d
WS
65872012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6588
6589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6590 slight instruction rearrangements per scrollpipe analysis.
6591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6592
c0f4faf0
RM
65932012-08-20 Roland McGrath <roland@hack.frob.com>
6594
696da859
RM
6595 * manual/syslog.texi (syslog; vsyslog, closelog):
6596 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6597 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6598
c0f4faf0
RM
6599 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6600 DSOCAPS to match condition on defining it.
6601
348363b2
JM
66022012-08-20 Joseph Myers <joseph@codesourcery.com>
6603
a35cbf28
JM
6604 * sysdeps/unix/sysv/linux/kernel-features.h
6605 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6613 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6614 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6615
445f7ecd
JM
6616 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6617 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6618
348363b2
JM
6619 * sysdeps/unix/sysv/linux/kernel-features.h
6620 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6621 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6622 unconditional.
6623 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6624 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6625 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6626 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6627 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6628 Make code unconditional.
6629 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6630 (__mmap64) [!__NR_mmap2]: Likewise.
6631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6632 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6633 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6634 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6635 [__NR_mmap2]: Make code unconditional.
6636 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6637 (__mmap64) [!__NR_mmap2]: Likewise.
6638
bc5bc0e5
AK
66392012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6640
6641 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6642
88d506de
AJ
66432012-08-18 Andreas Jaeger <aj@suse.de>
6644
6645 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6646
493387d2
MF
66472012-08-18 Mike Frysinger <vapier@gentoo.org>
6648
6649 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6650 * include/unistd.h (__have_sock_cloexec): Likewise.
6651 (__have_pipe2): Likewise.
6652 (__have_dup3): Likewise.
6653
a277af22
MF
66542012-08-18 Mike Frysinger <vapier@gentoo.org>
6655
6656 [BZ #9685]
6657 * include/unistd.h (__have_pipe2): Change define into an extern int.
6658 (__have_dup3): Likewise.
6659 * socket/have_sock_cloexec.c: Include fcntl.h.
6660 (__have_pipe2): New variable.
6661 (__have_dup3): Likewise.
6662
fdab8fd3
MF
66632012-08-17 Mike Frysinger <vapier@gentoo.org>
6664
6665 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6666
31035e80
MP
66672012-08-17 Marek Polacek <polacek@redhat.com>
6668
6669 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6670 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6671
3bd9e993
RM
66722012-08-17 Roland McGrath <roland@hack.frob.com>
6673
c91c505f
RM
6674 * configure.in: Add AC_SUBST for sysheaders.
6675 * configure: Regenerated.
6676 * config.make.in (sysheaders): New substituted variable.
6677
7c6f9d53
RM
6678 * sysdeps/unix/mkfifo.c: Moved ...
6679 * sysdeps/posix/mkfifo.c: ... here.
6680 * sysdeps/unix/mkfifoat.c: Moved ...
6681 * sysdeps/posix/mkfifoat.c: ... here.
6682
6683 * sysdeps/unix/utime.c: Moved ...
6684 * sysdeps/posix/utime.c: ... here.
6685
6686 * sysdeps/unix/time.c: Moved ...
6687 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6688 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6689 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6690
6691 * sysdeps/unix/nice.c: Moved ...
6692 * sysdeps/posix/nice.c: ... here.
6693
6694 * sysdeps/unix/alarm.c: Moved ...
6695 * sysdeps/posix/alarm.c: ... here.
6696
3bd9e993
RM
6697 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6698
d1f09384
JL
66992012-08-17 Jeff Law <law@redhat.com>
6700
6701 * intl/Makefile (codeset_mo): New variable.
6702 ($(codeset_mo)): New target.
6703 (tst-codeset.out): Depend on that. Remove explicit rule.
6704 (tst-gettext3.out, tst-gettext5.out): Likewise.
6705 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6706 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6707 * intl/tst-codeset.sh: Remove.
6708 * intl/tst-gettext3.sh: Likewise.
6709 * intl/tst-gettext5.sh: Likewise.
6710
2ae1ae5c
RM
67112012-08-17 Roland McGrath <roland@hack.frob.com>
6712
c31fdb83
RM
6713 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6714 * sysdeps/unix/syscalls.list: ... here.
6715
a0844057
RM
6716 * sysdeps/posix/getaddrinfo.c
6717 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6718 (gaiconf_init, gaiconf_reload): Use them.
6719 [!_STATBUF_ST_NSEC]
6720 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6721 Define using time_t rather than struct timespec.
6722
750c1f2a
RM
6723 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6724 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6725 Macros removed.
6726 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6727 [!NO_THREADS].
6728 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6729 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6730 Likewise.
6731
2ae1ae5c
RM
6732 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6733 __libc_cleanup_push argument.
6734
e66a42f5
RM
6735 * bits/param.h: New file.
6736 * misc/sys/param.h: New file.
6737 * include/sys/param.h: New file.
6738 * misc/Makefile (headers): Add bits/param.h.
6739 * sysdeps/generic/sys/param.h: File removed.
6740 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6741 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6742 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6743 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6744
b7c08a66
RM
6745 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6746 last change.
6747
b2e1c562
RM
6748 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6749 [_IO_MTSAFE_IO].
6750 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6751 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6752 New macros.
6753
c75ccd4c
RM
6754 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6755 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6756 rather than -D_IO_MTSAFE_IO conditionally.
6757 * stdio-common/Makefile (CPPFLAGS): Likewise.
6758 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6759 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6760 Use $(libio-mtsafe).
6761 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6762 of -D_IO_MTSAFE_IO.
6763 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6764 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6765 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6766 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6767 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6768 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6769 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6770 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6771 (CFLAGS-fread_u_chk.c): Likewise.
6772 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6773 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6774 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6775 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6776 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6777 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6778 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6779 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6780 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6781
6782 * libio/Makefile: Test [$(libc-reentrant) = yes]
6783 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6784
6785 * Makeconfig
6786 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6787 * sysdeps/pthread/configure: File removed.
6788 * sysdeps/pthread/Makeconfig: New file.
6789 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6790 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6791
d9195db8
GB
67922012-08-16 Gary Benson <gbenson@redhat.com>
6793
6794 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6795 unmapping the first object in a namespace.
6796
86466cd9
RM
67972012-08-16 Roland McGrath <roland@hack.frob.com>
6798
6799 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6800 (__internal_setnetgrent): ... this. Add internal_function to
6801 definition. Add libc_hidden_def.
6802 (setnetgrent): Update caller.
6803 (internal_endnetgrent): Renamed to ...
6804 (__internal_endnetgrent): ... this. Add internal_function to
6805 definition. Add libc_hidden_def.
6806 (endnetgrent): Update caller.
6807 (internal_getnetgrent_r): Renamed to ...
6808 (__internal_getnetgrent_r): ... this. Add internal_function to
6809 definition. Add libc_hidden_def.
6810 (__getnetgrent_r): Update caller.
6811 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6812
c3c8283c
JM
68132012-08-16 Joseph Myers <joseph@codesourcery.com>
6814
6815 * stdlib/longlong.h: Update from GCC.
6816
db1ee0a8
RM
68172012-08-16 Roland McGrath <roland@hack.frob.com>
6818
6819 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6820 on _QL, which is set by umul_ppmm but never used.
6821 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6822 variables, which are set by GMP macros but never used.
6823 * stdio-common/_itowa.c (_itowa): Likewise.
6824 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6825 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6826
30f69637
CD
68272012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6828
6829 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6830 struct La_sh_regs is not constant.
6831 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6832 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6833 and struct La_sparc64_regs are not constant.
6834
93a78ac4
JM
68352012-08-16 Joseph Myers <joseph@codesourcery.com>
6836
6837 * sysdeps/unix/sysv/linux/kernel-features.h
6838 (__ASSUME_POSIX_TIMERS): Remove.
6839 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6841 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6842 Make code unconditional.
6843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6844 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6845 Make code unconditional.
6846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6847 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6848 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6850 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6851 Make code unconditional.
6852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6853 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6854 (__libc_missing_posix_timers): Remove.
6855
dd924cd7
RM
68562012-08-15 Roland McGrath <roland@hack.frob.com>
6857
4b4f2771
RM
6858 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6859 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6860
601c888b
RM
6861 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6862
176790a7
RM
6863 * elf/dl-sym.c: Include <stdlib.h>.
6864
329bc018
RM
6865 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6866 constants, which avoids warnings in 32-bit builds.
6867
e04e272d
RM
6868 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6869 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6870
952bf94a
RM
6871 * misc/lseek.c: File moved to ...
6872 * io/lseek.c: ... here.
6873
7c99b50a
RM
6874 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6875
dd924cd7
RM
6876 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6877 shifting LEN more than 31 bits at once.
6878
b3f479a8
LD
68792012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6880
6881 [BZ #14195]
8c4ae0d4
RM
6882 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6883 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6884 * string/test-strncasecmp.c (check1): Renamed to...
6885 (bz12205): ...this.
6886 (bz14195): Add new testcase for two empty input strings and N > 0.
6887 (test_main): Call new testcase, adapt for renamed function.
6888
9c55864e
AJ
68892012-08-15 Andreas Jaeger <aj@suse.de>
6890
6891 [BZ #14090]
6892 * crypt/md5test2.c: New test, based on test supplied by Serge
6893 Belyshev <belyshev@depni.sinp.msu.ru>.
6894 * crypt/Makefile (xtests): Add md5test-giant..
6895 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6896
02dcb6c5
PE
68972012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6898
6899 [BZ #14090]
6900 * crypt/md5.c (md5_process_block): Don't assume the buffer
6901 length is less than 2**32.
6902 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6903 length is less than 2**64.
6904
a3f95dcc
RM
69052012-08-15 Roland McGrath <roland@hack.frob.com>
6906
be75d758
RM
6907 * string/str-two-way.h: Include <sys/param.h>.
6908 (MAX): Macro removed.
6909
7312ca90
RM
6910 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6911 Move #define and #undef of memmove to just before and after
6912 including <string.h>.
6913
9a0a5486
RM
6914 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6915 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6916 and after including <string.h>. Move declarations of
6917 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6918 to before #include "string/memmove.c".
6919
67cc348d
RM
6920 * include/dirent.h: Declare __getdirentries.
6921
a3f95dcc
RM
6922 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6923 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6924
ca98e171
MF
69252012-08-14 Mike Frysinger <vapier@gentoo.org>
6926
6927 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6928 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6929 * sysdeps/i386/configure: Regenerated.
6930 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6931 STABS_CURRENT_FILE, and STABS_FUN.
6932 (END): Remove call to STABS_FUN_END.
6933 (STABS_CURRENT_FILE1): Delete.
6934 (STABS_CURRENT_FILE): Likewise.
6935 (STABS_FUN): Likewise.
6936 (STABS_FUN_END): Likewise.
6937 (STABS_FUN2): Likewise.
6938 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6939 * sysdeps/x86_64/configure: Regenerated.
6940
5908bf46
RM
69412012-08-14 Roland McGrath <roland@hack.frob.com>
6942
6943 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6944 * elf/dl-lookup.c: Likewise.
5908bf46 6945
f2c05b9e
JM
69462012-08-14 Joseph Myers <joseph@codesourcery.com>
6947
6948 * sysdeps/unix/sysv/linux/kernel-features.h
6949 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6950 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6951 unconditionally.
6952 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6953 unconditionally.
6954 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6955 condition on __ASSUME_CLONE_THREAD_FLAGS.
6956
e11f5155
AJ
69572012-08-14 Andreas Jaeger <aj@suse.de>
6958
6959 * sysdeps/i386/fpu/libm-test-ulps: Update.
6960
51a9ba86
MK
69612012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6962
2fdd4f78
AJ
6963 * include/atomic.h (atomic_exchange_and_add): Split into ...
6964 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6965 New atomic macros.
51a9ba86 6966
ba6cba9e
MT
69672012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6968
6969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6970
42443a47
JL
69712012-08-13 Jeff Law <law@redhat.com>
6972
6973 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6974 null byte in the output string.
6975
121dce05
JM
69762012-08-10 Joseph Myers <joseph@codesourcery.com>
6977
6978 * sysdeps/unix/sysv/linux/kernel-features.h
6979 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6980 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6981 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6982 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6983 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6984 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6985 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6986
bf51f568
JL
69872012-08-09 Jeff Law <law@redhat.com>
6988
6989 [BZ #13939]
6990 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6991 When avoid_arena is set, don't retry in the that arena. Pick the
6992 next one, whatever it might be.
6993 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6994 (arena_lock): Pass in new parameter to arena_get2.
6995 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6996 arena_get2.
6997 (__libc_malloc): Unify retrying after main arena failure with
6998 __libc_memalign version.
6999 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7000
f85fa270
L
70012012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7002
7003 [BZ #14166]
7004 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7005 to __redirect_strstr.
7006 (__strstr_sse42): Use typeof __redirect_strstr.
7007 (__strstr_ia32): Likewise.
7008 (__libc_strstr): New prototype.
7009 (strstr): Renamed to ...
7010 (__libc_strstr): This.
7011 (strstr): New strong alias of __libc_strstr.
7012 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7013 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7014 __redirect_time.
7015 Include <time.h>.
7016 (__libc_time): New prototype.
7017 (time_ifunc): Replace time with __libc_time.
7018 (time): New strong alias and hidden definition of __libc_time.
7019 (__GI_time): Remove strong alias.
7020 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7021 Include <stddef.h>.
7022 (memmove): Redefined to __redirect_memmove.
7023 (__memmove_sse2): Use typeof __redirect_memmove.
7024 (__memmove_ssse3): Likewise.
7025 (__memmove_ssse3_back): Likewise.
7026 (__libc_memmove): New prototype.
7027 (memmove): Renamed to ...
7028 (__libc_memmove): This.
7029 (memmove): New strong alias of __libc_memmove.
7030
33b4a91e
MS
70312012-08-08 Mark Salter <msalter@redhat.com>
7032
7033 * elf/elf.h
7034 (R_MN10300_TLS_GD): Define.
7035 (R_MN10300_TLS_LD): Likewise.
7036 (R_MN10300_TLS_LDO): Likewise.
7037 (R_MN10300_TLS_GOTIE): Likewise.
7038 (R_MN10300_TLS_IE): Likewise.
7039 (R_MN10300_TLS_LE): Likewise.
7040 (R_MN10300_TLS_DTPMOD): Likewise.
7041 (R_MN10300_TLS_DTPOFF): Likewise.
7042 (R_MN10300_TLS_TPOFF): Likewise.
7043 (R_MN10300_SYM_DIFF): Likewise.
7044 (R_MN10300_ALIGN): Likewise.
7045 (R_MN10300_NUM): Update.
7046
b36137f1
JM
70472012-08-08 Joseph Myers <joseph@codesourcery.com>
7048
7049 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7050 Remove.
7051
cdd915fd
RM
70522012-08-08 Roland McGrath <roland@hack.frob.com>
7053
a2433aac
RM
7054 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7055
cdd915fd
RM
7056 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7057 sysdeps/unix -> sysdeps/posix move.
7058 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7059
bf9b740a
AM
70602012-08-07 Allan McRae <allan@archlinux.org>
7061
7062 [BZ #14303]
7063 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7064 (SUNOS_CPP): Likewise.
7065 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7066 not found.
7067 (open_input): Call CPP using execvp.
7068
93df14ee
JM
70692012-08-07 Joseph Myers <joseph@codesourcery.com>
7070
7071 * sysdeps/unix/sysv/linux/kernel-features.h
7072 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7073 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7074 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7075 (__ASSUME_WAITID_SYSCALL): Likewise.
7076 * sysdeps/unix/sysv/linux/dl-execstack.c
7077 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7078 code unconditional.
7079 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7080 conditional code.
7081 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7082 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7083 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7084 code.
7085 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7086 unconditional.
7087 [__ASSUME_WAITID_SYSCALL]: Likewise.
7088 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7089
d34689de
RM
70902012-08-07 Roland McGrath <roland@hack.frob.com>
7091
a281decc
RM
7092 * sysdeps/unix/closedir.c: Renamed to ...
7093 * sysdeps/posix/closedir.c: ... here.
7094 * sysdeps/unix/dirfd.c: Renamed to ...
7095 * sysdeps/posix/dirfd.c: ... here.
7096 * sysdeps/unix/dirstream.h: Renamed to ...
7097 * sysdeps/posix/dirstream.h: ... here.
7098 * sysdeps/unix/fdopendir.c: Renamed to ...
7099 * sysdeps/posix/fdopendir.c: ... here.
7100 * sysdeps/unix/opendir.c: Renamed to ...
7101 * sysdeps/posix/opendir.c: ... here.
7102 * sysdeps/unix/readdir.c: Renamed to ...
7103 * sysdeps/posix/readdir.c: ... here.
7104 * sysdeps/unix/readdir_r.c: Renamed to ...
7105 * sysdeps/posix/readdir_r.c: ... here.
7106 * sysdeps/unix/rewinddir.c: Renamed to ...
7107 * sysdeps/posix/rewinddir.c: ... here.
7108 * sysdeps/unix/seekdir.c: Renamed to ...
7109 * sysdeps/posix/seekdir.c: ... here.
7110 * sysdeps/unix/telldir.c: Renamed to ...
7111 * sysdeps/posix/telldir.c: ... here.
7112 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7113 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7114 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7115 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7116
22895b47
RM
7117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7118 * bits/fcntl.h: ... here.
7119
707a53b6
RM
7120 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7121 not 0.
7122 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7123 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7124 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7125 (struct flock): Move l_start, l_len to the beginning.
7126 Use __pid_t for l_pid.
7127 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7128 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7129 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7130 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7131 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7132 [__USE_LARGEFILE64] (struct flock64): New type.
7133 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7134
f0bd3e25
RM
7135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7136 * bits/dirent.h: ... here.
7137
d34689de
RM
7138 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7139 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7140
6dad2c06
JM
71412012-08-07 Joseph Myers <joseph@codesourcery.com>
7142
7143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7144 Change from 2.6.0 to 2.6.16.
7145 * sysdeps/unix/sysv/linux/configure: Regenerated.
7146 * sysdeps/unix/sysv/linux/kernel-features.h
7147 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7148 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7149 version.
7150 (__ASSUME_UTIMES): Likewise.
7151 (__ASSUME_CLONE_STOPPED): Remove.
7152 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7153 architectures, not kernel version.
7154 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7155 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7156 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7157 (__ASSUME_WAITID_SYSCALL): Likewise.
7158 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7159 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7160 * README: State 2.6.16 as minimum Linux kernel version. Do not
7161 refer to older versions.
7162
03af9520
RM
71632012-08-06 Roland McGrath <roland@hack.frob.com>
7164
8e49df1d
RM
7165 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7166 Define alphasort64 as an alias.
7167 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7168 Define versionsort64 as an alias.
7169 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7170 Define scandir64 as an alias.
7171 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7172 Define scandirat64 as an alias.
7173 * dirent/alphasort64.c (alphasort64):
7174 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7175 * dirent/versionsort64.c: Likewise.
7176 * dirent/scandir64.c: Likewise.
7177 * dirent/scandirat64.c: Likewise.
7178 * sysdeps/wordsize-64/alphasort.c: File removed.
7179 * sysdeps/wordsize-64/alphasort64.c: File removed.
7180 * sysdeps/wordsize-64/scandir.c: File removed.
7181 * sysdeps/wordsize-64/scandir64.c: File removed.
7182 * sysdeps/wordsize-64/scandirat.c: File removed.
7183 * sysdeps/wordsize-64/scandirat64.c: File removed.
7184 * sysdeps/wordsize-64/versionsort.c: File removed.
7185 * sysdeps/wordsize-64/versionsort64.c: File removed.
7186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7187 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7189 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7191 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7192 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7193 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7194
7195 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7197 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7199 [defined __arch64__ || defined __sparcv9]
7200 (__INO_T_MATCHES_INO64_T): New macro.
7201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7202 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7203 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7204 * sysdeps/unix/sysv/linux/bits/dirent.h
7205 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7206 (_DIRENT_MATCHES_DIRENT64): New macro.
7207
03af9520
RM
7208 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7209 Define lockf64 as an alias.
7210 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7211 Define fseeko64 as an alias.
7212 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7213 Define ftello64 as an alias.
7214 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7215 Define _IO_fgetpos64 and fgetpos64 as aliases.
7216 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7217 Define _IO_fsetpos64 and fsetpos64 as aliases.
7218 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7219 Conditionalize body on this.
7220 * libio/fseeko64.c: Likewise.
7221 * libio/ftello64.c: Likewise.
7222 * libio/iofgetpos64.c: Likewise.
7223 * libio/iofsetpos64.c: Likewise.
7224 * sysdeps/wordsize-64/lockf.c: File removed.
7225 * sysdeps/wordsize-64/lockf64.c: File removed.
7226 * sysdeps/wordsize-64/fseeko.c: File removed.
7227 * sysdeps/wordsize-64/fseeko64.c: File removed.
7228 * sysdeps/wordsize-64/ftello.c: File removed.
7229 * sysdeps/wordsize-64/ftello64.c: File removed.
7230 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7231 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7232 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7233 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7234 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7235 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7236 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7237 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7238 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7239 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7242 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7244
7245 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7247 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7249 [defined __arch64__ || defined __sparcv9]
7250 (__OFF_T_MATCHES_OFF64_T): New macro.
7251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7252 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7254 (__OFF_T_MATCHES_OFF64_T): New macro.
7255
c5757acd
L
72562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7257
7258 * stdlib/secure-getenv.c (__secure_getenv): Replace
7259 GLIBC_2_16 with GLIBC_2_17.
7260
3a31811e
L
72612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7262
7263 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7265
faa2bccb
DM
72662012-08-03 David S. Miller <davem@davemloft.net>
7267
7268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7269
85fe1997
JM
72702012-08-03 Joseph Myers <joseph@codesourcery.com>
7271
7272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7273 Remove.
7274 (__ASSUME_CORRECT_SI_PID): Likewise.
7275 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7276 (__ASSUME_TMPFS_NAME): Likewise.
7277 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7278 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7279 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7280 (HAVE_AUX_SECURE): Make definition unconditional.
7281 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7282 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7283
4f75b7a0
RM
72842012-08-03 Roland McGrath <roland@hack.frob.com>
7285
7286 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7287 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7288 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7289 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7290 __eloop_threshold instead of SYMLOOP_MAX.
7291
7292 * sysdeps/generic/eloop-threshold.h: New file.
7293 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7294 of MAXSYMLINKS.
7295 * elf/chroot_canon.c (chroot_canon): Likewise.
7296
7aab07e4
JM
72972012-08-03 Joseph Myers <joseph@codesourcery.com>
7298
7299 [BZ #13717]
7300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7301 Change to 2.6.0 everywhere.
7302 * sysdeps/unix/sysv/linux/configure: Regenerated.
7303 * sysdeps/unix/sysv/linux/kernel-features.h
7304 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7305 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7306 kernel versions.
7307 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7308 (__ASSUME_FUTEX_REQUEUE): Remove.
7309 (__ASSUME_STATFS64): Define unconditionally.
7310 (__ASSUME_AT_SECURE): Likewise.
7311 (__ASSUME_CORRECT_SI_PID): Likewise.
7312 (__ASSUME_TGKILL): Define without depending on kernel version for
7313 i386.
7314 (__ASSUME_UTIMES): Likewise.
7315 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7316 kernel version.
7317 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7318 (__ASSUME_TMPFS_NAME): Likewise.
7319 * README: Update reference to Linux kernel versions.
7320
b67e9372
MP
73212012-08-02 Marek Polacek <polacek@redhat.com>
7322
1f529f7d 7323 [BZ# 14150]
b67e9372
MP
7324 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7325 libc_cv_asm_type_prefix with %.
7326 * configure: Regenerated.
d2441631
RM
7327 * include/libc-symbols.h: Remove comment about
7328 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7329 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7330 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7331 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7332 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7333 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7334 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7335 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7336 * elf/tst-unique2mod1.c: Likewise.
7337 * elf/tst-unique1mod2.c: Likewise.
7338 * elf/tst-unique1mod1.c: Likewise.
7339 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7340 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7341 Replace ASM_TYPE_DIRECTIVE with .type.
7342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7343 * sysdeps/i386/sysdep.h: Likewise.
7344 * sysdeps/x86_64/sysdep.h: Likewise.
7345 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7347 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7348 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7349 * sysdeps/powerpc/powerpc32/sysdep.h:
7350 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7351 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7352 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7353 * sysdeps/i386/fpu/e_powf.S: Likewise.
7354 * sysdeps/i386/fpu/e_expl.S: Likewise.
7355 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7356 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7357 * sysdeps/i386/fpu/e_pow.S: Likewise.
7358 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7359 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7360 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7361 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7362 * sysdeps/i386/fpu/e_log2.S: Likewise.
7363 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7364 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7365 * sysdeps/i386/fpu/e_powl.S: Likewise.
7366 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7367 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7368 * sysdeps/i386/fpu/e_logl.S: Likewise.
7369 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7374 * sysdeps/i386/fpu/e_log.S: Likewise.
7375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7376 * sysdeps/i386/fpu/e_logf.S: Likewise.
7377 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7378 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7379 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7380 * sysdeps/i386/fpu/e_log10.S: Likewise.
7381 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7382 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7383 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7384 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7385 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7386 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7387 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7388 * sysdeps/i386/i686/strtok.S: Likewise.
7389 * sysdeps/i386/i386-mcount.S: Likewise.
7390 * sysdeps/i386/strtok.S: Likewise.
7391 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7395 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7396 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7397 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7398 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7399 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7400 * sysdeps/x86_64/_mcount.S: Likewise.
7401 * sysdeps/x86_64/strtok.S: Likewise.
7402 * sysdeps/sh/_mcount.S: Likewise.
7403
2747bf9a
RM
74042012-08-01 Roland McGrath <roland@hack.frob.com>
7405
7406 * libio/iofopen.c: Include <fcntl.h>.
7407 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7408 (_IO_fopen64, fopen64): Define as aliases.
7409 * libio/iofopen64.c: Include <fcntl.h>.
7410 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7411 Conditionalize body on this.
7412 * sysdeps/wordsize-64/iofopen.c: File removed.
7413 * sysdeps/wordsize-64/iofopen64.c: File removed.
7414
3fb791b8
MP
74152012-08-01 Marek Polacek <polacek@redhat.com>
7416
7417 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7418 Use dlfcn directly instead of a variable.
7419 (binfmt-subdir): Do not define.
7420 (dlfcn): Likewise.
7421
a9f1039f
JM
74222012-08-01 Joseph Myers <joseph@codesourcery.com>
7423
23bddc06
JM
7424 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7425 Remove all definitions.
7426 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7427 <kernel-features.h>.
7428 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7429 (miss_F_GETOWN_EX): Remove all definitions.
7430 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7431 macro definition.
7432 [!__ASSUME_FCNTL64]: Remove conditional code.
7433 [__ASSUME_FCNTL64]: Make code unconditional.
7434 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7435 <kernel-features.h>.
7436 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7437 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7438 (lockf64) [__NR_fcntl64]: Make code unconditional.
7439 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7440
a9f1039f
JM
7441 * sysdeps/unix/sysv/linux/kernel-features.h
7442 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7443 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7444 Make code unconditional.
7445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7448 [__NR_vfork]: Make code unconditional.
7449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7452 [__NR_vfork]: Make code unconditional.
7453 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7454 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7455
09c0ee5f
RM
74562012-08-01 Roland McGrath <roland@hack.frob.com>
7457
48aec5b9
RM
7458 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7459 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7460
cd97c966
RM
7461 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7462 Define mkstemp64 as an alias.
3f55550c
RM
7463 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7464 Define mkstemps64 as an alias.
cd97c966
RM
7465 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7466 Define mkostemp64 as an alias.
b8625cfc
RM
7467 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7468 Define mkostemps64 as an alias.
cd97c966
RM
7469 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7470 Conditionalize body on this.
7471 * misc/mkostemp64.c: Likewise.
b8625cfc 7472 * misc/mkostemps64.c: Likewise.
3f55550c 7473 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7474 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7475 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7476 * sysdeps/wordsize-64/mkostemp.c: File removed.
7477 * sysdeps/wordsize-64/mkstemp.c: File removed.
7478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7479 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7480 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7481 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7482
09c0ee5f
RM
7483 [BZ #14138]
7484 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7485 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7486 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7487 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7488
7489 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7490 compat_symbol macros from <shlib-compat.h> rather than the underlying
7491 default_symbol_version and symbol_version macros, so that DEFAULT
7492 lines in shlib-versions are respected.
7493 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7494
7e66ee51
FW
74952012-08-01 Florian Weimer <fweimer@redhat.com>
7496
7497 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7498 Declare with warn_unused_result.
7499 (setgid, setregid, setegid, setresgid): Likewise.
7500 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7501 Likewise.
7502 * WUR-REPORT: Remove set*id functions.
7503
d2a54255
PT
75042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7505
7506 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7507
7ecdb005
RM
75082012-07-31 Roland McGrath <roland@hack.frob.com>
7509
789bd351
RM
7510 * include/sys/socket.h (__libc_accept, __libc_accept4):
7511 Add attribute_hidden.
7512 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7513
40ce302d
RM
7514 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7515 use of PTR_MANGLE.
7516 * inet/getnetgrent_r.c (setup): Likewise.
7517
7ecdb005
RM
7518 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7519
e2eabb2c
DM
75202012-07-31 David S. Miller <davem@davemloft.net>
7521
7522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7523
d0419dbf
JM
75242012-07-31 Joseph Myers <joseph@codesourcery.com>
7525
7526 [BZ #13629]
7527 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7528 value between 1.0 and 2.0 and smaller part has absolute value less
7529 than 1.0.
7530 * math/s_clog10.c (__clog10): Likewise.
7531 * math/s_clog10f.c (__clog10f): Likewise.
7532 * math/s_clog10l.c (__clog10l): Likewise.
7533 * math/s_clogf.c (__clogf): Likewise.
7534 * math/s_clogl.c (__clogl): Likewise.
7535 * math/libm-test.inc (clog_test): Add more tests.
7536 (clog10_test): Likewise.
7537 * sysdeps/i386/fpu/libm-test-ulps: Update.
7538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7539
2bc13872
FW
75402012-07-31 Florian Weimer <fweimer@redhat.com>
7541
7542 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7543 Exit with zero in case no suitable GID is found, and write a
7544 message to standard error.
7545
bea9b193
RM
75462012-07-30 Roland McGrath <roland@hack.frob.com>
7547
7548 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7549 rather than to 1.
7550 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7551 (MAXPATHLEN): Removed.
7552 (NOGROUP, NODEV): New macros.
7553 (setbit, clrbit, isset, isclr): New macros.
7554 (howmany, roundup, powerof2): New macros.
7555 (DEV_BSIZE): New macro.
7556
7557 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7558 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7559
7560 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7561 definition on [!__NO_LONG_DOUBLE_MATH].
7562
7563 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7564 PTR_MANGLE and PTR_DEMANGLE.
7565
7566 * socket/accept4.c (accept4): Rename to __libc_accept4.
7567 Define accept4 as a weak alias.
7568
7569 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7570 on [_DIRENT_HAVE_D_TYPE].
7571 * io/ftw.c (ftw_dir): Likewise.
7572
7573 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7574
7575 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7576
7577 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7578 Use the BSD numbers rather than the arbitrary ones we had.
7579 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7580 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7581 (SIGXCPU, SIGXFSZ): New macros.
7582 (_NSIG): Now 32.
7583
7584 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7585 initializer on [_LIBC_REENTRANT].
7586
7587 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7588 definitions inside [_POSIX_MAPPED_FILES].
7589
7590 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7591
7592 * dirent/opendir.c: Include <fcntl.h>.
7593
7594 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7595 (__libc_getspecific): Likewise.
7596 (__libc_key_create): Likewise.
7597
7598 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7599 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7600 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7601 (tmpfile64): Define as alias.
7602 * sysdeps/wordsize-64/tmpfile.c: File removed.
7603 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7604 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7605 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7606
7607 * stdio-common/vfscanf.c: Include <stdbool.h>.
7608 * nss/makedb.c: Likewise.
7609 * stdio-common/_i18n_number.h: Likewise.
7610 * argp/argp-help.c: Likewise.
7611 * posix/wordexp.c: Likewise.
7612 * sysdeps/posix/spawni.c: Likewise.
7613 * nss/nss_files/files-initgroups.c: Likewise.
7614 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7615 * nss/nss_files/files-initgroups.c: Likewise.
7616 * nss/nss_db/db-netgrp.c: Likewise.
7617 * nss/nss_db/db-initgroups.c: Likewise.
7618 * io/fchmodat.c: Include <sys/stat.h>.
7619
7620 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7621 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7622
7623 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7624 [HAVE_MMAP].
7625
7626 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7627 Add multiple inclusion protection.
7628
e5abc686
DM
76292012-07-27 David S. Miller <davem@davemloft.net>
7630
7631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7632
815e6fa3
GB
76332012-07-27 Gary Benson <gbenson@redhat.com>
7634
7635 [BZ #14298]
7636 * elf/rtld.c: Include <stap-probe.h>.
7637 (dl_main): Added static probes "init_start" and "init_complete".
7638 * elf/dl-load.c: Include <stap-probe.h>.
7639 (lose): Take new parameter "nsid".
7640 Added static probe "map_failed".
7641 (_dl_map_object_from_fd): Pass namespace id to lose.
7642 Added static probe "map_start".
7643 (open_verify): Pass namespace id to lose.
7644 * elf/dl-open.c: Include <stap-probe.h>.
7645 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7646 and "reloc_complete".
7647 * elf/dl-close.c: Include <stap-probe.h>.
7648 (_dl_close_worker): Added static probes "unmap_start" and
7649 "unmap_complete".
7650 * elf/rtld-debugger-interface.txt: New file documenting the above.
7651
9f98c16c
RM
76522012-07-26 Roland McGrath <roland@hack.frob.com>
7653
7654 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7655 rather than a string variable.
7656 * sunrpc/rpc_main.c (h_output): Likewise.
7657 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7658
f3c22df3
PT
76592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7660
7661 * inet/check_native.c: New file.
7662
3129cfc6
JM
76632012-07-26 Joseph Myers <joseph@codesourcery.com>
7664
da865e95
JM
7665 [BZ #13629]
7666 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7667 if larger part has absolute value 1.0.
7668 * math/s_clog10.c (__clog10): Likewise.
7669 * math/s_clog10f.c (__clog10f): Likewise.
7670 * math/s_clog10l.c (__clog10l): Likewise.
7671 * math/s_clogf.c (__clogf): Likewise.
7672 * math/s_clogl.c (__clogl): Likewise.
7673 * math/libm-test.inc (clog_test): Add more tests.
7674 (clog10_test): Likewise.
7675 * sysdeps/i386/fpu/libm-test-ulps: Update.
7676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7677
3129cfc6
JM
7678 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7679 (pltexit): Likewise.
7680 (La_regs): Likewise.
7681 (La_retval): Likewise.
7682 (int_retval): Likewise.
7683 Update #error for removed macros to refer only to definitions in
7684 tst-audit.h.
7685 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7686 macro.
7687 (pltexit): Likewise.
7688 (La_regs): Likewise.
7689 (La_retval): Likewise.
7690 (int_retval): Likewise.
7691 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7692 macro.
7693 (pltexit): Likewise.
7694 (La_regs): Likewise.
7695 (La_retval): Likewise.
7696 (int_retval): Likewise.
7697 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7698 macro.
7699 (pltexit): Likewise.
7700 (La_regs): Likewise.
7701 (La_retval): Likewise.
7702 (int_retval): Likewise.
7703 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7704 macro.
7705 (pltexit): Likewise.
7706 (La_regs): Likewise.
7707 (La_retval): Likewise.
7708 (int_retval): Likewise.
7709 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7710 macro.
7711 (pltexit): Likewise.
7712 (La_regs): Likewise.
7713 (La_retval): Likewise.
7714 (int_retval): Likewise.
7715 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7716 macro.
7717 (pltexit): Likewise.
7718 (La_regs): Likewise.
7719 (La_retval): Likewise.
7720 (int_retval): Likewise.
7721 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7722 macro definitions in tst-audit.h.
7723 * sysdeps/i386/tst-audit.h: New file.
7724 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7725 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7726 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7727 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7728 * sysdeps/sh/tst-audit.h: Likewise.
7729 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7730 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7731 * sysdeps/x86_64/tst-audit.h: Likewise.
7732
bfc07087
AJ
77332012-07-26 Andreas Jaeger <aj@suse.de>
7734
b1b2aaf8
AJ
7735 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7736 ptrace.
7737
7738 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7739 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7740 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7741 PTRACE_O_MASK.
7742 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7743 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7745
bfc07087
AJ
7746 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7747 value.
7748
7749 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7750 _sigsys.
7751 (si_call_addr, si_syscall, si_arch): Define new macro.
7752 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7753 _sigsys.
7754 (si_call_addr, si_syscall, si_arch): Define new marcro.
7755 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7756 _sigsys.
7757 (si_call_addr, si_syscall, si_arch): Define new macro.
7758 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7759 _sigsys.
7760 (si_call_addr, si_syscall, si_arch): Define new macro.
7761
89b4b02f
JM
77622012-07-25 Joseph Myers <joseph@codesourcery.com>
7763
7764 [BZ #13717]
7765 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7766 Change to 2.4.21 where previously 2.4.1.
7767 * sysdeps/unix/sysv/linux/configure: Regenerated.
7768 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7769 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7770 Linux kernel version.
7771 (__ASSUME_STD_AUXV): Remove.
7772 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7773 kernel version.
7774 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7775 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7776 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7777 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7778 (__ASSUME_NETLINK_SUPPORT): Likewise.
7779 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7780 (__no_netlink_support): Remove conditional definition.
7781 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7782 Remove.
7783 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7784 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7785 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7786 (if_nameindex_ioctl): Remove.
7787 (if_nameindex_netlink): Do not handle __no_netlink_support.
7788 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7789 code.
7790 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7791 Remove conditional code.
7792 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7793 code.
7794 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7795 unconditional.
7796 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7797 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7798 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7799 Remove.
7800 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7801 [!__ASSUME_STD_AUXV]: Remove conditional code.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7803 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7804 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7806 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7807 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7808 code.
7809 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7811 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7812 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7813 conditional code.
7814 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7816 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7817 code.
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7819 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7820 conditional code.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7822 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7823 code unconditional.
7824 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7825 conditional code.
7826 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7827 unconditional.
7828 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7829 conditional code.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7831 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7832 unconditional.
7833 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7834 conditional code.
7835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7836 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7837 code unconditional.
7838 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7839 conditional code.
7840 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7841 unconditional.
7842 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7843 conditional code.
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7845 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7846 code unconditional.
7847 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7848 conditional code.
7849 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7850 unconditional.
7851 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7852 conditional code.
7853
842a39cd
AS
78542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7855
7856 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7857 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7858 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7859 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7860 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7861 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7862 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7863 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7864 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7865 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7866 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7867 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7868 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7869 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7871 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7872 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7873 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7874 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7876 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7877 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7879
84b3fd84
FW
78802012-07-25 Florian Weimer <fweimer@redhat.com>
7881
7882 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7883 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7884 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7885 Introduce __libc_secure_getenv.
0c7936d5
FW
7886 * stdlib/Versions (2.17): Add secure_getenv
7887 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7888 * stdlib/secure-getenv.c: Rename __secure_getenv to
7889 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7890 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7891 * stdlib/tst-secure-getenv.c: New.
7892 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7893 * manual/startup.texi (Environment Access): Document
7894 secure_getenv.
84b3fd84
FW
7895 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7896 __libc_secure_getenv.
7897 * inet/ruserpass.c (ruserpass): Likewise.
7898 * malloc/mtrace.c (mtrace): Likewise.
7899 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7900 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7901 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7902 * sysdeps/posix/tempname.c: Likewise. Evaluate
7903 HAVE_SECURE_GETENV.
7904 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7905 __secure_getenv to __libc_secure_getenv.
84b3fd84 7906 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7908 Likewise.
7909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7910 Likewise.
7911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7918
56e49b71
JM
79192012-07-25 Joseph Myers <joseph@codesourcery.com>
7920
7921 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7922 (struct La_i86_retval): Likewise.
7923 (struct La_x86_64_regs): Likewise.
7924 (struct La_x86_64_retval): Likewise.
7925 (struct La_x32_regs): Likewise.
7926 (struct La_x32_retval): Likewise.
7927 (struct La_ppc32_regs): Likewise.
7928 (struct La_ppc32_retval): Likewise.
7929 (struct La_ppc64_regs): Likewise.
7930 (struct La_ppc64_retval): Likewise.
7931 (struct La_sh_regs): Likewise.
7932 (struct La_sh_retval): Likewise.
7933 (struct La_s390_32_regs): Likewise.
7934 (struct La_s390_32_retval): Likewise.
7935 (struct La_s390_64_regs): Likewise.
7936 (struct La_s390_64_retval): Likewise.
7937 (struct La_sparc32_regs): Likewise.
7938 (struct La_sparc32_retval): Likewise.
7939 (struct La_sparc64_regs): Likewise.
7940 (struct La_sparc64_retval): Likewise.
7941 (struct audit_ifaces): Remove architecture-specific pltenter and
7942 pltexit members.
7943 * sysdeps/i386/ldsodefs.h: New file.
7944 * sysdeps/powerpc/ldsodefs.h: Likewise.
7945 * sysdeps/s390/ldsodefs.h: Likewise.
7946 * sysdeps/sh/ldsodefs.h: Likewise.
7947 * sysdeps/sparc/ldsodefs.h: Likewise.
7948 * sysdeps/x86_64/ldsodefs.h: Likewise.
7949
354691b7
MP
79502012-07-25 Marek Polacek <polacek@redhat.com>
7951
7952 [BZ #6808]
7953 * math/libm-test.inc (yn_test): Add another test.
7954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7955 to ERANGE when the result is +-Inf.
7956 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7957 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7958 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7959 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7960
bf9e2071
JM
79612012-07-24 Joseph Myers <joseph@codesourcery.com>
7962
7963 * conform/data/time.h-data (NULL): Use macro-constant. Require
7964 equal to 0.
7965 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7966 clock_t.
7967 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7968
57633811
TS
79692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7970
7971 * configure.in <sysdeps resolving>: Correct printing
7972 Implies_before.
7973 * configure: Regenerate.
7974
c23c33b0
TS
79752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7976
7977 * math/w_ilogb.c: Include <limits.h>.
7978 * math/w_ilogbl.c: Likewise.
7979
b5982523
JM
79802012-07-20 Joseph Myers <joseph@codesourcery.com>
7981
7982 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7983 va_copy. Document allowing for unavailable va_copy only as
7984 pre-C99 compatibility.
7985 * manual/string.texi (Copying and Concatenation): Use va_copy
7986 instead of __va_copy in concat example.
7987
ac4ea442
PT
79882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7989
7990 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7991 (__sendto): Use create_address_port. Initialize APORT and deallocate
7992 it if not null.
7993
f98eafbd
PT
7994 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7995 with O_NOLINK passed to __file_name_lookup.
7996
898c7aab
PT
7997 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7998 with O_NOLINK passed to __file_name_lookup.
7999
0ced335a
PT
8000 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8001 negative N or less than NGIDS.
8002
b3404dbd
PT
8003 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8004 type to string_t. Set ERANGE as errno and return it if NAME is not big
8005 enough. Use memcpy instead of strncpy.
8006
0f48659e
JM
80072012-07-20 Joseph Myers <joseph@codesourcery.com>
8008
8009 * elf/Makefile (check-data): Remove.
8010 (localplt.data): New vpath directive.
8011 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8012 instead of $(check-data).
8013 * scripts/data/localplt-generic.data: Move to ...
8014 * sysdeps/generic/localplt.data: ... here.
8015 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8016 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8017 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8019 ... here.
8020 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8022 ... here.
8023 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8025 ... here.
8026 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8028 ... here.
8029 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8031 ... here.
8032 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8034 ... here.
8035
d37cbdaa
AZ
80362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8037
8038 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8039 PPC32 and PPC64 files.
8040 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8041 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8042
46f85fc2
AK
80432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8044
8045 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8046 __makecontext_ret to ...
8047 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8048 ... here and call exit if uc_link is NULL. New file.
8049 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8050 __makecontext_ret.S.
8051 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8052 __makecontext_ret to ...
8053 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8054 ... here and call exit if uc_link is NULL. New file.
8055 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8056 __makecontext_ret.S.
8057
08f43f9b
AK
80582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8059
8060 * elf/elf.h (R_390_IRELATIVE): New definition.
8061 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8062 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8063 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8064 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8065 (elf_machine_lazy_rel): Likewise.
8066 * sysdeps/s390/dl-irel.h: New file.
8067 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8068 * sysdeps/s390/s390-64/memset.S: New asm code.
8069 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8070 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8071 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8072 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8073 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8074 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8075 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8076 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8077 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8078 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8079 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8080 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8081 * sysdeps/s390/s390-32/memset.S: New asm code.
8082 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8083
3b05db33
MP
80842012-07-17 Marek Polacek <polacek@redhat.com>
8085
8086 [BZ #14349]
8087 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8088 * sysdeps/s390/s390-64/configure.in: Likewise.
8089 * sysdeps/sparc/configure.in: Likewise.
8090 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8091 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8092 * sysdeps/i386/configure.in: Likewise.
8093 * sysdeps/x86_64/configure.in: Likewise.
8094 * sysdeps/sh/configure.in: Likewise.
8095 * sysdeps/s390/s390-32/configure: Regenerated.
8096 * sysdeps/s390/s390-64/configure: Likewise.
8097 * sysdeps/x86_64/configure: Likewise.
8098 * sysdeps/sh/configure: Likewise.
8099 * sysdeps/powerpc/powerpc64/configure: Likewise.
8100 * sysdeps/powerpc/powerpc32/configure: Likewise.
8101 * sysdeps/sparc/configure: Likwise.
8102 * sysdeps/i386/configure: Likewise.
8103
a66877c6
MP
8104 * elf/dl-open.c: Comment fixes.
8105
cfc82fd8
JM
81062012-07-17 Joseph Myers <joseph@codesourcery.com>
8107
bd29910a
JM
8108 * Makefile [CXX] (check-data): Remove.
8109 [CXX] (c++-types.data): New vpath directive.
8110 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8111 vpath. Do not allow for C++ type data being missing.
8112 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8113 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8114 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8115 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8116 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8117 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8118 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8120 ... here.
8121 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8123 ... here.
8124 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8126 ... here.
8127 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8129 ... here.
8130 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8132 ... here.
8133 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8135 ... here.
8136 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8138 ... here.
8139 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8141
cfc82fd8
JM
8142 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8143 definitions to architecture-specific files.
8144 (TLS_IE): Likewise.
8145 (TLS_LD): Likewise.
8146 (TLS_GD): Likewise.
8147 * sysdeps/i386/tls-macros.h: New file.
8148 * sysdeps/powerpc/tls-macros.h: Likewise.
8149 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8150 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8151 * sysdeps/sh/tls-macros.h: Likewise.
8152 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8153 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8154 * sysdeps/x86_64/tls-macros.h: Likewise.
8155
f7db3170
TS
81562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8157
07cbfc23
TS
8158 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8159 zero value for regular exit case.
8160
f7db3170
TS
8161 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8162 (__start_context): Preserve zero value for regular exit case.
8163
dc97c227
TS
81642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8165 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8166
8167 * manual/setjmp.texi (setcontext): Clarify normal process
8168 termination when uc_link is the null pointer.
8169 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8170 exit call.
8171
d0cd7d02
AS
81722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8173
8174 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8175 preprocessor. Test for each exception mask separately.
8176
dd318934
AJ
81772012-07-16 Andreas Jaeger <aj@suse.de>
8178
8179 * po/ru.po: Update from translation team.
8180
8048311a
JM
81812012-07-15 Joseph Myers <joseph@codesourcery.com>
8182
8183 * conform/data/string.h-data (NULL): Use macro-constant. Require
8184 equal to 0.
8185 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8186 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8187 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8188 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8190
b637d46e
AJ
81912012-07-13 Andreas Jaeger <aj@suse.de>
8192
8193 * po/fr.po: Update from translation team.
8194
541428fe
MP
81952012-07-12 Marek Polacek <polacek@redhat.com>
8196
8197 [BZ #14173]
8198 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8199 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8200 loop condition.
8201
ec332e94
JM
82022012-07-12 Joseph Myers <joseph@codesourcery.com>
8203
8204 [BZ #13717]
8205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8206 Change to 2.4.1 where previously 2.4.0.
8207 * sysdeps/unix/sysv/linux/configure: Regenerated.
8208 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8209 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8210 version.
8211 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8212 (__ASSUME_AT_CLKTCK): Remove.
8213 (__ASSUME_AT_PAGESIZE): Likewise.
8214 (__ASSUME_AT_XID): Likewise.
8215 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8216 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8217 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8218 unconditionally.
8219 (HAVE_AUX_PAGESIZE): Likewise.
8220 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8221 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8222 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8223
7b6e99be
JB
82242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8225
8226 [BZ #14307]
8227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8228 the temporary buffer used to invoke __gethostbyname2_r,
8229 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8230 host_data / struct gaih_addrtuple.
8231 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8232 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8233 header file nss/nsswitch.h.
8234 * nss/nsswitch.h (global scope): Add definition of implementation
8235 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8236 resolv/nss_dns/dns-host.c).
8237
608404eb
AJ
82382012-07-11 Andreas Jaeger <aj@suse.de>
8239
8240 * po/fr.po: Update from translation team.
8241
71220aca
AJ
8242 * po/sv.po: Update from translation team
8243 * po/fr.po: Another update from translation team.
8244
28cfe843
AZ
82452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8246
8247 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8248 for subnormals or multiply small sinh result by itself.
8249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8251
6b90f981
DM
82522012-07-11 David S. Miller <davem@davemloft.net>
8253
8254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8255
c6825772
AS
82562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8257
8258 [BZ #14347]
8259 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8260 (INTERNAL_MARK): Shift it here.
8261
7b8e0d49
MP
82622012-07-10 Marek Polacek <polacek@redhat.com>
8263
8264 [BZ #14151]
8265 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8266 libc_cv_asm_global_directive with .globl.
8267 * configure: Regenerated.
8268 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8269 with .globl.
8270 * sysdeps/i386/configure: Regenerated.
8271 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8272 with .globl.
8273 * sysdeps/x86_64/configure: Regenerated.
8274 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8275 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8276 * elf/tst-unique2mod2.c: Likewise.
8277 * elf/tst-unique2mod1.c: Likewise.
8278 * elf/tst-unique1mod2.c: Likewise.
8279 * elf/tst-unique1mod1.c: Likewise.
8280 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8281 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8282 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8283 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8284 * sysdeps/mach/sysdep.h: Likewise.
8285 * sysdeps/i386/sysdep.h: Likewise.
8286 * sysdeps/i386/i386-mcount.S: Likewise.
8287 * sysdeps/x86_64/_mcount.S: Likewise.
8288 * sysdeps/x86_64/sysdep.h: Likewise.
8289 * sysdeps/sh/_mcount.S: Likewise.
8290 * sysdeps/sh/sysdep.h: Likewise.
8291 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8292 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8293 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8294 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8295 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8296 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8297 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8298 * locale/localeinfo.h: Likewise.
8299 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8300 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8301
6c55cda3
RM
83022012-07-09 Roland McGrath <roland@hack.frob.com>
8303
8304 [BZ #14336]
8305 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8306 system".
8307 * manual/message.texi (The Uniforum approach): Likewise.
8308 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8309 (glibc iconv Implementation): Likewise.
8310
638a572e
JM
83112012-07-09 Joseph Myers <joseph@codesourcery.com>
8312
8313 [BZ #14337]
8314 * math/s_clog.c (__clog): Avoid scaling a value down where that
8315 could result in underflow.
8316 * math/s_clog10.c (__clog10): Likewise.
8317 * math/s_clog10f.c (__clog10f): Likewise.
8318 * math/s_clog10l.c (__clog10l): Likewise.
8319 * math/s_clogf.c (__clogf): Likewise.
8320 * math/s_clogl.c (__clogl): Likewise.
8321 * math/libm-test.inc (clog_test): Add more tests.
8322 (clog10_test): Likewise.
8323 * sysdeps/i386/fpu/libm-test-ulps: Update.
8324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8325
261f4859
AS
83262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8327
0abaf3e4
AS
8328 [BZ #14283]
8329 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8330 by 7 not 8 to examine high bit of fractional part.
8331
261f4859
AS
8332 [BZ #14042]
8333 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8334 for call to __mcount_internal.
8335 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8336 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8337 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8338
f17ac40d
JM
83392012-07-06 Joseph Myers <joseph@codesourcery.com>
8340
9ad63c23
JM
8341 [BZ #14154]
8342 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8343 approximation for values within 0x1p-13f of an odd multiple of
8344 pi/4.
8345 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8346 exception. Add more tests.
8347 * sysdeps/i386/fpu/libm-test-ulps: Update.
8348
f17ac40d
JM
8349 [BZ #6778]
8350 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8351 inputs and return -1 for them. Do not check for +Inf in case not
8352 reachable for +Inf.
8353 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8354 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8355 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8356 and return -1 for them. Do not check for +Inf in case not
8357 reachable for +Inf.
8358 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8359 define.
8360 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8361 and return -1 for them. Do not check for +Inf in case not
8362 reachable for +Inf.
8363 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8364 spurious underflow.
8365 * sysdeps/i386/fpu/libm-test-ulps: Update.
8366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8367
fb21f89b
MF
83682012-07-06 Mike Frysinger <vapier@gentoo.org>
8369
8370 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8371
cdfe2c5e
JM
83722012-07-05 Joseph Myers <joseph@codesourcery.com>
8373
8374 [BZ #14157]
8375 [BZ #14331]
8376 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8377 could result in spurious underflow. Scale down values above
8378 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8379 * math/s_csqrtf.c (__csqrtf): Likewise.
8380 * math/s_csqrtl.c (__csqrtl): Likewise.
8381 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8382 spurious underflow.
8383 * sysdeps/i386/fpu/libm-test-ulps: Update.
8384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8385
70d35b67
AS
83862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8387
704bc459
AS
8388 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8389 xopen-msg.sed.
8390 * catgets/xopen-msg.awk: New file.
8391 * catgets/xopen-msg.sed: Removed.
8392
70d35b67
AS
8393 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8394 po2text.sed.
8395 * intl/po2test.awk: New file.
8396 * intl/po2test.sed: Removed.
8397
ca61cf32
JM
83982012-07-04 Joseph Myers <joseph@codesourcery.com>
8399
8400 [BZ #14328]
8401 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8402 or multiply small sinh result by itself.
8403 * math/s_ctanf.c (__ctanf): Likewise.
8404 * math/s_ctanh.c (__ctanh): Likewise.
8405 * math/s_ctanhf.c (__ctanhf): Likewise.
8406 * math/s_ctanhl.c (__ctanhl): Likewise.
8407 * math/s_ctanl.c (__ctanl): Likewise.
8408 * math/libm-test.inc (ctan_test_tonearest): New function.
8409 (ctan_test_towardzero): Likewise.
8410 (ctan_test_downward): Likewise.
8411 (ctan_test_upward): Likewise.
8412 (ctanh_test_tonearest): Likewise.
8413 (ctanh_test_towardzero): Likewise.
8414 (ctanh_test_downward): Likewise.
8415 (ctanh_test_upward): Likewise.
8416 (main): Call these new functions.
8417 * sysdeps/i386/fpu/libm-test-ulps: Update.
8418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8419
ca48a46a
MF
84202012-07-03 Mike Frysinger <vapier@gentoo.org>
8421
8422 * .gitignore: Delete /ports entry.
8423
9d63d37d
AJ
84242012-07-03 Andreas Jaeger <aj@suse.de>
8425
8426 * po/bg.po: Update from translation team.
8427 * po/cs.po: Likewise.
8428 * po/de.po: Likewise.
8429 * po/hr.po: Likewise.
8430 * po/nl.pl: Likewise.
8431 * po/pl.po: Likewise.
8432 * po/vi.po: Likewise.
8433
370ca3d2
JM
84342012-07-03 Joseph Myers <joseph@codesourcery.com>
8435
95f5a9a8
JM
8436 * Makeconfig [!+link] (+link-before-libc): New variable.
8437 [!+link] (+link-after-libc): Likewise.
8438 [!+link] (+link-tests): Likewise.
8439 [!+link] (+link): Define in terms of $(+link-before-libc) and
8440 $(+link-after-libc).
8441 [!+link-static] (+link-static-before-libc): New variable.
8442 [!+link-static] (+link-static-after-libc): Likewise.
8443 [!+link-static] (+link-static-tests): Likewise.
8444 [!+link-static] (+link-static): Define in terms of
8445 $(+link-static-before-libc) and $(+link-static-after-libc).
8446 [build-shared] (link-libc-before-gnulib): New variable.
8447 [build-shared] (link-libc-tests): Likewise.
8448 [build-shared] (link-libc): Define in terms of
8449 $(link-libc-before-gnulib).
8450 [!build-shared] (link-libc-tests): New variable.
8451 (link-libc-static-tests): New variable.
8452 [!gnulib] (gnulib-arch): New variable.
8453 [!gnulib] (gnulib-tests): Likewise.
8454 [!gnulib] (static-gnulib-arch): Likewise.
8455 [!gnulib] (static-gnulib-tests): Likewise.
8456 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8457 Define with "=" instead of ":=".
8458 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8459 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8460 * Rules (binaries-all-notests): New variable.
8461 (binaries-all-tests): Likewise.
8462 (binaries-static-notests): Likewise.
8463 (binaries-static-tests): Likewise.
8464 (binaries-all): Define using $(binaries-all-notests) and
8465 $(binaries-all-tests).
8466 (binaries-static): Define using $(binaries-static-notests) and
8467 $(binaries-static-tests).
8468 (binaries-shared-tests): New variable.
8469 (binaries-shared-notests): Likewise.
8470 (binaries-shared): Remove variable.
8471 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8472 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8473 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8474 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8475 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8476 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8477 * elf/Makefile (sln-modules): New variable.
8478 (extra-objs): Add $(sln-modules:=.o).
8479 (ldconfig-modules): Add static-stubs.
8480 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8481 * elf/static-stubs.c: New file.
8482
7a845b2c
JM
8483 [BZ #14283]
8484 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8485 by 7 not 8 to examine high bit of fractional part. Use volatile
8486 variables when splitting into final array of floats if
8487 __FLT_EVAL_METHOD__ != 0.
8488 * math/libm-test.inc (cos_test): Add another test.
8489 (sin_test): Likewise.
8490 * sysdeps/i386/fpu/libm-test-ulps: Update.
8491
e2283f38
JM
8492 [BZ #14273]
8493 * math/libm-test.inc (cosh_test): Add more tests.
8494
370ca3d2
JM
8495 * version.h (RELEASE): Set to "development".
8496 (VERSION): Set to "2.16.90".
8497
ee9247c3
CD
84982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8499
8500 * NEWS: Update copyright. Remove last-updated date.
8501 Mention math library bug fixes and timezone data changes.
8502 * README: Mention GNU/Hurd, x32, and HPPA support status.
8503
4648c381
TS
85042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8505
8506 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8507
aac78a43
AJ
85082012-06-27 Andreas Jaeger <aj@suse.de>
8509
8510 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8511
ed3dbfad
AJ
85122012-06-25 Andreas Jaeger <aj@suse.de>
8513
8514 * sysdeps/s390/fpu/libm-test-ulps: Update.
8515
4d0ee855
AS
85162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8517 Thomas Schwinge <thomas@codesourcery.com>
8518
8519 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8520 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8522 fanotify_mark.
8523
af1bce34
TS
85242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8525
a9fa33ba
TS
8526 * sysdeps/mach/start.c: Remove file.
8527 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8528 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8529 * sysdeps/sh/init-first.c: Likewise.
8530
58f902b8
TS
8531 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8532 registers for frame unwinding purposes, add CFI directives.
8533 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8534 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8535 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8536 Likewise.
8537
1518f58b
TS
8538 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8539 __fortify_fail returning.
8540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8541
db9b5059
TS
8542 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8543 sysdeps/sh/____longjmp_chk.S.
8544 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8545 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8546 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8547 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8548
967705fe
TS
8549 * sysdeps/sh/abort-instr.h: New file.
8550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8551 process in case exit returns.
8552
a9def8c4
TS
8553 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8554 initialize the GOT register before use.
8555
2a649725
TS
8556 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8557 calculation of ARGC > 4.
8558
af1bce34
TS
8559 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8560 meaningful names to some local labels.
8561
d230f50a
KK
85622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8563 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8564
8565 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8566 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8567 (__arch_compare_and_exchange_val_16_acq): Likewise.
8568 (__arch_compare_and_exchange_val_32_acq): Likewise.
8569 (atomic_exchange_and_add): Fix gUSA sequence.
8570 (atomic_add): Likewise.
8571 (atomic_add_negative): Likewise.
8572 (atomic_add_zero): Likewise.
8573 (atomic_bit_test_set): Likewise.
8574
0479b305
AS
85752012-06-22 Andreas Schwab <schwab@redhat.com>
8576
8577 [BZ #13579]
8578 * include/link.h (struct link_map): Add l_free_initfini.
8579 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8580 l_initfini.
8581 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8582 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8583 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8584 set.
8585
0e3933b9
CD
85862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8587
8588 * configure.in: Use AC_LANG_SOURCE.
8589 * configure: Regenerate.
8590
4248b1b1
RM
85912012-06-22 Roland McGrath <roland@hack.frob.com>
8592
8593 * configure.in (libc_cv_localstatedir): New substituted variable.
8594 * configure: Regenerated.
8595 * config.make.in (localstatedir): New variable, substituted from
8596 libc_cv_localstatedir.
8597 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8598 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8599 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8600 * sysdeps/gnu/configure: Regenerated.
8601
006dd861
JL
86022012-06-21 Jeff Law <law@redhat.com>
8603
8604 [BZ #14277]
8605 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8606 free. Simplify list management for _LIBC case.
8607
79662d42
JM
86082012-06-21 Joseph Myers <joseph@codesourcery.com>
8609
b7abb4bf
JM
8610 [BZ #14273]
8611 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8612 Clear sign bit of 64-bit integer value before comparing against
8613 overflow value.
8614
79662d42
JM
8615 * sysdeps/mach/configure: Regenerated.
8616
1f150908
L
86172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8618
8619 [BZ #14278]
8620 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8621
28363bbf
JL
86222012-06-21 Jeff Law <law@redhat.com>
8623
8624 [BZ #13882]
8625 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8626 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8628 * elf/dl-open.c (dl_open_worker): Likewise.
8629
09615db4
CD
86302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8631
8632 * scripts/list-sources.sh: Scan PORTS for translations.
8633 * po/libc.pot: Regenerated.
8634
2174c6dd
AJ
86352012-06-21 Andreas Jaeger <aj@suse.de>
8636
8637 [BZ #12194]
8638 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8639 warning.
8640 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8641 * bits/byteswap-16.h (__bswap_16): Likewise.
8642 * bits/byteswap.h (__bswap_constant_16): Likewise.
8643
3ee947b1
L
86442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8645
8646 [BZ #14117]
a2f34833
L
8647 * sysdeps/i386/fpu_control.h: Removed.
8648 * sysdeps/x86_64/fpu_control.h: Moved to ...
8649 * sysdeps/x86/fpu_control.h: Here.
8650
3ee947b1
L
8651 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8652 (_FPU_SETCW): Likewise.
8653
ed1825f8
L
86542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8655
25f1282a
L
8656 [BZ #14117]
8657 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8658 * sysdeps/x86/fpu/bits/mathinline.h: This.
8659 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8660
ed1825f8
L
8661 [BZ #14050]
8662 [BZ #14117]
8663 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8664 functions if __x86_64__ is defined.
8665
36d54b74
CLT
86662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8667
8668 * string/endian.h: Add !__ASSEMBLER__ condition for including
8669 conversion interfaces.
8670
10285c21
JM
86712012-06-15 Joseph Myers <joseph@codesourcery.com>
8672
8673 [BZ #14241]
8674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8675 of ABS(x) in calculating zero to negative powers other than odd
8676 integers.
8677 * math/libm-test.inc (pow_test): Add more tests.
8678
06c5abbd
AJ
86792012-06-15 Andreas Jaeger <aj@suse.de>
8680
8681 * manual/contrib.texi (Contributors): Update entry of Liubov
8682 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8683 Machado Filho.
8684
a3aeac40
CH
86852012-06-15 Cyril Hrubis <metan@ucw.cz>
8686
8687 * string/string.h: Add __wur to GNU version of strerror_r.
8688
49bdf4c1
L
86892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8690
8691 [BZ #14229]
8692 * string/Makefile (tests): Add tst-strtok_r.
8693 * string/tst-strtok_r.c: New file.
8694 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8695 RAX_LP/RDX_LP on SAVE_PTR.
8696
834f9b8d
RM
86972012-06-14 Roland McGrath <roland@hack.frob.com>
8698
8699 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8700
75fa1921
JM
87012012-06-14 Joseph Myers <joseph@codesourcery.com>
8702
8703 * libm_test.inc (csqrt_test): Allow more spurious underflow
8704 exceptions.
8705 (j0_test): Likewise.
8706 (j1_test): Likewise.
8707 (y0_test): Likewise.
8708 (y1_test): Likewise.
8709
771766df
CD
87102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8711
8712 * po/Makefile (libc.pot): Use UTF-8 charset.
8713
ceb9e56b
PP
87142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8715
8716 [BZ #14210]
8717 Suppress sign-conversion warning from FD_SET.
8718 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8719 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8720 not unsigned long int.
8721 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8722
ddb28975
L
87232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8724
8725 [BZ #14050]
8726 [BZ #14117]
8727 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8728 __extern_always_inline instead of __extern_inline.
8729 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8730 (__signbit): Likewise.
8731 (__signbitl): Support C++ namespace.
8732 (lrintf): New inline function.
8733 (lrint): Likewise.
8734 (llrintf): Likewise.
8735 (llrint): Likewise.
8736 (fmaxf): Likewise.
8737 (fmax): Likewise.
8738 (fminf): Likewise.
8739 (fmin): Likewise.
8740 (rint): Likewise.
8741 (rintf): Likewise.
8742 (ceil): Likewise.
8743 (ceilf): Likewise.
8744 (floor): Likewise.
8745 (floorf): Likewise.
8746 (nearbyint): Likewise.
8747 (nearbyintf): Likewise.
8748
d7b4fb26
TS
87492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8750
8751 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8752 non-default versions.
8753
eb55f5c2
RM
87542012-06-11 Roland McGrath <roland@hack.frob.com>
8755
8756 [BZ #14218]
8757 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8758
366af02c
TS
87592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8760
99ff6e5c
TS
8761 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8762 (FE_UPWARD, FE_DOWNWARD): Don't define.
8763 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8764 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8765
366af02c
TS
8766 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8767 reading it.
8768 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8769 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8770
793ea851
KK
87712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8772
8773 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8775 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8776 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8777
a728a38f
L
87782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8779
8780 [BZ #14117]
c08010c7
L
8781 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8782 * sysdeps/i386/fpu/Implies: New file.
8783 * sysdeps/x86_64/fpu/Implies: Likewise.
8784 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8785 * sysdeps/x86/fpu/bits/fenv.h: This.
8786
a728a38f
L
8787 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8788 __SSE_MATH__.
8789
6e230d11
SP
87902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8791
8792 [BZ #14134]
8793 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8794 character 0xffff that matches the last element of the
8795 conversion table.
8796
1b671feb
AZ
87972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8798
8799 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8800 fmodl commit.
8801
6043738b
AZ
88022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8803
8804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8805 values higher than 25.6283.
8806
34ae0b32
AZ
88072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8808
8809 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8810 subnormal exponent extraction and add some __builtin_expect.
8811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8812 Fix for subnormal mantissa calculation.
8813
1214ec8f
MF
88142012-06-04 Mike Frysinger <vapier@gentoo.org>
8815
8816 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8817 cpu2 is -1 and errno is not ENOSYS.
8818
f3d1f93c
L
88192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8820
8821 [BZ #14117]
0e4a3cd7
L
8822 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8823 * sysdeps/x86/bits/string.h: This.
8824 * sysdeps/x86_64/bits/string.h: Removed.
8825
6704c645
L
8826 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8827 if not compiling for x86-64, but compiling for >= i486.
8828
48495318
L
8829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8830 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8831
14adcbfc
L
8832 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8833 New macro from Linux kernel 3.4.0.
8834 (FP_XSTATE_MAGIC2): Likewise.
8835 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8836 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8837 (struct _fpx_sw_bytes): New struct.
8838 (struct _xsave_hdr): Likewise.
8839 (struct _ymmh_state): Likewise.
8840 (struct _xstate): Likewise.
8841
68e408ab
L
8842 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8843 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8844 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8845 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8846 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8847 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8848
f3d1f93c
L
8849 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8850 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8851 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8852 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8853 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8854 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8855
d9dc34cd
TMQMF
88562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8857
8858 [BZ #13743]
8859 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8860 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8861 (sysdep_headers): Include sys/platform/ppc.h.
8862 * sysdeps/powerpc/test-gettimebase.c: Test for
8863 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8864 * manual/Makefile (appendices): Include platform.texi.
8865 * manual/contrib.texi (Contributors): Update @node pointers.
8866 * manual/maint.texi (Maintenance): Likewise.
8867 (Platform): New node.
8868 * manual/platform.texi: New file. Document the new features.
8869
4af3879c
SP
88702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8871 Jakub Jelinek <jakub@redhat.com>
8872
8873 [BZ #14188]
8874 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8875 where __builtin_expect is unavailable.
8876
2fd6ff13
DM
88772012-06-03 David S. Miller <davem@davemloft.net>
8878
8879 * stdlib/longlong.h: Updated from GCC.
8880
173f7220
AS
88812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8882
8883 [BZ #14042]
8884 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8885 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8886 __mcount_internal.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8888 (GLIBC_2.16): Likewise.
8889
f34a1c6f
L
88902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8891
8892 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8893
88a4576f
JM
88942012-06-01 Joseph Myers <joseph@codesourcery.com>
8895
ea32bcdd
JM
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8897 (default-abi): New variable.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8899 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8900 variable.
8901 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8902 Likewise.
8903 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8904 Likewise.
8905 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8906 Likewise.
8907
88a4576f
JM
8908 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8909 definition. Document in comment.
8910
402fe938
DM
89112012-06-01 David S. Miller <davem@davemloft.net>
8912
8913 * stdlib/longlong.h: Updated from GCC.
8914
3553723f
L
89152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 [BZ #14117]
3bd872c4
L
8918 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8919 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8920 sys/debugreg.h sys/io.h here.
8921 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8922 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8923 sys/io.h.
8924 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8925 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8926 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8927 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8928 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8929 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8930
3553723f
L
8931 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8932 Define only if __x86_64__ is defined.
8933
4842e4fe
JM
89342012-06-01 Joseph Myers <joseph@codesourcery.com>
8935
c5bfe3d5
JM
8936 [BZ #14048]
8937 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8938 Use int64_t for variable i.
8939 * math/libm-test.inc (fmod_test): Add more tests.
8940
4842e4fe
JM
8941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8942 z computation is not scheduled after fetestexcept.
8943 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8944 Use math_force_eval instead of asm to ensure calculation scheduled
8945 before exception test.
8946 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8947 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8948
efb73488
AJ
89492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8950
8951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8952 computation is not scheduled after fetestexcept.
8953
29bcce7c
L
89542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8955
8956 [BZ #14117]
8957 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8958 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8959
73a68f94
AZ
89602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8961
8962 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8963 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8964
67b6df78
L
89652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8966
edf2933a 8967 [BZ #14117]
ebc64a18
L
8968 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8969 <bits/wordsize.h>.
8970 (__WCHAR_MIN): Support __WORDSIZE == 64.
8971 (__WCHAR_MAX): Likewise.
8972
edf2933a
L
8973 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8974 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8975
57c6cf40
L
8976 [BZ #14183]
8977 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8978 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8979
67b6df78 8980 [BZ #14117]
8eb6281e
L
8981 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8982 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8983
aac639f4
L
8984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8985 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8986
67b6df78
L
8987 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8988 Defined to 1 if __x86_64__ isn't defined.
8989 (_STAT_VER_LINUX_OLD): New.
8990 (st_atime): Remove duplicate.
8991 (st_mtime): Likewise.
8992 (st_ctime): Likewise.
8993
1c2cfe81
DM
89942012-05-31 David S. Miller <davem@davemloft.net>
8995
8996 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8997 entries.
8998
5be8418c
AS
89992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9000
e7725326
AS
9001 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9002 gen-libm-test.pl.
9003
5be8418c
AS
9004 [BZ #14132]
9005 * elf/dl-reloc.c: Include <_itoa.h>.
9006 (_dl_reloc_bad_type): Remove use of INTUSE.
9007 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9008 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9009 * stdio-common/psiginfo.c (psiginfo): Likewise.
9010 * stdio-common/psignal.c (psignal): Likewise.
9011 * string/strsignal.c (strsignal): Likewise.
9012 * include/signal.h (_sys_siglist): Declare hidden proto.
9013 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9014 INTVARDEF with libc_hidden_data_def.
9015 * stdio-common/itoa-udigits.c: Likewise.
9016 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9017 (_itoa_lower_digits_internal): Remove declaration.
9018 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9019 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9020 (_sys_sigabbrev_internal): Remove aliases.
9021 (_sys_siglist): Define hidden alias.
9022
507352f1
MT
90232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9024
9025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9026 bits/sysctl.h.
9027
42bbb1c3
L
90282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9029
9030 [BZ #14117]
6bd784b6
L
9031 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9032 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9033
8bca20f0
L
9034 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9035 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9036 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9037 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9038 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9039 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9040
f9e890a9
L
9041 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9042 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9043 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9044
471101a1
L
9045 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9046 with __addr.
9047 (insw): Likewise.
9048 (insl): Likewise.
9049 (outsb): Likewise.
9050 (outsw): Likewise.
9051 (outsl): Likewise.
9052
6451c862
L
9053 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9054 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9055 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9056
a254b8c9
L
9057 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9058 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9059 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9060 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9061 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9062 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9063
b8dfdd92
L
9064 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9065 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9066
578cd270
L
9067 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9068 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9069
de662f5f
L
9070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9072 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9073
25653439
L
9074 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9075 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9076 to ...
9077 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9078
6bad24a0
L
9079 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9080 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9081 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9082
42bbb1c3
L
9083 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9084 for x86-64.
9085 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9086
2d10d547
JM
90872012-05-31 Joseph Myers <joseph@codesourcery.com>
9088
9089 * math/math.h (M_El): Use two more decimal places.
9090 (M_LOG2El): Likewise.
9091 (M_LOG10El): Likewise.
9092 (M_LN2l): Likewise.
9093 (M_LN10l): Likewise.
9094 (M_PIl): Likewise.
9095 (M_PI_2l): Likewise.
9096 (M_PI_4l): Likewise.
9097 (M_1_PIl): Likewise.
9098 (M_2_PIl): Likewise.
9099 (M_2_SQRTPIl): Likewise.
9100 (M_SQRT2l): Likewise.
9101 (M_SQRT1_2l): Likewise.
9102
f230c29b
DM
91032012-05-31 David S. Miller <davem@davemloft.net>
9104
9105 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9106 values between float registers.
9107 * sysdeps/sparc/sparc64/memset.S: Likewise.
9108 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9109
fed806c3
MF
91102012-05-31 Mike Frysinger <vapier@gentoo.org>
9111
9112 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9113 -D_FORTIFY_SOURCE=1.
9114 (CPPFLAGS-tst-longjmp_chk.c): Define.
9115 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9116 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9117 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9118 CFLAGS-tst-wchar-h.c.
9119
30917259
MP
91202012-05-31 Marek Polacek <polacek@redhat.com>
9121
9122 [BZ #14132]
9123 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9124 __endmntent_internal): Remove declaration.
9125 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9126 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9127 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9128
1c58d5dc
DM
91292012-05-30 David S. Miller <davem@davemloft.net>
9130
9131 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9132 (___Q_simulate_exceptions): Use real FP ops rather than writing
9133 into the %fsr.
9134 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9135 Likewise.
9136
7dc00e0d
L
91372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 [BZ #14117]
0bd53985
L
9140 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9141 * sysdeps/x86/bits/xtitypes.h: This.
9142
3a257e66
L
9143 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9144 * sysdeps/x86/bits/wordsize.h: This.
9145
62f62904
L
9146 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9147 * sysdeps/x86/bits/huge_vall.h: This.
9148
404fe9d9
L
9149 * sysdeps/i386/bits/select.h: Removed.
9150 * sysdeps/x86_64/bits/select.h: Renamed to ...
9151 * sysdeps/x86/bits/select.h: This.
9152
d48d0446
L
9153 * sysdeps/i386/bits/setjmp.h: Removed.
9154 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9155 * sysdeps/x86/bits/setjmp.h: This.
9156
7dc00e0d
L
9157 * sysdeps/i386/bits/mathdef.h: Removed.
9158 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9159 * sysdeps/x86/bits/mathdef.h: This.
9160
03277f8f
AS
91612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9162
9163 [BZ #14132]
9164 * include/sys/socket.h (__connect_internal)
9165 (__libc_sa_len_internal): Remove declaration.
9166 (__connect, __libc_sa_len): Declare hidden_proto.
9167 (SA_LEN): Remove use of INTUSE.
9168 * socket/connect.c: Add libc_hidden_def.
9169 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9170 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9171 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9172 alias.
9173 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9174 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9175 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9176 of adding _internal alias.
9177
13764867
L
91782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9179
9180 [BZ #14117]
6bd97696
L
9181 * sysdeps/i386/bits/link.h: Removed.
9182 * sysdeps/i386/bits/linkmap.h: Likewise.
9183 * sysdeps/x86_64/bits/link.h: Renamed to ...
9184 * sysdeps/x86/bits/link.h: This.
9185 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9186 * sysdeps/x86/bits/linkmap.h: This.
9187
f726f0bb
L
9188 * sysdeps/i386/bits/endian.h: Removed.
9189 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9190 * sysdeps/x86/bits/endian.h: This.
9191
13764867
L
9192 * sysdeps/i386/bits/byteswap.h: Removed.
9193 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9194 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9195 * sysdeps/x86/bits/byteswap.h: This.
9196 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9197 * sysdeps/x86/bits/byteswap-16.h: This.
9198 * sysdeps/i386/Implies: Add x86.
9199 * sysdeps/x86_64/Implies: Likewise.
9200
ae251b0b
DM
92012012-05-30 David S. Miller <davem@davemloft.net>
9202
9203 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9204 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9205 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9206 (FP_TRAPPING_EXCEPTIONS): Define.
9207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9208 (FP_TRAPPING_EXCEPTIONS): Define.
9209 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9210 subnormals only when inexact has been signalled or underflow
9211 exceptions are enabled.
9212 (_FP_PACK_CANONICAL): Likewise.
9213
d5c90867
L
92142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9215
9216 [BZ #14183]
9217 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9218 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9219
63f1549e
RH
92202012-05-30 Richard Henderson <rth@twiddle.net>
9221
8d8f2279
RH
9222 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9223 with #ifndef NOT_IN_libc.
9224
63f1549e
RH
9225 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9226 marked to avoid plt entry.
9227
0ab0291b
L
92282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9229
9230 [BZ #14112]
9231 * Makeconfig (default-abi): New macro.
9232 (abi-includes): Likewise.
9233 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9234 $(abi-$(default-abi)-lib-soname) for soname if defined.
9235 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9236 abi-variants.
9237 * Makefile (installed-stubs): Likewise.
9238 * include/stubs-biarch.h: Removed.
9239 * scripts/lib-names.awk: Only handle one library at a time.
9240 * scripts/soversions.awk: Remove WORDSIZE support.
9241 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9242 entries.
9243 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9244 Removed.
9245 (syscall-list-default-condition): Likewise.
9246 (syscall-list-default-condition): Likewise.
9247 (syscall-list-includes): Likewise.
9248 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9249 syscall-list-* with abi-*. Handle undefined abi-variants.
9250 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9251 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9252 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9253 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9254 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9255 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9256 Removed.
9257 (syscall-list-32-options): Likewise.
9258 (syscall-list-32-condition): Likewise.
9259 (syscall-list-64-options): Likewise.
9260 (syscall-list-64-condition): Likewise.
9261 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9262 macro.
9263 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9264 Renamed to ...
9265 (abi-*): This.
9266 (abi-64-ld-soname): New macro.
9267 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9268 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9269 Renamed to ...
9270 (abi-*): This.
9271 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9272 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9273
4da0431d
JM
92742012-05-30 Joseph Myers <joseph@codesourcery.com>
9275
3a85279c
JM
9276 * sysdeps/unix/sysv/linux/kernel-features.h
9277 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9278 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9279 include <kernel-features.h>.
9280 [!__NR_ftruncate64]: Remove conditional code.
9281 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9282 [__NR_ftruncate64]: Make code unconditional.
9283 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9284 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9285 include <kernel-features.h>.
9286 [!__NR_ftruncate64]: Remove conditional code.
9287 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9288 [__NR_ftruncate64]: Make code unconditional.
9289 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9291 include <kernel-features.h>.
9292 [!__NR_ftruncate64]: Remove conditional code.
9293 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9294 [__NR_ftruncate64]: Make code unconditional.
9295 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9297 include <kernel-features.h>.
9298 [!__NR_ftruncate64]: Remove conditional code.
9299 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9300 [__NR_ftruncate64]: Make code unconditional.
9301 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9302
4da0431d
JM
9303 * configure.in (libc_cv_fpie): Weaken to a compile test using
9304 LIBC_TRY_CC_OPTION.
9305 * configure: Regenerated.
9306
11ef492c
AK
93072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9308
9309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9313 Refreshed.
9314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9320 Refreshed.
9321
d66ef399
DM
93222012-05-27 David S. Miller <davem@davemloft.net>
9323
9324 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9325 (___Q_zero): New.
9326 (__Q_simulate_exceptions): Return void. Change to simulate
9327 exceptions by writing into the %fsr.
9328 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9329 (__Qp_handle_exceptions): Likewise.
9330 (numbers): Delete.
9331 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9332 __Qp_handle_exceptions.
9333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9334 __Qp_handle_exceptions.
9335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9336 as unused and give dummy FP_RND_NEAREST initializer.
9337 (FP_INHIBIT_RESULTS): Define.
9338 (___Q_simulate_exceptions): Update declaration.
9339 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9340 formatting.
9341 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9342 as unused and give dummy FP_RND_NEAREST initializer.
9343 (__Qp_handle_exceptions): Update declaration.
9344 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9345 formatting.
9346
04fb54b5
TS
93472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9348
9349 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9350 the temporary FPU control word.
9351 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9352 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9353 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9354 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9355 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9356 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9357 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9358 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9359 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9360 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9361 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9362
3f99608f
KK
93632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9364
9365 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9366 fields.
9367
65a4de4e
CLT
93682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9369
9370 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9371 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9372 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9373 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9374 Likewise.
9375 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9376 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9377 Likewise.
9378
15749d40
UD
93792012-05-27 Ulrich Drepper <drepper@gmail.com>
9380
9381 * po/h.po: Update from translation team.
9382
25dbcb27
AS
93832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9384
3d3f8e55
AS
9385 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9386
25dbcb27
AS
9387 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9388 handling of denormals.
9389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9390 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9392 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9393 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9396 Likewise.
9397
7ad47a80 93982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9399
9400 [BZ #14152]
9401 * math/libm-test.inc (fma_test): Don't always expect underflow
9402 exception.
9403
9c6ea9fa
SP
94042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9405
9406 [BZ #12416]
9407 * elf/tst-execstack.c: Include stackinfo.h.
9408 (do_test): Adjust test case to ensure that pthread_getattr_np
9409 behaviour remains the same after marking stack executable.
9410
a8239222
JM
94112012-05-25 Joseph Myers <joseph@codesourcery.com>
9412
9413 * sysdeps/unix/sysv/linux/kernel-features.h
9414 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9415 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9416 kernel-features.h.
9417 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9418 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9419 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9420 kernel-features.h.
9421 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9422 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9423
918b5606
L
94242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9425
9426 * configure.in: Define the default includes to being none.
9427 * configure: Regenerated.
9428
3a097cc7
RM
94292012-05-25 Roland McGrath <roland@hack.frob.com>
9430
8422c9a5
RM
9431 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9432 * sysdeps/x86_64/setjmp.S: Likewise.
9433 * sysdeps/i386/bsd-setjmp.S: Likewise.
9434 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9435 * sysdeps/i386/setjmp.S: Likewise.
9436 * sysdeps/i386/__longjmp.S: Likewise.
9437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9438 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9439
3a097cc7
RM
9440 * include/stap-probe.h: New file.
9441 * configure.in: Handle --enable-systemtap.
9442 * configure: Regenerated.
9443 * config.h.in (USE_STAP_PROBE): New #undef.
9444 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9445 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9446 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9447
21708942
JM
94482012-05-25 Joseph Myers <joseph@codesourcery.com>
9449
9450 [BZ #13717]
9451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9452 to 2.4.0 where earlier.
9453 * sysdeps/unix/sysv/linux/configure: Regenerated.
9454 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9455 <kernel-features.h>.
9456 [__ASSUME_32BITUIDS]: Make code unconditional.
9457 [!__ASSUME_32BITUIDS]: Remove conditional code.
9458 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9459 <kernel-features.h>.
9460 [__ASSUME_32BITUIDS]: Make code unconditional.
9461 [!__ASSUME_32BITUIDS]: Remove conditional code.
9462 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9463 [__ASSUME_32BITUIDS]: Make code unconditional.
9464 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9465 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9466 <kernel-features.h>.
9467 [__ASSUME_32BITUIDS]: Make code unconditional.
9468 [!__ASSUME_32BITUIDS]: Remove conditional code.
9469 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9470 <kernel-features.h>.
9471 [__ASSUME_32BITUIDS]: Make code unconditional.
9472 [!__ASSUME_32BITUIDS]: Remove conditional code.
9473 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9474 <kernel-features.h>.
9475 [__ASSUME_32BITUIDS]: Make code unconditional.
9476 [!__ASSUME_32BITUIDS]: Remove conditional code.
9477 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9478 <kernel-features.h>.
9479 [__ASSUME_32BITUIDS]: Make code unconditional.
9480 [!__ASSUME_32BITUIDS]: Remove conditional code.
9481 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9482 <kernel-features.h>.
9483 [__ASSUME_32BITUIDS]: Make code unconditional.
9484 [!__ASSUME_32BITUIDS]: Remove conditional code.
9485 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9486 <kernel-features.h>.
9487 [__ASSUME_32BITUIDS]: Make code unconditional.
9488 [!__ASSUME_32BITUIDS]: Remove conditional code.
9489 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9490 <kernel-features.h>.
9491 [__ASSUME_32BITUIDS]: Make code unconditional.
9492 [!__ASSUME_32BITUIDS]: Remove conditional code.
9493 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9494 <kernel-features.h>.
9495 [__ASSUME_32BITUIDS]: Make code unconditional.
9496 [!__ASSUME_32BITUIDS]: Remove conditional code.
9497 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9498 <kernel-features.h>.
9499 [__ASSUME_32BITUIDS]: Make code unconditional.
9500 [!__ASSUME_32BITUIDS]: Remove conditional code.
9501 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9502 <kernel-features.h>.
9503 [__ASSUME_32BITUIDS]: Make code unconditional.
9504 [!__ASSUME_32BITUIDS]: Remove conditional code.
9505 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9506 <kernel-features.h>.
9507 [__NR_setresgid] (__setresgid): Do not declare.
9508 [__ASSUME_32BITUIDS]: Make code unconditional.
9509 [!__ASSUME_32BITUIDS]: Remove conditional code.
9510 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9511 <kernel-features.h>.
9512 [__NR_setresuid] (__setresuid): Do not declare.
9513 [__ASSUME_32BITUIDS]: Make code unconditional.
9514 [!__ASSUME_32BITUIDS]: Remove conditional code.
9515 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9516 <kernel-features.h>.
9517 [__ASSUME_32BITUIDS]: Make code unconditional.
9518 [!__ASSUME_32BITUIDS]: Remove conditional code.
9519 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9520 <kernel-features.h>.
9521 [__ASSUME_32BITUIDS]: Make code unconditional.
9522 [!__ASSUME_32BITUIDS]: Remove conditional code.
9523 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9524 <kernel-features.h>.
9525 [__ASSUME_32BITUIDS]: Make code unconditional.
9526 [!__ASSUME_32BITUIDS]: Remove conditional code.
9527 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9528 <kernel-features.h>.
9529 [__ASSUME_32BITUIDS]: Make code unconditional.
9530 [!__ASSUME_32BITUIDS]: Remove conditional code.
9531 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9532 <kernel-features.h>.
9533 [__ASSUME_32BITUIDS]: Make code unconditional.
9534 [!__ASSUME_32BITUIDS]: Remove conditional code.
9535 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9536 <kernel-features.h>.
9537 [__ASSUME_32BITUIDS]: Make code unconditional.
9538 [!__ASSUME_32BITUIDS]: Remove conditional code.
9539 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9540 <kernel-features.h>.
9541 [__ASSUME_32BITUIDS]: Make code unconditional.
9542 [!__ASSUME_32BITUIDS]: Remove conditional code.
9543 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9544 <kernel-features.h>.
9545 [__ASSUME_32BITUIDS]: Make code unconditional.
9546 [!__ASSUME_32BITUIDS]: Remove conditional code.
9547 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9548 <kernel-features.h>.
9549 [__ASSUME_32BITUIDS]: Make code unconditional.
9550 [!__ASSUME_32BITUIDS]: Remove conditional code.
9551 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9552 <kernel-features.h>.
9553 [__ASSUME_32BITUIDS]: Make code unconditional.
9554 [!__ASSUME_32BITUIDS]: Remove conditional code.
9555 * sysdeps/unix/sysv/linux/kernel-features.h
9556 (__ASSUME_SETRESUID_SYSCALL): Remove.
9557 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9558 (__ASSUME_32BITUIDS): Likewise.
9559 (__ASSUME_LDT_WORKS): Likewise.
9560 (__ASSUME_O_DIRECTORY): Likewise.
9561 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9562 architecture but not kernel version.
9563 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9564 (__ASSUME_MMAP2_SYSCALL): Likewise.
9565 (__ASSUME_STAT64_SYSCALL): Likewise.
9566 (__ASSUME_IPC64): Likewise.
9567 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9568 <kernel-features.h>.
9569 [__ASSUME_32BITUIDS]: Make code unconditional.
9570 [!__ASSUME_32BITUIDS]: Remove conditional code.
9571 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9572 <kernel-features.h>.
9573 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9574 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9575 132096]: Remove conditional code.
9576 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9577 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9578 <kernel-features.h>.
9579 [__ASSUME_32BITUIDS]: Make code unconditional.
9580 [!__ASSUME_32BITUIDS]: Remove conditional code.
9581 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9582 <kernel-features.h>.
9583 [__ASSUME_32BITUIDS]: Make code unconditional.
9584 [!__ASSUME_32BITUIDS]: Remove conditional code.
9585 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9586 <kernel-features.h>.
9587 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9588 unconditional.
9589 (__setresgid): Do not declare.
9590 [__ASSUME_32BITUIDS]: Make code unconditional.
9591 [!__ASSUME_32BITUIDS]: Remove conditional code.
9592 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9593 <kernel-features.h>.
9594 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9595 unconditional.
9596 (__setresuid): Do not declare.
9597 [__ASSUME_32BITUIDS]: Make code unconditional.
9598 [!__ASSUME_32BITUIDS]: Remove conditional code.
9599 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9600 <kernel-features.h>.
9601 [__ASSUME_32BITUIDS]: Make code unconditional.
9602 [!__ASSUME_32BITUIDS]: Remove conditional code.
9603 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9604 <kernel-features.h>.
9605 [__ASSUME_32BITUIDS]: Make code unconditional.
9606 [!__ASSUME_32BITUIDS]: Remove conditional code.
9607
a386f1cc
RH
96082012-05-25 Richard Henderson <rth@twiddle.net>
9609
9610 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9611 dl_hwcap to ifunc resolver.
9612 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9613 elf_ifunc_invoke.
9614 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9615 dl_hwcap to ifunc resolver.
9616 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9617
b6550497
JM
96182012-05-24 Joseph Myers <joseph@codesourcery.com>
9619
9620 [BZ #14153]
9621 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9622 for |x| <= 2**-26, not 2**-57.
9623 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9624 exception.
9625
b0bc23a1
JL
96262012-05-24 Jeff Law <law@redhat.com>
9627
9628 * stdio-common/Makefile (tests): Add bug25.
9629 * stdio-common/bug25.c: New test.
9630
347c92e9
L
96312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9632
9633 [BZ #13576]
9634 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9635 multiple of MALLOC_ALIGNMENT in size.
9636 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9637
6bcc8b3f
JM
96382012-05-24 Joseph Myers <joseph@codesourcery.com>
9639
9640 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9641 Require >= 256.
9642 (FILENAME_MAX): Use macro-int-constant.
9643 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9644 (_IOFBF): Use macro-int-constant.
9645 (_IOLBF): Likewise.
9646 (_IONBF): Likewise.
9647 (SEEK_CUR): Likewise.
9648 (SEEK_END): Likewise.
9649 (SEEK_SET): Likewise.
9650 (TMP_MAX): Likewise.
9651 (EOF): Use macro-int-constant. Require < 0.
9652 (NULL): Use macro-constant. Require == 0.
9653 (stdin): Require type to be FILE *.
9654 (stdout): Likewise.
9655 (stderr): Likewise.
9656 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9657 macro-int-constant.
9658 (EXIT_SUCCESS): Likewise.
9659 (NULL): Use macro-constant. Require == 0.
9660 (RAND_MAX): Use macro-int-constant.
9661 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9662 [C99-based standards] (strtof): Require function.
9663 [C99-based standards] (strtold): Likewise.
9664 [C99-based standards] (strtoll): Likewise.
9665 [C99-based standards] (strtoull): Likewise.
9666 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9667 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9668 [ISO || ISO99 || ISO11] (math.h): Likewise.
9669 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9670 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9672
d18ea0c5
AS
96732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9674
9675 [BZ #14132]
56d25bb8
AS
9676 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9677 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9678 * intl/dgettext.c (DCGETTEXT): Likewise.
9679 * intl/gettext.c (DCGETTEXT): Likewise.
9680 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9681 * posix/regex_internal.h (gettext): Likewise.
9682 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9683 Remove declaration.
9684 * include/argz.h (__argz_count_internal)
9685 (__argz_stringify_internal): Remove declaration.
9686 (__argz_count, __argz_stringify): Declare hidden proto.
9687 * intl/dcgettext.c: Remove use of INTDEF.
9688 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9689 * string/argz-stringify.c: Likewise.
9690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9692 Declare hidden proto.
d18ea0c5
AS
9693 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9694 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9695 Declare hidden proto.
9696 * include/stdio.h (__asprintf_internal): Don't declare.
9697 (__asprintf): Don't define as macro. Declare hidden proto.
9698 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9699 (__fsetlocking): Declare hidden proto.
9700 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9701 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9702 hidden proto.
9703 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9704 (_IO_setlinebuf): Remove use of INTUSE.
9705 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9706 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9707 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9708 Remove declaration.
9709 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9710 (_IO_do_flush): Remove use of INTUSE.
9711 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9712 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9713 (_IO_adjust_column, _IO_least_wmarker)
9714 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9715 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9716 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9717 (_IO_default_doallocate, _IO_wdefault_doallocate)
9718 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9719 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9720 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9721 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9722 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9723 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9724 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9725 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9726 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9727 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9728 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9729 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9730 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9731 proto.
9732 (_IO_flush_all_internal, _IO_adjust_column_internal)
9733 (_IO_default_uflow_internal, _IO_default_finish_internal)
9734 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9735 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9736 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9737 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9738 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9739 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9740 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9741 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9742 (_IO_file_close_internal, _IO_file_close_it_internal)
9743 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9744 (_IO_file_init_internal, _IO_file_attach_internal)
9745 (_IO_file_fopen_internal, _IO_file_read_internal)
9746 (_IO_file_sync_internal, _IO_file_seek_internal)
9747 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9748 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9749 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9750 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9751 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9752 (_IO_list_all_internal, _IO_link_in_internal)
9753 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9754 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9755 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9756 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9757 (_IO_do_write_internal, _IO_padn_internal)
9758 (_IO_getline_info_internal, _IO_getline_internal)
9759 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9760 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9761 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9762 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9763 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9764 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9765 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9766 with libc_hidden_ver, remove use of INTUSE.
9767 * libio/genops.c: Likewise.
9768 * libio/freopen.c: Likewise.
9769 * libio/freopen64.c: Likewise.
9770 * libio/iofclose.c: Likewise.
9771 * libio/iofdopen.c: Likewise.
9772 * libio/iofflush.c: Likewise.
9773 * libio/iofflush_u.c: Likewise.
9774 * libio/iofgets.c: Likewise.
9775 * libio/iofgets_u.c: Likewise.
9776 * libio/iofopen.c: Likewise.
9777 * libio/iofopncook.c: Likewise.
9778 * libio/iofread.c: Likewise.
9779 * libio/iofread_u.c: Likewise.
9780 * libio/ioftell.c: Likewise.
9781 * libio/iofwrite.c: Likewise.
9782 * libio/iogetline.c: Likewise.
9783 * libio/iogets.c: Likewise.
9784 * libio/iogetwline.c: Likewise.
9785 * libio/iopadn.c: Likewise.
9786 * libio/iopopen.c: Likewise.
9787 * libio/ioseekoff.c: Likewise.
9788 * libio/ioseekpos.c: Likewise.
9789 * libio/iosetbuffer.c: Likewise.
9790 * libio/iosetvbuf.c: Likewise.
9791 * libio/ioungetc.c: Likewise.
9792 * libio/ioungetwc.c: Likewise.
9793 * libio/iovdprintf.c: Likewise.
9794 * libio/iovsprintf.c: Likewise.
9795 * libio/iovsscanf.c: Likewise.
9796 * libio/memstream.c: Likewise.
9797 * libio/obprintf.c: Likewise.
9798 * libio/oldfileops.c: Likewise.
9799 * libio/oldiofclose.c: Likewise.
9800 * libio/oldiofdopen.c: Likewise.
9801 * libio/oldiofopen.c: Likewise.
9802 * libio/oldiopopen.c: Likewise.
9803 * libio/oldstdfiles.c: Likewise.
9804 * libio/putc.c: Likewise.
9805 * libio/setbuf.c: Likewise.
9806 * libio/setlinebuf.c: Likewise.
9807 * libio/stdfiles.c: Likewise.
9808 * libio/strops.c: Likewise.
9809 * libio/vasprintf.c: Likewise.
9810 * libio/vscanf.c: Likewise.
9811 * libio/vsnprintf.c: Likewise.
9812 * libio/vswprintf.c: Likewise.
9813 * libio/wfiledoalloc.c: Likewise.
9814 * libio/wfileops.c: Likewise.
9815 * libio/wgenops.c: Likewise.
9816 * libio/wmemstream.c: Likewise.
9817 * libio/wstrops.c: Likewise.
9818 * libio/__fpurge.c: Likewise.
9819 * libio/__fsetlocking.c: Likewise.
9820 * assert/assert.c: Likewise.
9821 * debug/fgets_chk.c: Likewise.
9822 * debug/fgets_u_chk.c: Likewise.
9823 * debug/fread_chk.c: Likewise.
9824 * debug/fread_u_chk.c: Likewise.
9825 * debug/gets_chk.c: Likewise.
9826 * debug/obprintf_chk.c: Likewise.
9827 * debug/vasprintf_chk.c: Likewise.
9828 * debug/vdprintf_chk.c: Likewise.
9829 * debug/vsnprintf_chk.c: Likewise.
9830 * debug/vsprintf_chk.c: Likewise.
9831 * malloc/mtrace.c: Likewise.
9832 * misc/error.c: Likewise.
9833 * misc/syslog.c: Likewise.
9834 * stdio-common/asprintf.c: Likewise.
9835 * stdio-common/fxprintf.c: Likewise.
9836 * stdio-common/getw.c: Likewise.
9837 * stdio-common/isoc99_fscanf.c: Likewise.
9838 * stdio-common/isoc99_scanf.c: Likewise.
9839 * stdio-common/isoc99_vfscanf.c: Likewise.
9840 * stdio-common/isoc99_vscanf.c: Likewise.
9841 * stdio-common/isoc99_vsscanf.c: Likewise.
9842 * stdio-common/printf-prs.c: Likewise.
9843 * stdio-common/printf_fp.c: Likewise.
9844 * stdio-common/printf_fphex.c: Likewise.
9845 * stdio-common/printf_size.c: Likewise.
9846 * stdio-common/putw.c: Likewise.
9847 * stdio-common/scanf.c: Likewise.
9848 * stdio-common/sprintf.c: Likewise.
9849 * stdio-common/tmpfile.c: Likewise.
9850 * stdio-common/vfprintf.c: Likewise.
9851 * stdio-common/vfscanf.c: Likewise.
9852 * stdlib/strfmon_l.c: Likewise.
9853 * sunrpc/openchild.c: Likewise.
9854 * sunrpc/xdr_stdio.c: Likewise.
9855 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9856 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9857
d6c33fda
RM
98582012-05-24 Roland McGrath <roland@hack.frob.com>
9859
c1487492
RM
9860 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9861
9862 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9863 in the third column, to generate for the shared library an IFUNC
9864 that uses _dl_vdso_vsym.
9865 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9866 * Makeconfig (object-suffixes-noshared): New variable.
9867
9868 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9869 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9870 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9871 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9872
d6c33fda
RM
9873 [BZ #14132]
9874 * include/sys/time.h (__gettimeofday): Remove macro.
9875 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9876 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9877 Remove INTDEF.
9878 (__gettimeofday): Add libc_hidden_def.
9879 (gettimeofday): Add libc_hidden_weak.
9880 * sysdeps/mach/gettimeofday.c: Likewise.
9881 * sysdeps/posix/gettimeofday.c: Likewise.
9882 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9883 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9885 (__gettimeofday_internal): Remove strong_alias.
9886 (__gettimeofday): Add libc_hidden_def.
9887 (gettimeofday): Add libc_hidden_weak.
9888 * sysdeps/unix/syscalls.list (gettimeofday):
9889 Remove __gettimeofday_internal alias.
9890
b5a2bbe6
L
98912012-05-24 Daniel Jacobowitz <drow@false.org>
9892 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 [BZ #12495]
9895 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9896 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9897 (largebin_index_32_big): New.
9898 (largebin_index): Use it for 16-byte alignment.
9899 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9900 correction with front_misalign.
9901
cfba4fda
L
99022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9903
7f907421
L
9904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9906 Likewise.
9907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9908 Likewise.
9909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9910 Likewise.
9911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9912 Likewise.
9913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9914 Likewise.
9915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9916 Likewise.
9917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9918 Likewise.
9919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9920 Likewise.
9921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9922 Likewise.
9923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9924 Likewise.
9925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9926 Likewise.
9927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9928 Likewise.
9929
cfba4fda
L
9930 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9931 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9932
80bad0cc
JM
99332012-05-24 Joseph Myers <joseph@codesourcery.com>
9934
7a25eb06
JM
9935 [BZ #10846]
9936 [BZ #14036]
9937 * math/libm-test.inc (exp_test): Add test from bug 14036.
9938 (pow_test): Add test from bug 10846.
9939
795405f9
JM
9940 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9941 and other flags.
9942 (special_function): Do not include flags in test name.
9943 (parse_args): Likewise.
9944 * sysdeps/i386/fpu/libm-test-ulps: Update.
9945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9947 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9949
80bad0cc
JM
9950 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9951 exceptions.
9952 * math/libm-test.inc ("Philosophy"): Update comment about
9953 exception testing.
9954 (UNDERFLOW_EXCEPTION): New macro.
9955 (UNDERFLOW_EXCEPTION_OK): Likewise.
9956 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9957 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9958 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9959 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9960 (INVALID_EXCEPTION_OK): Update value.
9961 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9962 (OVERFLOW_EXCEPTION_OK): Likewise.
9963 (IGNORE_ZERO_INF_SIGN): Likewise.
9964 (test_exceptions): Handle underflow exceptions.
9965 (acos_test): Update for underflow exception expectations.
9966 (cexp_test): Likewise.
9967 (clog_test): Likewise.
9968 (clog10_test): Likewise.
9969 (csqrt_test): Likewise.
9970 (ctan_test): Likewise.
9971 (ctanh_test): Likewise.
9972 (exp_test): Likewise.
9973 (exp10_test): Likewise.
9974 (exp2_test): Likewise.
9975 (expm1_test): Likewise.
9976 (fma_test): Likewise.
9977 (j0_test): Likewise.
9978 (jn_test): Likewise.
9979 (nexttoward_test): Likewise.
9980 (pow_test): Likewise.
9981 (scalbn_test): Likewise.
9982 (scalbln_test): Likewise.
9983 (tan_test): Likewise.
9984 (y1_test): Likewise.
9985 * sysdeps/i386/fpu/libm-test-ulps: Update.
9986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9987
9e0e3d0b
DM
99882012-05-23 David S. Miller <davem@davemloft.net>
9989
9990 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9991 (__libc_sigaction): Remove unused local variables.
9992
ccd0a08f
L
99932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9994
9995 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9996
62bdf9a6
PE
99972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9998
f8591f80
PE
9999 mktime: avoid signed integer overflow
10000 * time/mktime.c (__mktime_internal): Do not mishandle the case
10001 where diff == INT_MIN.
10002
94c7d826
PE
10003 mktime: simplify computation of average
10004 * time/mktime.c (ranged_convert): Use new time_t_avg function
10005 instead of rolling our own (probably-slower) code.
10006
ce73d683
PE
10007 mktime: do not assume signed right shift propagates sign bit
10008 * time/mktime.c (isdst_differ): New static function.
10009 (__mktime_internal): No need to normalize tm_isdst now.
10010 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10011 tm_isdst values.
10012
72a22e59
PE
10013 mktime: merge another wrapv change from gnulib
10014 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10015 from some compilers.
10016
68605433
PE
10017 mktime: remove incorrect attempt at unusual arithmetics
10018 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10019 The code didn't really work on such machines anyway.
10020 (TYPE_MINIMUM): Assume two's complement.
10021 (twos_complement_arithmetic): Verify that long_int and time_t
10022 are two's complement (or unsigned, in the latter case).
10023
03cf7fe3
PE
10024 mktime: check signed shifts on long_int and time_t, too
10025 * time/mktime.c (SHR): Check that shifts work as desired
10026 on the types long_int and time_t too, as SHR is used on
10027 such types.
10028
f04dfbc2
PE
10029 mktime: do not assume 'long' is wide enough
10030 * time/mktime.c (verify): Move decl up.
10031 (long_int): New type.
10032 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10033 to remove assumption in the code that 'long' is wide enough to
10034 store year values. This assumption is not true on x32 and on
10035 some non-glibc platforms.
10036
62bdf9a6
PE
10037 mktime: merge wrapv change from gnulib
10038 * time/mktime.c (WRAPV): New macro.
10039 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10040 (guess_time_tm, __mktime_internal): Do not assume that signed
10041 integer overflow wraps around; modern compilers generate code
10042 where this assumption is no longer valid.
10043
5e292e4f
L
100442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10045
10046 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10047 Replace "jmp L(pseudo_end)" with "ret".
10048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10049 Likewise.
10050
8caf8c87
AJ
100512012-05-23 Andreas Jaeger <aj@suse.de>
10052
10053 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10054 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10055
1a09dc56
AJ
100562012-05-23 Andreas Jaeger <aj@suse.de>
10057 Maximilian Attems <max@stro.at>
10058
10059 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10060 New macros.
10061
1c87aba0
L
100622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10063
10064 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10065 code so that pseudo_end is just ret and the stack pointer is
10066 correct also for static library in error case.
10067
40e45bd5
JM
100682012-05-23 Joseph Myers <joseph@codesourcery.com>
10069
c2670533
JM
10070 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10071 move to syscalls.list.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10076
40e45bd5
JM
10077 * manual/install.texi (Running make install): Do not mention Linux
10078 kernel version for which pt_chown is not needed.
10079 (Linux): Do not mention problems with nscd with 2.0 kernels.
10080 * INSTALL: Regenerated.
10081
be08eda5
AJ
100822012-05-23 Andreas Jaeger <aj@suse.de>
10083
10084 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10085 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10086 macro.
10087 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10089 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10091 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10095 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10097 * sysdeps/unix/sysv/linux/bits/in.h
10098 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10099
a6a056bb
RM
101002012-05-22 Roland McGrath <roland@hack.frob.com>
10101
10102 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10103 (PREPARE_VERSION): Just use assert instead, it will be elided
10104 under [NDEBUG] anyway.
10105
c9009328
L
101062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10107
10108 * sysdeps/unix/sysv/linux/Makefile: Include
10109 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10110 (sysdep_routines): Remove sysctl.
c9009328
L
10111 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10112 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10113 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10114 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10115 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10116
73338355
AJ
101172012-05-22 Andreas Jaeger <aj@suse.de>
10118
10119 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10120 that pseudo_end is just ret and the stack pointer is correct also
10121 for static library in error case.
10122
d44638b0
PP
101232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10124
10125 [BZ #14122]
10126 * nss/nsswitch.c (defconfig_entries): New variable.
10127 (__nss_database_lookup): Don't leak defconfig entries.
10128 (nss_parse_service_list): Don't leak on error paths.
10129 (free_database_entries): New function.
10130 (free_defconfig): New function.
10131 (free_mem): Move common code to free_database_entries.
10132
31a39bd8
L
101332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10134
da0331a8
L
10135 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10136 Add arch_prctl.
10137 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10138
31a39bd8
L
10139 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10140 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10142 New macro.
10143 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10144 (INTERNAL_SYSCALL_TYPES): Likewise.
10145 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10146 (LOAD_REGS_TYPES_[1-6]): Likewise.
10147 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10148 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10149
45470df3
AZ
101502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10151
10152 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10153 copysignl for GLIBC_2_0.
10154 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10155 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10157 logbl for GLIBC_2_0.
10158 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10159 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10160
98a61bcb
L
101612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10162
a4f6e481
L
10163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10164 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10165
f63d5db6
L
10166 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10167 Use "neg %eax".
10168
98a61bcb
L
10169 * time/mktime.c: Update copyright years.
10170
95770f14
PE
101712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10172
6226efbd
PE
10173 mktime: merge comment-quoting-style change from gnulib
10174 * time/mktime.c: Quote 'like this' in comments.
10175 The GNU coding standards suggest that we no longer quote `like this',
10176 as "`" and "'" are typically rendered asymmetrically nowadays.
10177 The typical gnulib style is to quote 'like this' when quoting
10178 code, and "like this" when quoting English.
10179
b99e4f78
PE
10180 * time/mktime.c (compile-command): Add "-I.".
10181
643e01e6
PE
10182 mktime: merge mktime-internal.h change from gnulib
10183 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10184
2554247d
PE
10185 mktime: merge time_r change from gnulib
10186 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10187
826dd0ab
PE
10188 mktime: merge DEBUG change from gnulib
10189 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10190 case system <time.h> has a #define.
10191
bd83aabe
PE
10192 mktime: merge <sys/types.h> change from gnulib
10193 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10194 since <time.t> is now guaranteed to define time_t.
10195
95770f14
PE
10196 mktime: merge HAVE_CONFIG_H change from gnulib
10197 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10198
5e1a27a9
L
101992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10200
0e44a77e
L
10201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10202 Use "neg %eax".
10203
5e1a27a9
L
10204 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10205 __rlim_t cast.
10206 (struct rusage): Use anonymous union to pad each field to
10207 __syscall_slong_t.
10208
46259bec
DM
102092012-05-21 David S. Miller <davem@davemloft.net>
10210
10211 * Makefules (o-iterator): Remove .s cases.
10212 (compile-command.s): Delete.
10213 (COMPILE.s): Delete.
10214 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10215
59f0c22e
JM
102162012-05-21 Joseph Myers <joseph@codesourcery.com>
10217
10218 * configure.in (libc_cv_predef_stack_protector): Only consider
10219 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10220 * configure: Regenerated.
10221
20c07380
L
102222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10223
bbb3154b
L
10224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10225 New macro. Use R*LP on int and pointer.
10226 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10227 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10228 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10229 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10230
20c07380
L
10231 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10232 [__WORDSIZE_TIME64_COMPAT32] instead of
10233 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10234 (struct utmp): Likewise.
10235 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10236 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10237 Renamed to ...
10238 (__WORDSIZE_TIME64_COMPAT32): This.
10239 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10240 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10241 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10242 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10243 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10244 (__WORDSIZE_TIME64_COMPAT32): New macro.
10245
d8d1017e
AJ
102462012-05-21 Andreas Jaeger <aj@suse.de>
10247
10248 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10249 only if [SHARED]. Add prototype for __wcschr_ia32.
10250
6c7fb145
RM
102512012-05-21 Roland McGrath <roland@hack.frob.com>
10252
10253 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10254 of %rbp unmolested in the jmp_buf while mangling the low bits.
10255 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10256 unmolested high bits of %rbp while demangling the low bits.
10257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10258
66274218
AJ
102592012-05-21 Andreas Jaeger <aj@suse.de>
10260
07c58f8f
AJ
10261 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10262 * sunrpc/svc_simple.c: Use it for registerrpc.
10263 * sunrpc/xcrypt.c: Use it for passwd2des.
10264
66274218
AJ
10265 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10266
61f65140
L
102672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10270 Don't define if [__SYSCALL_WORDSIZE != 32].
10271 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10272 New macro.
10273
5fefb436
AJ
102742012-05-21 Bruno Haible <bruno@clisp.org>
10275 Andreas Jaeger <aj@suse.de>
10276
10277 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10278 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10279 inptr and inend for must_buffer_ch.
10280 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10281 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10282 * stdio-common/Makefile (tests): Remove bug15.
10283 (bug15-ENV): Remove macro.
10284 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10285 anymore.
10286
d8e272ab
AJ
102872012-05-19 Andreas Jaeger <aj@suse.de>
10288 Roland McGrath <roland@hack.frob.com>
10289
10290 * manual/contrib.texi: Completely rewritten. It contains now an
10291 alphabetical list of contributors and their contributions.
10292
4a56a162
RH
102932012-05-21 Richard Henderson <rth@twiddle.net>
10294
10295 * misc/getauxval.c (__getauxval): Use unsigned long int.
10296 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10297 (getauxval): Use unsigned long int.
10298
d024d23c
L
102992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10300
10301 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10302
cbc00a03
RM
103032012-05-21 Roland McGrath <roland@hack.frob.com>
10304
10305 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10306 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10307 __alignof__ (long double).
10308
478143fa
AZ
103092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10310
10311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10312
c7683a6d
RH
103132012-05-20 Richard Henderson <rth@twiddle.net>
10314
10315 * misc/getauxval.c: New file.
10316 * misc/sys/auxv.h: New file.
10317 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10318 (routines): Add getauxval.
10319 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10320 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10321 * elf/dl-sysdep.c (_dl_auxv): Remove.
10322 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10323 * elf/dl-support.c (_dl_auxv): New variable.
10324 (_dl_aux_init): Initialize it.
10325 * manual/startup.texi (Auxiliary Vector): New node.
10326 * sysdeps/generic/bits/hwcap.h: New file.
10327 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10328 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10329 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10330 * sysdeps/sparc/sysdep.h: ... here. Include it.
10331 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10332 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10334 Update.
c7683a6d
RH
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10343
a6f1845d
AZ
103442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10345
10346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10347
cbcbe830
DM
103482012-05-19 David S. Miller <davem@davemloft.net>
10349
10350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10351
e0b16cc2
JM
103522012-05-19 Joseph Myers <joseph@codesourcery.com>
10353
10354 [BZ #14123]
10355 * math/s_ccosh.c: Include <float.h>
10356 (__ccosh): Avoid internal overflow calculating sinh and cosh
10357 values before multiplying by sin and cos values.
10358 * math/s_ccoshf.c: Likewise.
10359 * math/s_ccoshl.c: Likewise.
10360 * math/s_csin.c: Likewise.
10361 * math/s_csinf.c: Likewise.
10362 * math/s_csinl.c: Likewise.
10363 * math/s_csinh.c: Likewise.
10364 * math/s_csinhf.c: Likewise.
10365 * math/s_csinhl.c: Likewise.
10366 * math/libm-test.inc (ccos_test): Add more tests.
10367 (ccosh_test): Likewise.
10368 (csin_test): Likewise.
10369 (csinh_test): Likewise.
10370 * sysdeps/i386/fpu/libm-test-ulps: Update.
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10372
6ad13e08
L
103732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10374
f66f0ce8
L
10375 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10376 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10377
6ad13e08
L
10378 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10379
b1d072a7
JM
103802012-05-19 Joseph Myers <joseph@codesourcery.com>
10381
10382 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10383 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10384 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10385 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10386 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10387 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10388 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10389 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10390 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10391 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10392 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10393 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10394 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10395 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10396 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10397 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10398 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10399 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10400 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10401 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10402 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10403 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10404 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10405 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10406 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10407 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10408 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10409 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10410 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10411 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10412 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10413
9eae47cb
AJ
104142012-05-18 Andreas Jaeger <aj@suse.de>
10415
10416 * csu/.gitignore: Delete.
10417
bb07f69f
L
104182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10419
10420 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10421 (timex): Use __syscall_slong_t.
10422
e6bdb741
AJ
104232012-05-18 Andreas Jaeger <aj@suse.de>
10424 Carlos O'Donell <carlos_odonell@mentor.com>
10425
10426 * manual/install.texi (Configuring and compiling): Update
10427 description about files modified in the source directory.
d6c33fda 10428 * INSTALL: Regenerated.
e6bdb741 10429
1b74487e
L
104302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10431
10432 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10433 value. Use "or" to set return value to -1.
10434 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10435 negate return value.
10436
a88b64b9
TMQMF
104372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10438
10439 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10440 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10441 failure if the compiler has Graphite support disabled.
10442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10443 Likewise.
10444 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10445 CFLAGS-memmove.c): Likewise.
10446 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10447 Likewise.
10448
3707636e
L
104492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10450
610b8622
L
10451 * sysdeps/x86_64/x32/_itoa.h: New file.
10452
7cd195df
L
10453 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10454 getdents system call only if kernel and user dirents have the
10455 same d_ino and d_off.
10456
94b07d20
L
10457 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10458 LLONG_MAX != LONG_MAX.
10459 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10460 (_fitoa_word): Likewise.
10461
18298070
L
10462 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10463 years.
10464 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10465 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10466 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10467
553c7ea4
L
10468 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10469 include <bits/wordsize.h>. Check __x86_64__ instead of
10470 __WORDSIZE.
10471 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10472 if __x86_64__ is defined. Use anonymous union on fpstate.
10473
3707636e
L
10474 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10475 anonymous union.
10476
b53ef01a
AS
104772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10478
37fb1dc0
AS
10479 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10480 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10481 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10482 Refer to _rtld_local_ro instead of _rtld_global_ro.
10483 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10484 Likewise.
10485 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10486 Likewise.
10487 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10488 Likewise.
10489 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10490 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10491 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10492
b53ef01a
AS
10493 * sysdeps/powerpc/powerpc32/dl-machine.c
10494 (__elf_machine_runtime_setup) [PROF]: Don't reference
10495 _dl_prof_resolve.
10496
7a185db2
AJ
104972012-05-18 Andreas Jaeger <aj@suse.de>
10498
10499 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10500 function only available for GCCs before 3.4 since GCC 3.4
10501 introduced a builtin.
10502 (lrint): Likewise.
10503 (llrintf): Likewise.
10504 (llrint): Likewise.
10505 (fmaxf): Likewise.
10506 (fmax): Likewise.
10507 (fminf): Likewise.
10508 (fmin): Likewise.
10509 (rint): Likewise.
10510 (rintf): Likewise.
10511 (nearbyint): Likewise.
10512 (nearbyintf): Likewise.
10513 (ceil): Likewise.
10514 (ceilf): Likewise.
10515 (floor): Likewise.
10516 (floorf): Likewise.
10517
3e5aef87
L
105182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10519
428bd707
L
10520 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10521 on both fields and cast pointer to __syscall_ulong_t.
10522
3e5aef87
L
10523 * bits/types.h (__fsword_t): New type.
10524 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10525 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10527 (__FSWORD_T_TYPE): Likewise.
10528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10529 (__FSWORD_T_TYPE): Likewise.
10530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10531 (__FSWORD_T_TYPE): Likewise.
10532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10533 (__FSWORD_T_TYPE): Likewise.
10534 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10535 __SWORD_TYPE with __fsword_t.
10536 (statfs64): Likewise.
10537
1ba7c3dc
DM
105382012-05-17 David S. Miller <davem@davemloft.net>
10539
10540 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10541
59910343
AJ
105422012-05-17 Andreas Jaeger <aj@suse.de>
10543
10544 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10545 warning.
10546
2e4c1e9e
L
105472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10548
10549 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10550
de7f5ce7
AJ
105512012-05-17 Andreas Jaeger <aj@suse.de>
10552
10553 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10554 when it is used.
10555
286abc3d
CM
105562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10557
10558 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10559
477cc68e
L
105602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10561
10562 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10563 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10564
1a0994f5
CD
105652012-05-17 Andreas Jaeger <aj@suse.de>
10566 Carlos O'Donell <carlos_odonell@mentor.com>
10567
10568 [BZ #14059]
10569 * sysdeps/x86_64/multiarch/init-arch.h
10570 (bit_YMM_Usable): Rename to...
10571 (bit_AVX_Usable): ... this.
10572 (bit_FMA4_Usable): New macro.
10573 (bit_XMM_state): New macro.
10574 (bit_YMM_state): New macro.
10575 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10576 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10577 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10578 (CPUID_OSXSAVE): New macro.
10579 (CPUID_AVX): New macro.
10580 (CPUID_FMA4): New macro.
10581 (index_YMM_Usable): Rename to...
10582 (index_AVX_Usable): ... this.
10583 (HAS_AVX): Use HAS_ARCH_FEATURE.
10584 (HAS_FMA4): Likewise.
10585 (HAS_YMM_USABLE): Remove.
10586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10587 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10588 are present.
10589 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10590 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10591 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10592 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10593 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10594
0af797de
CM
105952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10596
10597 * math/libm-test.c: Support platforms without multiple rounding modes.
10598 * math/bug-nextafter.c: Support platforms without FP exceptions.
10599 * math/bug-nexttoward.c: Likewise.
10600 * math/test-fenv.c: Likewise.
10601 * math/test-misc.c: Likewise.
10602 * stdlib/bug-getcontext.c: Likewise.
10603
e39745ff
AJ
106042012-05-17 Andreas Jaeger <aj@suse.de>
10605
10606 * manual/examples/search.c (critter_cmp): Change signature to
10607 avoid warnings.
10608 * manual/string.texi (Collation Functions): Likewise.
10609
48970aba
L
106102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10611
10612 * bits/types.h: Fold copyright years.
10613 * bits/typesizes.h: Likewise.
10614 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10618 * time/time.h: Likewise.
10619
bedee953
PP
106202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10621
10622 [BZ #208]
10623 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10624 in instead of returning them. Return void.
10625 (__libc_mallinfo): Accumulate over all arenas.
10626 (__malloc_stats): Adjust for change in int_mallinfo interface.
10627
61653dfb
RM
106282012-05-16 Roland McGrath <roland@hack.frob.com>
10629
30b99d79
RM
10630 [BZ #10375]
10631 * configure.in (NM): Add AC_CHECK_TOOL for it.
10632 (libc_extra_cflags): New substituted variable.
10633 Check for -fstack-protector being used implicitly.
10634 * configure: Regenerated.
10635 * config.make.in (config-extra-cflags): New variable,
10636 gets @libc_extra_cflags@.
10637 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10638
61653dfb
RM
10639 [BZ #10375]
10640 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10641 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10642 * configure: Regenerated.
10643 * config.make.in (CPPUNDEFS): New substituted variable.
10644 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10645 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10646 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10647
661768bb
L
106482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10649
10650 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10651 (mq_attr): Use __syscall_slong_t.
10652
d4261567
L
106532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10656 Check __x86_64__ instead of __WORDSIZE.
10657 (_STAT_VER_LINUX): Likewise.
10658 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10659 __syscall_ulong_t and __syscall_slong_t.
10660 (stat64): Likewise.
10661
cf3ff365
L
106622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10663
10664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10665
76cf3e4d
L
106662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10667
10668 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10669
a637753a
L
106702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10671
10672 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10673 __syscall_ulong_t.
10674
d5e05119
L
10675 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10676 include <bits/wordsize.h>. Check __x86_64__ instead of
10677 __WORDSIZE.
10678 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10679 defined.
10680 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10681
f62ee380
L
10682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10683 include <bits/wordsize.h>. Check __x86_64__ instead of
10684 __WORDSIZE.
10685 (user_regs_struct): Use "__extension__ unsigned long long"
10686 instead of "unsigned long" if __x86_64__ is defined.
10687 (user): Likewise. Pad after pointer field if __ILP32__ is
10688 defined.
10689
4e124ced
JM
106902012-05-16 Joseph Myers <joseph@codesourcery.com>
10691
6a3951a0
JM
10692 * configure.in (makeinfo): Require version 4.5 or later. Allow
10693 versions 5 to 9.
10694 * configure: Regenerated.
10695 * manual/install.texi (texinfo): Increase version requirement to
10696 4.5 or later.
10697 * INSTALL: Regenerated.
10698
4e124ced
JM
10699 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10700
953ca31a
L
107012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10702
10703 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10704
617aca05
L
10705 * sysdeps/x86_64/x32/ffs.c: New file.
10706
5762f7ae
L
10707 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10708 __syscall_ulong_t.
10709 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10710 defined. Use __syscall_ulong_t.
10711 (shminfo): Use __syscall_ulong_t.
10712 (shm_info): Likewise.
10713
a26b6856
L
10714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10715 __syscall_ulong_t.
10716
cb2b9ef7
L
10717 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10718 <bits/wordsize.h>.
10719 (msgqnum_t): Use __syscall_ulong_t.
10720 (msglen_t): Likewise.
10721 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10722 __syscall_ulong_t.
10723
34683bb0
L
10724 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10725 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10726
84a68786
L
10727 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10728
48baa5f1
L
10729 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10730 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10731
180be88b
L
10732 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10733 __syscall_slong_t.
10734
5e90c8ad
L
10735 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10736 include <bits/wordsize.h>. Check __x86_64__ instead of
10737 __WORDSIZE.
10738
23dfb58b
L
10739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10740 "unsigned long long int" if __x86_64__ is defined.
10741 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10742
ce5d54b0
L
10743 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10744 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10745 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10746
13dc9eac
L
10747 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10748 <stdint.h>.
10749 (GET_PC): Cast to uintptr_t first.
10750 (GET_FRAME): Likewise.
10751 (GET_STACK): Likewise.
10752
a7895d15
L
10753 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10754 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10755 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10756 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10757 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10758 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10759 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10760 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10761 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10762 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10763 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10765 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10766 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10767 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10769 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10773 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10775 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10777 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10779 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10780 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10781 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10782
656416c9
AS
107832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10784
5bd66283
AS
10785 * Makerules (+depfiles): Also collect depfiles from .oS in
10786 $(extra-objs).
10787 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10788 .oS, $(libnldbl-routines)).
10789
656416c9
AS
10790 * Makerules (native-compile-mkdep-flags): Define.
10791 * sunrpc/Makefile (extra-objs): Add $(addprefix
10792 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10793 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10794 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10795 calling $(make-target-directory).
10796
a46f2169
L
107972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * bits/types.h (__snseconds_t): Removed.
10800 * time/time.h (struct timespec): Replace __snseconds_t with
10801 __syscall_slong_t.
10802 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10803 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10804 Likewise.
10805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10806 (__SNSECONDS_T_TYPE): Likewise.
10807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10808 (__SNSECONDS_T_TYPE): Likewise.
10809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10810 (__SNSECONDS_T_TYPE): Likewise.
10811
6af6528b
L
108122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * sysdeps/mach/hurd/bits/typesizes.h
10815 (__SYSCALL_SLONG_TYPE): New macro.
10816 (__SYSCALL_ULONG_TYPE): Likewise.
10817
de986b56
L
108182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10819
10820 * bits/types.h (__syscall_slong_t): New type.
10821 (__syscall_ulong_t): Likewise.
10822
10823 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10824 (__SYSCALL_ULONG_TYPE): Likewise.
10825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10826 (__SYSCALL_SLONG_TYPE): Likewise.
10827 (__SYSCALL_ULONG_TYPE): Likewise.
10828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10829 (__SYSCALL_SLONG_TYPE): Likewise.
10830 (__SYSCALL_ULONG_TYPE): Likewise.
10831 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10832 (__SYSCALL_SLONG_TYPE): Likewise.
10833 (__SYSCALL_ULONG_TYPE): Likewise.
10834
85736dc7
L
108352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10838 Add sigaltstack-offsets.sym.
10839 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10840 <sigaltstack-offsets.h>.
10841 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10842 longjmp_msg pointer.
10843 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10844 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10845 signal stack.
10846 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10847
cc03b296
JM
108482012-05-15 Joseph Myers <joseph@codesourcery.com>
10849
a9538892
JM
10850 * elf/stackguard-macros.h: Remove file.
10851 * sysdeps/generic/stackguard-macros.h: New file.
10852 * sysdeps/i386/stackguard-macros.h: Likewise.
10853 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10854 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10855 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10856 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10857 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10858 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10859 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10860 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10861 <elf/stackguard-macros.h>.
10862
cc03b296
JM
10863 [BZ #14109]
10864 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10865 __aligned__ in attribute.
10866 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10867 (gregset_t): Likewise.
10868
93171016
L
108692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10870
10871 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10872 * sysdeps/x86_64/64/Implies-after: Here. New file.
10873 * sysdeps/x86_64/x32/Implies-after: New file.
10874
d86813a0
L
108752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10876
10877 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10878 and access return value for _dl_profile_fixup. Use R10_LP to
10879 load frame size.
10880
2953ec75
L
108812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10882
10883 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10884
3b550e9e
L
108852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10886
10887 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10888 * sysdeps/x86_64/x32/sysdep.h: New file.
10889
eda41706
L
108902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10891
10892 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10893 * sysdeps/x86_64/setjmp.S: Likewise.
10894
9ea01d93
AZ
108952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10896
10897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10898 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10899 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10900 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10901 remove unused global constant.
10902
02a91938
CM
109032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10904
10905 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10906 include of <not-cancel.h>.
10907
6540185f
RM
109082012-05-15 Roland McGrath <roland@hack.frob.com>
10909
10910 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10911
509072a0
AJ
109122012-05-15 Jeff Law <law@redhat.com>
10913 Andreas Jaeger <aj@suse.de>
10914
10915 [BZ #13594]
10916 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10917 out from...
10918 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10919 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10920 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10921 code changing __hst_map_handle.map.
10922
ba75122d
RM
109232012-05-15 Roland McGrath <roland@hack.frob.com>
10924
10925 * configure.in (sysnames): Look for Implies-before and Implies-after
10926 files.
10927 * configure: Regenerated.
10928
890d8bd8
L
109292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10930
10931 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10932 8-byte data alignment with LP_SIZE alignment.
10933
f6ee6623
L
109342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10935
10936 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10937 into R10_LP.
10938
ea2626f6
L
109392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10940
10941 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10942
085f715e
L
109432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10944
10945 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10946 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10948 Likewise.
10949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10950
be8498fc
L
109512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10952
10953 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10954 (stackinfo_sub_sp): Likewise.
10955
70bc83b9
L
109562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10957
10958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10959 RAX_LP.
10960
9bc0b730
L
109612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10962
10963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10964 into R*_LP.
10965
6d2850e7
L
109662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10967
10968 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10969 sizes into R*_LP.
10970
3cb84561
L
109712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10972
10973 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10974
54e2ed81
L
109752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10976
10977 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10978 into R11_LP and load __x86_64_shared_cache_size_half into
10979 R8_LP.
10980
8a17f349
L
109812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10982
10983 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10984 R8_LP.
10985
777b1eea
AZ
109862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10987
10988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10989 logb for POWER7.
10990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10991 logbf for POWER7.
10992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10993 logbl for POWER7.
10994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10995 powerpc32/power7/fpu/s_logb.c via #include.
10996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10997 powerpc32/power7/fpu/s_logbf.c via #include.
10998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10999 powerpc32/power7/fpu/s_logbl.c via #include.
11000
d20d4ac2
JM
110012012-05-15 Joseph Myers <joseph@codesourcery.com>
11002
11003 * README.libm: Remove file.
11004
6cdef1ab
L
110052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11006
11007 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11008 count for x32. Use R*_LP and omit operand-size suffix.
11009
0b254d8f
L
110102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11011
11012 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11013 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11014 * sysdeps/x86_64/x32/shlib-versions: New file.
11015
ceb809dc
RM
110162012-05-14 Roland McGrath <roland@hack.frob.com>
11017
11018 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11019 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11020 Use _dl_fatal_printf instead.
11021
37f1abd4
JM
110222012-05-14 Joseph Myers <joseph@codesourcery.com>
11023
11024 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11025 set if not set by the user. Do not allow for being unset.
11026 * sysdeps/unix/sysv/linux/configure: Regenerated.
11027
11de3a33
L
110282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11029
11030 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11031 the `q' suffix from lea and replace .quad with ASM_ADDR.
11032
e02f153a
L
110332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11034
11035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11036 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11037 instead of $17.
11038 (PTR_DEMANGLE): Likewise.
11039
520ae0fd
L
110402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11041
11042 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11043 (LP_OP): Likewise.
11044 (ASM_ADDR): Likewise.
11045 (RAX_LP): Likewise.
11046 (RBP_LP): Likewise.
11047 (RBX_LP): Likewise.
11048 (RCX_LP): Likewise.
11049 (RDI_LP): Likewise.
11050 (RSI_LP): Likewise.
11051 (RSP_LP): Likewise.
11052 (R8_LP): Likewise.
11053 (R9_LP): Likewise.
11054 (R10_LP): Likewise.
11055 (R10_LP): Likewise.
11056 (R11_LP): Likewise.
11057 (R12_LP): Likewise.
11058 (R13_LP): Likewise.
11059 (R14_LP): Likewise.
11060 (R15_LP): Likewise.
11061
b985be81
L
110622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11063
11064 * sysdeps/x86_64/x32/dl-machine.h: New file.
11065
6a4888ff
AJ
110662012-05-14 Andreas Jaeger <aj@suse.de>
11067
11068 * manual/Makefile (subdir): Remove export of subdir.
11069 (all): Remove target.
11070 (.PHONY): Remove all from list.
11071 (mkinstalldirs): Remove.
11072 (.PHONY): Remove installdirs from list.
11073 ($(inst_infodir)/libc.info): Use make-target-directory.
11074 (installdirs): Remove.
11075 (subdir_%): Remove.
11076 (glibc-targets): Remove.
11077 (lib): Remove.
11078 (stubs): Remove.
11079 ($(objpfx)stubs ../po/manual.pot): Remove.
11080 ($(objpfx)stamp%): Remove.
11081 (make-target-directory): Remove.
11082 (subdir_install): Remove.
11083 (routines): Remove.
11084 (aux): Remove.
11085 (sources): Remove.
11086 (objects): Remove.
11087 (headers): Remove.
11088
11089 [BZ #13750]
11090 * manual/.gitignore: Remove, it's not needed anymore.
11091 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11092 all files in it.
11093 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11094 directory.
11095 (texis): Renamed to $(objpfx)texis.
11096 (texis-path): New, contains path to generated files.
11097 (chapters.%): Use texis-path for complete path, add extra argument
11098 libc-texinfo.sh.
11099 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11100 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11101 (summary,texi, stamp-summary): Use complete path of
11102 files. Generate files in build dir.
11103 (dir-add.texi): Build in build dir.
11104 (libm-err.texi,stamp-libm-err): Likewise.
11105 (version.texi, stamp-version): Likewise.
11106 (.%c.texi): Likewise.
11107 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11108 (mostlyclean): Remove target.
11109 (realclean): Remove target.
11110 (generated): Add new variable with contents from mostlyclean and
11111 realclean, remove entries duplicated in common-mostlyclean, add
11112 stamp-libm-err and stamp-version.
11113 (generated-dirs): Add libc directory.
11114 ($(inst_infodir)/libc.info): Install files from build dir.
11115
11116 * manual/install.texi (Configuring and compiling): Adjust since
11117 the info files are not part of the tar ball anymore.
11118
7ac77294
AJ
111192012-05-14 Andreas Jaeger <aj@suse.de>
11120
11121 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11122 variable.
11123
ffb7875d
JM
111242012-05-14 Joseph Myers <joseph@codesourcery.com>
11125
11126 [BZ #13717]
11127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11128 to 2.2.0 where earlier.
11129 * sysdeps/unix/sysv/linux/configure: Regenerated.
11130 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11131 Remove conditional code.
11132 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11133 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11134 Remove conditional code.
11135 [!__NR_lchown]: Likewise.
11136 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11137 [__NR_lchown]: Likewise.
11138 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11139 comment referencing __ASSUME_LCHOWN_SYSCALL.
11140 * sysdeps/unix/sysv/linux/i386/sigaction.c
11141 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11142 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11143 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11144 Remove conditional code.
11145 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11146 (__protocol_available): Remove #if 0 code.
11147 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11148 conditional code.
11149 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11150 * sysdeps/unix/sysv/linux/kernel-features.h
11151 (__ASSUME_GETCWD_SYSCALL): Don't define.
11152 (__ASSUME_REALTIME_SIGNALS): Likewise.
11153 (__ASSUME_PREAD_SYSCALL): Likewise.
11154 (__ASSUME_PWRITE_SYSCALL): Likewise.
11155 (__ASSUME_POLL_SYSCALL): Likewise.
11156 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11157 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11158 non-SPARC.
11159 (__ASSUME_SIOCGIFNAME): Don't define.
11160 (__ASSUME_MSG_NOSIGNAL): Likewise.
11161 (__ASSUME_SENDFILE): Define unconditionally.
11162 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11163 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11164 conditional code.
11165 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11166 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11168 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11169 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11170 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11171 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11196 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11197 Remove conditional code.
11198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11199 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11200 Remove conditional code.
11201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11202 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11203 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11204 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11205 Remove conditional code.
11206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11207 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11208 Remove conditional code.
11209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11210 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11211 Remove conditional code.
11212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11213 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11214 Remove conditional code.
11215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11216 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11217 Remove conditional code.
11218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11219 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11222 * sysdeps/unix/sysv/linux/sigaction.c
11223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11225 * sysdeps/unix/sysv/linux/sigpending.c
11226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11228 * sysdeps/unix/sysv/linux/sigprocmask.c
11229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11231 * sysdeps/unix/sysv/linux/sigsuspend.c
11232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11235 (__libc_missing_rt_sigs): Remove.
11236 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11237 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11238 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11239 Remove conditional code.
11240 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11241 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11242 return 1.
11243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11244 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11245 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11246 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11247
1bfb7291
AJ
112482012-05-14 Andreas Jaeger <aj@suse.de>
11249
caae5a81
AJ
11250 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11251 it's not used in glibc.
11252 (__coshm1): Likewise.
11253 (__acosh1p): Likewise.
11254 (__sgn): Likewise.
11255
1bfb7291
AJ
11256 * manual/string.texi (Copying and Concatenation): Add missing
11257 variable in concat example.
11258 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11259
c044d724
L
112602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11261
144c5467 11262 [BZ #14103]
c044d724
L
11263 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11264 __builtin_clzl with __builtin_clzll.
11265
2523c62b
L
112662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11267
11268 [BZ #14104]
11269 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11270 libc_freeres_ptr.
11271
d7bb4c42
LD
112722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11273
11274 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11275 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11276 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11277 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11278
9dc4e1fb
MF
112792012-05-14 Mike Frysinger <vapier@gentoo.org>
11280
11281 * NEWS: Update ia64 info.
11282
c7df0112
AS
112832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11284
11285 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11286 used as bcopy.
11287
dc70356c
TS
112882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11289
11290 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11291 * sysdeps/unix/syscalls.list (dup3): Likewise.
11292 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11293 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11294
9fb1a21f
L
112952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11296
11297 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11298 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11299
4822a2a5
L
113002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11301
11302 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11303 thread pointer.
11304 (TLS_IE): Use mov/add instead of movq/addq to load thread
11305 pointer.
11306 (TLS_GD_PREFIX): New.
11307 (TLS_GD): Use it.
11308
842b81d6
DM
113092012-05-11 David S. Miller <davem@davemloft.net>
11310
11311 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11312 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11313 (_FPU_SETCW): Likewise.
11314
1cf463cd
L
113152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11316
11317 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11318 is 32-byte aligned.
11319
60cc4a18
AS
113202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11321
11322 [BZ #11837]
11323 * iconvdata/gb18030.c: Update tables.
11324 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11325 characters specially.
11326 (BODY for TO_LOOP): Add encoding of missing ranges.
11327
febb44a4
TS
113282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11329
11330 [BZ #13673]
11331 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11332 * sysdeps/mach/hurd/dup3.c: Likewise.
11333 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11334 * sysdeps/powerpc/memmove.c:: Likewise.
11335
0a10fb9e
L
113362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11337
11338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11339 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11340
df8a552f
L
113412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11342
11343 * elf/elf.h (R_X86_64_RELATIVE64): New.
11344 (R_X86_64_NUM): Updated.
11345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11346 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11347 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11348 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11349 tst-quad1pie tst-quad2pie
11350 (modules-names): Add tst-quadmod1 tst-quadmod2.
11351 ($(objpfx)tst-quad1): New dependency.
11352 ($(objpfx)tst-quad2): Likewise.
11353 ($(objpfx)tst-quad1pie): Likewise.
11354 ($(objpfx)tst-quad2pie): Likewise.
11355 * sysdeps/x86_64/tst-quad1.c: New file.
11356 * sysdeps/x86_64/tst-quad1pie.c: New file.
11357 * sysdeps/x86_64/tst-quad2.c: Likewise.
11358 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11359 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11360 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11361 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11362 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11363
f34d6f84
ST
113642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11365
f42d41d1
ST
11366 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11367 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11368 * streams/stropts.h (t_scalar_t): Define type.
11369
3c3571fc
ST
11370 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11371 (_PATH_PRESERVE): Set to "/var/lib".
11372 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11373
61f06bd3
ST
11374 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11375 instead of int.
11376
918d4d71
ST
11377 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11378 if __dir_mkfile succeeded.
11379
f34d6f84
ST
11380 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11381 checking for _hurd_dtablesize. Unlock it right after having
11382 finished _hurd_dtable allocation.
11383
10589b4a
TS
113842012-05-10 Thomas Schwinge <thomas@schwinge.name>
11385
674cdbc7
TS
11386 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11387 * sysdeps/mach/hurd/configure: Regenerated.
11388 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11389 special-casing to...
11390 * sysdeps/gnu/configure.in: ... this new file.
11391 * sysdeps/unix/sysv/linux/configure: Regenerated.
11392 * sysdeps/gnu/configure: New generated file.
11393
8e41b99f
TS
11394 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11395 for Linux: use nsec instead of usec, as well as:
11396 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11397 members of type struct timespec.
11398 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11399 New macros.
11400 (struct stat64): Likewise.
11401 (_STATBUF_ST_NSEC): New macro.
11402 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11403
10589b4a
TS
11404 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11405 __strtoul_internal rather than strtoul.
11406
63643c85
PT
114072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11408
11409 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11410 and reject them.
11411
3faebe6a
ST
114122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11413
11414 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11415 which preserves existing values.
11416 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11417
c6474b07
PT
114182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11419
11420 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11421 TIMEOUT values. Return EINVAL for NFDS values either negative or
11422 greater than FD_SETSIZE.
11423
1043890b
ST
114242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11425
11426 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11427 allocated, call __vm_protect to finish enabling the existing space, and
11428 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11429 allocate the remainder.
11430
37ed8b9b
PT
114312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11432
11433 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11434 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11435
db653660
ST
114362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11437
37ed8b9b
PT
11438 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11439 sysdeps/mach/hurd/readlink.c.
b29d4053 11440
db653660
ST
11441 * posix/tst-sysconf.c (posix_options): Only use
11442 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11443 _POSIX_SYNCHRONIZED_IO when they are defined
11444 * sysdeps/mach/hurd/bits/posix_opt.h:
11445 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11446 (_XOPEN_REALTIME): Undefine macro.
11447 (_XOPEN_REALTIME_THREADS): Undefine macro.
11448 (_XOPEN_SHM): Undefine macro.
11449 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11450 macro to -1.
11451 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11452 macro to -1.
11453 (_POSIX_ASYNC_IO): Undefine macro.
11454 (_POSIX_PRIORITIZED_IO): Undefine macro.
11455 (_POSIX_SPIN_LOCKS): Define macro to -1.
11456
ee16e894
ST
11457 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11458 SA_NODEFER, SA_RESETHAND.
11459 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11460 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11461 F_DUPFD_CLOEXEC.
11462
6103ae3b
TS
114632012-05-10 Thomas Schwinge <thomas@schwinge.name>
11464
11465 * elf/Makefile (pldd-modules): Define unconditionally.
11466
80b4e5f3
TS
114672012-05-10 Thomas Schwinge <thomas@schwinge.name>
11468
11469 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11470
edadcbd6
ST
114712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11472
11473 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11474 Return ENOENT when name is empty.
11475 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11476
80694780
TS
114772012-05-10 Thomas Schwinge <thomas@schwinge.name>
11478
1792c087
TS
11479 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11480
80694780
TS
11481 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11482
6b645f0d
ST
114832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11484
80694780
TS
11485 Fix mlock in all cases except non-readable pages.
11486 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11487 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11488
6b645f0d
ST
11489 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11490 (__mkdir): When path is `/', just fail with EEXIST.
11491 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11492
e468f8a3
TS
114932012-05-10 Thomas Schwinge <thomas@schwinge.name>
11494
11495 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11496 <sys/uio.h> (for writev).
11497 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11498 and <sys/param.h> (for MIN).
11499
a4186cff
PT
115002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11501
11502 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11503 REQUESTED_TIME. Properly set the remaining time and return EINTR
11504 if interrupted.
11505
510bbf14
TS
115062012-05-10 Thomas Schwinge <thomas@schwinge.name>
11507
11508 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11509 Depend on against $(link-rpcuserlibs).
11510
5d5722e8
ST
115112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11512
a4186cff
PT
11513 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11514 (__libc_stack_end): Do not use attribute_relro.
11515 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11516 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11517 to libthread-provided value.
a4186cff
PT
11518 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11519 attribute_relro.
5d5722e8 11520
37233df9
TS
115212012-05-10 Thomas Schwinge <thomas@schwinge.name>
11522
be971a2b
TS
11523 [BZ #3748]
11524 * bits/libc-lock.h (__libc_once_get): New macro.
11525 * sysdeps/mach/bits/libc-lock.h: Likewise.
11526 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11528 instead of using implementation details.
11529
37233df9
TS
11530 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11531 * libio/freopen.c: Likewise.
11532 * libio/freopen64.c: Likewise.
11533 * misc/syslog.c: Likewise.
11534 * nscd/connections.c: Likewise.
11535 * nscd/netgroupcache.c: Likewise.
11536 * sysdeps/posix/getcwd.c: Likewise.
11537
38de94a5
RM
115382012-05-10 Roland McGrath <roland@hack.frob.com>
11539
11540 * math/w_ilogbf.c: Add #include <limits.h>.
11541
67530489
ST
115422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11543
a4186cff 11544 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11545 path instead of returning without unlocking.
11546
67530489
ST
11547 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11548 immediate-write ioctls.
11549 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11550
5aa3a74a
TS
115512012-05-10 Thomas Schwinge <thomas@schwinge.name>
11552
18bad2ae
TS
11553 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11554 __builtin_frame_address instead of making assumptions about the
11555 location of the return address relative to DATA. Force early load of
11556 the return address.
11557 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11558 __builtin_frame_address.
11559
5aa3a74a
TS
11560 dup3 for GNU Hurd.
11561 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11562 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11563 implement dup3 and do some further code clean-ups.
11564 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11565 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11566
ecd0de9a
ST
115672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11568
cd9fa985
ST
11569 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11570
a4186cff
PT
11571 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11572 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11573 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11574 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11575 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11576 d->port.lock.
802ca5a5 11577
a4186cff
PT
11578 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11579 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11580 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11581
bcf55240
TS
115822012-05-10 Thomas Schwinge <thomas@schwinge.name>
11583
6960eb42
TS
11584 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11585 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11586 definitions.
11587
eb43375f
TS
11588 accept4 for GNU Hurd.
11589 * include/sys/socket.h (__libc_accept4): New prototype.
11590 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11591 to implement __libc_accept4.
11592 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11593 __libc_accept4.
11594 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11595
bcf55240
TS
11596 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11597 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11598 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11599 signal-defines.sym.
11600
6178c55b
ST
116012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11602
a4186cff 11603 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11604
6f080c2f
TS
116052012-05-10 Thomas Schwinge <thomas@schwinge.name>
11606
11607 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11608 assertion on O_CLOEXEC flag.
11609 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11610 * hurd/intern-fd.c: Likewise.
11611 * hurd/port2fd.c: Likewise.
11612
bcfe3a54
ST
116132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11614
11615 [BZ #3906]
11616 * bits/in.h (IPV6_PKTINFO): Define new macro.
11617 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11618
89c9aa49
AZ
116192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11620
11621 [BZ #13954]
11622 [BZ #13955]
11623 [BZ #13956]
11624 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11626 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11627 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11630 * math/libm-test.inc (logb_test) : Additional logb tests.
11631
021db4be
AJ
116322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11633 Andreas Jaeger <aj@suse.de>
11634
11635 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11636 * configure: Regenerated.
11637 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11638 * config.make.in (link-obsolete-rpc): New substituted variable.
11639 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11640 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11641 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11642 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11643 so that libc.a contains the symbols.
11644 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11645 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11646 * sunrpc/auth_none.c: Likewise.
11647 * sunrpc/auth_unix.c: Likewise.
11648 * sunrpc/authdes_prot.c: Likewise.
11649 * sunrpc/authuxprot.c: Likewise.
11650 * sunrpc/clnt_gen.c: Likewise.
11651 * sunrpc/clnt_perr.c: Likewise.
11652 * sunrpc/clnt_raw.c: Likewise.
11653 * sunrpc/clnt_simp.c: Likewise.
11654 * sunrpc/clnt_tcp.c: Likewise.
11655 * sunrpc/clnt_udp.c: Likewise.
11656 * sunrpc/clnt_unix.c: Likewise.
11657 * sunrpc/des_crypt.c: Likewise.
11658 * sunrpc/des_soft.c: Likewise.
11659 * sunrpc/get_myaddr.c: Likewise.
11660 * sunrpc/key_call.c: Likewise.
11661 * sunrpc/key_prot.c: Likewise.
11662 * sunrpc/netname.c: Likewise.
11663 * sunrpc/pm_getmaps.c: Likewise.
11664 * sunrpc/pm_getport.c: Likewise.
11665 * sunrpc/pmap_clnt.c: Likewise.
11666 * sunrpc/pmap_prot.c: Likewise.
11667 * sunrpc/pmap_prot2.c: Likewise.
11668 * sunrpc/pmap_rmt.c: Likewise.
11669 * sunrpc/publickey.c: Likewise.
11670 * sunrpc/rpc_cmsg.c: Likewise.
11671 * sunrpc/rpc_common.c: Likewise.
11672 * sunrpc/rpc_dtable.c: Likewise.
11673 * sunrpc/rpc_prot.c: Likewise.
11674 * sunrpc/rpc_thread.c: Likewise.
11675 * sunrpc/rtime.c: Likewise.
11676 * sunrpc/svc.c: Likewise.
11677 * sunrpc/svc_auth.c: Likewise.
11678 * sunrpc/svc_raw.c: Likewise.
11679 * sunrpc/svc_run.c: Likewise.
11680 * sunrpc/svc_tcp.c: Likewise.
11681 * sunrpc/svc_udp.c: Likewise.
11682 * sunrpc/svc_unix.c: Likewise.
11683 * sunrpc/svcauth_des.c: Likewise.
11684 * sunrpc/xcrypt.c: Likewise.
11685 * sunrpc/xdr.c: Likewise.
11686 * sunrpc/xdr_array.c: Likewise.
11687 * sunrpc/xdr_float.c: Likewise.
11688 * sunrpc/xdr_intXX_t.c: Likewise.
11689 * sunrpc/xdr_mem.c: Likewise.
11690 * sunrpc/xdr_rec.c: Likewise.
11691 * sunrpc/xdr_ref.c: Likewise.
11692 * sunrpc/xdr_sizeof.c: Likewise.
11693 * sunrpc/xdr_stdio.c: Likewise.
11694
b5c086a2
RM
116952012-05-10 Roland McGrath <roland@hack.frob.com>
11696
11697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11698 change. Update copyright years.
11699
6d74dd09
JM
117002012-05-10 Joseph Myers <joseph@codesourcery.com>
11701
11702 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11703
28e72501
MK
117042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11705 Joseph Myers <joseph@codesourcery.com>
11706 Paul Pluzhnikov <ppluzhnikov@google.com>
11707
11708 [BZ #14012]
11709 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11710 requiring rpcgen.
11711 [cross-compiling] (extra-libs): Likewise.
11712 [cross-compiling] (extra-libs-others): Likewise.
11713 [cross-compiling] (librpcsvc-routines): Likewise.
11714 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11715 [cross-compiling] (omit-deps): Likewise.
11716 (sunrpc-CPPFLAGS): New variable.
11717 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11718 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11719 (cross-rpcgen-objs): New variable.
11720 (extra-objs): Append $(cross-rpcgen-objs).
11721 ($(cross-rpcgen-objs)): New rule.
11722 ($(objpfx)cross-rpcgen): Likewise.
11723 (rpcgen-cmd): Define to use $(built-program-file). Expand
11724 comment.
11725 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11726 ($(objpfx)x%.stmp): Likewise.
11727 * sunrpc/proto.h [IS_IN_build] (_): Define.
11728 [IS_IN_build] (_libc_intl_domainname): Likewise.
11729
c8c59454
L
117302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11733 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11734 and R_X86_64_TPOFF64.
11735
6f27cd16
JM
117362012-05-10 Joseph Myers <joseph@codesourcery.com>
11737
11738 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11739 sysdeps/unix/sysv/syscalls.list.
11740 (stime): Likewise.
11741 (utime): Likewise.
11742 * sysdeps/unix/sysv/syscalls.list: Remove file.
11743
02467e1c
PE
117442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11745
11746 [BZ #3440]
11747 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11748 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11749 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11750 (__LC_IDENTIFICATION): Make these macros useful in #if
11751 expressions, as required by C99.
11752
da392631
AS
117532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11754
11755 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11756 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11757 after this.
11758
8115f29b
L
117592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11760
11761 * stdlib/longlong.h: Updated from GCC.
11762
bdd74070
AJ
117632012-05-09 Andreas Jaeger <aj@suse.de>
11764
edfe0dbe
AJ
11765 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11766 default is first entry.
11767 (run_mode): Set type.
11768 (main): Remove informal message about syslog.
11769 (options): Fix typo.
11770
bcfe3a54
ST
11771 [BZ #14053]
11772 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11773 to asm.
bcfe3a54
ST
11774 (lrint): Likewise.
11775 (llrintf): Likewise.
11776 (llrint): Likewise.
11777 (rint): Likewise.
11778 (rintf): Likewise.
11779 (nearbyint): Likewise.
11780 (nearbyintf): Likewise.
bdd74070 11781
91d8d69e
AJ
117822012-05-09 Andreas Jaeger <aj@suse.de>
11783 Pedro Alves <palves@redhat.com>
11784
11785 * nscd/nscd.c (run_mode): Use enum.
11786 (main): Cleanup coding style issue.
11787
bb90b80b
AJ
117882012-05-09 Alexandre Oliva <aoliva@redhat.com>
11789 Andreas Jaeger <aj@suse.de>
11790
bcfe3a54
ST
11791 * nscd/nscd.c (go_background): Replaced with...
11792 (run_mode): ... this.
bb90b80b 11793 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11794 (options): Add -F --foreground.
11795 (main): Implement it.
11796 (parse_opt): Parse it.
bb90b80b 11797
1a4b75a1
AJ
117982012-05-09 Andreas Jaeger <aj@suse.de>
11799
11800 [BZ #14083]
11801 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11802 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11803 -Wconversion warning.
11804 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11805 Likewise.
11806
b1cc2472
JM
118072012-05-09 Joseph Myers <joseph@codesourcery.com>
11808
11809 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11810 == 0.
11811 (LC_ALL): Use macro-int-constant.
11812 (LC_COLLATE): Likewise.
11813 (LC_CTYPE): Likewise.
11814 (LC_MESSAGES): Likewise.
11815 (LC_MONETARY): Likewise.
11816 (LC_NUMERIC): Likewise.
11817 (LC_TIME): Likewise.
11818 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11819 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11821 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11822 Specify type.
11823 [C99-based standards] (float_t): Expect type.
11824 [C99-based standards] (double_t): Expect type.
11825 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11826 type.
11827 [C99-based standards] (HUGE_VALL): Likewise.
11828 [C99-based standards] (INFINITY): Likewise.
11829 [C99-based standards] (NAN): Likewise.
11830 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11831 [C99-based standards] (FP_NAN): Likewise.
11832 [C99-based standards] (FP_NORMAL): Likewise.
11833 [C99-based standards] (FP_SUBNORMAL): Likewise.
11834 [C99-based standards] (FP_ZERO): Likewise.
11835 [C99-based standards] (FP_FAST_FMA): Use
11836 optional-macro-int-constant. Specify type. Require == 1.
11837 [C99-based standards] (FP_FAST_FMAF): Likewise.
11838 [C99-based standards] (FP_FAST_FMAL): Likewise.
11839 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11840 [C99-based standards] (FP_ILOGBNAN): Likewise.
11841 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11842 Specify type.
11843 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11844 [C99-based standards] (math_errhandling): Specify type.
11845 [ISO99 || ISO11] (signgam): Do not allow.
11846 [non-C99-based standards] (copysignf): Do not allow.
11847 [non-C99-based standards] (exp2f): Likewise.
11848 [non-C99-based standards] (log2f): Likewise.
11849 [non-C99-based standards] (modff): Allow.
11850 [non-C99-based standards] (erff): Do not allow.
11851 [non-C99-based standards] (erfcf): Likewise.
11852 [non-C99-based standards] (gammaf): Likewise.
11853 [non-C99-based standards] (hypotf): Likewise.
11854 [non-C99-based standards] (j0f): Likewise.
11855 [non-C99-based standards] (j1f): Likewise.
11856 [non-C99-based standards] (jnf): Likewise.
11857 [non-C99-based standards] (lgammaf): Likewise.
11858 [non-C99-based standards] (tgammaf): Likewise.
11859 [non-C99-based standards] (y0f): Likewise.
11860 [non-C99-based standards] (y1f): Likewise.
11861 [non-C99-based standards] (ynf): Likewise.
11862 [non-C99-based standards] (isnanf): Likewise.
11863 [non-C99-based standards] (acoshf): Likewise.
11864 [non-C99-based standards] (asinhf): Likewise.
11865 [non-C99-based standards] (atanhf): Likewise.
11866 [non-C99-based standards] (cbrtf): Likewise.
11867 [non-C99-based standards] (expm1f): Likewise.
11868 [non-C99-based standards] (ilogbf): Likewise.
11869 [non-C99-based standards] (log1pf): Likewise.
11870 [non-C99-based standards] (logbf): Likewise.
11871 [non-C99-based standards] (nextafterf): Likewise.
11872 [non-C99-based standards] (remainderf): Likewise.
11873 [non-C99-based standards] (rintf): Likewise.
11874 [non-C99-based standards] (scalbf): Likewise.
11875 [non-C99-based standards] (copysignl): Likewise.
11876 [non-C99-based standards] (exp2l): Likewise.
11877 [non-C99-based standards] (log2l): Likewise.
11878 [non-C99-based standards] (modfl): Allow.
11879 [non-C99-based standards] (erfl): Do not allow.
11880 [non-C99-based standards] (erfcl): Likewise.
11881 [non-C99-based standards] (gammal): Likewise.
11882 [non-C99-based standards] (hypotl): Likewise.
11883 [non-C99-based standards] (j0l): Likewise.
11884 [non-C99-based standards] (j1l): Likewise.
11885 [non-C99-based standards] (jnl): Likewise.
11886 [non-C99-based standards] (lgammal): Likewise.
11887 [non-C99-based standards] (tgammal): Likewise.
11888 [non-C99-based standards] (y0l): Likewise.
11889 [non-C99-based standards] (y1l): Likewise.
11890 [non-C99-based standards] (ynl): Likewise.
11891 [non-C99-based standards] (isnanl): Likewise.
11892 [non-C99-based standards] (acoshl): Likewise.
11893 [non-C99-based standards] (asinhl): Likewise.
11894 [non-C99-based standards] (atanhl): Likewise.
11895 [non-C99-based standards] (cbrtl): Likewise.
11896 [non-C99-based standards] (expm1l): Likewise.
11897 [non-C99-based standards] (ilogbl): Likewise.
11898 [non-C99-based standards] (log1pl): Likewise.
11899 [non-C99-based standards] (logbl): Likewise.
11900 [non-C99-based standards] (nextafterl): Likewise.
11901 [non-C99-based standards] (remainderl): Likewise.
11902 [non-C99-based standards] (rintl): Likewise.
11903 [non-C99-based standards] (scalbl): Likewise.
11904 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11905 [non-C99-based standards] (FP_*): Do not allow.
11906 [C99-based standards] (FP_*): Change to
11907 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11908 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11909 allow.
11910 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11911 (SIG_ERR): Likewise.
11912 [X/Open-based standards] (SIG_HOLD): Likewise.
11913 (SIG_IGN): Likewise.
11914 (SIGABRT): Use macro-int-constant. Specify type. Require
11915 positive value.
11916 (SIGFPE): Likewise.
11917 (SIGILL): Likewise.
11918 (SIGINT): Likewise.
11919 (SIGSEGV): Likewise.
11920 (SIGTER): Likewise.
11921 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11922 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11923 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11924 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11925 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11926 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11927 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11928 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11929 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11930 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11931 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11932 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11933 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11934 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11935 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11936 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11937 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11938 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11939 [X/Open-based standards] (SIGTRAP): Likewise.
11940 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11941 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11942 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11943 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11944 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11945 allow.
11946
b9f1922d
IW
119472012-05-08 Ian Wienand <ianw@vmware.com>
11948
11949 [BZ #14080]
11950 * time/tzset.c (__tzset_parse_tz): Update default rules for
11951 daylight time changes in the Energy Policy Act of 2005.
11952
1db86e88
AJ
119532012-05-09 Andreas Jaeger <aj@suse.de>
11954
11955 [BZ #13983]
11956 * elf/ldconfig.c (parse_conf): Change string to make clear that
11957 ldconfig only issued a warning if ld.so.conf does not exist.
11958
dee4a4e3
DM
119592012-05-08 David S. Miller <davem@davemloft.net>
11960
ee0db190
DM
11961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11962 movxtod instead of popping the value on the stack.
11963
dee4a4e3
DM
11964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11965
6a43ec98
CD
119662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11967
11968 * config.h.in: Add HAVE_ARM_PCS_VFP.
11969
05c2c961
RMG
119702012-05-08 Roland Mc Grath <roland@hack.frob.com>
11971
bcfe3a54
ST
11972 [BZ #13979]
11973 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11974 checking but the checks are disabled for any reason.
05c2c961 11975
4b30f61a
L
119762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11977
11978 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11979 and ELF64_R_TYPE with ELFW(R_TYPE).
11980
eee2bc67
JM
119812012-05-08 Joseph Myers <joseph@codesourcery.com>
11982
7ea5391a
JM
11983 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11984 (ulimit): Likewise.
11985
eee2bc67
JM
11986 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11987 (settimeofday): Likewise.
11988
abb66a67
MF
119892012-05-08 Mike Frysinger <vapier@gentoo.org>
11990
11991 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11992 a struct th_u2 inside the union, and move tu_block/tu_code into
11993 a new th_u3 union of tu_block/tu_code inside of that. Move
11994 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11995 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11996 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11997 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11998 (th_stuff): Change to th_u1.tu_stuff.
11999 (th_data): Define.
12000 (th_msg): Change to th_u1.th_u2.tu_data.
12001
7f18b530
DM
120022012-05-07 David S. Miller <davem@davemloft.net>
12003
05760585
DM
12004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12005
7f18b530
DM
12006 [BZ #14074]
12007 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12008 (SETUP_PIC_REG): Use it.
12009 (SETUP_PIC_REG_LEAF): Use it.
12010
495fd99f
JM
120112012-05-07 Joseph Myers <joseph@codesourcery.com>
12012
12013 [BZ #13885]
12014 [BZ #13923]
12015 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12016 USE_AS_EXPM1L.
12017 (EXPL_FINITE): Likewise.
12018 (FLDLOG): Likewise.
12019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12020 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12021 e_expl.S.
12022 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12023 USE_AS_EXPM1L.
12024 (EXPL_FINITE): Likewise.
12025 (FLDLOG): Likewise.
12026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12027 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12028 e_expl.S.
12029 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12030 test of -max_value argument for long double.
12031 * sysdeps/i386/fpu/libm-test-ulps: Update.
12032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12033
6693d694
DM
120342012-05-06 David S. Miller <davem@davemloft.net>
12035
12036 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12037 quad soft-float symbols whose references which are compiler
12038 generated.
12039 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12040
6c23e11c
JM
120412012-05-06 Joseph Myers <joseph@codesourcery.com>
12042
d8b82cad
JM
12043 [BZ #13884]
12044 [BZ #13914]
12045 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12046 USE_AS_EXP10L.
12047 (EXPL_FINITE): Likewise.
12048 (FLDLOG): Likewise.
12049 (c0): Likewise.
12050 (c1): Likewise.
12051 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12052 Adjust comments for base varying.
12053 (__expl_finite): Change alias to EXPL_FINITE.
12054 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12055 e_expl.S.
12056 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12057 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12058 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12059 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12061 USE_AS_EXP10L.
12062 (EXPL_FINITE): Likewise.
12063 (FLDLOG): Likewise.
12064 (c0): Likewise.
12065 (c1): Likewise.
12066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12067 Adjust comments for base varying.
12068 (__expl_finite): Change alias to EXPL_FINITE.
12069 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12070 tests for bugs.
12071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12072
6c23e11c
JM
12073 [BZ #14064]
12074 * math/libm-test.inc (check_float_internal): Correct ulp
12075 calculation for subnormal expected results.
12076
29ba805c
AJ
120772012-05-06 Andreas Jaeger <aj@suse.de>
12078
12079 * Makeconfig (+math-flags): New, set to -frounding-math.
12080 (+cflags): Add +math-flags so that all of glibc gets compiled with
12081 it.
12082
12083 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12084
7b17aeda
JM
120852012-05-05 Joseph Myers <joseph@codesourcery.com>
12086
5779f134
JM
12087 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12088 Disable one test.
12089
41498f4d
JM
12090 [BZ #13787]
12091 [BZ #13922]
12092 [BZ #14036]
12093 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12094 (__ieee754_expl): Allow for and saturate large arguments.
12095 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12096 (u_threshold): Likewise.
12097 (__exp): Call __ieee754_exp before checking for overflow and
12098 underflow.
12099 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12100 (u_threshold): Likewise.
12101 (__expf): Call __ieee754_expf before checking for overflow and
12102 underflow.
12103 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12104 (u_threshold): Likewise.
12105 (__expl): Call __ieee754_expl before checking for overflow and
12106 underflow.
12107 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12108 (__ieee754_expl): Allow for and saturate large arguments.
12109 * math/libm-test.inc (exp_test): Add another test. Do not allow
12110 missing overflow exception on overflow.
12111 (expm1_test): Do not allow missing overflow exception on overflow.
12112
6698b8bf
JM
12113 * sysdeps/i386/fpu/e_expl.c: Move to ...
12114 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12115 rather than using inline asm.
12116 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12117 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12118 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12119
7b17aeda
JM
12120 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12121 (nice): Likewise.
12122 (poll): Likewise.
12123 (signal): Likewise.
12124 (time): Likewise.
12125 (times): Likewise.
12126
f7c85819
JM
121272012-05-04 Joseph Myers <joseph@codesourcery.com>
12128
12129 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12130 sysdeps/unix/common/syscalls.list.
12131 (fchmod): Likewise.
12132 (fchown): Likewise.
12133 (ftruncate): Likewise.
12134 (getrusage): Likewise.
12135 (gettimeofday): Likewise.
12136 (setpgid): Likewise.
12137 (setregid): Likewise.
12138 (setreuid): Likewise.
12139 (sigaction): Likewise.
12140 (truncate): Likewise.
12141 (vhangup): Likewise.
12142 * sysdeps/unix/common/syscalls.list: Remove file.
12143 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12144 * sysdeps/unix/sysv/linux/Implies: Likewise.
12145
336270d0
L
121462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12147
12148 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12150 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12151 Moved to ...
12152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12153 Here.
12154 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12155 to ...
12156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12157 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12158 to ...
12159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12160 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12161 to ...
12162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12163 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12164 to ...
12165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12166 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12167 to ...
12168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12169 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12170 to ...
12171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12172 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12173 to ...
12174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12175 Here.
12176 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12177 to ...
12178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12179 Here.
12180 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12181 to ...
12182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12183 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12184 Moved to ...
12185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12186 Here.
12187 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12188 to ...
12189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12190
d128e450
JM
121912012-05-04 Joseph Myers <joseph@codesourcery.com>
12192
fa8ee516
JM
12193 * sysdeps/unix/common/bits/dirent.h: Remove file.
12194 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12195
d128e450
JM
12196 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12197 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12198 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12199 * sysdeps/unix/bsd/isatty.c: Likewise.
12200 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12201 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12202 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12203
ff8faaf0 122042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12205
62881be4 12206 [BZ #13563]
31dc8730
AZ
12207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12208 long double comparison inaccuracies.
12209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12211
6fef930c
AS
122122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12213
12214 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12215 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12216
8f203e6c
JM
122172012-05-04 Joseph Myers <joseph@codesourcery.com>
12218
12219 [BZ #14049]
12220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12221 nonzero digits before rounding a hex value.
12222 * stdlib/tst-strtod.c (tests): Add another test.
12223
5197d9c2
AK
122242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12225
12226 * sysdeps/s390/fpu/libm-test-ulps: Update.
12227
f0c1dedf
AJ
122282012-05-03 Andreas Jaeger <aj@suse.de>
12229
12230 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12231 does not get optimized out.
12232 (malloc_opt_barrier): New.
12233
a65ef2ae 122342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12235 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12236
2b942cb7 12237 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12238 intermediate file deletion.
2b942cb7 12239 (generated): Add .symlist files.
a65ef2ae 12240
54b71e02
JM
122412012-05-03 Joseph Myers <joseph@codesourcery.com>
12242
12243 [BZ #13775]
12244 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12245 Redirect under this condition.
12246 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12247 [__USE_GNU] (__dprintf_chk): Not under this condition.
12248 [__USE_GNU] (__vdprintf_chk): Likewise.
12249 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12250 under this condition.
12251 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12252 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12253 [__USE_XOPEN2K8] (vdprintf): Likewise.
12254 [__USE_GNU] (__dprintf_chk): Not under this condition.
12255 [__USE_GNU] (__vdprintf_chk): Likewise.
12256 [__USE_GNU] (dprintf): Likewise.
12257 [__USE_GNU] (vdprintf): Likewise.
12258
d3dfcc41
RM
122592012-05-03 Roland McGrath <roland@hack.frob.com>
12260
12261 * elf/Makefile (common-generated): Set this instead of generated for
12262 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12263 $(all-built-dso)-derived lists.
12264
7ac30cc5
AJ
122652012-05-03 Andreas Jaeger <aj@suse.de>
12266
0c51e550
AJ
12267 * sysdeps/i386/fpu/libm-test-ulps: Update.
12268
7ac30cc5
AJ
12269 * FAQ: Removed.
12270 * FAQ.in: Likewise.
12271 * scripts/gen-FAQ.pl: Likewise.
12272 * manual/install.texi (Installation): Point to online location of
12273 FAQ.
12274 * Makefile (files-for-dist): Remove FAQ.
12275 (FAQ): Remove.
12276
d4c2917f
AM
122772012-05-02 Allan McRae <allan@archlinux.org>
12278
12279 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12280 (LDFLAGS-reldepmod5.so): Likewise.
12281 (LDFLAGS-reldep6mod1.so): Likewise.
12282 (LDFLAGS-reldep6mod4.so): Likewise.
12283 (LDFLAGS-reldep8mod3.so): Likewise.
12284 (LDFLAGS-unload4mod1.so): Likewise.
12285 (LDFLAGS-unload4mod2.so): Likewise.
12286 (LDFLAGS-tst-initorder): Likewise.
12287 (LDFLAGS-tst-initordera2.so): Likewise.
12288 (LDFLAGS-tst-initordera3.so): Likewise.
12289 (LDFLAGS-tst-initordera4.so): Likewise.
12290 (LDFLAGS-tst-initorderb2.so): Likewise.
12291 (LDFLAGS-noload): Likewise.
12292 (LDFLAGS-next): Likewise.
12293 (LDFLAGS-order2mod1.so): Likewise.
12294 (LDFLAGS-order2mod2.so): Likewise.
12295 (LDFLAGS-tst-initorder2): Likewise.
12296 (LDFLAGS-tst-initorder2a.so): Likewise.
12297 (LDFLAGS-tst-initorder2b.so): Likewise.
12298 (LDFLAGS-tst-initorder2c.so): Likewise.
12299 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12300
d77f993f
DM
123012012-05-02 David S. Miller <davem@davemloft.net>
12302
12303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12304
171a70b4
PP
123052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12306
12307 [BZ #14055]
12308 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12309
0be196ad
AJ
123102012-05-02 Andreas Jaeger <aj@suse.de>
12311
12312 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12313 since we manipulate rounding mode.
12314 (CPPFLAGS-test-idouble.c): Likewise.
12315 (CPPFLAGS-test-ifloat.c): Likewise.
12316 (CFLAGS-test-ldouble.c): Likewise.
12317 (CFLAGS-test-double.c): Likewise.
12318 (CFLAGS-test-float.c): Likewise.
12319 (CFLAGS-test-misc.c): Likewise.
12320 (CFLAGS-test-test-fenv.c): Likewise.
12321
4f9d04aa
AZ
123222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12323
2b942cb7
RM
12324 [BZ #2550]
12325 [BZ #2570]
12326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12327 comparisons to determine direction to adjust input.
4f9d04aa 12328
82a79e7d
RM
123292012-05-01 Roland McGrath <roland@hack.frob.com>
12330
f5a01ca9
RM
12331 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12332 output to the target.
12333
90fe4186
RM
12334 * scripts/localplt.awk: New file.
12335 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12336 (check-localplt-CFLAGS): Variable removed.
12337 ($(all-built-dso:=.jmprel)): New static pattern rule.
12338 (generated): Add those targets.
12339 (localplt-built-dso): New variable.
12340 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12341
12342 * elf/check-localplt.c: File removed.
12343
82397ed6
RM
12344 * scripts/check-execstack.awk: New file.
12345 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12346 (check-execstack-CFLAGS): Variable removed.
12347 ($(objpfx)check-execstack.h): Target removed.
12348 ($(objpfx)execstack-default): New target.
12349 (generated): Add that instead of check-execstack.h.
12350 ($(all-built-dso:=.phdr)): New static pattern rule.
12351 (generated): Add those targets.
12352 * elf/check-execstack.c: File removed.
12353
82a79e7d
RM
12354 * scripts/check-textrel.awk: New file.
12355 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12356 (check-textrel-CFLAGS): Variable removed.
12357 (all-built-dso): Use := to define.o
12358 ($(all-built-dso:=.dyn)): New static pattern rule.
12359 (generated): Add those targets.
12360 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12361 * config.make.in (READELF): New substituted variable.
12362 * elf/check-textrel.c: File removed.
12363
62fde54f 123642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12365
615605c9
JM
12366 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12367 allow.
12368 * conform/data/ctype.h-data [C99-based standards] (isblank):
12369 Expect function.
12370 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12371 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12373 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12374 Specify type. Require positive value.
12375 (EILSEQ): Likewise.
12376 (ERANGE): Likewise.
12377 [ISO || POSIX] (EILSEQ): Do not expect.
12378 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12379 Specify type. Require positive value.
12380 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12383 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12384 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12385 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12386 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12387 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12388 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12390 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12391 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12392 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12393 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12394 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12395 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12396 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12397 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12398 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12399 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12400 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12401 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12402 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12403 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12404 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12405 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12406 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12407 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12408 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12409 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12410 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12411 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12412 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12413 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12414 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12415 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12416 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12417 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12418 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12419 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12420 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12421 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12422 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12423 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12424 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12425 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12426 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12427 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12428 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12429 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12430 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12431 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12432 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12433 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12434 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12435 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12436 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12437 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12438 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12439 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12440 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12441 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12442 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12443 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12444 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12445 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12446 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12447 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12448 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12449 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12450 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12451 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12452 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12453 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12454 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12455 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12456 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12457 Require >= 2.
12458 (FLT_ROUNDS): Expect as macro, not constant.
12459 (FLT_MANT_DIG): Use macro-int-constant.
12460 (DBL_MANT_DIG): Likewise.
12461 (LDBL_MANT_DIG): Likewise.
12462 (FLT_DIG): Likewise.
12463 (DBL_DIG): Likewise.
12464 (LDBL_DIG): Likewise.
12465 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12466 (DBL_MIN_EXP): Likewise.
12467 (LDBL_MIN_EXP): Likewise.
12468 (FLT_MAX_EXP): Use macro-int-constant.
12469 (DBL_MAX_EXP): Likewise.
12470 (LDBL_MAX_EXP): Likewise.
12471 (FLT_MAX_10_EXP): Likewise.
12472 (DBL_MAX_10_EXP): Likewise.
12473 (LDBL_MAX_10_EXP): Likewise.
12474 (FLT_MAX): Use macro-constant.
12475 (DBL_MAX): Likewise.
12476 (LDBL_MAX): Likewise.
12477 (FLT_EPSILON): Use macro-constant. Give upper bound.
12478 (DBL_EPSILON): Likewise.
12479 (LDBL_EPSILON): Likewise.
12480 (FLT_MIN): Likewise.
12481 (DBL_MIN): Likewise.
12482 (LDBL_MIN): Likewise.
12483 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12484 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12485 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12486 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12487 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12488 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12489 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12490 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12491 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12492 [ISO11] (FLT_TRUE_MIN): Likewise.
12493 [ISO11] (LDBL_TRUE_MIN): Likewise.
12494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12495 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12496 (SCHAR_MIN): Use macro-int-constant. Specify type.
12497 (SCHAR_MAX): Likewise.
12498 (UCHAR_MAX): Likewise.
12499 (CHAR_MIN): Likewise.
12500 (CHAR_MAX): Likewise.
12501 (MB_LEN_MAX): Use macro-int-constant.
12502 (SHRT_MIN): Use macro-int-constant. Specify type.
12503 (SHRT_MAX): Likewise.
12504 (USHRT_MAX): Likewise.
12505 (INT_MAX): Likewise.
12506 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12507 bound negative.
12508 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12509 bound with "U".
12510 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12511 bound with "L".
12512 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12513 bound negative. Suffix upper bound with "L".
12514 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12515 bound with "UL".
12516 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12517 Specify type.
12518 [C99-based standards] (LLONG_MAX): Likewise.
12519 [C99-based standards] (ULLONG_MAX): Likewise.
12520 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12521 == 0.
12522 [ISO11] (max_align_t): Require type.
12523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12524
c9140a62
JM
12525 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12526 from $CFLAGS, without defining away __attribute__ calls.
12527 (checknamespace): Use $CFLAGS_namespace.
12528
9af0bf29
JM
12529 * conform/conformtest.pl (@keywords): Only include C99 keywords
12530 for standards based on C99 or C11.
12531
343222a2
JM
12532 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12533 Disable tests.
12534 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12535 UNIX98]: Likewise.
12536
661f8cf0
JM
12537 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12538 usability of symbols in #if.
12539
ee74b9cb
JM
12540 * conform/conformtest.pl: If macro or constant types start
12541 "promoted:", expect the symbol to be of the following type
12542 promoted by the integer promotions.
62fde54f 12543
aafc49b3
JM
12544 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12545 in one place. Also handle "macro-constant".
12546
fefdf574
JM
12547 * conform/conformtest.pl: Only accept expected macro values with
12548 "==". Parse all "macro" lines in one place.
12549 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12550
f2d922fe
JM
12551 * conform/conformtest.pl: Handle braced types on "constant" lines
12552 instead of handling "typed-constant".
12553 * conform/data/signal.h-data: Use "constant" instead of
12554 "typed-constant".
12555
d22956c9
JM
12556 * conform/conformtest.pl: Handle "optional-" at start of lines in
12557 one place rather than duplicating several cases. Handle each
12558 format of "macro" line with initial "optional-".
12559
028e2e38
JM
12560 * conform/conformtest.pl: Only accept expected constant or
12561 optional-constant values with "==". Parse all "constant" lines in
12562 one place. Parse all "optional-constant" lines in one place.
12563 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12564 * conform/data/fmtmsg.h-data: Likewise.
12565 * conform/data/netinet/in.h-data: Likewise.
12566 * conform/data/tar.h-data: Likewise.
12567 * conform/data/limits.h-data: Use "==" form on "constant" and
12568 "optional-constant" lines.
12569
1b8f2850
JM
12570 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12571 Use -std=c99 for XOPEN2K.
12572 (@knownproblems): Remove.
12573 (newtoken): Don't check %isknown.
12574
a05a144b
JM
12575 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12576 Do not expect macro.
12577 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12580 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12581 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12582 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12583 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12584 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12585 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12586 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12587 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12588 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12589 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12590 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12591 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12592 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12599 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12600 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12601 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12602 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12603 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12604 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12605 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12606 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12607 [XPG3] (acosh): Likewise.
12608 [XPG3] (asinh): Likewise.
12609 [XPG3] (atanh): Likewise.
12610 [XPG3] (cbrt): Likewise.
12611 [XPG3] (expm1): Likewise.
12612 [XPG3] (ilogb): Likewise.
12613 [XPG3] (log1p): Likewise.
12614 [XPG3] (logb): Likewise.
12615 [XPG3] (nextafter): Likewise.
12616 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12617 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12618 [XPG3] (remainder): Likewise.
12619 [XPG3] (rint): Likewise.
12620 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12621 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12622 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12623 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12624 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12625 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12626 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12627 [UNIX98 || XOPEN2K] (scalb): Expect.
12628 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12629 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12630 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12631 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12632 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12633 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12634 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12635 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12636 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12637 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12638 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12639 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12640 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12641 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12642 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12643 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12644 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12645 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12646 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12647 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12648 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12649 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12650 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12651 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12652 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12653 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12654 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12655 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12656 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12657 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12658 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12659 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12660 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12661 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12662 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12663 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12664 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12665 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12666 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12667 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12668 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12669 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12670 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12671 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12672 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12673 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12674 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12675 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12676 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12677 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12678 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12679 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12680 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12681 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12682 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12683 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12684 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12685 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12686 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12687 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12688 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12689 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12690 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12691 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12692 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12693 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12694 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12695 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12696 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12697 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12698 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12699 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12700 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12701 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12702 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12703 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12704 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12705 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12706 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12707 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12708 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12709 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12710 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12711 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12712 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12713 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12714 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12715 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12716 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12717 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12718 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12719 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12720 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12721 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12722 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12723 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12724 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12725 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12726 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12727 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12728 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12729 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12730 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12731 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12732 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12733 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12734 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12735 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12736 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12737 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12738 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12739 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12740 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12741 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12742 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12743 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12744 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12745 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12746 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12747 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12748 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12749 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12750 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12751 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12752 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12753 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12754 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12755 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12756 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12757 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12758 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12759 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12760 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12761 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12762 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12763 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12764 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12765
73c5ebe3
JM
12766 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12767 _XOPEN_SOURCE_EXTENDED for XPG4.
12768
39c33b6c
JM
12769 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12770
62fde54f
JM
12771 * Makeconfig (localtime): Remove variable.
12772 (inst_localtime-file): Likewise.
12773
0741d64c
AS
127742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12775
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12777 Update.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12779 Update.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12781 Update.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12783 Update.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12785 Update.
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12787 Update.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12789 Update.
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12791 Update.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12793 Update.
12794
7cb029ee
JM
127952012-05-01 Joseph Myers <joseph@codesourcery.com>
12796
12797 [BZ #2550]
12798 [BZ #2570]
12799 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12800 comparisons to determine direction to adjust input.
12801 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12802 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12804 Likewise.
12805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12806 Likewise.
12807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12808 Likewise.
12809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12811 Likewise.
12812 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12813 Likewise.
12814 * math/libm-test.inc (nexttoward_test): Add more tests.
12815
412bd966
AS
128162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12817
12818 [BZ #14040]
12819 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12820 in version GLIBC_2.1, not GLIBC_2.0.
12821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12822 Likewise.
12823
9568c0c2
JM
128242012-04-30 Joseph Myers <joseph@codesourcery.com>
12825
adfbc8ac
JM
12826 [BZ #13942]
12827 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12828 (1 - x) * (1 + x).
12829 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12830 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12831 * math/libm-test.inc (acos_test): Add more tests.
12832 (asin_test): Likewise.
12833 * sysdeps/i386/fpu/libm-test-ulps: Update.
12834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12835
5ba3cc69
JM
12836 [BZ #14034]
12837 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12838 of square root.
12839 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12840 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12841 * math/libm-test.inc (acos_test_tonearest): New function.
12842 (acos_test_towardzero): Likewise.
12843 (acos_test_downward): Likewise.
12844 (acos_test_upward): Likewise.
12845 (asin_test_tonearest): Likewise.
12846 (asin_test_towardzero): Likewise.
12847 (asin_test_downward): Likewise.
12848 (asin_test_upward): Likewise.
12849 (main): Call the new functions.
12850 * sysdeps/i386/fpu/libm-test-ulps: Update.
12851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12852
9568c0c2
JM
12853 [BZ #13884]
12854 [BZ #13924]
12855 * math/e_exp10.c: Include <float.h>.
12856 (__ieee754_exp10): Handle underflow here rather than multiplying
12857 large negative argument by M_LN10.
12858 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12859 of __ieee754_expf.
12860 * math/e_exp10l.c: Include <float.h>.
12861 (__ieee754_exp10l): Handle underflow here rather than multiplying
12862 large negative argument by M_LN10l.
12863 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12864 spurious overflow exception on underflow.
12865
5ac3ea17
MP
128662012-04-29 Marek Polacek <polacek@redhat.com>
12867
12868 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12869 (__fortify_function): New macro.
12870 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12871 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12872 __extern_always_inline.
12873 * libio/bits/stdio2.h: Likewise.
12874 * libio/bits/stdio.h: Likewise.
12875 * string/string.h: Likewise.
12876 * string/bits/string3.h: Likewise.
12877 * include/stdio.h: Likewise.
12878 * stdlib/bits/stdlib.h: Likewise.
12879 * stdlib/stdlib.h: Likewise.
12880 * rt/bits/mqueue2.h: Likewise.
12881 * rt/mqueue.h: Likewise.
12882 * posix/bits/unistd.h: Likewise.
12883 * posix/unistd.h: Likewise.
12884 * io/bits/poll2.h: Likewise.
12885 * io/bits/fcntl2.h: Likewise.
12886 * io/fcntl.h: Likewise.
12887 * io/sys/poll.h: Likewise.
12888 * misc/bits/syslog.h: Likewise.
12889 * misc/bits/syslog-ldbl.h: Likewise.
12890 * misc/sys/syslog.h: Likewise.
12891 * socket/bits/socket2.h: Likewise.
12892 * socket/sys/socket.h: Likewise.
12893 * debug/tst-chk1.c: Likewise.
12894 * wcsmbs/bits/wchar2.h: Likewise.
12895 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12896 * wcsmbs/wchar.h: Likewise.
12897
ecf0ebfb
AJ
128982012-04-29 Andreas Jaeger <aj@suse.de>
12899
12900 * Makerules (tests): Remove enable-check-abi protection.
12901 (check-abi-warn): Remove.
12902 (check-abi-%): Remove check-abi-warn usage.
12903
12904 * configure.in: Remove check-abi configure option.
12905 * configure: Regenerated.
12906 * config.make.in (enable-check-abi): Remove.
12907
6d5c57fa
AS
129082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12909
24c5d07e 12910 [BZ #14033]
ded5180a
AS
12911 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12912 double functions to double *_finite functions.
12913
7e0d315d
AS
12914 [BZ #13941]
12915 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12916 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12917 LDBL_MIN_EXP.
12918 * stdio-common/Makefile (tests): Add tst-sprintf3.
12919 * stdio-common/tst-sprintf3.c: New file.
12920
6d5c57fa
AS
12921 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12922 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12923
0749ff8b
JM
129242012-04-28 Joseph Myers <joseph@codesourcery.com>
12925
12926 * conform/conformtest.pl: Remove duplicate typed-constant
12927 handling.
12928
8dbd5d7b
DM
129292012-04-28 David S. Miller <davem@davemloft.net>
12930
12931 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12932 (check-abi-%): Remove AWK script prerequisite and explicit
12933 abilist directory.
12934 (check-abi): Rewrite to just diff the symlist with the abilist.
12935 (config-tls, config-abi-config): Delete, no longer used.
12936 (update-abi-%): Remove AWK script and explicit abilist directory.
12937 (update-abi): Rewrite to simply compare and conditionally copy the
12938 symlist and the sysdep abilist file. Remove update-abi-config
12939 checks.
12940 * abilist/ld.abilist: Remove.
12941 * abilist/libBrokenLocale.abilist: Remove.
12942 * abilist/libanl.abilist: Remove.
12943 * abilist/libcrypt.abilist: Remove.
12944 * abilist/libdl.abilist: Remove.
12945 * abilist/librt.abilist: Remove.
12946 * abilist/libthread_db.abilist: Remove.
12947 * abilist/libutil.abilist: Remove.
12948 * scripts/extract-abilist.awk: Remove.
12949 * scripts/merge-abilist.awk: Remove.
12950 * sysdeps/generic/libcidn.abilist: New file.
12951 * sysdeps/generic/libnss_compat.abilist: New file.
12952 * sysdeps/generic/libnss_db.abilist: New file.
12953 * sysdeps/generic/libnss_dns.abilist: New file.
12954 * sysdeps/generic/libnss_files.abilist: New file.
12955 * sysdeps/generic/libnss_hesiod.abilist: New file.
12956 * sysdeps/generic/libnss_nis.abilist: New file.
12957 * sysdeps/generic/libnss_nisplus.abilist: New file.
12958 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12959 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12960 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12961 file.
12962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12963 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12964 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12965 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12966 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12967 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12968 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12969 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12970 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12971 file.
12972 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12973 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12974 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12975 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12976 file.
12977 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12978 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12980 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12981 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12982 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12983 file.
12984 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12985 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12986 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12987 file.
12988 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12990 New file.
12991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12992 New file.
12993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12994 New file.
12995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12996 New file.
12997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12998 New file.
12999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13000 New file.
13001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13002 New file.
13003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13004 New file.
13005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13006 New file.
13007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13008 New file.
13009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13010 New file.
13011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13012 New file.
13013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13014 New file.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13016 file.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13018 New file.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13020 New file.
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13022 file.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13024 New file.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13026 New file.
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13028 file.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13030 New file.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13032 New file.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13034 New file.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13036 New file.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13038 New file.
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13040 New file.
13041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13043 file.
13044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13045 New file.
13046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13047 file.
13048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13049 file.
13050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13051 file.
13052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13053 file.
13054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13055 file.
13056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13057 New file.
13058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13059 file.
13060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13061 file.
13062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13063 New file.
13064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13065 file.
13066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13068 file.
13069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13070 New file.
13071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13072 file.
13073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13074 file.
13075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13076 file.
13077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13078 file.
13079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13080 file.
13081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13082 New file.
13083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13084 file.
13085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13086 file.
13087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13088 New file.
13089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13090 file.
13091 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13092 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13093 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13094 file.
13095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13096 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13097 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13098 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13099 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13100 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13101 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13102 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13103 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13104 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13107 file.
13108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13109 New file.
13110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13111 file.
13112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13113 file.
13114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13115 file.
13116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13117 file.
13118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13119 file.
13120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13121 New file.
13122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13123 New file.
13124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13125 file.
13126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13127 New file.
13128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13129 file.
13130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13132 file.
13133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13134 New file.
13135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13136 file.
13137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13138 file.
13139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13140 file.
13141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13142 file.
13143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13144 file.
13145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13146 New file.
13147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13148 New file.
13149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13150 file.
13151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13152 New file.
13153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13154 file.
13155
41d73a1b
JM
131562012-04-28 Joseph Myers <joseph@codesourcery.com>
13157
13158 * conform/conformtest.pl: Fix typo in handling typed-constant from
13159 allow-header.
13160
28aeeda4
JM
131612012-04-27 Joseph Myers <joseph@codesourcery.com>
13162
adae8f5e
JM
13163 * README: Cut down references to pre-2.6 Linux kernels and
13164 Linuxthreads. Update lists of configurations in libc and ports
13165 and sort alphabetically. Say "or newer" with Linux kernel version
13166 requirements.
13167
28aeeda4
JM
13168 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13169
a462cb63
RA
131702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13171
13172 [BZ #887]
13173 * math/libm-test.inc (logb_test_downward): New test to expose
13174 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13175 rounding mode.
13176
6ad3493e
JM
131772012-04-27 Joseph Myers <joseph@codesourcery.com>
13178
13179 [BZ #14027]
13180 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13181 to be done.
13182 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13183 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13184
2ce4f015
JM
131852012-04-26 Joseph Myers <joseph@codesourcery.com>
13186
5aeb141a
JM
13187 * sysdeps/unix/i386/brk.S: Remove file.
13188 * sysdeps/unix/i386/dl-brk.S: Likewise.
13189 * sysdeps/unix/i386/pipe.S: Likewise.
13190 * sysdeps/unix/i386/sigreturn.S: Likewise.
13191 * sysdeps/unix/i386/syscall.S: Likewise.
13192 * sysdeps/unix/i386/vfork.S: Likewise.
13193 * sysdeps/unix/i386/wait.S: Likewise.
13194
7143acae
JM
13195 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13196 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13197
2ce4f015
JM
13198 * configure.in (arm*-none*): Do not allow without
13199 --enable-hacker-mode.
13200 (netbsd*): Remove case setting base_os.
13201 (386bsd*): Likewise.
13202 (freebsd*): Likewise.
13203 (bsdi*): Likewise.
13204 (osf*): Likewise.
13205 (sunos*): Likewise.
13206 (ultrix*): Likewise.
13207 (newsos*): Likewise.
13208 (dynix*): Likewise.
13209 (*bsd*): Likewise.
13210 (sysv*): Likewise.
13211 (isc*): Likewise.
13212 (esix*): Likewise.
13213 (sco*): Likewise.
13214 (minix*): Likewise.
13215 (irix4*): Likewise.
13216 (irix6*): Likewise.
13217 (solaris[2-9]*): Likewise.
13218 (none): Likewise.
13219 * configure: Regenerated.
13220
0ac229c8
AZ
132212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13222
13223 [BZ #11521]
13224 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13225 overflow or cancellation in calculating denominator.
13226 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13228 down expression to avoid unexpected rounding in newer GCCs.
13229 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13230
33f244f4
DM
132312012-04-26 David S. Miller <davem@davemloft.net>
13232
13233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13234 long-double compat symbols.
13235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13248
cfa1f3e8
DM
132492012-04-25 David S. Miller <davem@davemloft.net>
13250
13251 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13252 HWCAP_* values only after the memory barriers have been defined.
13253 (atomic_full_barrier): Define.
13254 (atomic_read_barrier): Define.
13255 (atomic_write_barrier): Define.
13256
6e236b92
SP
132572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13258
13259 * shlib-versions: Add libgcc_s version information.
13260 * sysdeps/generic/libgcc_s.h: Remove.
13261 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13262 libgcc_s.h.
13263 * sysdeps/gnu/unwind-resume.c: Likewise.
13264 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13265
aab39a09
DM
132662012-04-25 David S. Miller <davem@davemloft.net>
13267
13268 * sysdeps/unix/sparc/brk.S: Delete.
13269 * sysdeps/unix/sparc/dl-brk.S: Delete.
13270 * sysdeps/unix/sparc/pipe.S: Delete.
13271 * sysdeps/unix/sparc/sysdep.S: Delete.
13272 * sysdeps/unix/sparc/sysdep.h: Delete.
13273 * sysdeps/unix/sparc/vfork.S: Delete.
13274 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13275 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13276 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13277 ret_ERRVAL, r0, r1, MOVE): Define.
13278 (JUMPTARGET): Remove.
13279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13280 sysdeps/unix/sparc/sysdep.h
13281 (ENTRY, END): Remove.
13282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13283
a3cc4f48
JM
132842012-04-25 Joseph Myers <joseph@codesourcery.com>
13285
2ed8cda2
JM
13286 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13287 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13288 -DIS_IN_build.
13289
35d76d59
JM
13290 * timezone/README: Update upstream location and email address for
13291 tzcode and tzdata.
13292 * timezone/zdump.c: Update from tzcode 2012b.
13293 * timezone/zic.c: Likewise.
13294
a3cc4f48
JM
13295 * configure.in (libc_cv_as_needed): Remove test.
13296 * configure: Regenerated.
13297 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13298 conditional definition.
13299 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13300 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13301 * config.make.in (have-as-needed): Remove variable.
13302
ceab42c3
SP
133032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13304 Paul Pluzhnikov <ppluzhnikov@google.com>
13305
13306 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13307 strings correctly.
13308
3ce2865f
CLT
133092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13310
13311 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13312 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13313 * sysdeps/sh/strlen.S: Likewise.
13314
f37e0d68
JM
133152012-04-24 Joseph Myers <joseph@codesourcery.com>
13316
ae186e9a
JM
13317 * sysdeps/unix/fork.S: Remove file.
13318 * sysdeps/unix/i386/fork.S: Likewise.
13319 * sysdeps/unix/sparc/fork.S: Likewise.
13320
b96914af
JM
13321 * sysdeps/unix/system.c: Remove file.
13322 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13323
f37e0d68
JM
13324 * sysdeps/unix/getegid.S: Remove file.
13325 * sysdeps/unix/geteuid.S: Likewise.
13326
87ef29ca
RM
133272012-04-24 Roland McGrath <roland@hack.frob.com>
13328
83bcd236
RM
13329 * scripts/check-localplt.awk: New file.
13330 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13331 of diff.
13332 * scripts/data/localplt-generic.data: Add a comment.
13333
87ef29ca
RM
13334 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13335 NODE when __dir_mkfile failed.
13336 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13337 Reported by Ludovic Courtès <ludo@gnu.org>.
13338
e5a6e567
AJ
133392012-04-24 Andreas Jaeger <aj@suse.de>
13340
13341 * Makerules (common-clean): Also remove gen-as-const-headers
13342 files.
13343
c1820385
JM
133442012-04-24 Joseph Myers <joseph@codesourcery.com>
13345
13346 * Makerules (native-compile): Do not change working directory for
13347 build. Use $(OUTPUT_OPTION) in command.
13348 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13349
94e02fc4
AZ
133502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13351
13352 [BZ #13886]
13353 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13354 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13355 * math/libm-test.inc (floor_test): Add more tests.
13356 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13357
3a533ca3
JM
133582012-04-24 Joseph Myers <joseph@codesourcery.com>
13359
940ab4b3
JM
13360 * sysdeps/unix/getdents.c: Remove file.
13361 * sysdeps/unix/sysv/getdents.c: Likewise.
13362 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13363
90e037bd
JM
13364 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13365 sysdeps/unix/mman/syscalls.list.
13366 (mmap): Likewise.
13367 (mprotect): Likewise.
13368 (msync): Likewise.
13369 (munmap): Likewise.
13370 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13371 * sysdeps/unix/mman/syscalls.list: Remove.
13372 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13373
3a533ca3
JM
13374 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13375 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13376 * configure: Regenerated.
13377 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13378 $(libgcc_s_suffix).
13379 * config.make.in (libgcc_s_suffix): Remove variable.
13380
1ad743de
JM
133812012-04-23 Joseph Myers <joseph@codesourcery.com>
13382
4ad451e2
JM
13383 * sysdeps/unix/sysv/gethostname.c: Move to ...
13384 * sysdeps/posix/gethostname.c: ... here.
13385
5e37ce39
JM
13386 * sysdeps/unix/execve.S: Remove file.
13387
1ad743de
JM
13388 * sysdeps/unix/_exit.S: Remove file.
13389
4e681b5b
AJ
133902012-04-23 Andreas Jaeger <aj@suse.de>
13391
13392 [BZ #13739]
13393 * manual/Makefile: Remove make dist support, there's no
13394 need for a stand-alone documentation tar ball.
13395 (TEXI2DVI): Define always, it's not in Makeconfig.
13396 (dist): Removed.
13397 (tar-it): Removed.
13398 (edition): Removed.
13399 (glibc-doc-$(edition).tar): Removed
13400 (%.Z): Removed.
13401 (%.gz): Removed.
13402 (%.uu): Removed.
13403 (ETAGS): Remove, it's in Makeconfig.
13404 (move-if-change): Remove, it's in Makeconfig.
13405
38686a03 134062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13407
13408 [BZ #13970]
13409 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13410 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13411 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13412 (strtod_l, strtof_l, strtold_l): Remove __wur.
13413 It is not necessarily an error to ignore strtol's return value.
13414 One can reliably look at the stored endptr to decide whether
13415 the number had valid syntax.
13416
7c0616fa
AJ
134172012-04-21 Andreas Jaeger <aj@suse.de>
13418
803cb6b7 13419 [BZ #13739]
7c0616fa
AJ
13420 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13421
b0fe253f
JM
134222012-04-21 Joseph Myers <joseph@codesourcery.com>
13423
13424 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13425 * sysdeps/unix/sysv/Versions: Remove file.
13426
8280f22d
MT
134272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13428
13429 [BZ #13927]
13430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13431
75ce411f 134322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13433
13434 [BZ #7064]
13435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13436 version from __vm86.
13437
097d59fa
JM
134382012-04-20 Joseph Myers <joseph@codesourcery.com>
13439
a90f3bcb
JM
13440 * sysdeps/unix/common/lxstat.c: Remove file.
13441 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13442
edc7ea78
JM
13443 * sysdeps/unix/sysv/Makefile: Remove file.
13444
cb78c221
JM
13445 * sysdeps/unix/sysv/direct.h: Remove file.
13446
efa6a45f
JM
13447 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13448 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13449 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13450 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13451 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13452 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13453 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13454
9c9f2d0c
JM
13455 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13456
4541c83b
JM
13457 * sysdeps/unix/xmknod.c: Remove file.
13458 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13459
f5d153a0
JM
13460 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13461
aa746595
JM
13462 * sysdeps/unix/sysv/i386/time.S: Remove file.
13463
cce5905e
JM
13464 * sysdeps/unix/fxstat.c: Remove file.
13465 * sysdeps/unix/xstat.c: Likewise.
13466 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13467
37fa3841
JM
13468 * sysdeps/unix/sysv/sigaction.c: Remove file.
13469
ff1962a3
JM
13470 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13471 (sysdep_headers): Remove variable.
13472 [termio.h not in sysdep_headers] (generated): Likewise.
13473 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13474 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13475 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13476 * sysdeps/unix/sysv/tcflow.c: Likewise.
13477 * sysdeps/unix/sysv/tcflush.c: Likewise.
13478 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13479 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13480 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13481 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13482 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13483
e7740d31
JM
13484 * sysdeps/unix/siglist.c: Remove file.
13485
ee06f18b
JM
13486 * sysdeps/unix/getppid.S: Remove file.
13487
097d59fa
JM
13488 * sysdeps/unix/mkdir.c: Remove file.
13489 * sysdeps/unix/rmdir.c: Likewise.
13490
ff3d51ec
AS
134912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13492
13493 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13494 ERR_MAX value.
13495 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13496 errlist-compat value.
13497
50f81fd7
DM
134982012-04-18 David S. Miller <davem@davemloft.net>
13499
13500 * sysdeps/generic/memcopy.h (reg_char): Delete.
13501 * debug/strcat_chk.c: Use char, not reg_char.
13502 * debug/strcpy_chk.c: Likewise.
13503 * debug/strncat_chk.c: Likewise.
13504 * debug/strncpy_chk.c: Likewise.
13505 * string/memchr.c: Likewise.
13506 * string/memrchr.c: Likewise.
13507 * string/rawmemchr.c: Likewise.
13508 * string/strcat.c: Likewise.
13509 * string/strchr.c: Likewise.
13510 * string/strchrnul.c: Likewise.
13511 * string/strcmp.c: Likewise.
13512 * string/strcpy.c: Likewise.
13513 * string/strncat.c: Likewise.
13514 * string/strncmp.c: Likewise.
13515 * string/strncpy.c: Likewise.
13516
8ff41c46
WS
135172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13518
13519 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13520 __builtin_memcopy is called when src and dest ranges are known to not
13521 overlap.
13522
6b652f46
WS
135232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13524
13525 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13526 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13527 fwd_align_merge macro call.
13528 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13529 bwd_align_merge macro call.
13530 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13531
b282631e
WS
135322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13533
13534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13535 bwd_align_merge macros.
13536 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13537 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13539
95aa737c
DM
135402012-04-18 David S. Miller <davem@davemloft.net>
13541
13542 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13543
7a99a614
AJ
135442012-04-18 Andreas Jaeger <aj@suse.de>
13545
13546 [BZ# 6794]
13547 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13548 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13549 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13550
13551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13552 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13554
13555 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13556 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13557 Adjust for changed ldbl-128 files.
13558
13559 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13560 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13561 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13562
e5270c23
DM
135632012-04-17 David S. Miller <davem@davemloft.net>
13564
13565 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13566
fb5e92c9
AS
135672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13568
13569 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13570 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13571 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13572 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13573 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13574 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13575
76da7265
AZ
135762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13577
13578 [BZ #6794]
13579 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13580 * math/libm-test.inc: Add ilogb errno and exception tests.
13581 * math/w_ilogb.c: New file: ilogb wrapper.
13582 * math/w_ilogbf.c: New file: ilogbf wrapper.
13583 * math/w_ilogbl.c: New file: ilogbl wrapper.
13584 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13585 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13586 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13587 exception being thrown with 0.0 as argument.
13588 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13589 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13590 exception being thrown with 0.0 as argument.
13591 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13592 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13593 exception being thrown with 0.0 as argument.
13594 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13595 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13596 exception being thrown with 0.0 as argument.
13597 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13598 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13599 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13600 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13602 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13603 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13604 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13605 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13606
0396e69d
PB
136072012-04-17 Petr Baudis <pasky@ucw.cz>
13608
13609 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13610 with altivec.
13611
750b5926
MP
136122012-04-16 Marek Polacek <polacek@redhat.com>
13613
13614 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13615
751728a1
MP
136162012-04-16 Marek Polacek <polacek@redhat.com>
13617
13618 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13619 operands of fdivp instruction.
13620
34a27407
L
136212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13622
13623 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13624 * elf/tst-auditmod3b.c: Likewise.
13625 * elf/tst-auditmod4b.c: Likewise.
13626 * elf/tst-auditmod5b.c: Likewise.
13627 * elf/tst-auditmod6b.c: Likewise.
13628 * elf/tst-auditmod6c.c: Likewise.
13629 * elf/tst-auditmod7b.c: Likewise.
13630 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13631 * sysdeps/x86_64/preconfigure.in: Likewise.
13632 * sysdeps/x86_64/preconfigure: Regenerated.
13633
7e73e17d
L
136342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13635
13636 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13637 __ILP32__.
13638
c7a6ab72
AB
136392012-04-13 Antoine Balestrat <merkil33@gmail.com>
13640
13641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13642 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13643
a9e8e0e0
CL
136442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13645
13646 [BZ #13973]
13647 * locale/iso-639.def: Fix gl language name. Spotted by
13648 Yaron Shahrabani.
13649
ec98af7d
RM
136502012-04-12 Roland McGrath <roland@hack.frob.com>
13651
13652 [BZ #2074]
13653 * libio/libio.h (__io_write_fn): Update comment.
13654
247c3ede
PB
136552012-04-12 Petr Baudis <pasky@ucw.cz>
13656
13657 [BZ #2074]
13658 * stdio.texi (Hook Functions): The user provided writer function
13659 is not allowed to return -1.
13660
55939d6d
DM
136612012-04-11 David S. Miller <davem@davemloft.net>
13662
13663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13664
90020f5a
MF
136652012-04-11 Mike Frysinger <vapier@gentoo.org>
13666
13667 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13668 Add a leading slash to rtkaio.
13669
288f9098
JM
136702012-04-11 Jim Meyering <meyering@redhat.com>
13671
90020f5a
MF
13672 [BZ #11959]
13673 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13674 It is not necessarily an error to ignore fwrite's return
13675 value. One can reliably use ferror to test for errors after
13676 the fact.
288f9098 13677
4be2b570
L
136782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13679
13680 * bits/types.h (__snseconds_t): New type.
13681 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13682
13683 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13685 (__SNSECONDS_T_TYPE): Likewise.
13686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13687 (__SNSECONDS_T_TYPE): Likewise.
13688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13689 (__SNSECONDS_T_TYPE): Likewise.
13690
288f9098 136912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13692
13693 [BZ #2636]
13694 * manual/time.texi (Processor Time): Return type of times is
13695 elapsed real time since an arbitrary point in the past.
13696 (CPU Time): Move CLK_TCK from here...
13697 (Processor Time): ...to here. Correct description.
13698 * manual/conf.texi (Constants for Sysconf): Correct description of
13699 _SC_CLK_TCK.
13700
d7dd4413
DM
137012012-04-10 David S. Miller <davem@davemloft.net>
13702
13703 [BZ #13967]
13704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13705 where the is a gap between DT_REL(A) and DT_JMPREL.
13706
b46068fc
L
137072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13708
13709 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13710 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13711 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13712
73d65cc3
SP
137132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13714
13715 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13716 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13717 (dl_main): Handle --inhibit-cache.
13718 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13719 _dl_inhibit_cache.
13720 * elf/dl-load.c (_dl_map_object): Use it.
13721 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13722
bcc8d661
JM
137232012-04-09 Joseph Myers <joseph@codesourcery.com>
13724
8f9a2fae
JM
13725 [BZ #13872]
13726 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13727 (__ieee754_powl): Saturate large exponents rather than testing for
13728 overflow of y*log2(x).
13729 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13730 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13731 exceptions.
13732
bcc8d661
JM
13733 [BZ #11521]
13734 * math/s_ctan.c: Include <float.h>.
13735 (__ctan): Avoid internal overflow or cancellation in calculating
13736 denominator.
13737 * math/s_ctanf.c: Likewise.
13738 * math/s_ctanl.c: Likewise.
13739 * math/s_ctanh.c: Likewise.
13740 * math/s_ctanhf.c: Likewise.
13741 * math/s_ctanhl.c: Likewise.
13742 * math/libm-test.inc (ctan_test): Add more tests.
13743 (ctanh_test): Likewise.
13744 * sysdeps/i386/fpu/libm-test-ulps: Update.
13745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13746
823fbbb4
AJ
137472012-04-09 Andreas Jaeger <aj@suse.de>
13748
03879793
AJ
13749 [BZ #6894]
13750 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13751 is an optional BSD extension.
13752
823fbbb4
AJ
13753 [BZ #10254]
13754 * manual/stdio.texi (Opening Streams): Document additional fopen
13755 parameters.
13756
8de131cb
RM
137572012-04-09 Roland McGrath <roland@hack.frob.com>
13758
13759 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13760 %eax without telling the compiler.
13761
c0ed9d7d
CD
137622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13763
13764 [BZ # 13963]
13765 * manual/install.texi: Use sourceware.org.
13766
c483f6b4
JM
137672012-04-09 Joseph Myers <joseph@codesourcery.com>
13768
d7dd9453
JM
13769 [BZ #13873]
13770 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13771 (__ieee754_pow): Generate overflow and underflow using huge*huge
13772 and tiny*tiny rather than just returning constant infinity or zero
13773 for large exponents.
13774 * math/libm-test.inc (pow_test): Require overflow exceptions for
13775 applicable cases of large exponents.
13776
c483f6b4
JM
13777 [BZ #706]
13778 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13779 (__ieee754_pow): Use iterative multiplication algorithm only for
13780 integer exponents with absolute value below 1024. Check for odd
13781 integer exponents when using algorithm for real exponents.
13782 * math/libm-test.inc (pow_test): Add more tests.
13783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13784
d2de7579
JM
137852012-04-08 Joseph Myers <joseph@codesourcery.com>
13786
13787 [BZ #13705]
13788 * math/libm-test.inc (exp_test): Do not allow overflow exception
13789 on underflow test.
13790
f77f1232
AJ
137912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13792
13793 [BZ #13705]
13794 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13795 instead of __kernel_standard_f.
13796
3884932b
MF
137972012-04-08 Mike Frysinger <vapier@gentoo.org>
13798
13799 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13800 * sysdeps/x86_64/memset_chk.S: Likewise.
13801
54472e9c
AJ
138022012-04-08 Andreas Jaeger <aj@suse.de>
13803
6ab0fbfc
AJ
13804 [BZ #10153]
13805 * manual/startup.texi (Environment Access): Describe return value
13806 for putenv and setenv.
13807
61efba8c
AJ
13808 [BZ #6895]
13809 * manual/filesys.texi (Directory Entries): Add description for
13810 DT_LNK.
13811
95c3f29a
AJ
13812 [BZ #6890]
13813 * manual/filesys.texi (Directory Entries): Clarify that it's file
13814 system not operating system in the description of DT_UNKNOWN.
13815
54472e9c
AJ
13816 [BZ #6578]
13817 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13818
624254b1
SC
138192012-04-08 Stephen Compall <s11@member.fsf.org>
13820
13821 [BZ #6649]
13822 * manual/llio.texi (Opening and Closing Files): Add cross
13823 reference to explain mode argument.
13824
1e4920e0
MF
138252012-04-07 Mike Frysinger <vapier@gentoo.org>
13826
13827 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13828 * sysdeps/x86_64/memset_chk.S: Likewise.
13829
5ed848f3
DM
138302012-04-07 David S. Miller <davem@davemloft.net>
13831
13832 * elf/elf.h (R_SPARC_WDISP10): Define.
13833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13834 R_SPARC_SIZE32.
13835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13836 R_SPARC_SIZE64 and R_SPARC_H34.
13837
96154cd8
CD
138382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13839
13840 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13841 conditions and remove no longer applicable assertion.
13842
9904dc47
L
138432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13844
13845 * bits/byteswap.h: Include <features.h>.
13846 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13847 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13848
f8887d0a
L
138492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13850
13851 * bits/byteswap.h (__bswap_16): Removed.
13852 Include <bits/byteswap-16.h> to get __bswap_16.
13853 * sysdeps/i386/bits/byteswap.h: Likewise.
13854 * sysdeps/s390/bits/byteswap.h: Likewise.
13855 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13856 * bits/byteswap-16.h: New file.
13857 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13858 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13859 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13860 * string/Makefile (headers): Add bits/byteswap-16.h.
13861
62470f60
PP
138622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13863
13864 [BZ #13895]
13865 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13866 extra indirection.
13867 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13868 * nss/tst-nss-static.c: New.
13869
4dad7bab
RM
138702012-04-06 Robert Millan <rmh@gnu.org>
13871
13872 [BZ #6486]
13873 * manual/llio.texi (File Position Primitive): lseek
13874 refers to WHENCE when it really means OFFSET.
13875
e9142a17
AJ
138762012-04-06 Andreas Jaeger <aj@suse.de>
13877
2c040eff
AJ
13878 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13879 strncmp declarations.
13880
e9142a17
AJ
13881 * abilist/libc.abilist: Add __poll and __ppoll.
13882
ff9f1c5f
DM
138832012-04-05 David S. Miller <davem@davemloft.net>
13884
dcd2ae90
DM
13885 * scripts/check-local-headers.sh: Accept a host triplet in the
13886 path matched by the exclude regexp.
13887
993eb054
DM
13888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13889 definition.
13890 * sysdeps/powerpc/powerpc32/dl-machine.h
13891 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13892 * sysdeps/s390/s390-32/dl-machine.h
13893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13894 * sysdeps/sparc/sparc32/dl-machine.h
13895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13896 * sysdeps/sparc/sparc64/dl-machine.h
13897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13898
ff9f1c5f
DM
13899 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13900 lazy binding.
48e2e132 13901 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13902 undefined symbol errors.
13903
48e2e132 13904 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13905 DT_NEEDED entries.
13906
e80d6f94
MM
139072012-04-05 Michael Matz <matz@suse.de>
13908
13909 [BZ #13592]
13910 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13911
349fa79f
AJ
139122012-04-05 Andreas Jaeger <aj@suse.de>
13913
13914 [BZ #13908]
13915 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13916 comment.
13917
f402708f
KK
139182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13919
13920 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13921 which ROUND is no valid rounding mode.
13922
2ecccfc9
KK
139232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13924
13925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13926 read again.
13927 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13928
8a53f50f
KK
139292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13930
13931 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13932 an exception using FPU order intentionally.
13933
139342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13935
13936 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13937 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13938 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13939 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13940
d653abb7
SJ
139412012-04-05 Simon Josefsson <simon@josefsson.org>
13942
13943 [BZ #12340]
13944 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13945 EINVAL when BUFLEN is too smal.
13946
c3b1bf7d
TS
139472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13948
13949 [BZ #13553]
13950 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13951 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13952
b1aa60f3
AJ
139532012-04-03 Andreas Jaeger <aj@suse.de>
13954
c3b1bf7d 13955 [BZ #13938]
67f60a26
AJ
13956 * manual/setjmp.texi (System V contexts): Fix sentence.
13957
b1aa60f3
AJ
13958 [BZ #13926]
13959 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13960 New macro for this case.
13961 [!__GNUC__] (__bswap_64): New inline function for this case.
13962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13963 * bits/byteswap.h: Likewise.
13964 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13965 ull, guard with __GLIBC_HAVE_LONG_LONG.
13966
13967 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13968 __GLIBC_HAVE_LONG_LONG.
13969
13970 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13971 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13972
39c59c35
TMQMF
139732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13974
13975 [BZ #13691]
13976 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13977 inptr and inend, rather than using last_ch.
13978
135ffda8
DM
139792012-04-02 David S. Miller <davem@davemloft.net>
13980
13981 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13982 * stdio-common/printf-parse.h (read_int): Change return type to
13983 'int', return -1 on INT_MAX overflow.
13984 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13985 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13986 overflows INT_MAX. Check for overflow of in-format-string precision
13987 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13988 SIZE_MAX not INT_MAX for integer overflow test.
13989 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13990 skip the construct in the format string but do not record anything.
13991 * stdio-common/bug22.c: Adjust to test both width/prevision
13992 INT_MAX overflow as well as total length INT_MAX overflow. Check
13993 explicitly for proper errno values.
13994
228c019e
TS
139952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13996
302cadd3
TS
13997 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13998 CHAR_MAX.
13999 * string/test-strcmp.c [! WIDE]: Likewise.
14000 * time/tst-mktime2.c: Likewise for INT_MAX.
14001 * string/test-string.h: #include <sys/param.h> for MIN.
14002
228c019e
TS
14003 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14004 * sysdeps/i386/init-first.c (init): Likewise.
14005 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14006 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14007 * sysdeps/sh/init-first.c (init): Likewise.
14008
cfa633f5
UD
140092012-04-01 Ulrich Drepper <drepper@gmail.com>
14010
14011 * po/ru.po: Update from translation team.
d1635ef8 14012 * po/vi.po: Likewise.
cfa633f5 14013
6cd0a5ea
SP
140142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14015
14016 * resolv/nss_dns/dns-host.c: Merge copyright years.
14017
4b43400f
LD
140182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14019
14020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14021 Optimize memcpy with prefetch if
14022 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14023 src, dst pointers have unequal 16 byte alignments.
14024
48c41d04
SP
140252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14026
14027 [BZ #13928]
14028 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14029 from a CNAME entry and return the minimum ttl for the query.
14030 (gaih_getanswer_slice): Likewise.
14031
b8dc394d
JL
140322012-03-30 Jeff Law <law@redhat.com>
14033
14034 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14035 due to long keys.
14036 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14037 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14038
2f5a5ed0
JL
14039 * resolv/nss_dns/dns-host.c: Update copyright year.
14040
1d39e359
UD
140412012-03-30 Ulrich Drepper <drepper@gmail.com>
14042
c030f70c 14043 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14044 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14045
1d39e359
UD
14046 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14047 comments for sendmmsg.
14048
140492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14050
14051 [BZ #13691]
14052 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14053 with only 1 character between 0x0041 and 0x01b0.
14054 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14055 * wcsmbs/tst-mbsnrtowcs.c: New file.
14056
20fde227
DM
140572012-03-29 David S. Miller <davem@davemloft.net>
14058
14059 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14060 small copies by hand.
14061
984a4237
JL
140622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14063
14064 [BZ #13761]
14065 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14066 _nss_compat_initgroups_dyn): Fall back to malloc/free
14067 for large group memberships.
14068
18c9d62b
DM
140692012-03-28 David S. Miller <davem@davemloft.net>
14070
88d85d4f
DM
14071 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14072 that branches into memcpy.
14073 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14075 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14076 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14078 bits.
14079 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14080 implementation too.
14081 * sysdeps/sparc/mempcpy.S: New file.
14082
e5aa83e1
DM
14083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14084 the IFUNC routine in the libc case.
14085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14086
88570753
DM
14087 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14088 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14089 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14090 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14091 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14092 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14093 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14094 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14095
249d7567
DM
14096 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14097 loop to 256 bytes instead of 64 bytes and fix test signedness.
14098
18c9d62b
DM
14099 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14100 * sysdeps/sparc/sparc32/Makefile: rather than here...
14101 * sysdeps/sparc/sparc64/Makefile: and here.
14102
05f3d1f6
UD
141032012-03-28 Ulrich Drepper <drepper@gmail.com>
14104
14105 * malloc/mallocbug.c: Avoid warnings about unused variables.
14106
86ae07a8
JL
141072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14108
14109 [BZ #13760]
14110 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14111 in the right place. Discard and retry query if response is
14112 larger than input buffer size.
14113
41bf21a1
JM
141142012-03-28 Joseph Myers <joseph@codesourcery.com>
14115
d6270972
JM
14116 [BZ #369]
14117 [BZ #2678]
14118 [BZ #3866]
14119 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14120 x for large integer exponent.
14121 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14122 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14123 sign of result as needed afterwards.
14124 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14126 result for underflowing pow the same as for overflow.
14127 (__kernel_standard_l): Handle powl overflow and underflow here
14128 rather than calling __kernel_standard.
14129 * math/libm-test.inc (pow_test): Add more tests.
14130
414fca03 14131 [BZ #3868]
41bf21a1
JM
14132 [BZ #13879]
14133 [BZ #13910]
14134 [BZ #13911]
14135 [BZ #13912]
14136 [BZ #13913]
14137 [BZ #13915]
14138 [BZ #13916]
14139 [BZ #13917]
14140 [BZ #13918]
14141 [BZ #13919]
14142 [BZ #13920]
14143 [BZ #13921]
14144 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14145 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14146 (__kernel_standard_l): New function.
14147 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14148 __kernel_standard.
14149 * math/w_acosl.c (__acosl): Likewise.
14150 * math/w_asinl.c (__asinl): Likewise.
14151 * math/w_atan2l.c (__atan2l): Likewise.
14152 * math/w_atanhl.c (__atanhl): Likewise.
14153 * math/w_coshl.c (__coshl): Likewise.
14154 * math/w_exp10l.c (__exp10l): Likewise.
14155 * math/w_exp2l.c (__exp2l): Likewise.
14156 * math/w_fmodl.c (__fmodl): Likewise.
14157 * math/w_hypotl.c (__hypotl): Likewise.
14158 * math/w_j0l.c (__j0l, __y0l): Likewise.
14159 * math/w_j1l.c (__j1l, __y1l): Likewise.
14160 * math/w_jnl.c (__jnl, __ynl): Likewise.
14161 * math/w_lgammal.c (__lgammal): Likewise.
14162 * math/w_log10l.c (__log10l): Likewise.
14163 * math/w_log2l.c (__log2l): Likewise.
14164 * math/w_logl.c (__logl): Likewise.
14165 * math/w_powl.c (__powl): Likewise.
14166 * math/w_remainderl.c (__remainderl): Likewise.
14167 * math/w_scalbl.c (sysv_scalbl): Likewise.
14168 * math/w_sinhl.c (__sinhl): Likewise.
14169 * math/w_sqrtl.c (__sqrtl): Likewise.
14170 * math/w_tgammal.c (__tgammal): Likewise.
14171 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14172 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14173 * math/libm-test.inc (acos_test): Add more tests.
14174 (acosh_test): Likewise.
14175 (asin_test): Likewise.
14176 (atanh_test): Likewise.
14177 (exp_test): Likewise.
14178 (exp10_test): Likewise.
14179 (exp2_test): Likewise.
14180 (expm1_test): Likewise.
14181 (lgamma_test): Likewise.
14182 (log_test): Likewise.
14183 (log10_test): Likewise.
14184 (log1p_test): Likewise.
14185 (log2_test): Likewise.
14186 (pow_test): Do not allow some spurious overflow exceptions.
14187 (sqrt_test): Add more tests.
14188 (tgamma_test): Likewise.
14189 (y0_test): Likewise.
14190 (y1_test): Likewise.
14191 (yn_test): Likewise.
14192
dd62fda6
AB
141932012-03-27 Anton Blanchard <anton@samba.org>
14194
14195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14196 MAP_HUGETLB.
14197 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14198 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14199 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14200
1e3cdfda
AJ
142012012-03-27 David S. Miller <davem@davemloft.net>
14202
b855ab85
DM
14203 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14204
1e3cdfda
AJ
14205 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14206 have-as-vis3 check.
14207
142082012-03-27 Andreas Jaeger <aj@suse.de>
14209
14210 * sysdeps/x86_64/elf/configure.in: Moved to ...
14211 * sysdeps/x86_64/configure.in: ... here.
14212 * sysdeps/x86_64/elf/start.S: Moved to ...
14213 * sysdeps/x86_64/start.S: ... here.
14214 * sysdeps/x86_64/elf/configure: Delete.
14215
14216 * sysdeps/x86_64/configure.in: Merge contents from
14217 sysdeps/i386/configure.in (without i686 check).
14218
14219 * sysdeps/i386/elf/Versions: Merge into ...
14220 * sysdeps/i386/Versions: ... this.
14221 * sysdeps/i386/elf/Versions: Delete file.
14222 * sysdeps/i386/elf/start.S: Moved to ...
14223 * sysdeps/i386/start.S: ...here.
14224 * sysdeps/i386/elf/configure.in: Merge into...
14225 * sysdeps/i386/configure.in: ...here.
14226 * sysdeps/i386/elf/configure.in: Delete file.
14227 * sysdeps/i386/elf/configure: Delete file.
14228
14229 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14230 * debug/backtracesyms.c: ... here.
14231 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14232 * debug/backtracesymsfd.c: ... here.
14233 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14234 * sysdeps/generic/ifunc-sel.h: ... here.
14235
14236 * sysdeps/unix/i386/start.c: Delete file.
14237 * sysdeps/unix/sparc/start.c: Delete file.
14238 * sysdeps/unix/start.c: Delete file.
14239
14240 * sysdeps/sh/elf/configure.in: Moved to ...
14241 * sysdeps/sh/configure.in: ... here.
14242 * sysdeps/sh/elf/start.S: Moved to ...
14243 * sysdeps/sh/start.S: ... here.
14244 * sysdeps/sh/elf/configure: Delete file.
14245
14246 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14247 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14248 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14249 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14250 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14251 * sysdeps/powerpc/powerpc64/start.S: here.
14252 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14253 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14254 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14255 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14256 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14257
14258 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14259 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14260 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14261 * sysdeps/powerpc/powerpc32/start.S: ... here.
14262 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14263 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14264 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14265
14266 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14267 * sysdeps/powerpc/ifunc-sel.h: ... here.
14268 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14269 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14270
14271 * sysdeps/sparc/elf/configure.in: Moved to ...
14272 * sysdeps/sparc/configure.in: ... here.
14273 * sysdeps/sparc/elf/configure: Delete file.
14274 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14275 * sysdeps/sparc/sparc32/start.S: ... here.
14276 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14277 * sysdeps/sparc/sparc64/start.S: ... here.
14278 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14279 * sysdeps/sparc/sparc32/Makefile: ... this.
14280 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14281 * sysdeps/sparc/sparc64/Makefile: ... this.
14282
14283 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14284 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14285 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14286 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14287 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14288 * sysdeps/s390/s390-32/setjmp.S: ... here.
14289 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14290 * sysdeps/s390/s390-32/configure.in: ... here.
14291 * sysdeps/s390/s390-32/elf/configure: Delete file.
14292 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14293 * sysdeps/s390/s390-32/start.S: ... here.
14294
14295 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14296 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14297 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14298 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14299 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14300 * sysdeps/s390/s390-64/setjmp.S: ... here.
14301 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14302 * sysdeps/s390/s390-64/configure.in: ... here
14303 * sysdeps/s390/s390-64/elf/configure: Delete file.
14304 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14305 * sysdeps/s390/s390-64/start.S: ... here.
14306 * sysdeps/s390/s390-64/elf/configure: Delete.
14307
14308 * configure.in: Remove support for elf directories in sysdeps.
14309
14310 * configure: Regenerated.
14311 * sysdeps/i386/configure: Regenerated.
14312 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14313 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14314 * sysdeps/s390/s390-32/configure: Regenerated.
14315 * sysdeps/s390/s390-64/configure: Regenerated.
14316 * sysdeps/sh/configure: Regenerated.
14317 * sysdeps/sparc/configure: Regenerated.
14318 * sysdeps/x86_64/configure: Regenerated.
14319
a3f61311
AS
143202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14321
c876e002
AS
14322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14323
a3f61311
AS
14324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14325 denormal result into account.
14326
ac4c54f0
RM
143272012-03-25 Roland McGrath <roland@hack.frob.com>
14328
14329 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14330 Reported by Allan McRae <allan@archlinux.org>.
14331
6a9b9c02
JL
143322012-03-23 Jeff Law <law@redhat.com>
14333
14334 * nss/getnssent.c (__nss_getent): Fix typo.
14335
4c42a0c1
DM
143362012-03-23 David S. Miller <davem@davemloft.net>
14337
14338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14339
1532c7ac
L
143402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14343 to pad to uint64_t for each field.
14344 (dl_tls_index): Replace unsigned long with uint64_t.
14345
3ff42526
PP
143462012-03-23 Daniel Jacobowitz <dmj@google.com>
14347 Paul Pluzhnikov <ppluzhnikov@google.com>
14348
14349 [BZ #6528]
14350 * grp/Makefile (otherlibs): Don't set it.
14351 * inet/Makefile (otherlibs): Likewise.
14352 * login/Makefile (otherlibs): Likewise.
14353 * nscd/Makefile (otherlibs): Likewise.
14354 * posix/Makefile (otherlibs): Likewise.
14355 * pwd/Makefile (otherlibs): Likewise.
14356 * rt/Makefile (otherlibs): Likewise.
14357 * sunrpc/Makefile (otherlibs): Likewise.
14358 * nss/Makefile (otherlibs): Likewise.
14359 Add libnss_files to routines and static-only-routines.
14360 ($(objpfx)getent): Remove rule.
14361 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14362 static-only-routines.
14363
7c69cd14
JM
143642012-03-22 Joseph Myers <joseph@codesourcery.com>
14365
14366 [BZ #13892]
14367 * math/s_cexp.c: Include <float.h>.
14368 (__cexp): Handle exp result overflowing not necessarily
14369 overflowing both real and imaginary parts of result.
14370 * math/s_cexpf.c: Likewise.
14371 * math/s_cexpl.c: Likewise.
14372 * math/libm-test.inc (cexp_test): Add more tests.
14373 * sysdeps/i386/fpu/libm-test-ulps: Update.
14374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14375
81b035fe
L
143762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14377
14378 * include/link.h (ELFW): New macro.
14379 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14380 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14381
1da7940c
L
143822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14383
14384 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14385 with uint64_t.
14386
b749dbb9
L
143872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14388
14389 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14390 declaration.
14391 (struct La_x32_retval): Likewise.
14392
2ff87f3f
L
143932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14394
14395 * sysdeps/x86_64/preconfigure.in: New file.
14396 * sysdeps/x86_64/preconfigure: New generated file.
14397
c0df8e69
JM
143982012-03-22 Joseph Myers <joseph@codesourcery.com>
14399
48e44791
JM
14400 [BZ #13824]
14401 * math/e_exp2l.c: Include <float.h>.
14402 (__ieee754_exp2l): Handle overflow and underflow cases
14403 separately. Only pass fractional part of argument to
14404 __ieee754_expl.
14405 * math/libm-test.inc (exp2_test): Add more tests.
14406
c0df8e69
JM
14407 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14408 negating x to take absolute value.
14409 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14410 Likewise.
14411 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14412 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14413 Likewise.
14414 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14415 computing low part if x was negated.
14416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14417
c8e43ba7
L
144182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14419
14420 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14421 la_x32_gnu_pltexit.
14422 (pltexit): Cast int_retval to ptrdiff_t.
14423 * elf/tst-auditmod3b.c: Likewise.
14424 * elf/tst-auditmod4b.c: Likewise.
14425 * elf/tst-auditmod5b.c: Likewise.
14426 * elf/tst-auditmod6b.c: Likewise.
14427 * elf/tst-auditmod6c.c: Likewise.
14428 * elf/tst-auditmod7b.c: Likewise.
14429
14430 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14431 and x32_gnu_pltexit.
14432
14433 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14434 __ELF_NATIVE_CLASS.
14435 (La_x32_regs): New macro.
14436 (La_x32_retval): Likewise.
14437 (la_x32_gnu_pltenter): New function prototype.
14438 (la_x32_gnu_pltexit): Likewise.
14439
7998fa78
AS
144402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14441
dcb33988
AS
14442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14443 exponent.
14444
233fc563
AS
14445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14446
7998fa78
AS
14447 * configure.in (libc_cv_cc_nofma): Check for option to disable
14448 generation of FMA instructions.
14449 * configure: Regenerate.
14450 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14451 * sysdeps/ieee754/dbl-64/Makefile: New file.
14452 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14453 Remove brandred-fma4.
14454 (CFLAGS-brandred-fma4.c): Remove.
14455 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14457 define.
14458 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14459 define.
14460
8e95c99a
L
144612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14462
14463 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14464 LLONG_MAX != LONG_MAX.
14465 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14466 (_fitoa_word): Likewise.
14467 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14468 LLONG_MAX != LONG_MAX.
14469 * stdio-common/_itowa.h: Include <_itoa.h>.
14470 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14471 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14472 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14473 only if not defined.
14474 (_ITOA_WORD_TYPE): Likewise.
14475 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14476 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14477
6f4db457
DM
144782012-03-21 David S. Miller <davem@davemloft.net>
14479
14480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14481
7785fe5a
L
144822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14483
14484 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14485 of x86_64 when setting libc_cv_slibdir, libdir and
14486 libc_cv_localedir.
14487 * sysdeps/unix/sysv/linux/configure: Regenerated.
14488
4535cd55
JM
144892012-03-21 Joseph Myers <joseph@codesourcery.com>
14490
14491 * manual/lang.texi (Old Varargs): Remove section.
14492 (How Variadic): Update menu.
14493 (va_start): Do not mention varargs.h.
14494
17228132
TS
144952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14496 Joseph Myers <joseph@codesourcery.com>
14497
14498 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14499 link test.
14500 * configure: Regenerated.
14501
8149f976
TS
145022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14503
05f3d1f6
UD
14504 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14505 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14506 conformtest.pl
8149f976 14507
1a4ac776
JM
145082012-03-21 Joseph Myers <joseph@codesourcery.com>
14509
be22ce65
JM
14510 * NOTES: Remove.
14511 * Makefile (files-for-dist): Remove NOTES.
14512 (NOTES): Remove rule.
14513 * README: Don't refer to NOTES.
14514 * manual/creature.texi: Don't include macros.texi.
14515 * manual/intro.texi (creature.texi): Remove comment referring to
14516 NOTES.
14517
40b601fb
JM
14518 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14519 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14520 * configure: Regenerated.
14521 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14522 LIBC_TRY_CC_OPTION.
14523 (libc_cv_as_i686): Likewise.
14524 (libc_cv_cc_avx): Likewise.
14525 (libc_cv_cc_sse2avx): Likewise.
14526 (libc_cv_cc_fma4): Likewise.
14527 (libc_cv_cc_novzeroupper): Likewise.
14528 * sysdeps/i386/configure: Regenerated.
14529
1a4ac776
JM
14530 [BZ #13883]
14531 * sysdeps/i386/fpu/s_cexp.S: Remove.
14532 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14533 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14534 * math/libm-test.inc (cexp_test): Add more tests.
14535 * sysdeps/i386/fpu/libm-test-ulps: Update.
14536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14537
a458e7fe
AM
145382012-03-21 Allan McRae <allan@archlinux.org>
14539
14540 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14541
0cb7efc5
JM
145422012-03-21 Joseph Myers <joseph@codesourcery.com>
14543
14544 [BZ #13871]
14545 * math/w_exp2.c: Do not include <float.h>.
14546 (o_threshold, u_threshold): Remove.
14547 (__exp2): Calculate result before checking finiteness and calling
14548 __kernel_standard.
14549 * math/w_exp2f.c: Likewise.
14550 * math/w_exp2l.c: Likewise.
14551 * math/libm-test.inc (exp2_test): Require overflow exception for
14552 1e6 input.
2460d3aa
JM
14553
14554 [BZ #3866]
14555 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14556 range of signed 64-bit integers before using fistpll. Remove
14557 checks for whether integers fit in mantissa bits.
14558 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14559 the range of signed 32-bit integers before using fistpl. Remove
14560 checks for whether integers fit in mantissa bits.
14561 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14562 (__ieee754_powl): Test for y outside the range of signed 64-bit
14563 integers before using fistpll. Reduce 64-bit values to 63-bit
14564 ones as needed.
14565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14566 divide-by-zero is raised for zero to large negative powers.
14567 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14568 (__ieee754_powl): Test for y outside the range of signed 64-bit
14569 integers before using fistpll. Reduce 64-bit values to 63-bit
14570 ones as needed.
14571 * math/libm-test.inc (pow_test): Add more tests.
14572
eb96ffb0
L
145732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14574
14575 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14576 <stdio-common/_itoa.h>.
14577 * debug/segfault.c: Likewise.
14578 * elf/dl-cache.c: Likewise.
14579 * elf/dl-minimal.c: Likewise.
14580 * elf/dl-misc.c: Likewise.
14581 * elf/dl-sysdep.c: Likewise.
14582 * elf/dl-version.c: Likewise.
14583 * elf/rtld.c: Likewise.
14584 * hurd/hurdsock.c: Likewise.
14585 * hurd/lookup-retry.c: Likewise.
14586 * malloc/malloc.c: Likewise.
14587 * malloc/mtrace.c: Likewise.
14588 * nscd/nscd_getgr_r.c: Likewise.
14589 * nscd/nscd_getpw_r.c: Likewise.
14590 * nscd/nscd_getserv_r.c: Likewise.
14591 * posix/getopt_init.c: Likewise.
14592 * posix/wordexp.c: Likewise.
14593 * stdio-common/_itoa.c: Likewise.
14594 * stdio-common/printf_fphex.c: Likewise.
14595 * stdio-common/vfprintf.c: Likewise.
14596 * string/_strerror.c: Likewise.
14597 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14598 * sysdeps/i386/i686/hp-timing.h: Likewise.
14599 * sysdeps/mach/_strerror.c: Likewise.
14600 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14601 * sysdeps/mach/hurd/sethostid.c: Likewise.
14602 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14603 * sysdeps/mach/xpg-strerror.c: Likewise.
14604 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14605 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14606 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14607 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14608 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14609 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14610 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14611 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14612 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14613 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14614 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14615 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14616 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14617 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14618 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14619 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14620 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14621 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14622 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14623 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14624 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14625
14626 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14627
14628 * stdio-common/_itoa.h: Moved to ...
14629 * sysdeps/generic/_itoa.h: Here.
14630
14631 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14632
14633 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14634 instead of "_itoa.h" and "_itowa.h".
14635 * stdio-common/vfprintf.: Likewise.
14636
d1af992d
L
146372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14638
14639 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14640 <bits/wordsize.h>.
14641 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14642 (__signbit): Likwise.
14643 (llrintf): Likwise.
14644 (llrint): Likwise.
14645
114883e0
L
146462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14647
14648 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14649 __WORDSIZE != 64.
14650
c135cc1b
JM
146512012-03-20 Joseph Myers <joseph@codesourcery.com>
14652
14653 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14654 OVERFLOW_EXCEPTION_OK.
14655 * math/libm-test.inc ("Philosophy"): Update comment about
14656 exception testing.
14657 (OVERFLOW_EXCEPTION): Define.
14658 (OVERFLOW_EXCEPTION_OK): Likewise.
14659 (INVALID_EXCEPTION_OK): Renumber.
14660 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14661 (IGNORE_ZERO_INF_SIGN): Likewise.
14662 (test_exceptions): Handle FE_OVERFLOW.
14663 (exp10_test): Expect overflow exceptions.
14664 (exp2_test): Likewise.
14665 (expm1_test): Likewise.
14666 (nextafter_test): Likewise.
14667 (pow_test): Likewise.
14668 (scalbn_test): Likewise.
14669 (scalbln_test): Likewise.
14670
95443d88
L
146712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14672
14673 * sysdeps/x86_64/bits/atomic.h
14674 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14675 64bit integer.
14676 (atomic_exchange_acq): Likewise.
14677 (__arch_exchange_and_add_body): Likewise.
14678 (__arch_add_body): Likewise.
14679 (atomic_add_negative): Likewise.
14680 (atomic_add_zero): Likewise.
14681
490df6c4
L
146822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14683
c2722551 14684 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14685 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14686
5e52b189
L
146872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14688
14689 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14690 Check __x86_64__ instead of __WORDSIZE.
14691
a9879d4c
L
146922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14693
14694 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14695
5df98260
DM
146962012-03-19 David S. Miller <davem@davemloft.net>
14697
e1497744
DM
14698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14699
5df98260
DM
14700 * sysdeps/sparc/fpu/fenv_private.h: New file.
14701 * sysdeps/sparc/fpu/math_private.h: Use it.
14702 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14703 Remove.
14704 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14705 (libc_feholdexcept_setroundl): Remove.
14706 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14707 Remove.
14708 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14709 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14710
b4c35121
L
147112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14712
14713 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14714 int64_t instead of long int.
14715 (INSERT_WORDS64): Likwise.
14716
56965fd7
L
147172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14718
14719 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14720 _Unwind_GetCFA return to _Unwind_Ptr first.
14721
83d1aec8
JM
147222012-03-19 Joseph Myers <joseph@codesourcery.com>
14723
1897ad44
JM
14724 [BZ #13629]
14725 * math/s_clog.c: Include <float.h>.
14726 (__clog): Scale large or subnormal inputs.
14727 * math/s_clogf.c: Likewise.
14728 * math/s_clogl.c: Likewise.
14729 * math/s_clog10.c: Include <float.h>.
14730 (M_LOG10_2): Define.
14731 (__clog10): Scale large or subnormal inputs.
14732 * math/s_clog10f.c: Likewise.
14733 * math/s_clog10l.c: Likewise.
14734 * math/libm-test.inc (clog_test): Add more tests.
14735 (clog10_test): Likewise.
14736 * sysdeps/i386/fpu/libm-test-ulps: Update.
14737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14738
7726d6a9
JM
14739 [BZ #11451]
14740 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14741 x and y.
14742 * math/libm-test.inc (atan2_test): Add another test.
14743
83d1aec8
JM
14744 * Makerules (common-objdir-compile): Remove.
14745 * sysdeps/unix/Makefile (config-generated): Do not add
14746 $(unix-generated) to variable.
14747 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14748 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14749 Remove rule.
14750 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14751 Likewise.
14752 [generic bits/local_lim.h] (before-compile): Do not append to
14753 variable.
14754 [generic bits/local_lim.h] (common-generated): Likewise.
14755 [generic sys/param.h] (before-compile): Do not append to variable.
14756 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14757 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14758 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14759 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14760 include.
14761 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14762 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14763 [generic sys/param.h] ($(addprefix
14764 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14765 [generic sys/param.h] (common-generated): Do not append to
14766 variable.
14767 [generic sys/param.h] (sysdep_headers): Likewise.
14768 [generic bits/errno.h] (before-compile): Do not append to
14769 variable.
14770 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14771 rule.
14772 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14773 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14774 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14775 [generic bits/errno.h] (common-generated): Do not append to
14776 variable.
14777 [generic bits/ioctls.h] (before-compile): Do not append to
14778 variable.
14779 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14780 rule.
14781 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14782 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14783 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14784 rule.
14785 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14786 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14787 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14788 [generic bits/ioctls.h] (common-generated): Do not append to
14789 variable.
14790 [generic sys/syscall.h] (syscall.h): Remove variable.
14791 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14792 rule.
14793 [generic sys/syscall.h] (before-compile): Do not append to
14794 variable.
14795 [generic sys/syscall.h] (common-generated): Likewise.
14796 * sysdeps/unix/errnos-tmpl.c: Remove file.
14797 * sysdeps/unix/errnos.awk: Likewise.
14798 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14799 * sysdeps/unix/ioctls.awk: Likewise.
14800 * sysdeps/unix/mk-local_lim.c: Likewise.
14801 * sysdeps/unix/snarf-ioctls: Likewise.
14802
4851a949
RH
148032012-03-19 Richard Henderson <rth@twiddle.net>
14804
bd37f2ee
RH
14805 * sysdeps/i386/fpu/fenv_private.h: New file.
14806 * sysdeps/i386/fpu/math_private.h: Use it.
14807 (math_opt_barrier, math_force_eval): Remove.
14808 (libc_feholdexcept_setround_53bit): Remove.
14809 (libc_feupdateenv_53bit): Remove.
14810 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14811 (math_opt_barrier, math_force_eval): Remove.
14812 (libc_feholdexcept): Remove.
14813 (libc_feholdexcept_setround): Remove.
14814 (libc_fetestexcept, libc_fesetenv): Remove.
14815 (libc_feupdateenv_test): Remove.
14816 (libc_feupdateenv, libc_feholdsetround): Remove.
14817 (libc_feresetround): Remove.
14818
d0adc922
RH
14819 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14820 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14821
0fe0f1f8
RH
14822 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14823 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14824 (libc_feupdateenv_testl): New.
14825 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14826 (libc_feupdateenv_testf): New.
14827 (libc_feupdateenv): Use libc_feupdateenv_test.
14828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14829 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14830
eb92c487
RH
14831 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14832 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14833 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14834 (libc_feresetround_noex): New.
14835 (libc_feresetround_noexf): New.
14836 (libc_feresetround_noexl): New.
14837 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14838 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14839 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14840 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14841 SET_RESTORE_ROUND.
14842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14844 (__cos): Likewise.
14845 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14846 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14847 SET_RESTORE_ROUND_NOEX.
14848 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14849 SET_RESTORE_ROUND_NOEXF.
14850 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14851 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14852 (libc_feholdsetroundf): New.
14853 (libc_feresetround, libc_feresetroundf): New.
14854
7d2e8012
RH
14855 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14856 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14857 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14858
b4dabbb4
RH
14859 * sysdeps/generic/math_private.h: Include <fenv.h>.
14860 (default_libc_feholdexcept): New.
14861 (default_libc_feholdexcept_setround): New.
14862 (default_libc_fesetenv, default_libc_feupdateenv): New.
14863 (libc_feholdexcept): Only define if undefined.
14864 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14865 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14866 (libc_feholdexcept_setroundl): Likewise.
14867 (libc_feholdexcept_setround_53bit): Likewise.
14868 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14869 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14870 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14871 (libc_feupdateenv_53bit): Likewise.
14872 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14873 (libc_feholdexcept): Convert from macro to inline function.
14874 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14875 (libc_fesetenv, libc_feupdateenv): Likewise.
14876
4851a949
RH
14877 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14878 not previously defined.
14879 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14880 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14881 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14882 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14883 * sysdeps/ieee754/flt-32/math_private.h: New file.
14884 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14885 math_private.h below SET_FLOAT_WORD.
14886 (__isnan, __isinf_ns, __finite): Remove.
14887 (__isnanf, __isinf_nsf, __finitef): Remove.
14888
e79d442e
AS
148892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14890
14891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14892
90b80344
DM
148932012-03-17 David S. Miller <davem@davemloft.net>
14894
14895 [BZ #6471]
14896 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14897 for 2.16.
14898
edc21804
DM
148992012-03-16 David S. Miller <davem@davemloft.net>
14900
77e927af
DM
14901 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14902 warnings.
14903
374976dd
DM
14904 [BZ #6471]
14905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14906 properly.
14907 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14908 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14909 sysdep_routines when subdir is sysvipc.
14910 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14911 __getshmlba helper.
14912
edc21804
DM
14913 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14914
473c3ef3
L
149152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14916
14917 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14918 [__LP64__].
14919
eb0f39b6
L
149202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14921
14922 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14923 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14924 (__lround): Renamed to ...
14925 (__llround): This. Replace long int with long long int.
14926 Define lround functions as aliases of llround functions.
14927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14928
6b6cd74b
L
149292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14930
14931 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14932 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14933 adresses to uintptr_t. Replace "long int" and "unsigned long
14934 int" with "greg_t" on va_arg.
14935
f1a77b01
L
149362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14937
14938 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14939 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14940
14941 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14942 Move e_machine check before EI_CLASS check. Handle x32
14943 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14944 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14945 SKIP_EM_IA_64 and include
14946 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14947
14948 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14949 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14950 (add_system_dir): New macro.
14951
14952 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14953 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14954
11b90b9f
JM
149552012-03-16 Joseph Myers <joseph@codesourcery.com>
14956
c36e1d23
JM
14957 [BZ #2551]
14958 [BZ #2552]
14959 [BZ #2553]
14960 [BZ #2554]
14961 [BZ #2562]
14962 [BZ #2563]
14963 [BZ #2565]
14964 [BZ #2566]
14965 [BZ #2576]
14966 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14967 (y0): Likewise.
14968 * math/w_j0f.c (j0f): Likewise.
14969 (y0f): Likewise.
14970 * math/w_j0l.c (__j0l): Likewise.
14971 (__y0l): Likewise.
14972 * math/w_j1.c (j1): Likewise.
14973 (y1): Likewise.
14974 * math/w_j1f.c (j1f): Likewise.
14975 (y1f): Likewise.
14976 * math/w_j1l.c (__j1l): Likewise.
14977 (__y1l): Likewise.
14978 * math/w_jn.c (jn): Likewise.
14979 (yn): Likewise.
14980 * math/w_jnf.c (jnf): Likewise.
14981 (ynf): Likewise.
14982 * math/w_jnl.c (__jnl): Likewise.
14983 (__ynl): Likewise.
14984 * math/libm-test.inc (j0_test): Add more tests.
14985 (j1_test): Likewise.
14986 (jn_test): Likewise. Add trailing semicolon to existing test.
14987 (y0_test): Likewise.
14988 (y1_test): Likewise.
14989 * sysdeps/i386/fpu/libm-test-ulps: Update.
14990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14991
11b90b9f
JM
14992 [BZ #13851]
14993 [BZ #13854]
14994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14995 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14996 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14997 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14998 (__tanl): Set errno for infinite argument.
14999 * sysdeps/i386/fpu/mptan.c: Remove.
15000 * sysdeps/i386/fpu/s_tan.S: Likewise.
15001 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15002 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15003 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15004 * math/libm-test.inc (tan_test): Add more tests and enable more
15005 tests for double and long double.
15006 * sysdeps/i386/fpu/libm-test-ulps: Update.
15007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15008
6a1bd2a1
JK
150092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15010
15011 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15012 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15013
10a803e0
RM
150142012-03-16 Roland McGrath <roland@hack.frob.com>
15015
15016 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15017 * configure.in: Use it for both main tree and add-ons.
15018 * configure: Regenerated.
15019
f196c7f7
L
150202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15021
15022 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15023
8848d99d
JM
150242012-03-16 Joseph Myers <joseph@codesourcery.com>
15025
96cbe7f4
JM
15026 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15027 in comment.
15028
8848d99d
JM
15029 [BZ #13851]
15030 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15031 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15035 infinite argument.
15036 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15038 != 0 for prec == 2.
15039 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15040 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15041 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15042 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15043 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15044 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15045 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15046 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15047 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15048 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15049 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15050 * math/libm-test.inc (cos_test): Add more tests and enable more
15051 tests for long double.
15052 (sin_test): Likewise.
15053 (sincos_test): Likewise.
15054 * sysdeps/i386/fpu/libm-test-ulps: Update.
15055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15056
dd7f4703
DM
150572012-03-16 David S. Miller <davem@davemloft.net>
15058
15059 * sysdeps/sparc/fpu/math_private.h: New file.
15060
006f1daa
DM
150612012-03-15 David S. Miller <davem@davemloft.net>
15062
c0c83bc8
DM
15063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15064 file.
e6a62e18 15065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15067 file.
e6a62e18
DM
15068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15074 sysdep routines.
15075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15076
88cb87d9
DM
15077 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15078 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15079
006f1daa 15080 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15082 sparc-ifunc.h
006f1daa 15083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15085 Likewise.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15087 Likewise.
006f1daa
DM
15088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15092 Likewise.
006f1daa
DM
15093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15098 Likewise.
15099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15100 Likewise.
006f1daa
DM
15101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15124 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15125
11e0098e
AS
151262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15127
15128 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15129 scaling.
15130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15131
e85b09d0
AJ
151322012-03-15 Andreas Jaeger <aj@suse.de>
15133
15134 [BZ #13852]
15135 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15136 ieee754/flt-32 implementation for sin, cos and sincos.
15137 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15138 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15139 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15140 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15141 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15142 ieee754/flt-32 implementation for tan.
15143
15144 * math/libm-test.inc (cos_test): Enable some large input tests for
15145 float as well
15146 (sin_test): Likewise.
15147 (sincos_test): Likewise.
15148 (tan_test): Add tests for large input.
15149
15150 * sysdeps/i386/fpu/libm-test-ulps: Update.
15151
81c64153
AJ
151522012-03-15 Andreas Jaeger <aj@suse.de>
15153
15154 [BZ #13658]
15155 * math/libm-test.inc (cos_test): Add more test cases.
15156 (sin_test): Likewise.
15157 (sincos_test): Likewise.
15158
7bbfa5c6
AJ
151592012-03-15 Andreas Jaeger <aj@suse.de>
15160
15161 [BZ #13837]
15162 * math/libm-test.inc (cos_test): Add a test case for large input
15163 value.
15164 (sin_test): Likewise.
15165 (sincos_test): Likewise.
15166
151672012-03-15 Andreas Jaeger <aj@suse.de>,
15168 Joseph Myers <joseph@codesourcery.com>
15169
15170 [BZ #13658]
0671f479 15171 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15172 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15173 * sysdeps/i386/fpu/branred.c: Likewise.
15174 * sysdeps/i386/fpu/dosincos.c: Likewise.
15175 * sysdeps/i386/fpu/mpa.c: Likewise.
15176 * sysdeps/i386/fpu/s_cos.S: Likewise.
15177 * sysdeps/i386/fpu/s_sin.S: Likewise.
15178 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15179 * sysdeps/i386/fpu/sincos32.c: Likewise.
15180
15181 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15182 Define.
15183 (libc_feupdateenv_53bit): Define.
15184 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15185 Define.
15186 (libc_feupdateenv_53bit): Define.
15187
15188 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15189 53 bit (without extend i386 double precision).
15190
15191 * math/libm-test.inc (sincos_test): Add tests for large input.
15192 (sin): Likewise.
15193 (cos): Likewise.
15194
15195 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15196
9cad04ea
AS
151972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15198
15199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15200
f7062b9a
DM
152012012-03-15 David S. Miller <davem@davemloft.net>
15202
15203 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15204 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15205 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15206 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15219 file.
f7062b9a 15220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15222 file.
f7062b9a 15223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15225 file.
f7062b9a 15226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15228 file.
f7062b9a
DM
15229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15231 fmin/fmax sysdep routines.
15232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15233
7bd951ff
DM
152342012-03-14 David S. Miller <davem@davemloft.net>
15235
559398ab
DM
15236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15265 routines.
15266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15267 file.
559398ab 15268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15270 file.
559398ab 15271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15273 file.
559398ab 15274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15276 file.
559398ab 15277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15279 file.
559398ab 15280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15282 file.
15283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15284 file.
15285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15286 file.
15287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15288 file.
15289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15290 New file.
15291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15292 file.
15293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15294 file.
559398ab 15295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15297 file.
559398ab 15298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15300 file.
559398ab 15301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15303 file.
559398ab 15304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15306 VIS3 routines.
559398ab
DM
15307
15308 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15309 New file.
15310
5a1c1e32
DM
15311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15312
eae47a36
DM
15313 * sysdeps/sparc/configure.in: New file.
15314 * sysdeps/sparc/configure: Generate.
15315 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15316 * configure: Regenerate.
15317 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15318 * config.make.in (have-as-vis3): New.
15319 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15320 available use -Av9d instead of -Av9a.
15321 * sysdeps/sparc/sparc64/Makefile: Likewise.
15322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15324 New file.
15325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15326 file.
15327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15328 New file.
15329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15330 file.
eae47a36
DM
15331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15336
c0c83bc8
DM
15337 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15338 fzeros/fnegs to load 0x80000000 into a float register instead of
15339 using the stack.
7bd951ff
DM
15340 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15341
bd951ccb
JM
153422012-03-14 Joseph Myers <joseph@codesourcery.com>
15343
15344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15345 bits/syscall.h.
15346 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15347 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15348 ($(inst_includedir)/bits/syscall.h): Remove rule.
15349 ($(objpfx)bits/syscall.d): Include instead of
15350 $(objpfx)syscall-list.d.
15351 (generated): Change syscall-list.h and syscall-list.d to
15352 bits/syscall.h and bits/syscall.d.
15353
bb4e6db2
RM
153542012-03-14 Roland McGrath <roland@hack.frob.com>
15355
15356 [BZ #13846]
15357 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15358
aa4a2ae1
JM
153592012-03-14 Joseph Myers <joseph@codesourcery.com>
15360
e456826d
JM
15361 [BZ #13841]
15362 * math/s_csqrt.c: Include <float.h>.
15363 (__csqrt): Scale large or subnormal inputs.
15364 * math/s_csqrtf.c: Likewise.
15365 * math/s_csqrtl.c: Likewise.
15366 * math/libm-test.inc (csqrt_test): Add more tests.
15367 * sysdeps/i386/fpu/libm-test-ulps: Update.
15368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369
aa4a2ae1
JM
15370 [BZ #13840]
15371 * math/libm-test.inc (hypot_test): Add more tests.
15372
7c10fd35
DM
153732012-03-13 David S. Miller <davem@davemloft.net>
15374
15375 [BZ #13840]
15376 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15377 double-precision for the calculation instead of scaling.
15378
f453b98b
JM
153792012-03-13 Joseph Myers <joseph@codesourcery.com>
15380
15381 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15382 manipulate bits before adding and subtracting TWO52[sx].
15383 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15384 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15385 Likewise.
15386 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15387
09a3453f
DM
153882012-03-13 David S. Miller <davem@davemloft.net>
15389
8e59da90
DM
15390 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15391 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15393 rtld-global-offsets.h
15394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15395
2a8ab7f2
DM
15396 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15397 large parameters.
15398
10f62770
DM
15399 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15400
5f0bdb18
DM
15401 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15402 'err' in the ifdef scope in which it is actually used.
15403
09a3453f
DM
15404 * nss/nss_db/db-init.c: Include string.h
15405
b4b2eb5e
DM
154062012-03-12 David S. Miller <davem@davemloft.net>
15407
98bb2f1c
DM
15408 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15409 masking out of the most significant byte of random value used.
15410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15411 Fix coding style in previous change.
15412
b4b2eb5e
DM
15413 * sysdeps/unix/sysv/linux/kernel-features.h
15414 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15415 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15416 expression.
15417 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15418 later.
15419
6e226b09
DM
154202012-03-11 David S. Miller <davem@davemloft.net>
15421
a1bcbd40
DM
15422 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15423 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15424 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15425 for 'resultvar' otherwise things get truncated on 64-bit.
15426
cb9d6174
DM
15427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15428 Fix masking out of the most significant byte of random value used.
15429
6e226b09
DM
15430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15431
058c132d
AS
154322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15433
15434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15435
2d2cd515
DM
154362012-03-09 David S. Miller <davem@davemloft.net>
15437
15438 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15439 variables with appropriate CPP guards.
15440 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15441 frame pointer, not the stack pointer. Correct layout comments. Fix test
15442 on resulting framesize and the management of the outregs buffer for pltexit.
15443 Preserve floating point return values across _dl_call_pltexit call.
15444 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15445 framesize and the management of the outregs buffer for pltexit.
15446 Preserve floating point return values across _dl_call_pltexit
15447 call.
15448 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15449 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15450 (print_exit): Fix format string for return register value.
15451
9a07f9d0
JM
154522012-03-10 Joseph Myers <joseph@codesourcery.com>
15453
15454 * sunrpc/Makefile (others): Add rpcgen.
15455 ($(objpfx)rpcgen): Remove special build rule and dependency on
15456 libc.
15457 * sunrpc/rpcgen.c: New file.
15458
547b5e30
PE
154592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15460
c524201a
PE
15461 [BZ #13673]
15462 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15463 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15464 * sysdeps/i386/crti.S: Likewise.
15465 * sysdeps/i386/crtn.S: Likewise.
15466 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15467 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15468 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15469 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15470 * sysdeps/sh/crti.S: Likewise.
15471 * sysdeps/sh/crtn.S: Likewise.
15472 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15473
7b6235f2
PE
15474 [BZ #13673]
15475 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15476 with URL.
15477 * locale/programs/locfile-kw.gperf: Likewise.
15478 * locale/programs/charmap-kw.h: Regenerated.
15479 * locale/programs/locfile-kw.h: Likewise.
15480
547b5e30
PE
15481 [BZ #13673]
15482 * intl/plural.y: Replace FSF snail mail address with URL.
15483 * intl/plural.c: Regenerated.
15484
5f0a5dae
RH
154852012-03-09 Richard Henderson <rth@twiddle.net>
15486
15487 * include/math_private.h: Remove file.
15488 * math/math_private.h: Move file ...
15489 * sysdeps/generic/math_private.h: ... here.
15490
b8c03620
RH
15491 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15492 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15493 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15494
4e234f5d 15495 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15496 and <math_private.h>.
15497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15505 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15514 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15516 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15519 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15521 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15522 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15523 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15524 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15527 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15529 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15530 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15531 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15532 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15533 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15534 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15535 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15538 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15560 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15561 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15565 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15566 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15567 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15568 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15570 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15571 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15576 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15577 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15581 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15584 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15585 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15586 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15587 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15588 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15589 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15590 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15591 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15592 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15593 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15594 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15595 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15597 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15598 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15599 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15600 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15601 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15602 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15603 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15604 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15605 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15607 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15608 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15609 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15610 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15611 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15613 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15614 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15615 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15616 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15617 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15618 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15619 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15620 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15621 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15622 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15623 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15624 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15625 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15626 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15627 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15628 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15629 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15630 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15631 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15632 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15633 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15634 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15635 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15636 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15637 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15638 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15639 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15640 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15641 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15642 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15643 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15644 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15645 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15646 * sysdeps/ieee754/k_standard.c: Likewise.
15647 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15651 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15652 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15653 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15659 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15660 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15670 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15671 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15672 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15766 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15767 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15774 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15795 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15796 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15797 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15806 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15807 * sysdeps/ieee754/s_lib_version.c: Likewise.
15808 * sysdeps/ieee754/s_matherr.c: Likewise.
15809 * sysdeps/ieee754/s_signgam.c: Likewise.
15810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15812 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15813 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15814 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15815 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15816 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15817 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15818 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15819 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15820 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15821 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15822 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15823 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15824 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15825 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15826 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15827 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15828 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15831
1991fa03
JM
158322012-03-09 Joseph Myers <joseph@codesourcery.com>
15833
15834 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15835 * sunrpc/rpc_main.c: Likewise.
15836 * sunrpc/rpc_svcout.c: Likewise.
15837
60d6f5a6
DM
158382012-03-09 David S. Miller <davem@davemloft.net>
15839
15840 * include/math_private.h: New file.
15841
4962050e
JM
158422012-03-09 Joseph Myers <joseph@codesourcery.com>
15843
02a6f887
JM
15844 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15845 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15846 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15847 from <bits/socket_type.h>.
15848 (enum __socket_type): Don't define here.
15849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15851 bits/socket_type.h.
15852
c6e013c1
JM
15853 [BZ #13566]
15854 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15855 checking __USE_GNU.
15856
4962050e
JM
15857 * Makerules ($(inst_includedir)/%.h): New rule.
15858 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15859 (install-others): Remove variable setting.
15860 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15861
38842f45
RH
158622012-03-08 Richard Henderson <rth@twiddle.net>
15863
67bb6da6
RH
15864 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15865 from macro to inline function; merge with the
15866 !__LIBC_INTERNAL_MATH_INLINES version.
15867 (__ieee754_sqrtf): Likewise.
15868
15194b4b
RH
15869 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15870 to inline function.
15871 (__rintf, __floor, __floorf): Likewise.
15872
64e21ede
RH
15873 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15874 macro to inline function.
15875 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15876
38842f45
RH
15877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15878 not <math/math_private.h>.
15879
c64bf5fe
DM
158802012-03-08 David S. Miller <davem@davemloft.net>
15881
15882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15883 copyright year.
15884 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15885
82d86f28
TS
158862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15887
15888 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15889 normalization.
15890 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15891 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15892
aea5d727
UD
158932012-03-08 Ulrich Drepper <drepper@gmail.com>
15894
15895 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15896 be defined individually, they must be defined as a block. Define
15897 S for printing a string instead of hidint the different by using a
15898 macro for adding the 'l'.
15899 * stdio-common/tst-fphex-wide.c: Adjust.
15900
70bca0a3
MP
159012012-03-07 Marek Polacek <polacek@redhat.com>
15902
15903 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15904
65b81130
MP
159052012-03-08 Marek Polacek <polacek@redhat.com>
15906
15907 [BZ #13806]
15908 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15909 * stdio-common/tst-fphex.c: Define a few macros to make the
15910 test reusable. Use them.
15911 * stdio-common/tst-fphex-wide.c: New file.
15912
07037eeb
JM
159132012-03-08 Joseph Myers <joseph@codesourcery.com>
15914
a7a93d50
JM
15915 [BZ #6911]
15916 * manual/macros.texi (gnusystems): New macro.
15917 (nongnusystems): Likewise.
15918 (gnulinuxhurdsystems): Likewise.
15919 (gnuhurdsystems): Likewise..
15920 (gnulinuxsystems): Likewise.
15921 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15922 variants of the GNU system, not "GNU system".
15923 * manual/conf.texi: Likewise.
15924 * manual/errno.texi: Likewise. Update example of errno macro
15925 expansion.
15926 * manual/filesys.texi: Likewise.
15927 (getumask): Document as specific to GNU/Hurd.
15928 * manual/install.texi: Likewise. Reword some references to
15929 GNU/Linux.
15930 * manual/intro.texi: Likewise.
15931 * manual/io.texi: Likewise.
15932 (File Name Portability): Detail which constraints are inapplicable
15933 to all GNU systems and which are only inapplicable to GNU/Hurd.
15934 * manual/job.texi: Likewise.
15935 * manual/llio.texi: Likewise.
15936 (O_NOCTTY): Document as present on GNU/Linux.
15937 * manual/maint.texi: Likewise.
15938 * manual/memory.texi: Likewise.
15939 * manual/pattern.texi: Likewise.
15940 * manual/pipe.texi: Likewise.
15941 * manual/process.texi: Likewise.
15942 * manual/resource.texi: Likewise.
15943 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15944 child on GNU/Hurd.
15945 * manual/setjmp.texi: Likewise.
15946 * manual/signal.texi: Likewise.
15947 * manual/startup.texi: Likewise.
15948 * manual/stdio.texi: Likewise.
15949 * manual/terminal.texi: Likewise.
15950 (ONLCR): Document as POSIX.
15951 (OXTABS): Document availability on GNU/Linux as XTABS.
15952 (ONOEOT): Document availability separately from other bits.
15953 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15954 * manual/time.texi: Likewise.
15955 * manual/users.texi: Likewise.
15956 * INSTALL: Regenerated.
15957 * sysdeps/gnu/errlist.c: Regenerated.
15958
07037eeb
JM
15959 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15960 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15961 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15962 puts.
15963 * configure: Regenerated.
15964
d1d3431a
JM
159652012-03-07 Joseph Myers <joseph@codesourcery.com>
15966
af6a1e37
JM
15967 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15968 default includes instead of AC_HEADER_CHECK.
15969 * sysdeps/i386/configure: Regenerated.
15970
d1d3431a
JM
15971 [BZ #10716]
15972 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15973 * math/s_cacoshf.c (__cacoshf): Likewise.
15974 * math/s_cacoshl.c (__cacoshl): Likewise.
15975 * math/s_casinh.c (__casinh): Set signs of result from argument.
15976 * math/s_casinhf.c (__casinhf): Likewise.
15977 * math/s_casinhl.c (__casinhl): Likewise.
15978 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15979 (casinh_test): Add more tests.
15980 * sysdeps/i386/fpu/libm-test-ulps: Update.
15981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15982
482ff4da
UD
159832012-03-07 Ulrich Drepper <drepper@gmail.com>
15984
872fda05
UD
15985 * po/zh_TW.po: Update from translation team.
15986
a4300c7a
UD
15987 * login/Makefile (distribute): Remove variable.
15988 * catgets/Makefile: Likewise.
15989 * mach/Makefile: Likewise.
15990 * malloc/Makefile: Likewise.
15991 * misc/Makefile: Likewise.
15992 * iconv/Makefile: Likewise.
15993 * nscd/Makefile: Likewise.
15994 * hurd/Makefile: Likewise.
15995 * manual/Makefile: Likewise.
15996 * locale/Makefile: Likewise.
15997 * intl/Makefile: Likewise.
15998 * conform/Makefile: Likewise.
15999 * nss/Makefile: Likewise.
16000 * time/Makefile: Likewise.
16001 * soft-fp/Makefile: Likewise.
16002 * dirent/Makefile: Likewise.
16003 * gmon/Makefile: Likewise.
16004 * po/Makefile: Likewise.
16005 * rt/Makefile: Likewise.
16006 * socket/Makefile: Likewise.
16007 * math/Makefile: Likewise.
16008 * signal/Makefile: Likewise.
16009 * debug/Makefile: Likewise.
16010 * elf/Makefile: Likewise.
16011 * timezone/Makefile: Likewise.
16012 * stdlib/Makefile: Likewise.
16013 * iconvdata/Makefile: Likewise.
16014 * sunrpc/Makefile: Likewise.
16015 * io/Makefile: Likewise.
16016 * argp/Makefile: Likewise.
16017 * inet/Makefile: Likewise.
16018 * hesiod/Makefile: Likewise.
16019 * grp/Makefile: Likewise.
16020 * csu/Makefile: Likewise.
16021 * wctype/Makefile: Likewise.
16022 * crypt/Makefile: Likewise.
16023 * libio/Makefile: Likewise.
16024 * string/Makefile: Likewise.
16025 * nis/Makefile: Likewise.
16026 * resolv/Makefile: Likewise.
16027 * stdio-common/Makefile: Likewise.
16028 * wcsmbs/Makefile: Likewise.
16029 * dlfcn/Makefile: Likewise.
16030 * posix/Makefile: Likewise.
16031
3b7c4e74 16032 [BZ #6959]
482ff4da
UD
16033 * timezone/Makefile: Don't install timezone files, just the programs
16034 and scripts.
16035
f72ed77d
UD
160362012-03-06 Ulrich Drepper <drepper@gmail.com>
16037
a000466f
UD
16038 * nss/databases.def: Add missing gshadow entry.
16039
f72ed77d
UD
16040 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16041
a53b7a4e
MP
160422012-03-06 Marek Polacek <polacek@redhat.com>
16043
16044 [BZ #13726]
16045 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16046 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16047 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16048 * stdio-common/tst-long-dbl-fphex.c: New file.
16049
e9258400
DM
160502012-03-06 David S. Miller <davem@davemloft.net>
16051
16052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16053 (set_obp_int): New function.
16054 (get_obp_int): New function.
16055 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16057 Avoid unused variable warnings on 'val' and use builtin_expect.
16058 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16059 __builtin_expect.
e9258400
DM
16060 (INLINE_CLONE_SYSCALL): Likewise.
16061
3bd2c723
DM
160622012-03-05 David S. Miller <davem@davemloft.net>
16063
16064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16065
bbb78d03
AS
160662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16067
884c5db4
AS
16068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16069
bbb78d03
AS
16070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16071 only for |x| >= 40.
16072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16073
1c9f702a 160742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16075
16076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16077 Replace gettimeofday with __vdso_gettimeofday.
16078
7be16f82
RM
16079 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16080 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16081 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16082
16083 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16084 time with __vdso_time.
16085
ed58a00f
JM
160862012-03-05 Joseph Myers <joseph@codesourcery.com>
16087
16088 * manual/lang.texi (size_t): Note types to which size_t may be
16089 equivalent with the GNU C Library, but do not describe when
16090 differences between them are significant.
16091
30ee4ced
AJ
160922012-03-05 Andreas Jaeger <aj@suse.de>
16093
16094 * sysdeps/i386/fpu/libm-test-ulps: Update.
16095
b7cd39e8
JM
160962012-03-05 Joseph Myers <joseph@codesourcery.com>
16097
16098 [BZ #3976]
16099 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16100 (__ieee754_pow): Save and restore rounding mode and use
16101 round-to-nearest for main computations.
16102 * math/libm-test.inc (pow_test_tonearest): New function.
16103 (pow_test_towardzero): Likewise.
16104 (pow_test_downward): Likewise.
16105 (pow_test_upward): Likewise.
16106 (main): Call the new functions.
16107 * sysdeps/i386/fpu/libm-test-ulps: Update.
16108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16109
16110 [BZ #3976]
16111 * math/libm-test.inc (cosh_test_tonearest): New function.
16112 (cosh_test_towardzero): Likewise.
16113 (cosh_test_downward): Likewise.
16114 (cosh_test_upward): Likewise.
16115 (sinh_test_tonearest): Likewise.
16116 (sinh_test_towardzero): Likewise.
16117 (sinh_test_downward): Likewise.
16118 (sinh_test_upward): Likewise.
16119 (main): Call the new functions.
16120 * sysdeps/i386/fpu/libm-test-ulps: Update.
16121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16122
6c6a98c9
TV
161232012-03-05 Tom de Vries <tom@codesourcery.com>
16124
16125 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16126 default stack guard is set in last bytes.
16127 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16128
21bb2d2e 161292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16130
21bb2d2e 16131 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16132
21bb2d2e
AJ
16133 [BZ #13656]
16134 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16135 possibly allocate from heap instead of stack.
16136 * stdio-common/bug-vfprintf-nargs.c: New file.
16137 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16138
c6922934
AS
161392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16140
16141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16142
bc957d53
MP
161432012-03-03 Marek Polacek <polacek@redhat.com>
16144
16145 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16146 * math/math_private.h: Likewise.
16147 * stdlib/tst-strtod.c: Likewise.
16148 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16149 * sysdeps/x86_64/bits/atomic.h: Likewise.
16150
6358490d
DM
161512012-03-02 David S. Miller <davem@davemloft.net>
16152
16153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16157 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16158 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16159 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16160 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16161
01ae168d
RM
161622012-03-02 Roland McGrath <roland@hack.frob.com>
16163
d9a17c07
RM
16164 [BZ #13792]
16165 * manual/examples/README: New file, says the example source files
16166 can be used under GPL>=2.
16167 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16168 line containing just "*/".
16169 * manual/examples/add.c: Add copyright header (GPL>=2).
16170 * manual/examples/argp-ex1.c: Likewise.
16171 * manual/examples/argp-ex2.c: Likewise.
16172 * manual/examples/argp-ex3.c: Likewise.
16173 * manual/examples/argp-ex4.c: Likewise.
16174 * manual/examples/atexit.c: Likewise.
16175 * manual/examples/db.c: Likewise.
16176 * manual/examples/dir.c: Likewise.
16177 * manual/examples/dir2.c: Likewise.
16178 * manual/examples/execinfo.c: Likewise.
16179 * manual/examples/filecli.c: Likewise.
16180 * manual/examples/filesrv.c: Likewise.
16181 * manual/examples/fmtmsgexpl.c: Likewise.
16182 * manual/examples/genpass.c: Likewise.
16183 * manual/examples/inetcli.c: Likewise.
16184 * manual/examples/inetsrv.c: Likewise.
16185 * manual/examples/isockad.c: Likewise.
16186 * manual/examples/longopt.c: Likewise.
16187 * manual/examples/memopen.c: Likewise.
16188 * manual/examples/memstrm.c: Likewise.
16189 * manual/examples/mkfsock.c: Likewise.
16190 * manual/examples/mkisock.c: Likewise.
16191 * manual/examples/mygetpass.c: Likewise.
16192 * manual/examples/pipe.c: Likewise.
16193 * manual/examples/popen.c: Likewise.
16194 * manual/examples/rprintf.c: Likewise.
16195 * manual/examples/search.c: Likewise.
16196 * manual/examples/select.c: Likewise.
16197 * manual/examples/setjmp.c: Likewise.
16198 * manual/examples/sigh1.c: Likewise.
16199 * manual/examples/sigusr.c: Likewise.
16200 * manual/examples/stpcpy.c: Likewise.
16201 * manual/examples/strdupa.c: Likewise.
16202 * manual/examples/strftim.c: Likewise.
16203 * manual/examples/strncat.c: Likewise.
16204 * manual/examples/subopt.c: Likewise.
16205 * manual/examples/swapcontext.c: Likewise.
16206 * manual/examples/termios.c: Likewise.
16207 * manual/examples/testopt.c: Likewise.
16208 * manual/examples/testpass.c: Likewise.
16209 * manual/examples/timeval_subtract.c: Likewise.
16210
01ae168d
RM
16211 [BZ #13792]
16212 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16213 function to ...
16214 * manual/timeval_subtract.c.texi: ... here, new file.
16215
49efa33d
DM
162162012-03-02 David S. Miller <davem@davemloft.net>
16217
16218 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16219
28afd92d
JM
162202012-03-02 Joseph Myers <joseph@codesourcery.com>
16221
804360ed
JM
16222 [BZ #3976]
16223 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16224 (__sin): Save and restore rounding mode and use round-to-nearest
16225 for all computations.
16226 (__cos): Save and restore rounding mode and use round-to-nearest
16227 for all computations.
16228 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16229 <fenv.h>.
16230 (tan): Save and restore rounding mode and use round-to-nearest for
16231 all computations.
16232 * math/libm-test.inc (cos_test_tonearest): New function.
16233 (cos_test_towardzero): Likewise.
16234 (cos_test_downward): Likewise.
16235 (cos_test_upward): Likewise.
16236 (sin_test_tonearest): Likewise.
16237 (sin_test_towardzero): Likewise.
16238 (sin_test_downward): Likewise.
16239 (sin_test_upward): Likewise.
16240 (tan_test_tonearest): Likewise.
16241 (tan_test_towardzero): Likewise.
16242 (tan_test_downward): Likewise.
16243 (tan_test_upward): Likewise.
16244 (main): Call the new functions.
16245 * sysdeps/i386/fpu/libm-test-ulps: Update.
16246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16247
a6d06d7b
JM
16248 [BZ #10135]
16249 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16250 small n, then large n, before computing and testing k+n.
16251 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16253 Likewise.
16254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16255 Likewise.
16256 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16257 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16263 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16264 * math/libm-test.inc (scalbn_test): Add more tests.
16265 (scalbln_test): Likewise.
16266
07e12bb3
JM
16267 * manual/filesys.texi (mode_t): Describe constraints on size and
16268 signedness, not exact equivalence to a particular type.
16269 (ino_t): Likewise.
16270 (ino64_t): Likewise.
16271 (dev_t): Likewise.
16272 (nlink_t): Likewise.
16273 (blkcnt_t): Likewise.
16274 (blkcnt64_t): Likewise.
16275 * manual/llio.texi (off_t): Likewise.
16276
28afd92d
JM
16277 [BZ #3976]
16278 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16279 (__ieee754_exp): Save and restore rounding mode and use
16280 round-to-nearest for all computations.
16281 * math/libm-test.inc (exp_test_tonearest): New function.
16282 (exp_test_towardzero): Likewise.
16283 (exp_test_downward): Likewise.
16284 (exp_test_upward): Likewise.
16285 (main): Call the new functions.
16286 * sysdeps/i386/fpu/libm-test-ulps: Update.
16287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16288
b1eeb65d
CD
162892012-03-01 Chris Demetriou <cgd@google.com>
16290
16291 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16292 have predictable order.
16293
53362a4b
DM
162942012-03-01 David S. Miller <davem@davemloft.net>
16295
3c969083
DM
16296 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16297
759707de
DM
16298 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16302
dfdb8ff2
DM
16303 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16304 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16305 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16310 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16311 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16312
ead89f96
DM
16313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16314
7f66bd07
DM
16315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16316 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16318
53362a4b
DM
16319 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16320 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16321 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16322 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16323 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16326 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16327 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16328 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16329 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16330 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16332 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16333 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16335 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16336 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16337 * sysdeps/sparc/elf/configure: Regenerated.
16338
7b1902cb
JM
163392012-03-01 Joseph Myers <joseph@codesourcery.com>
16340
bec039bc
JM
16341 * configure.in (AS, LD): Require binutils 2.20 or later.
16342 * configure: Regenerated.
16343 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16344 as required minimum version.
16345 * INSTALL: Regenerated.
16346
7b1902cb
JM
16347 [BZ #2541]
16348 [BZ #4108]
16349 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16350 before squaring exponent.
16351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16352 bottom long double and 27 bits of top long double before squaring
16353 exponent.
16354 * math/libm-test.inc (erfc_test): Add more tests.
16355 * sysdeps/i386/fpu/libm-test-ulps: Update.
16356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16358
f775c276
KT
163592012-03-01 Kai Tietz <ktietz@redhat.com>
16360
16361 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16362 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16363 containing bit-fields.
16364 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16365 * soft-fp/single.h (_FP_UNION_S): Likewise.
16366 * soft-fp/double.h (_FP_UNION_D): Likewise.
16367
5b8a4d4a
JM
163682012-02-29 Joseph Myers <joseph@codesourcery.com>
16369
0bab47b6
JM
16370 [BZ #13786]
16371 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16372 not include ../strcmp.S.
16373 [USE_AS_STRNCASECMP_L]: Likewise.
16374 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16375 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16376 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16377 (__strncasecmp_l_ia32): Define as alias to
16378 __strncasecmp_l_nonascii.
16379
0fcad3e2
JM
16380 [BZ #5794]
16381 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16382 * sysdeps/i386/fpu/libm-test-ulps: Update.
16383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16384
5b8a4d4a
JM
16385 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16387
8fdceb2e
JL
163882012-02-29 Jeff Law <law@redhat.com>
16389
16390 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16391 out of bounds read.
16392
1f393a11
MP
163932012-02-29 Marek Polacek <polacek@redhat.com>
16394
16395 [BZ #13706]
16396 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16397 * elf/Makefile: Add rules to run tst-unused-dep.out.
16398
8847f037
DM
163992012-02-28 David S. Miller <davem@davemloft.net>
16400
16401 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16402 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16405 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16406 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16407
169d7f11
JM
164082012-02-29 Joseph Myers <joseph@codesourcery.com>
16409
16410 * math/libm-test.inc (llround_test): Move one test from
16411 lround_test. Use TEST_f_L in moved test.
16412 (lround_test): Move misplaced test to llround_test. Add testcase
16413 from bug 2561.
16414
39adf059
UD
164152012-02-28 Ulrich Drepper <drepper@gmail.com>
16416
16417 * sysdeps/x86_64/fpu/e_expf.S: New file.
16418 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16419
71b5d1c5
SB
164202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16421
16422 [BZ #13637]
16423 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16424 of remain_len that may cause incomplete multi-byte character and
16425 false match.
16426 * posix/bug-regex33.c: New file.
16427 * posix/Makefile (tests): Add bug-regex33.
16428
1f77f049
JM
164292012-02-28 Joseph Myers <joseph@codesourcery.com>
16430
16431 * manual/macros.texi: New file.
16432 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16433 * manual/libc.texinfo: Include macros.texi.
16434 * manual/creatute.texi: Likewise.
16435 * manual/install.texi: Likewise.
16436 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16437 @glibcadj{} in references to the GNU C Library.
16438 * manual/charset.texi: Likewise.
16439 * manual/conf.texi: Likewise.
16440 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16441 when not using those macros.
16442 * manual/creature.texi: Likewise.
16443 * manual/crypt.texi: Likewise.
16444 * manual/errno.texi: Likewise.
16445 * manual/filesys.texi: Likewise.
16446 * manual/header.texi: Likewise.
16447 * manual/install.texi: Likewise.
16448 * manual/intro.texi: Likewise.
16449 * manual/io.texi: Likewise.
16450 * manual/job.texi: Likewise.
16451 * manual/lang.texi: Likewise.
16452 * manual/libc.texiinfo: Likewise.
16453 * manual/llio.texi: Likewise.
16454 * manual/locale.texi: Likewise.
16455 * manual/maint.texi: Likewise.
16456 * manual/math.texi: Likewise.
16457 * manual/memory.texi: Likewise.
16458 * manual/message.texi: Likewise.
16459 * manual/nss.texi: Likewise.
16460 * manual/pattern.texi: Likewise.
16461 * manual/process.texi: Likewise.
16462 * manual/resource.texi: Likewise.
16463 * manual/search.texi: Likewise.
16464 * manual/setjmp.texi: Likewise.
16465 * manual/signal.texi: Likewise.
16466 * manual/socket.texi: Likewise.
16467 * manual/startup.texi: Likewise.
16468 * manual/stdio.texi: Likewise.
16469 * manual/string.texi: Likewise.
16470 * manual/sysinfo.texi: Likewise.
16471 * manual/syslog.texi: Likewise.
16472 * manual/terminal.texi: Likewise.
16473 * manual/time.texi: Likewise.
16474 * manual/users.texi: Likewise.
16475 * INSTALL: Regenerated.
16476 * NOTES: Regenerated.
d40c5d54 16477 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16478
450bf206
AS
164792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16480
16481 * include/dirent.h: Include <dirstream.h> before
16482 <dirent/dirent.h>.
16483
741a235b
DM
164842012-02-28 David S. Miller <davem@davemloft.net>
16485
16486 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16487 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16488 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16489 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16490
d6b5aa58
DM
164912012-02-27 David S. Miller <davem@davemloft.net>
16492
1aff59a3
DM
16493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16495 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16496 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16497
d6b5aa58
DM
16498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16499 frame pointer instead of stack pointer relative arg slot.
16500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16503
433f48bf
CD
165042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16505
16506 [BZ #3992]
16507 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16508
d674b76d
DM
165092012-02-27 David S. Miller <davem@davemloft.net>
16510
16511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16515 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16516 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16517 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16518 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16519
0e7727f7
JM
165202012-02-27 Joseph Myers <joseph@codesourcery.com>
16521
16522 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16523 later. Allow versions 5-9.
43be4ca2 16524 * configure: Regenerated.
0e7727f7
JM
16525 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16526 required minimum version and 4.6 as recommended version. Do not
16527 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16528 * INSTALL: Regenerated.
0e7727f7 16529
a78bc654
DM
165302012-02-27 David S. Miller <davem@davemloft.net>
16531
428d5830
DM
16532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16538 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16539 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16540
a78bc654
DM
16541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16542 manipulate bits before adding and subtracting TWO112[sx].
16543 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16544
4579f81c
RM
165452012-02-27 Roland McGrath <roland@hack.frob.com>
16546
36c8acb4
RM
16547 [BZ #13775]
16548 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16549 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16550 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16551 being in POSIX, because they are in 1003.1-2008.
16552
84ad622b
RM
16553 * rt/tst-aio.c: Include <fcntl.h>.
16554 * rt/tst-aio7.c: Likewise.
16555 * rt/tst-aio64.c: Likewise.
16556
4579f81c
RM
16557 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16558
abd923db
JM
165592012-02-27 Joseph Myers <joseph@codesourcery.com>
16560
16561 * manual/install.texi (--with-headers): Describe headers as
16562 interface headers, not private headers.
16563 (Specific advice for GNU/Linux systems): Describe use of headers
16564 from "make headers_install", not private headers from older
16565 kernels.
43be4ca2 16566 * INSTALL: Regenerated.
abd923db
JM
16567 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16568 Change to 2.6.19.
16569 * sysdeps/unix/sysv/linux/configure: Regenerated.
16570
6664049b
JM
16571 * manual/llio.texi (fclean): Remove documentation.
16572
bb8b6697
JM
16573 * manual/Makefile (libc-texi-generated): New variable. Include
16574 version.texi.
16575 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16576 $(libc-texi-generated), not duplicated list of files.
16577 (version.texi, stamp-version): New rules.
16578 (realclean): Remove $(libc-texi-generated), not individual files
16579 from that list. Do not remove dir-add.texinfo.
16580 * manual/libc.texinfo: Comment out uses of edition numbers and
16581 references to printed manual. Remove last-updated dates.
16582 (EDITION): Comment out.
16583 (ISBN): Likewise.
16584 (VERSION, UPDATED): Remove.
16585 (version.texi): Include.
16586
12e5c3b9
AS
165872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16588
16589 * sysdeps/posix/spawni.c: Include <signal.h>.
16590 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16591 * sysdeps/pthread/aio_fsync.c: Likewise.
16592
4efeffc1 165932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16594
ba63ba08
UD
16595 * conform/Makefile (tests): Run only when not cross-compiling and
16596 when fast-check is not defined.
16597
d94a4670
UD
16598 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16599 * conform/data/limits.h-data: Fixes for POSIX2008.
16600 * conform/run-conformtest.sh: Run all tests.
16601 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16602 headers.
16603 * include/bits/dlfcn.h: Likewise.
16604 * include/langinfo.h: Likewise.
16605 * include/monetary.h: Likewise.
16606 * include/sys/poll.h: Likewise.
16607
16608 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16609 for __USE_GNU.
16610 * posix/spawn.h: Define __need_sigset_t.
16611 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16612 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16613 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16614 to get sigevent_t only.
16615 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16616 only for __USE_GNU.
16617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16618 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16619 process_vm_writev only for __USE_GNU.
16620 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16621
16622 * conform/Makefile: For now ignore errors from run-conformtest.
16623 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16624 POSIX to avoid namespace pollution. Don't prepend headers.
16625 * conform/data/aio.h-data: Fixes for POSIX testing.
16626 * conform/data/fcntl.h-data: Likewise.
16627 * conform/data/glob.h-data: Likewise.
16628 * conform/data/grp.h-data: Likewise.
16629 * conform/data/pthread.h-data: Likewise.
16630 * conform/data/pwd.h-data: Likewise.
16631 * conform/data/signal.h-data: Likewise.
16632 * conform/data/spawn.h-data: Likewise.
16633 * conform/data/stdio.h-data: Likewise.
16634 * conform/data/stdlib.h-data: Likewise.
16635 * conform/data/stropts.h-data: Likewise.
16636 * conform/data/sys/mman.h-data: Likewise.
16637 * conform/data/sys/stat.h-data: Likewise.
16638 * conform/data/sys/types.h-data: Likewise.
16639 * conform/data/sys/wait.h-data: Likewise.
16640 * conform/data/time.h-data: Likewise.
16641 * conform/data/unistd.h-data: Likewise.
16642 * conform/data/utime.h-data: Likewise.
16643
16644 * io/sys/stat.h: fchmod was always in POSIX.
16645 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16646 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16647 * rt/aio.h: Define __need_timespec before including <time.h>.
16648 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16649 struct. Add forward declaration of pthread_attr_t and use it in
16650 sigevent.
16651 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16653 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16654 always remove CLK_TCK definition.
16655
c20105c3
AS
166562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16657
16658 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16659
7a270350
UD
166602012-02-25 Ulrich Drepper <drepper@gmail.com>
16661
31341567
UD
16662 * conform/run-conformtest.sh: New file.
16663 * conform/Makefile: Run run-conformtest for tests.
16664 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16665 support.
16666
16667 * conform/data/uchar.h-data: New file.
16668 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16669 * conform/data/arpa/inet.h-data: Likewise.
16670 * conform/data/assert.h-data: Likewise.
16671 * conform/data/complex.h-data: Likewise.
16672 * conform/data/cpio.h-data: Likewise.
16673 * conform/data/ctype.h-data: Likewise.
16674 * conform/data/dirent.h-data: Likewise.
16675 * conform/data/dlfcn.h-data: Likewise.
16676 * conform/data/errno.h-data: Likewise.
16677 * conform/data/fcntl.h-data: Likewise.
16678 * conform/data/float.h-data: Likewise.
16679 * conform/data/fmtmsg.h-data: Likewise.
16680 * conform/data/fnmatch.h-data: Likewise.
16681 * conform/data/ftw.h-data: Likewise.
16682 * conform/data/glob.h-data: Likewise.
16683 * conform/data/grp.h-data: Likewise.
16684 * conform/data/iconv.h-data: Likewise.
16685 * conform/data/inttypes.h-data: Likewise.
16686 * conform/data/langinfo.h-data: Likewise.
16687 * conform/data/libgen.h-data: Likewise.
16688 * conform/data/limits.h-data: Likewise.
16689 * conform/data/locale.h-data: Likewise.
16690 * conform/data/math.h-data: Likewise.
16691 * conform/data/monetary.h-data: Likewise.
16692 * conform/data/mqueue.h-data: Likewise.
16693 * conform/data/ndbm.h-data: Likewise.
16694 * conform/data/net/if.h-data: Likewise.
16695 * conform/data/netdb.h-data: Likewise.
16696 * conform/data/netinet/in.h-data: Likewise.
16697 * conform/data/nl_types.h-data: Likewise.
16698 * conform/data/poll.h-data: Likewise.
16699 * conform/data/pthread.h-data: Likewise.
16700 * conform/data/pwd.h-data: Likewise.
16701 * conform/data/regex.h-data: Likewise.
16702 * conform/data/sched.h-data: Likewise.
16703 * conform/data/search.h-data: Likewise.
16704 * conform/data/semaphore.h-data: Likewise.
16705 * conform/data/setjmp.h-data: Likewise.
16706 * conform/data/signal.h-data: Likewise.
16707 * conform/data/spawn.h-data: Likewise.
16708 * conform/data/stdarg.h-data: Likewise.
16709 * conform/data/stdio.h-data: Likewise.
16710 * conform/data/stdlib.h-data: Likewise.
16711 * conform/data/string.h-data: Likewise.
16712 * conform/data/strings.h-data: Likewise.
16713 * conform/data/stropts.h-data: Likewise.
16714 * conform/data/sys/ipc.h-data: Likewise.
16715 * conform/data/sys/mman.h-data: Likewise.
16716 * conform/data/sys/msg.h-data: Likewise.
16717 * conform/data/sys/resource.h-data: Likewise.
16718 * conform/data/sys/select.h-data: Likewise.
16719 * conform/data/sys/sem.h-data: Likewise.
16720 * conform/data/sys/shm.h-data: Likewise.
16721 * conform/data/sys/socket.h-data: Likewise.
16722 * conform/data/sys/stat.h-data: Likewise.
16723 * conform/data/sys/statvfs.h-data: Likewise.
16724 * conform/data/sys/time.h-data: Likewise.
16725 * conform/data/sys/timeb.h-data: Likewise.
16726 * conform/data/sys/times.h-data: Likewise.
16727 * conform/data/sys/types.h-data: Likewise.
16728 * conform/data/sys/uio.h-data: Likewise.
16729 * conform/data/sys/un.h-data: Likewise.
16730 * conform/data/sys/utsname.h-data: Likewise.
16731 * conform/data/sys/wait.h-data: Likewise.
16732 * conform/data/syslog.h-data: Likewise.
16733 * conform/data/tar.h-data: Likewise.
16734 * conform/data/termios.h-data: Likewise.
16735 * conform/data/utime.h-data: Likewise.
16736 * conform/data/utmpx.h-data: Likewise.
16737 * conform/data/varargs.h-data: Likewise.
16738 * conform/data/wchar.h-data: Likewise.
16739 * conform/data/wctype.h-data: Likewise.
16740 * conform/data/wordexp.h-data: Likewise.
16741
16742 * include/stropts.h: New file.
16743 * include/uchar.h: New file.
16744 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16745 * include/assert.h: Likewise.
16746 * include/ctype.h: Likewise.
16747 * include/dirent.h: Likewise.
16748 * include/dlfcn.h: Likewise.
16749 * include/fcntl.h: Likewise.
16750 * include/fnmatch.h: Likewise.
16751 * include/glob.h: Likewise.
16752 * include/grp.h: Likewise.
16753 * include/libio.h: Likewise.
16754 * include/locale.h: Likewise.
16755 * include/math.h: Likewise.
16756 * include/net/if.h: Likewise.
16757 * include/netdb.h: Likewise.
16758 * include/netinet/in.h: Likewise.
16759 * include/pthread.h: Likewise.
16760 * include/pwd.h: Likewise.
16761 * include/regex.h: Likewise.
16762 * include/sched.h: Likewise.
16763 * include/search.h: Likewise.
16764 * include/setjmp.h: Likewise.
16765 * include/signal.h: Likewise.
16766 * include/stdio.h: Likewise.
16767 * include/stdlib.h: Likewise.
16768 * include/string.h: Likewise.
16769 * include/sys/cdefs.h: Likewise.
16770 * include/sys/mman.h: Likewise.
16771 * include/sys/msg.h: Likewise.
16772 * include/sys/resource.h: Likewise.
16773 * include/sys/select.h: Likewise.
16774 * include/sys/socket.h: Likewise.
16775 * include/sys/stat.h: Likewise.
16776 * include/sys/statvfs.h: Likewise.
16777 * include/sys/time.h: Likewise.
16778 * include/sys/times.h: Likewise.
16779 * include/sys/uio.h: Likewise.
16780 * include/sys/utsname.h: Likewise.
16781 * include/sys/wait.h: Likewise.
16782 * include/termios.h: Likewise.
16783 * include/time.h: Likewise.
16784 * include/ulimit.h: Likewise.
16785 * include/unistd.h: Likewise.
16786 * include/utime.h: Likewise.
16787 * include/wchar.h: Likewise.
16788 * include/wctype.h: Likewise.
16789 * include/wordexp.h: Likewise.
16790
16791 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16792
7a270350
UD
16793 * time/time.h: TIME_UTC must be a macro.
16794 Make timespec_get available for ISO C11 only as well.
16795
7724defc
UD
167962012-02-24 Ulrich Drepper <drepper@gmail.com>
16797
16798 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16799 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16800
6b1d1d46
JM
168012012-02-24 Joseph Myers <joseph@codesourcery.com>
16802
16803 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16804
0f8bbd69
JM
168052012-02-24 Joseph Myers <joseph@codesourcery.com>
16806
16807 * manual/texinfo.tex: Update to version 2012-01-19.16.
16808
66ab80bc
JM
168092012-02-24 Joseph Myers <joseph@codesourcery.com>
16810
16811 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16812
74981cc5
RM
168132012-02-24 Roland McGrath <roland@hack.frob.com>
16814
ee968201
RM
16815 [BZ #13738]
16816 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16817 * manual/fdl-1.3.texi: New file.
16818 * manual/fdl-1.1.texi: File removed.
16819
74981cc5
RM
16820 [BZ #13738]
16821 * manual/libc.texinfo (FDL_VERSION): New @set.
16822 Use it for mention of FDL in cover text.
16823 (Documentation License): Use it in @include file name.
16824
7bb764bc
JM
168252012-02-22 Joseph Myers <joseph@codesourcery.com>
16826 Roland McGrath <roland@hack.frob.com>
16827
16828 [BZ #5461]
16829 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16830 not LONG_LONG_MAX and LONG_LONG_MIN.
16831 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16832 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16833 name.
16834 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16835
6cbeae47
JM
168362012-02-22 Joseph Myers <joseph@codesourcery.com>
16837
16838 [BZ #2547]
16839 [BZ #11365]
16840 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16841 manipulate bits before adding and subtracting TWO23[sx].
16842 * math/libm-test.inc (nearbyint_test): Add more tests.
16843
fe45ce09
JM
168442012-02-22 Joseph Myers <joseph@codesourcery.com>
16845
16846 [BZ #2548]
16847 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16848 bits before adding and subtracting TWO23[sx].
16849 * math/libm-test.inc (rint_test): Add more tests.
16850 (rint_test_tonearest): Likewise.
16851 (rint_test_towardzero): Likewise.
16852 (rint_test_downward): Likewise.
16853 (rint_test_upward: Likewise.
16854
ff3b3d82
JM
168552012-02-22 Joseph Myers <joseph@codesourcery.com>
16856
16857 [BZ #10110]
16858 * include/stdc-predef.h: New file. Extracted from features.h.
16859 * include/features.h: Include stdc-predef.h.
16860 * Makefile (headers): Add stdc-predef.h.
16861 * CONFORMANCE (Compiler limitations): Update.
16862
ef0aab35
JM
168632012-02-22 Joseph Myers <joseph@codesourcery.com>
16864
16865 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16866
58639409
DM
168672012-02-21 David S. Miller <davem@davemloft.net>
16868
16869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16870 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16871
c0e70b25
DM
168722012-02-20 David S. Miller <davem@davemloft.net>
16873
16874 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16875 using a normal save/restore sequence, rather than allocating a
16876 dummy stack frame just to store a frame pointer and restore.
16877 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16878
fb06851d
JM
168792012-02-21 Joseph Myers <joseph@codesourcery.com>
16880
16881 * manual/install.texi: Fix stray word in line-wrapped comment.
16882
7a8b71c3
DM
168832012-02-20 David S. Miller <davem@davemloft.net>
16884
d510c123
DM
16885 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16886 both binutils and gcc support GOTDATA.
16887
0722d7c2
DM
16888 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16889 "rd %pc" in the PIC register setup sequences.
16890
3d2b3019
DM
16891 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16892 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16893 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16894 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16895 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16897 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16898 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16900 (SYSCALL_ERROR_HANDLER): Likewise.
16901 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16902 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16904 (SYSCALL_ERROR_HANDLER): Likewise.
16905
c80098a9
DM
16906 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16907 (HAVE_GCC_GOTDATA): New.
16908 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16909 relocation support in both binutils and gcc.
16910 * sysdeps/sparc/elf/configure: Regenerate.
16911
3a2545a0
DM
16912 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16913 * sysdeps/sparc/sparc32/elf/configure: Delete.
16914 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16915 * sysdeps/sparc/sparc64/elf/configure: Delete.
16916 * sysdeps/sparc/elf/configure.in: New file.
16917 * sysdeps/sparc/elf/configure: Generate.
16918
7a8b71c3
DM
16919 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16920 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16921 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16922 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16923 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16924
f1e86fca
JM
169252012-02-21 Joseph Myers <joseph@codesourcery.com>
16926
16927 * manual/install.texi: Do not mention specific glibc version
16928 numbers.
16929 * manual/libc.texinfo (VERSION, UPDATED): Update.
16930 (@copying): Use @copyright{} and range of years.
16931
0e7dfaef
JM
169322012-02-21 Joseph Myers <joseph@codesourcery.com>
16933
16934 [BZ #13695]
16935 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16936 [crti.S not in sysdirs] (generated): Do not append.
16937 [crti.S not in sysdirs] (omit-deps): Likewise.
16938 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16939 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16940 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16941 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16942 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16943 Likewise.
16944 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16945 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16946 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16947 * csu/defs.awk: Remove file.
16948 * sysdeps/generic/initfini.c: Likewise.
16949 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16950 variable.
16951 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16952 Likewise.
16953
599af3ca
JM
169542012-02-20 Joseph Myers <joseph@codesourcery.com>
16955
16956 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16957 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16958 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16961 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16962 <bits/epoll.h>.
16963 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16964 (__EPOLL_PACKED): Define to empty if not defined by
16965 <bits/epoll.h>.
16966 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16968 bits/epoll.h.
16969
0e499750
JM
169702012-02-20 Joseph Myers <joseph@codesourcery.com>
16971
16972 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16973 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16974 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16975 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16976 <bits/timerfd.h>.
16977 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16979 bits/timerfd.h.
16980
5ad91f6e
JM
169812012-02-20 Joseph Myers <joseph@codesourcery.com>
16982
16983 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16984 in C locale.
16985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16986 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16987 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16989
06b99b02
AJ
169902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16991
16992 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16993 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16994
7638c0fd
AS
169952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16996
16997 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16998 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16999 defined.
17000 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17001 Likewise.
17002 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17003 entry for 2.16.
17004
92221550
AJ
170052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17006
17007 * math/w_acos.c: Use non-signaling floating-point comparisons.
17008 * math/w_acosf.c: Likewise.
17009 * math/w_acosh.c: Likewise.
17010 * math/w_acoshf.c: Likewise.
17011 * math/w_acoshl.c: Likewise.
17012 * math/w_acosl.c: Likewise.
17013 * math/w_asin.c: Likewise.
17014 * math/w_asinf.c: Likewise.
17015 * math/w_asinl.c: Likewise.
17016 * math/w_atanh.c: Likewise.
17017 * math/w_atanhf.c: Likewise.
17018 * math/w_atanhl.c: Likewise.
17019 * math/w_exp2.c: Likewise.
17020 * math/w_exp2f.c: Likewise.
17021 * math/w_exp2l.c: Likewise.
17022 * math/w_j0.c: Likewise.
17023 * math/w_j0f.c: Likewise.
17024 * math/w_j0l.c: Likewise.
17025 * math/w_j1.c: Likewise.
17026 * math/w_j1f.c: Likewise.
17027 * math/w_j1l.c: Likewise.
17028 * math/w_jn.c: Likewise.
17029 * math/w_jnf.c: Likewise.
17030 * math/w_log.c: Likewise.
17031 * math/w_log10.c: Likewise.
17032 * math/w_log10f.c: Likewise.
17033 * math/w_log10l.c: Likewise.
17034 * math/w_log2.c: Likewise.
17035 * math/w_log2f.c: Likewise.
17036 * math/w_log2l.c: Likewise.
17037 * math/w_logf.c: Likewise.
17038 * math/w_logl.c: Likewise.
17039 * math/w_sqrt.c: Likewise.
17040 * math/w_sqrtf.c: Likewise.
17041 * math/w_sqrtl.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17043 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17045 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17046 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17047
ebaf36eb
JM
170482012-02-19 Joseph Myers <joseph@codesourcery.com>
17049
17050 [BZ #9739]
17051 * manual/string.texi (strnlen): Use correct parameter name in
17052 equivalent expression.
17053
71c254a6
JM
170542012-02-19 Joseph Myers <joseph@codesourcery.com>
17055
17056 [BZ #11174]
17057 * manual/users.texi (seteuid): Consistently use neweuid for
17058 argument name.
17059
16d2c631
JM
170602012-02-19 Joseph Myers <joseph@codesourcery.com>
17061
17062 [BZ #13704]
17063 * manual/nss.texi (Services in the NSS configuration): Correct
17064 list of services in example configuration file.
17065
cd837b09
NB
170662012-02-19 Nick Bowler <nbowler@draconx.ca>
17067
17068 [BZ #11322]
17069 * manual/arith.texi: Remove statements about negative zero
17070 behaving identically to zero.
17071
02c4bbad
JM
170722012-02-18 Joseph Myers <joseph@codesourcery.com>
17073
17074 [BZ #5993]
17075 * manual/install.texi: Do not document upgrading from libc5.
17076
366842e7
JM
170772012-02-18 Joseph Myers <joseph@codesourcery.com>
17078
17079 [BZ #4596]
17080 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17081
dd54084d
DM
170822012-02-18 David S. Miller <davem@davemloft.net>
17083
17084 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17085 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17086 %o7 across the call.
17087 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17088 instead.
17089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17090 SETUP_PIC_REG_LEAF.
17091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17092 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17093 * sysdeps/sparc/crtn.S: Likewise.
17094
2bcc53a3
UD
170952012-02-17 Ulrich Drepper <drepper@gmail.com>
17096
17097 * aout/Makefile: Remove.
17098
09c093b5
RK
170992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17100
17101 [BZ #13058]
17102 * manual/examples/argp-ex1.c (main): Format definition in GNU
17103 style.
17104 * manual/examples/argp-ex2.c (main): Likewise.
17105 * manual/examples/argp-ex3.c (main): Likewise.
17106 * manual/examples/argp-ex4.c (main): Likewise.
17107 * manual/examples/longopt.c (main): Use new-style prototype
17108 definition.
17109 * manual/examples/strncat.c (main): Specify return type and use
17110 (void) for arguments.
17111 * manual/examples/subopt.c (main): Use char **argv argument.
17112
2ee633a2
JM
171132012-02-17 Joseph Myers <joseph@codesourcery.com>
17114
17115 [BZ #5077]
17116 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17117 rounding modes.
17118
0520adde
FB
171192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17120
17121 [BZ #6907]
17122 * manual/string.texi (strchr): Change when strchrnul is
17123 recommended.
17124
3f4081cd
DGM
171252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17126
17127 [BZ #174]
17128 * manual/locale.texi (setlocale): Document LOCPATH.
17129
d1b10e78
JM
171302012-02-17 Joseph Myers <joseph@codesourcery.com>
17131
17132 [BZ #10210]
17133 * manual/process.texi (execle): Move @dots{} before last argument.
17134
79c6869c
PB
171352012-02-17 Paul Bolle <pebolle@tiscali.nl>
17136
17137 [BZ #12047]
17138 * manual/charset.texi (Generic Charset Conversion): Fix typo
17139 (LC_TYPE -> LC_CTYPE).
17140
cc6e48bc
NB
171412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17142
17143 [BZ #5805]
17144 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17145 (scalbnf): Likewise.
17146 (scalbnl): Likewise.
17147 (scalbln): Likewise.
17148 (scalblnf): Likewise.
17149 (scalblnl): Likewise.
17150 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17151 (vwarnx): Likewise.
17152 (verr): Likewise.
17153 (verrx): Likewise.
17154 * manual/filesys.texi (telldir): Use braces around return type.
17155 * manual/llio.texi (mmap): Add space after comma.
17156 (mmap64): Likewise.
17157 * manual/math.texi (jn): Use @var{} on parameter names.
17158 (jnf): Likewise.
17159 (jnl): Likewise.
17160 (yn): Likewise.
17161 (ynf): Likewise.
17162 (ynl): Likewise.
17163 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17164 line.
17165 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17166 "...".
17167 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17168 (sched_get_priority_max): Likewise.
17169 * manual/signal.texi (sigvec): Add space after comma.
17170 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17171 names.
17172 (if_indextoname): Likewise.
17173 (if_freenameindex): Likewise.
17174 (sendto): Use ',' instead of '.' in prototype.
17175 * manual/startup.texi (syscall): Use @dots{} instead of literal
17176 "...".
17177 * manual/stdio.texi (__fpending): Separate initial words of
17178 paragraph from @deftypefun line.
17179 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17180 "...".
17181 (vsyslog): Use @var{} on parameter names.
17182 * manual/terminal.texi (stty): Use @var{} on parameter names.
17183 * manual/users.texi (getutmp): Use @var{} on parameter names.
17184 (getutmpx): Likewise.
17185
5b23062f
JM
171862012-02-17 Joseph Myers <joseph@codesourcery.com>
17187
17188 [BZ #6884]
17189 * manual/stdio.texi (fopen): Fix typos in description of
17190 ",ccs=STRING".
17191
8dee4833
AJ
171922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17193
17194 [BZ #4026]
17195 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17196 get clock_id definition.
17197
9078ce93
TS
171982012-02-17 Thomas Schwinge <thomas@schwinge.name>
17199
17200 [BZ #4822]
17201 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17202 (madvise): Cast every argument to void on its own.
17203
3835c55f
JM
172042012-02-17 Joseph Myers <joseph@codesourcery.com>
17205
17206 [BZ #9902]
17207 * manual/startup.texi (Exit Status): Fix typo.
17208
35c47e37
JM
172092012-02-17 Joseph Myers <joseph@codesourcery.com>
17210
17211 [BZ #10140]
17212 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17213 * manual/examples/argp-ex2.c: Likewise.
17214 * manual/examples/argp-ex3.c: Likewise.
17215
e3b69ca7
RH
172162012-02-16 Richard Henderson <rth@redhat.com>
17217
17218 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17219 * sysdeps/s390/s390-32/initfini.c: Remove.
17220 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17221 * sysdeps/s390/s390-64/initfini.c: Remove.
17222
df83af67
KK
172232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17224
17225 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17226 compiler output for sysdeps/generic/initfini.c.
17227 * sysdeps/sh/elf/initfini.c: Remove file.
17228
f63f3380
DM
172292012-02-16 David S. Miller <davem@davemloft.net>
17230
fb59b3a4
DM
17231 [BZ #11494]
17232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17233
f63f3380
DM
17234 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17235 * sysdeps/sparc/crti.S: New file.
17236 * sysdeps/sparc/crtn.S: New file.
17237 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17238 * sysdeps/sparc/sparc64/Makefile: Likewise.
17239
df6a4a4a
MF
172402012-02-15 Mike Frysinger <vapier@gentoo.org>
17241
6dd8f3dc 17242 [BZ #3335]
df6a4a4a
MF
17243 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17244
1cac7236
RM
172452012-02-15 Roland McGrath <roland@hack.frob.com>
17246
d2c736f8
RM
17247 [BZ #4822]
17248 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17249
1cac7236
RM
17250 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17251 (write, read, close): Likewise.
17252 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17253
8e475601
JM
172542012-02-15 Joseph Myers <joseph@codesourcery.com>
17255
17256 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17257 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17258 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17259 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17260 <bits/signalfd.h>.
17261 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17263 bits/signalfd.h.
17264
ed656b40
MP
172652012-02-14 Marek Polacek <polacek@redhat.com>
17266
17267 * sysdeps/x86_64/crti.S: New file.
17268 * sysdeps/x86_64/crtn.S: New file.
17269 * sysdeps/x86_64/elf/initfini.c: Remove file.
17270
2a979d3a
JM
172712012-02-13 Joseph Myers <joseph@codesourcery.com>
17272
17273 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17274 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17275 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17276 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17277 <bits/inotify.h>.
17278 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17280 bits/inotify.h.
17281
2a418ac3
JM
172822012-02-13 Joseph Myers <joseph@codesourcery.com>
17283
17284 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17285 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17286 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17287 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17288 <bits/eventfd.h>.
17289 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17291 bits/eventfd.h.
17292
fb779be7
TS
172932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17294
e19e83c5
RM
17295 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17296 __feraiseexcept instead of feraiseexcept.
7c35ffed 17297
fb779be7
TS
17298 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17299 nanosleep invocations.
17300 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17301 strings, and add error checking for a nanosleep invocations.
17302
59ba27a6
PE
173032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17304
17305 Replace FSF snail mail address with URLs, as per GNU coding standards.
17306 Most of the snail mail addresses were wrong anyway, and omitting
17307 them makes the source code easier to maintain. Almost all of the
17308 changes are to license notices and to locale LC_IDENTIFICATION
17309 addresses, except for this one:
17310 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17311 not its snail mail address.
17312
57b957eb
RH
173132012-02-09 Richard Henderson <rth@twiddle.net>
17314
af850b1c
RH
17315 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17316 of kernel-features.h.
17317
57b957eb
RH
17318 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17319
6b73181a
MP
173202012-02-08 Marek Polacek <polacek@redhat.com>
17321
17322 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17323 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17324 * sysdeps/gnu/_G_config.h: Likewise.
17325 * sysdeps/generic/_G_config.h: Likewise.
17326
26ecc33a
AS
173272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17328
6c6dbc63
AS
17329 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17330 tests.
17331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17332
e216c012
AS
17333 * sysdeps/powerpc/powerpc32/crti.S: New file.
17334 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17335 * sysdeps/powerpc/powerpc64/crti.S: New file.
17336 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17337
26ecc33a
AS
17338 * Makeconfig (have-initfini): Don't set.
17339 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17340 * configure.in (nopic_initfini): Don't substitute.
17341 * config.h.in (HAVE_INITFINI): Don't #undef.
17342 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17343 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17344
3add8e13
JM
173452012-02-08 Joseph Myers <joseph@codesourcery.com>
17346
17347 Support crti.S and crtn.S provided directly by architectures.
17348 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17349 [crti.S in sysdirs] (omit-deps): Likewise.
17350 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17351 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17352 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17353 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17354 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17355 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17356 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17357 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17358 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17359 compiler output for sysdeps/generic/initfini.c.
17360 * sysdeps/i386/elf/Makefile: Remove file.
17361 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17362
a22f12b4
MP
173632012-02-07 Marek Polacek <polacek@redhat.com>
17364
17365 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17366 * sysdeps/gnu/_G_config.h: Likewise.
17367 * sysdeps/mach/hurd/_G_config.h: Likewise.
17368
148cf100
MP
173692012-02-07 Marek Polacek <polacek@redhat.com>
17370
17371 * math/Makefile (tests): Add tst-CMPLX2.
17372 * math/tst-CMPLX2.c: New file.
17373
cfdc0dd7
AS
173742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17375
84ba42c4
AS
17376 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17377
cfdc0dd7
AS
17378 * math/libm-test.inc (jn_test): Add missing L suffix.
17379
622c86f4
MP
173802012-02-06 Marek Polacek <polacek@redhat.com>
17381
17382 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17383 * sysdeps/i386/fpu/e_powf.S: Likewise.
17384 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17385 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17386 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17387 * sysdeps/i386/fpu/e_pow.S: Likewise.
17388 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17390 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17391 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17392 * sysdeps/i386/fpu/e_log2.S: Likewise.
17393 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17394 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17395 * sysdeps/i386/fpu/e_powl.S: Likewise.
17396 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17397 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17398 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17399 * sysdeps/i386/fpu/e_logl.S: Likewise.
17400 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17401 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17402 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17403 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17404 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17405 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17406 * sysdeps/i386/fpu/e_log.S: Likewise.
17407 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17408 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17409 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17410 * sysdeps/i386/fpu/e_logf.S: Likewise.
17411 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17412 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17413 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17414 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17415 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17416 * sysdeps/i386/fpu/e_log10.S: Likewise.
17417 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17419 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17420 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17421 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17422 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17423 * sysdeps/i386/asm-syntax.h: Likewise.
17424 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17425 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17426 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17427 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17428 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17429 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17430 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17431 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17432 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17433 * sysdeps/powerpc/sysdep.h: Likewise.
17434 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17435 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17436
d4a54ac6
JM
174372012-02-06 Joseph Myers <joseph@codesourcery.com>
17438
17439 [BZ #411]
17440 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17441
314054ea
JM
174422012-02-06 Joseph Myers <joseph@codesourcery.com>
17443
17444 * sysdeps/i386/sysdep.h: Include <features.h>.
17445 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17446 version.
17447
d8e0ca50
JM
174482012-02-05 Joseph Myers <joseph@codesourcery.com>
17449
17450 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17451 Define.
17452 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17453 LOAD_PIC_REG_STR.
17454
b1da7dd9
JM
174552012-02-03 Joseph Myers <joseph@codesourcery.com>
17456
17457 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17458 (SETUP_PIC_REG): Use GET_PC_THUNK.
17459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17460 macro.
17461
9a1d9254
JM
174622012-02-03 Joseph Myers <joseph@codesourcery.com>
17463
17464 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17465 for non-PIC compilation.
17466 (SETUP_PIC_REG): Add .p2align directive.
17467 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17468 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17469 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17470 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17471 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17472 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17473 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17475 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17476 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17477 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17478 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17479 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17480 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17481 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17482 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17483 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17484 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17485 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17486 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17489 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17490 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17493 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17494 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17495 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17496 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17497 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17498 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17499 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17500 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17501 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17502 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17503 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17504 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17505 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17506 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17507 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17508
65dc3b75
JM
175092012-02-03 Joseph Myers <joseph@codesourcery.com>
17510
17511 * math/tst-CMPLX.c: Include <stdio.h>.
17512
d55bf177
JM
175132012-01-31 Joseph Myers <joseph@codesourcery.com>
17514
17515 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17516 float.
17517 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17518 * sysdeps/sparc/bits/mathdef.h: Likewise.
17519
69db4f8f
MP
175202012-01-31 Marek Polacek <polacek@redhat.com>
17521
17522 * libio/libio.h: Don't define _PARAMS.
17523 * locale/programs/config.h: Don't define PARAMS.
17524 * stdlib/strtol_l.c: Likewise.
17525 (__strtol_l): Remove PARAMS from the prototype.
17526
41b81892
UD
175272012-01-31 Ulrich Drepper <drepper@gmail.com>
17528
3b49edc0
UD
17529 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17530 names. Just use the correct names. Remove unnecessary wrapper
17531 functions.
17532 * malloc/arena.c: Likewise.
17533 * malloc/hooks.c: Likewise.
17534
41b81892
UD
17535 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17536 ARENA_TEST says not to. Simplify test for creation of a new arena.
17537 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17538
27a25b6e
UD
175392012-01-30 Ulrich Drepper <drepper@gmail.com>
17540
17541 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17542 into tail calls.
17543 (update_get_addr): New function.
17544 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17545 GET_ADDR_MODULE parameter.
17546
c8a89e7d
JM
175472012-01-30 Joseph Myers <joseph@codesourcery.com>
17548
17549 * crypt/cert.c: Remove __STDC__ conditionals.
17550 * crypt/crypt-entry.c: Likewise.
17551 * crypt/crypt_util.c: Likewise.
17552 * libio/filedoalloc.c: Likewise.
17553 * libio/fileops.c: Likewise.
17554 * libio/genops.c: Likewise.
17555 * libio/iofclose.c: Likewise.
17556 * libio/iofdopen.c: Likewise.
17557 * libio/iofopen.c: Likewise.
17558 * libio/iofopen64.c: Likewise.
17559 * libio/iogetdelim.c: Likewise.
17560 * libio/iopopen.c: Likewise.
17561 * libio/obprintf.c: Likewise.
17562 * libio/oldfileops.c: Likewise.
17563 * libio/oldiofclose.c: Likewise.
17564 * libio/oldiofdopen.c: Likewise.
17565 * libio/oldiofopen.c: Likewise.
17566 * libio/oldiopopen.c: Likewise.
17567 * libio/wfiledoalloc.c: Likewise.
17568 * libio/wgenops.c: Likewise.
17569 * locale/programs/xmalloc.c: Likewise.
17570 * misc/syslog.c: Likewise.
17571 * stdio-common/xbug.c: Likewise.
17572 * string/memchr.c: Likewise.
17573 * string/memcmp.c: Likewise.
17574 * string/memrchr.c: Likewise.
17575 * string/rawmemchr.c: Likewise.
17576 * sysdeps/posix/getcwd.c: Likewise.
17577 * time/strftime_l.c: Likewise.
17578
3b100462
JM
175792012-01-30 Joseph Myers <joseph@codesourcery.com>
17580
17581 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17582 * config.make.in (config-cflags-sse2avx): Define.
17583 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17584 Fix typo.
17585
607998af
CM
175862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17587
17588 * scripts/config.guess: Update from upstream config git repository.
17589 * scripts/config.sub: Likewise.
17590
3601428f
CM
175912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17592
3ac8b282
CM
17593 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17594 (EM_NUM): Update.
17595 (R_TILEPRO_*, R_TILEGX_*): New macros.
17596
e034841e
CM
17597 * scripts/firstversions.awk: Fix bug in version range handling.
17598
540d7568
CM
17599 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17600
3601428f
CM
17601 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17602
463de862
CM
17603 * include/sys/epoll.h: New file.
17604 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17605 libc_hidden_def.
17606
73139a76
UD
176072012-01-28 Ulrich Drepper <drepper@gmail.com>
17608
96bc5b45
UD
17609 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17610 Avoid unnecessary __WORDSIZE == 64 test.
17611 (fmaxf): Use VEX format if possible.
17612 (fmax): Likewise.
17613 (fminf): Likewise.
17614 (fmin): Likewise.
17615
56f6f6a2
UD
17616 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17617 * math/math_private.h: Remove libc_fegetround* and
17618 libc_fesetround*.
17619 * sysdeps/i386/configure.in: Check for -msse2avx.
17620 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17621 also if SSE2AVX is defined.
17622 Remove libc_fegetround* and libc_fesetround*.
17623 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17624 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17626 of HAS_YMM_USABLE.
17627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17628 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17629 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17630 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17632
73139a76
UD
17633 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17634
d73f93a4
AZ
176352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17636
17637 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17638 size is not set.
17639 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17640
6ee65ed6
UD
176412012-01-27 Ulrich Drepper <drepper@gmail.com>
17642
17643 [BZ #13618]
17644 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17645 relocation.
17646 * Makeconfig (libm): Define.
17647 * elf/Makefile: Add rules to build and run tst-relsort1.
17648 * elf/tst-relsort1.c: New file.
17649 * elf/tst-relsort1mod1.c: New file.
17650 * elf/tst-relsort1mod2.c: New file.
17651
8db21882
JM
176522012-01-27 Joseph Myers <joseph@codesourcery.com>
17653
17654 * math/s_ldexp.c: Remove __STDC__ conditionals.
17655 * math/s_ldexpf.c: Likewise.
17656 * math/s_ldexpl.c: Likewise.
17657 * math/s_nextafter.c: Likewise.
17658 * math/s_nexttowardf.c: Likewise.
17659 * math/s_significand.c: Likewise.
17660 * math/s_significandf.c: Likewise.
17661 * math/s_significandl.c: Likewise.
17662 * math/w_jnl.c: Likewise.
17663 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17664 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17665 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17666 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17667 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17682 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17683 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17685 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17687 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17688 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17689 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17690 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17691 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17692 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17693 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17694 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17695 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17696 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17697 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17698 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17699 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17700 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17701 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17702 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17703 * sysdeps/ieee754/k_standard.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17735 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17736 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17739 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17740 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17743 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17744 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17765 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17778 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17779 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17783 * sysdeps/ieee754/s_matherr.c: Likewise.
17784 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17785 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17788
965a54a4
JM
177892012-01-26 Joseph Myers <joseph@codesourcery.com>
17790
17791 * crypt/md5.h: Remove __STDC__ conditionals.
17792 * libio/libioP.h: Likewise.
17793 * locale/programs/config.h: Likewise.
17794 * sysdeps/generic/sysdep.h: Likewise.
17795 * sysdeps/i386/asm-syntax.h: Likewise.
17796 * sysdeps/s390/asm-syntax.h: Likewise.
17797 * sysdeps/unix/sysdep.h: Likewise.
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17800
7071ad79
JM
178012012-01-26 Joseph Myers <joseph@codesourcery.com>
17802
17803 * libio/libio.h: Remove __STDC__ conditionals.
17804 * malloc/obstack.h: Likewise.
17805 * math/complex.h: Likewise.
17806 * math/math.h: Likewise.
17807 * sysdeps/generic/_G_config.h: Likewise.
17808 * sysdeps/gnu/_G_config.h: Likewise.
17809 * sysdeps/mach/hurd/_G_config.h: Likewise.
17810 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17811 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17812 * sysdeps/sparc/bits/mathdef.h: Likewise.
17813
afc5ed09
UD
178142012-01-26 Ulrich Drepper <drepper@gmail.com>
17815
17816 [BZ #13583]
17817 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17818 Clean up HAS_* macros.
afc5ed09 17819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17820 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17821 possible.
17822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17823 HAS_AVX.
17824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17825 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17828 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17829
bdb6de1d
JM
178302012-01-25 Joseph Myers <joseph@codesourcery.com>
17831
17832 * elf/tst-unique3.cc (gets): Remove declaration.
17833 * elf/tst-unique3lib.cc (gets): Likewise.
17834 * elf/tst-unique3lib2.cc (gets): Likewise.
17835 * elf/tst-unique4.cc (gets): Likewise.
17836
b15549e6
UD
178372012-01-24 Ulrich Drepper <drepper@gmail.com>
17838
17839 * include/stdio.h: Add C++ protection. Add gets declarations and
17840 definitions.
17841 * debug/tst-chk1.c: Don't declare gets here.
17842 * stdio-common/tst-gets.c: Likewise.
17843
a037381f
JM
178442012-01-24 Joseph Myers <joseph@codesourcery.com>
17845
17846 * posix/glob: Remove directory.
17847
f1d4aa75
JM
178482012-01-24 Joseph Myers <joseph@codesourcery.com>
17849
17850 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17851
81c0c964
PT
178522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17853
17854 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17855 of the non-standard EPFNOSUPPORT.
17856
0ea698ae
ST
178572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17858
17859 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17860 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17861 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17862
d220b117
UD
178632012-01-21 Ulrich Drepper <drepper@gmail.com>
17864
17865 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17866
3e1aa84e
UD
178672012-01-20 Ulrich Drepper <drepper@gmail.com>
17868
17869 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17870 transient errors.
17871 * nscd/grpcache.c (cache_addgr): Likewise.
17872 * nscd/hstcache.c (cache_addhst): Likewise.
17873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17874 * nscd/pwdcache.c (cache_addpw): Likewise.
17875 * nscd/servicescache.c (cache_addserv): Likewise.
17876
400aa020
UD
178772012-01-16 Ulrich Drepper <drepper@gmail.com>
17878
d77e7869
UD
17879 * malloc/malloc.c: Various cleanups.
17880 * malloc/hooks.c: Likewise.
17881
400aa020
UD
17882 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17883 * stdlib/bug-fmtmsg1.c: New file.
17884
17885 * stdlib/fmtmsg.c (init): Add missing unlock.
17886 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17887
e0a309cf
MP
178882012-01-12 Marek Polacek <polacek@redhat.com>
17889
17890 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17891 and _GNU_SOURCE.
17892
929d11c7
WS
178932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17894
17895 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17896 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17897 macro to ensure uniqueness of label name.
17898 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17899 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17900
41d0e869
UD
179012012-01-11 Ulrich Drepper <drepper@gmail.com>
17902
0cc5ed3b
UD
17903 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17904
41d0e869
UD
17905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17906 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17907 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17909
a47a831a
UD
179102012-01-10 Ulrich Drepper <drepper@gmail.com>
17911
daa891c0
UD
17912 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17913
17914 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17915 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17916 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17917
e58ef0f2
UD
17918 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17919
a47a831a 17920 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17921 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17924
17925 * math/bits/math-finite.h: Add ldexp support.
17926
a0bfc9c7
MP
179272012-01-10 Marek Polacek <polacek@redhat.com>
17928
17929 * locale/programs/localedef.h (show_archive_content): Add noreturn
17930 attribute.
17931
d6e97a1d
UD
179322012-01-09 Ulrich Drepper <drepper@gmail.com>
17933
17934 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17935
d5835c26
UD
179362012-01-08 Ulrich Drepper <drepper@gmail.com>
17937
e5f484c6
UD
17938 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17939
d5835c26
UD
17940 * io/Makefile (headers): Add bits/poll2.h.
17941
d1f741e9
WS
179422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17943
17944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17945 typo #include statement.
17946
ec09c1c4
UD
179472012-01-08 Ulrich Drepper <drepper@gmail.com>
17948
17949 * include/sys/cdefs.h: Define __attribute_alloc_size.
17950 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17951 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17952 * elf/pldd.c: Likewise.
17953 * iconv/iconv_charmap.c: Likewise.
17954 * iconv/iconvconfig.c: Likewise.
17955 * iconv/strtab.c: Likewise.
17956 * locale/programs/locale.c: Likewise.
17957 * locale/programs/localedef.h: Likewise.
17958 * locale/programs/simple-hash.c: Likewise.
17959 * nscd/nscd.h: Likewise.
17960 * nss/makedb.c: Likewise.
17961 * sysdeps/generic/ldconfig.h: Likewise.
17962 * locale/programs/localedef.c: Remove xmalloc prototype.
17963 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17964
20b38e03
PP
179652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17966
17967 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17968 appropriate.
17969
a0da5fe1
UD
179702012-01-08 Ulrich Drepper <drepper@gmail.com>
17971
1d5a644a 17972 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17973 * math/tst-CMPLX.c: New file.
1d5a644a 17974
8784a6db
UD
17975 * math/complex.h (CMPLXL): Fix typo.
17976
d9a216c0
UD
17977 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17978 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17979 GLIBC_2.16.
17980 * debug/tst-chk1.c: Add poll and ppoll tests.
17981 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17982 * include/sys/poll.h: Add hidden proto for ppoll.
17983 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17984 * sysdeps/mach/hurd/ppoll.c: Likewise.
17985 * io/ppoll.c: Likewise.
17986 * debug/poll_chk.c: New file.
17987 * debug/ppoll_chk.c: New file.
17988 * include/bits/poll2.h: New file.
17989 * io/bits/poll2.h: New file.
17990
ac097f5c
UD
17991 [BZ #1350]
17992 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17993
2119dcfa
UD
17994 * configure.in: static is always set to yes. Remove.
17995 * config.make.in: Don't set build-static.
17996 * Makeconfig: Remove use of build-static.
17997 * dlfcn/Makefile: Likewise.
17998 * elf/Makefile: Likewise.
17999 * math/Makefile: Likewise.
18000 * misc/Makefile: Likewise.
18001 * nptl/Makefile: Likewise.
18002 * sysdeps/mach/hurd/Makefile: Likewise.
18003
121766a9
UD
18004 * configure.in: PWD_P is not used anymore.
18005 * config.make.in: Remove PWD_P entry.
18006
51a1d39c 18007 * configure.in: Remove last remnants of RANLIB.
8720d066 18008 No need to check for signed size_t anymore.
215f4bdc
UD
18009 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18010 and IA-64.
3857022a 18011 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18012 * aclocal.m4: Likewise.
18013
d3ed7225
UD
18014 * wcsmbs/mbrtoc16.c: Implement using towc function.
18015 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18016 * wcsmbs/wcsmbsload.c: Likewise.
18017 * iconv/gconv_simple.c: Likewise.
18018 * iconv/gconv_int.h: Likewise.
18019 * iconv/gconv_builtin.h: Likewise.
18020 * iconv/iconv_prog.c: Remove CHAR16 handling.
18021
18022 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18023
18024 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18025
a0da5fe1
UD
18026 * configure.in: Remove --with-elf and --enable-bounded options.
18027 Dont set base_machine for ia64. More non-ELF conditions removed.
18028 Remove testing and setting of leading underscore information.
18029 * config.make.in (build-bounded): Set to no.
18030 * config.h.in: Remove NO_UNDERSCORES entry.
18031 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18032 them.
18033 * csu/start.c: Remove !NO_UNDERSCORE code.
18034 * locale/localeinfo.h: Likewise.
18035 * sysdeps/generic/machine-gmon.h: Likewise.
18036 * sysdeps/generic/sysdep.h: Likewise.
18037 * sysdeps/i386/sysdep.h: Likewise.
18038 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18039 * sysdeps/mach/sysdep.h: Likewise.
18040 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18041 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18042 * sysdeps/sh/sysdep.h: Likewise.
18043 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18044 * sysdeps/unix/i386/sysdep.S: Likewise.
18045 * sysdeps/unix/sparc/start.c: Likewise.
18046 * sysdeps/unix/sparc/sysdep.S: Likewise.
18047 * sysdeps/unix/sparc/sysdep.h: Likewise.
18048 * sysdeps/unix/start.c: Likewise.
18049 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18050 * sysdeps/x86_64/sysdep.h: Likewise.
18051
df78418a
UD
180522012-01-07 Ulrich Drepper <drepper@gmail.com>
18053
a784e502
UD
18054 [BZ #13553]
18055 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18056 for non-gcc.
18057 * argp/argp-fmtstream.h: Use const instead __const.
18058 * argp/argp.h: Likewise.
18059 * assert/assert.h: Likewise.
18060 * bits/fenv.h: Likewise.
18061 * bits/sched.h: Likewise.
18062 * bits/sigset.h: Likewise.
18063 * bits/sigthread.h: Likewise.
18064 * catgets/nl_types.h: Likewise.
18065 * conform/data/pthread.h-data: Likewise.
18066 * crypt/crypt-private.h: Likewise.
18067 * crypt/crypt.h: Likewise.
18068 * crypt/crypt_util.c: Likewise.
18069 * ctype/ctype.h: Likewise.
18070 * debug/execinfo.h: Likewise.
18071 * debug/mbsnrtowcs_chk.c: Likewise.
18072 * debug/mbsrtowcs_chk.c: Likewise.
18073 * debug/wcsnrtombs_chk.c: Likewise.
18074 * debug/wcsrtombs_chk.c: Likewise.
18075 * debug/wcstombs_chk.c: Likewise.
18076 * dirent/dirent.h: Likewise.
18077 * dlfcn/dlfcn.h: Likewise.
18078 * elf/neededtest4.c: Likewise.
18079 * grp/grp.h: Likewise.
18080 * gshadow/gshadow.h: Likewise.
18081 * iconv/gconv.h: Likewise.
18082 * iconv/gconv_int.h: Likewise.
18083 * iconv/gconv_simple.c: Likewise.
18084 * iconv/iconv.h: Likewise.
18085 * iconv/loop.c: Likewise.
18086 * iconv/skeleton.c: Likewise.
18087 * include/aio.h: Likewise.
18088 * include/aliases.h: Likewise.
18089 * include/argz.h: Likewise.
18090 * include/arpa/inet.h: Likewise.
18091 * include/assert.h: Likewise.
18092 * include/dirent.h: Likewise.
18093 * include/dlfcn.h: Likewise.
18094 * include/execinfo.h: Likewise.
18095 * include/fcntl.h: Likewise.
18096 * include/fenv.h: Likewise.
18097 * include/glob.h: Likewise.
18098 * include/grp.h: Likewise.
18099 * include/libintl.h: Likewise.
18100 * include/mntent.h: Likewise.
18101 * include/netdb.h: Likewise.
18102 * include/pwd.h: Likewise.
18103 * include/rpc/netdb.h: Likewise.
18104 * include/sched.h: Likewise.
18105 * include/search.h: Likewise.
18106 * include/shadow.h: Likewise.
18107 * include/signal.h: Likewise.
18108 * include/stdio.h: Likewise.
18109 * include/stdlib.h: Likewise.
18110 * include/string.h: Likewise.
18111 * include/sys/socket.h: Likewise.
18112 * include/sys/stat.h: Likewise.
18113 * include/sys/statfs.h: Likewise.
18114 * include/sys/statvfs.h: Likewise.
18115 * include/sys/syslog.h: Likewise.
18116 * include/sys/time.h: Likewise.
18117 * include/sys/uio.h: Likewise.
18118 * include/time.h: Likewise.
18119 * include/unistd.h: Likewise.
18120 * include/utmp.h: Likewise.
18121 * include/wchar.h: Likewise.
18122 * include/wctype.h: Likewise.
18123 * inet/aliases.h: Likewise.
18124 * inet/arpa/inet.h: Likewise.
18125 * inet/netinet/ether.h: Likewise.
18126 * inet/netinet/in.h: Likewise.
18127 * intl/libintl.h: Likewise.
18128 * io/bits/fcntl2.h: Likewise.
18129 * io/fcntl.h: Likewise.
18130 * io/ftw.h: Likewise.
18131 * io/sys/poll.h: Likewise.
18132 * io/sys/stat.h: Likewise.
18133 * io/sys/statfs.h: Likewise.
18134 * io/sys/statvfs.h: Likewise.
18135 * io/utime.h: Likewise.
18136 * libio/bits/stdio.h: Likewise.
18137 * libio/bits/stdio2.h: Likewise.
18138 * libio/libio.h: Likewise.
18139 * libio/libioP.h: Likewise.
18140 * libio/stdio.h: Likewise.
18141 * locale/lc-ctype.c: Likewise.
18142 * locale/locale.h: Likewise.
18143 * login/utmp.h: Likewise.
18144 * malloc/arena.c: Likewise.
18145 * malloc/malloc.c: Likewise.
18146 * malloc/malloc.h: Likewise.
18147 * malloc/mcheck.c: Likewise.
18148 * malloc/mtrace.c: Likewise.
18149 * math/bits/mathcalls.h: Likewise.
18150 * math/fenv.h: Likewise.
18151 * math/math_private.h: Likewise.
18152 * misc/bits/error.h: Likewise.
18153 * misc/bits/syslog.h: Likewise.
18154 * misc/err.h: Likewise.
18155 * misc/error.h: Likewise.
18156 * misc/fstab.h: Likewise.
18157 * misc/mntent.h: Likewise.
18158 * misc/regexp.h: Likewise.
18159 * misc/search.h: Likewise.
18160 * misc/sgtty.h: Likewise.
18161 * misc/sys/mman.h: Likewise.
18162 * misc/sys/syslog.h: Likewise.
18163 * misc/sys/uio.h: Likewise.
18164 * misc/sys/xattr.h: Likewise.
18165 * misc/ttyent.h: Likewise.
18166 * nis/rpcsvc/ypclnt.h: Likewise.
18167 * nss/nss.h: Likewise.
18168 * posix/bits/unistd.h: Likewise.
18169 * posix/fnmatch.h: Likewise.
18170 * posix/glob.h: Likewise.
18171 * posix/sched.h: Likewise.
18172 * posix/spawn.h: Likewise.
18173 * posix/sys/wait.h: Likewise.
18174 * posix/unistd.h: Likewise.
18175 * posix/wordexp.h: Likewise.
18176 * pwd/pwd.h: Likewise.
18177 * resolv/netdb.h: Likewise.
18178 * resource/sys/resource.h: Likewise.
18179 * rt/aio.h: Likewise.
18180 * rt/bits/mqueue2.h: Likewise.
18181 * rt/mqueue.h: Likewise.
18182 * shadow/shadow.h: Likewise.
18183 * signal/signal.h: Likewise.
18184 * socket/send.c: Likewise.
18185 * socket/sendto.c: Likewise.
18186 * socket/sys/socket.h: Likewise.
18187 * stdio-common/printf.h: Likewise.
18188 * stdlib/bits/stdlib.h: Likewise.
18189 * stdlib/fmtmsg.h: Likewise.
18190 * stdlib/monetary.h: Likewise.
18191 * stdlib/stdlib.h: Likewise.
18192 * stdlib/ucontext.h: Likewise.
18193 * streams/stropts.h: Likewise.
18194 * string/argz.h: Likewise.
18195 * string/bits/string2.h: Likewise.
18196 * string/string.h: Likewise.
18197 * string/strings.h: Likewise.
18198 * sunrpc/rpc/auth.h: Likewise.
18199 * sunrpc/rpc/auth_des.h: Likewise.
18200 * sunrpc/rpc/clnt.h: Likewise.
18201 * sunrpc/rpc/netdb.h: Likewise.
18202 * sunrpc/rpc/pmap_clnt.h: Likewise.
18203 * sunrpc/rpc/xdr.h: Likewise.
18204 * sysdeps/generic/inttypes.h: Likewise.
18205 * sysdeps/generic/net/if.h: Likewise.
18206 * sysdeps/generic/sys/swap.h: Likewise.
18207 * sysdeps/gnu/net/if.h: Likewise.
18208 * sysdeps/gnu/utmpx.h: Likewise.
18209 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18210 * sysdeps/i386/i486/bits/string.h: Likewise.
18211 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18212 * sysdeps/s390/bits/string.h: Likewise.
18213 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18214 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18215 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18216 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18217 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18218 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18219 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18220 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18221 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18222 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18223 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18224 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18225 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18226 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18227 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18228 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18229 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18232 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18234 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18235 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18236 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18237 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18238 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18239 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18240 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18241 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18242 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18243 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18244 * sysvipc/sys/ipc.h: Likewise.
18245 * sysvipc/sys/msg.h: Likewise.
18246 * sysvipc/sys/sem.h: Likewise.
18247 * sysvipc/sys/shm.h: Likewise.
18248 * termios/termios.h: Likewise.
18249 * time/sys/time.h: Likewise.
18250 * time/time.h: Likewise.
18251 * wcsmbs/bits/wchar2.h: Likewise.
18252 * wcsmbs/uchar.h: Likewise.
18253 * wcsmbs/wchar.h: Likewise.
18254 * wctype/wctype.h: Likewise.
18255
0269750c
UD
18256 [BZ #13551]
18257 * Makeconfig: Remove all but ELF support including AIX support.
18258 * Makerules: Likewise.
18259 * config.h.in: Likewise.
18260 * config.make.in: Likewise.
18261 * configure: Likewise.
18262 * configure.in: Likewise.
18263 * csu/Makefile: Likewise.
18264 * csu/version.c: Likewise.
18265 * debug/Makefile: Likewise.
18266 * dlfcn/Makefile: Likewise.
18267 * elf/Makefile: Likewise.
18268 * extra-lib.mk: Likewise.
18269 * iconv/Makefile: Likewise.
18270 * include/libc-symbols.h: Likewise.
18271 * include/shlib-compat.h: Likewise.
18272 * resolv/Makefile: Likewise.
18273 * resolv/res_libc.c: Likewise.
18274 * rt/Makefile: Likewise.
18275 * sysdeps/i386/asm-syntax.h: Likewise.
18276 * sysdeps/i386/sysdep.h: Likewise.
18277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18278 * sysdeps/mach/sysdep.h: Likewise.
18279 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18280 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18281 * sysdeps/s390/asm-syntax.h: Likewise.
18282 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18283 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18284 * sysdeps/sh/sysdep.h: Likewise.
18285 * sysdeps/unix/sparc/sysdep.h: Likewise.
18286 * sysdeps/wordsize-32/divdi3.c: Likewise.
18287 * sysdeps/x86_64/sysdep.h: Likewise.
18288
00bbd29b
UD
18289 * argp/Versions: Remove _argp_unlock_xxx.
18290
18291 [BZ #13559]
18292 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18293 * abilist/libBrokenLocale.abilist: Likewise.
18294 * abilist/libanl.abilist: Likewise.
18295 * abilist/libc.abilist: Likewise.
18296 * abilist/libcrypt.abilist: Likewise.
18297 * abilist/libdl.abilist: Likewise.
18298 * abilist/libm.abilist: Likewise.
18299 * abilist/libnsl.abilist: Likewise.
18300 * abilist/libpthread.abilist: Likewise.
18301 * abilist/libresolv.abilist: Likewise.
18302 * abilist/librt.abilist: Likewise.
18303 * abilist/libthread_db.abilist: Likewise.
18304 * abilist/libutil.abilist: Likewise.
18305 * abilist/libnss_db.abilist: New file.
18306
18307 * scripts/abilist.awk: Add support for indirect functions.
18308
a2693a0e
UD
18309 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18310
3f05895f
UD
18311 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18312
ecb6fb48
UD
18313 * shlib-versions: Remove entries for ports architectures.
18314
664f8cb9
UD
18315 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18316 files in ports.
18317 * elf/stackguard-macros.h: Remove support for IA-64.
18318 * elf/tst-auditmod1.c: Likewise.
18319 * sysdeps/generic/ldsodefs.h: Likewise.
18320
7ae81d88
UD
18321 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18322 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18323 configure files.
18324
bdeba135
UD
18325 [BZ #13552]
18326 * configure.in: Remove --enable-omitfp support.
18327 * FAQ.in: Adjust.
18328 * config.make.in: Likewise.
18329 * Makeconfig: Likewise.
18330 * manual/install.texi: Likewise.
18331
d75a0a62
UD
18332 In case anyone cares, the IA-64 architecture could move to ports.
18333 * sysdeps/ia64/*: Removed.
18334 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18335 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18336
dcc9756b
UD
18337 [BZ #13555]
18338 * configure.in: Remove entries for unsupported architectures.
18339
d3761ebc 18340 [BZ #13533]
9954432e
UD
18341 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18342 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18343 routines.
18344 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18345 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18346 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18347 fall back to using wcrtomb.
18348 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18349 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18350 renaming.
18351 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18352 * wcsmbs/tst-c16c32-1.c: New file.
18353
18354 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18355 local variable.
18356
c3a87236
UD
18357 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18358
28926a1b
UD
18359 * elf/tst-unique3.cc: Add explicit declaration of gets.
18360 * elf/tst-unique3lib.cc: Likewise.
18361 * elf/tst-unique3lib2.cc: Likewise.
18362 * elf/tst-unique4.cc: Likewise.
18363
df78418a
UD
18364 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18365
8ecd6b2a
JM
183662012-01-06 Joseph Myers <joseph@codesourcery.com>
18367
18368 [BZ #13566]
18369 * assert/assert.h (static_assert): Don't define for C++.
18370 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18371 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18372
9f115170
UD
183732012-01-03 Ulrich Drepper <drepper@gmail.com>
18374
5e0d0300
UD
18375 * iconv/loop.c (single loop): Fix assertion in storing of
18376 remaining bytes.
18377
9f115170
UD
18378 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18379
81fb02b0
UD
183802012-01-01 Ulrich Drepper <drepper@gmail.com>
18381
18382 * posix/getconf.c: Update copyright year.
18383 * nss/getent.c: Likewise.
a316c1f6 18384 * nss/makedb.c: Likewise.
81fb02b0
UD
18385 * iconv/iconvconfig.c: Likewise.
18386 * iconv/iconv_prog.c: Likewise.
18387 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18388 * elf/pldd.c: Likewise.
18389 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18390 * catgets/gencat.c: Likewise.
18391 * csu/version.c: Likewise.
18392 * elf/ldd.bash.in: Likewise.
18393 * elf/sprof.c (print_version): Likewise.
18394 * locale/programs/locale.c: Likewise.
18395 * locale/programs/localedef.c: Likewise.
a316c1f6 18396 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18397 * nscd/nscd.c (print_version): Likewise.
18398 * debug/xtrace.sh: Likewise.
18399 * malloc/memusage.sh: Likewise.
18400 * malloc/mtrace.pl: Likewise.
18401 * debug/catchsegv.sh: Likewise.
18402
2ba92745
JJ
184032011-12-30 Jakub Jelinek <jakub@redhat.com>
18404
18405 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18406 pure attribute.
18407
dadebdae
UD
184082011-12-24 Ulrich Drepper <drepper@gmail.com>
18409
d3761ebc 18410 [BZ #13533]
db6af3eb
UD
18411 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18412 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18413 transformations.
18414 * iconv/gconv_int.h: Likewise.
18415 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18416 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18417 from libc for GLIBC_2.16.
18418 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18419 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18420 * wcsmbs/uchar.h: Really define mbstate_t.
18421 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18422 * wcsmbs/c16rtomb.c: New file.
18423 * wcsmbs/mbrtoc16.c: New file.
18424 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18425 for C/POSIX locale.
18426 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18427 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18428
dadebdae
UD
18429 * wcsmbs/wchar.h: Add missing __restrict.
18430
67371b56
UD
184312011-12-23 Ulrich Drepper <drepper@gmail.com>
18432
74033a25
UD
18433 [BZ #13532]
18434 * time/Makefile (routines): Add timespec_get.
18435 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18436 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18437 timespec for ISO C11.
18438 * time/timespec_get.c: New file.
18439 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18440 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18441
380d7e87
UD
18442 [BZ #13531]
18443 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18444 * stdlib/stdlib.h: Declare aligned_alloc.
18445 * Versions.def: Add GLIBC_2.16 for libc.
18446 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18447
4e9e7a35
UD
18448 [BZ 13527]
18449 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18450 ISO C11.
18451
380d7e87 18452 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18453 code.
18454
03a71829
UD
18455 [BZ #13528]
18456 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18457
839e283e
UD
18458 [BZ #13529]
18459 * assert/assert.h (static_assert): Define.
18460
ce5294e2 18461 * version.h: Update for 2.16 development version.
90fa7312 18462
8d44e150 18463 [BZ #13526]
d7809905
UD
18464 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18465 _ISOC11_SOURCE.
18466
c0da14cd
UD
18467 * version.h (RELEASE): Bump for 2.15 release.
18468 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18469
530a3249
MP
18470 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18471 Patch by Marek Polacek <mpolacek@redhat.com>.
18472
67371b56
UD
18473 * bits/byteswap.h: Protect long long constants with __extension__.
18474 * sysdeps/i386/bits/byteswap.h: Likewise.
18475 * sysdeps/ia64/bits/byteswap.h: Likewise.
18476 * sysdeps/s390/bits/byteswap.h: Likewise.
18477 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18478
15db4de1
LD
184792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18480
18481 [BZ #13540]
bbe315ea
LD
18482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18483 destination buffer.
15db4de1
LD
18484 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18485
2b2596b1
MP
184862011-12-23 Marek Polacek <polacek@redhat.com>
18487
18488 * elf/dl-addr.c (determine_info): Add inline keyword.
18489 * elf/tst-auditmod4b.c (check_avx): Likewise.
18490 * elf/tst-auditmod6b.c (check_avx): Likewise.
18491 * elf/tst-auditmod6c.c (check_avx): Likewise.
18492 * elf/tst-auditmod7b.c (check_avx): Likewise.
18493
70c6c246
UD
184942011-12-23 Ulrich Drepper <drepper@gmail.com>
18495
18496 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18497 !__SSE_MATH__.
18498
c044cf14
LD
184992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18500
15db4de1 18501 [BZ #13540]
c044cf14
LD
18502 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18503 processing for last bytes.
18504
6b13d9d9
BH
185052011-08-06 Bruno Haible <bruno@clisp.org>
18506
d455f537
BH
18507 [BZ #13061]
18508 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18509 U+0385, not to U+1FEE.
18510
6b13d9d9
BH
18511 [BZ #13062]
18512 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18513 entry for U+00A5 U+0301.
18514
db910efd
UD
185152011-12-22 Ulrich Drepper <drepper@gmail.com>
18516
27deeafc
UD
18517 [BZ #13166]
18518 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18519 buffer for the output is too small.
18520
aed9d171
UD
18521 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18522 optimization.
18523
db910efd
UD
18524 [BZ #13185]
18525 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18526 SSE flags if possible.
18527
2bd779ae
LD
185282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18529
e7f9dac3 18530 [BZ #13540]
2bd779ae
LD
18531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18532 processing for last bytes.
18533
154bfc16
JM
185342011-12-22 Joseph Myers <joseph@codesourcery.com>
18535
18536 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18537 (syscall-list-default-options, syscall-list-default-condition)
18538 (syscall-list-includes): Define.
18539 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18540 list of ABIs and options and #if conditions for each ABI. Do not
18541 handle common syscalls between ABIs specially.
18542 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18543 Remove.
18544 (syscall-list-variants, syscall-list-32bit-options)
18545 (syscall-list-32bit-condition, syscall-list-64bit-options)
18546 (syscall-list-64bit-condition): Define.
18547 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18548 (syscall-list-variants, syscall-list-32bit-options)
18549 (syscall-list-32bit-condition, syscall-list-64bit-options)
18550 (syscall-list-64bit-condition): Define.
18551 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18552 Remove.
18553 (syscall-list-variants, syscall-list-32bit-options)
18554 (syscall-list-32bit-condition, syscall-list-64bit-options)
18555 (syscall-list-64bit-condition): Define.
18556 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18557 Remove.
18558 (syscall-list-variants, syscall-list-32bit-options)
18559 (syscall-list-32bit-condition, syscall-list-64bit-options)
18560 (syscall-list-64bit-condition): Define.
18561
21eaf3a5
UD
185622011-12-22 Ulrich Drepper <drepper@gmail.com>
18563
16c6f992
UD
18564 * locale/iso-639.def: Add brx entry.
18565
41043168
UD
18566 [BZ #13328]
18567 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18568 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18569
21eaf3a5
UD
18570 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18571 __feraiseexcept_renamed.
18572
e3a851a2
UD
185732011-12-21 Ulrich Drepper <drepper@gmail.com>
18574
4920765e
UD
18575 [BZ #13538]
18576 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18577 EPOLLET with unsigned values.
18578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18579 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18580
e3a851a2
UD
18581 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18582 to large cancellation.
18583 * math/s_cacoshf.c: Likewise.
18584 * math/s_cacoshl.c: Likewise.
18585
b27e24b8
RK
185862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18587
18588 [BZ #13305]
aebefeee 18589 [BZ #12786]
b27e24b8
RK
18590 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18591 * math/s_cacoshf.c: Likewise.
18592 * math/s_cacoshl.c: Likewise.
18593
ee190f67
UD
185942011-12-21 Ulrich Drepper <drepper@gmail.com>
18595
18596 [BZ #13439]
18597 * iconv/gconv.h: Define __GCONV_SWAP.
18598 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18599 * iconvdata/utf-16.c: Likewise.
18600 * iconvdata/utf-32.c: Likewise.
18601
707f25df
AS
186022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18603
18604 [BZ #13524]
18605 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18606 numerator after shifting it by one limb.
18607
d2daaa1e
RÁE
186082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18609
18610 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18611 under [__USE_EXTERN_INLINES].
18612
a4647e72
UD
186132011-12-17 Ulrich Drepper <drepper@gmail.com>
18614
18615 [BZ #13446]
18616 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18617
f0b264f1
AZ
186182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18619
18620 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18621 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18622 optimized code.
18623 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18624 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18625 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18626 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18627 for strncasecmp/strncasecmp_l compilation.
18628 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18629 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18630
8ef4f244
MP
186312011-12-08 Marek Polacek <mpolacek@redhat.com>
18632
18633 [BZ #13484]
18634 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18635 of __asm__.
18636
97ac2654
UD
186372011-12-17 Ulrich Drepper <drepper@gmail.com>
18638
18639 [BZ #13506]
18640 * time/tzfile.c (__tzfile_read): Check values from file header.
18641
91d2a845
WS
186422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18643
18644 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18645 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18646 * powerpc/powerpc32/dl-start.S: Likewise.
18647 * powerpc/powerpc32/elf/start.S: Likewise.
18648 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18649 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18650 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18651 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18652 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18653 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18654 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18655 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18656 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18657 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18658 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18659 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18660 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18661 * powerpc/powerpc32/memset.S: Likewise.
18662 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18663 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18664 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18665 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18666 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18667 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18668 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18669 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18670 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18671 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18672 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18673 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18674 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18675
a1267ba1
AZ
186762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18677
18678 * math/libm-test.inc: Added more nearbyint tests.
18679 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18682 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18683
ad8ac1bd
RL
186842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18685
18686 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18687 FD_CLOEXEC.
18688
1d3e4b61
UD
186892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18690
18691 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18692 Add wcscpy-ssse3 wcscpy-c.
18693 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18694 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18695 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18696 * sysdeps/x86_64/wcschr.S: New file.
18697 * sysdeps/x86_64/wcsrchr.S: New file.
18698 * string/test-strcmp.c: Remove checking of wcscmp function for
18699 wrong alignments.
18700 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18701 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18702 wcsrchr-sse2 wcsrchr-c.
18703 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18704 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18705 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18706 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18707 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18708 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18709 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18710 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18711 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18712 * wcsmbc/wcschr.c (WCSCHR): New macro.
18713
5b330a2d
UD
187142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18715
18716 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18717 * wcsmbs/test-wcsrchr.c: New file.
18718 * string/test-strrchr.c: Add wcsrchr support.
18719 (WIDE): New macro.
18720 * wcsmbs/test-wcscpy.c: New file.
18721 * string/test-strcpy.c: Add wcscpy support.
18722 (WIDE): New macro.
26428b7c 18723
f039c043
UD
187242011-12-10 Ulrich Drepper <drepper@gmail.com>
18725
18726 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18727 the inner loop.
18728
850fb039
AS
187292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18730
18731 [BZ #13472]
18732 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18733
4efbd5cb
UD
187342011-12-04 Ulrich Drepper <drepper@gmail.com>
18735
52ff5dd0 18736 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18737 Minor optimizations.
52ff5dd0 18738
4efbd5cb
UD
18739 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18740 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18741 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18742
8a426e12
UD
187432011-12-03 Ulrich Drepper <drepper@gmail.com>
18744
aff2453d
UD
18745 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18746 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18747 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18748 for gcc to avoid warnings.
18749 * inet/Makefile (tests): Add tst-checks.
18750 * inet/tst-checks.c: New file.
18751
18752 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18753 warning.
18754
18755 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18756 __wmemcmp_sse2.
18757
18758 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18759 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18760
8a426e12
UD
18761 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18762
9bea3473
UD
187632011-12-02 Ulrich Drepper <drepper@gmail.com>
18764
3a965496
UD
18765 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18766 problem.
18767
9bea3473
UD
18768 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18769
f101631b
UD
187702011-11-29 Joseph Myers <joseph@codesourcery.com>
18771
18772 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18773 conditional on GCC version.
18774 (__arch_compare_and_exchange_val_8_acq)
18775 (__arch_compare_and_exchange_val_16_acq)
18776 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18777 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18778 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18779
a98275aa
UD
187802011-12-02 Joseph Myers <joseph@codesourcery.com>
18781
18782 * sysdeps/sh/backtrace.c: New file.
18783
d4cc29a2
AS
187842011-12-02 Andreas Schwab <schwab@redhat.com>
18785
18786 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18787 parenthesis.
18788
6257af2d
AS
187892011-12-01 Andreas Schwab <schwab@redhat.com>
18790
18791 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18792 falling back to utime.
18793
b5f44c1a
AS
187942011-11-30 Andreas Schwab <schwab@redhat.com>
18795
18796 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18797 expectations for float.
18798
f3a6cc0a
AS
187992011-11-29 Andreas Schwab <schwab@redhat.com>
18800
18801 * locale/weight.h (findidx): Add parameter len.
18802 * locale/weightwc.h (findidx): Likewise.
18803 * posix/fnmatch_loop.c (FCT): Adjust caller.
18804 * posix/regcomp.c (build_equiv_class): Likewise.
18805 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18806 * posix/regexec.c (check_node_accept_bytes): Likewise.
18807 * string/strcoll_l.c (STRCOLL): Likewise.
18808 * string/strxfrm_l.c (STRXFRM): Likewise.
18809
9d65ea3a
UD
188102011-11-17 Ulrich Drepper <drepper@gmail.com>
18811
18812 * Makefile.in: Remove CVSOPT handling.
18813 * configure.in: Remove use of AC_REVISION.
18814 * iconvdata/Makefile (distribute): No need to filter out CVS.
18815 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18816 handling.
18817
5583a086
AS
188182011-11-16 Andreas Schwab <schwab@redhat.com>
18819
18820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18821 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18822 [USE_AS_STRNCASECMP_L]: Likewise.
18823 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18824 NO_TLS_DIRECT_SEG_REFS.
18825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18826 Fix argument offsets for non-PIC.
18827 [USE_AS_STRNCASECMP_L]: Likewise.
18828 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18829 NO_TLS_DIRECT_SEG_REFS.
18830
d62a8200
UD
188312011-11-15 Ulrich Drepper <drepper@gmail.com>
18832
9d65ea3a 18833 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18834 O_CLOEXEC.
18835 * locale/loadlocale.c (_nl_load_locale): Likewise.
18836
09f93bd3
AS
188372011-11-15 Andreas Schwab <schwab@redhat.com>
18838
446514f9
AS
18839 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18840 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18841 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18842 (SYSCALL_GETTIME): Set errno on error.
18843
09f93bd3
AS
18844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18845 count references to noai6ai_cached.
18846
312be3f9
UD
188472011-11-15 Ulrich Drepper <drepper@gmail.com>
18848
18849 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18850
18851 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18852 FD_CLOEXEC for /proc/self/maps.
18853
18854 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18855 FD_CLOEXEC for /proc/meminfo.
18856
18857 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18858 gai.conf.
18859
18860 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18861 FD_CLOEXEC for given file.
18862
18863 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18864
18865 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18866 FD_CLOEXEC for /etc/hosts.
18867 (_gethtent): Likewise.
18868
18869 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18870
18871 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18872 cancellation and set FD_CLOEXEC for /etc/netgroup.
18873
18874 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18875 reading /etc/publickey.
18876
18877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18878 allow cancellation when reading /etc/group.
18879
18880 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18881 cancellation.
18882 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18883
18884 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18885 when using data file.
18886
18887 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18888
18889 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18890 (write_nis_obj): Use "c" and "e" in fopen.
18891
18892 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18893
18894 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18895
18896 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18897
18898 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18899
18900 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18901 locale.alias.
18902
18903 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18904
18905 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18906
18907 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18908
18909 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18910 file parsing and set FD_CLOEXEC.
18911
82af0fa8
UD
189122011-11-14 Ulrich Drepper <drepper@gmail.com>
18913
18914 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18915
a5fb313c
AS
189162011-11-14 Andreas Schwab <schwab@redhat.com>
18917
18918 * malloc/arena.c (arena_get2): Don't call reused_arena when
18919 _int_new_arena failed.
18920
6abf3465
UD
189212011-11-14 Ulrich Drepper <drepper@gmail.com>
18922
18923 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18924 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18925 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18926 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18928 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18929 to compile strcasecmp and strncasecmp.
18930 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18931 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18932
18933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18934
76e3966e
UD
189352011-11-13 Ulrich Drepper <drepper@gmail.com>
18936
18937 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18938 locale-defines.sym to gen-as-const-headers.
18939 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18940 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18942 to compile strcasecmp and strncasecmp.
18943 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18944 strcasecmp_l and strncasecmp_l.
18945 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18946 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18947 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18948 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18949 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18950 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18951 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18952 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18953 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18954 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18955 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18956
ab26144e
UD
189572011-11-12 Ulrich Drepper <drepper@gmail.com>
18958
7edb22ef
UD
18959 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18960 result of SYSDEP_GETTIME_CPU to retval.
18961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18962 parameter list to macro. Remove trailing semicolon. Adjust users.
18963
9694fc44
UD
18964 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18965 variable.
18966
8ad89ef8
UD
18967 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18968 mantissa words.
18969 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18970
0c822ef9
UD
18971 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18972 from unused variable.
18973
874e0564
UD
18974 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18975 DWARF definitions.
18976 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18977 for assembling.
18978
3a2edc79
UD
18979 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18980 over namespaces.
18981
f3c2577f
UD
18982 * sunrpc/rpc_prot.c (rejected): Fix case value.
18983
294ce126
UD
18984 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18985 unsigned long long int to avoid warnings in shift.
18986
5e2b63c6
UD
18987 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18988 of use of trans.
18989 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18990 variable tmp.
18991
e7f4b08e
UD
18992 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18993 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18994 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18995
ab26144e
UD
18996 * nis/nis_table.c (nis_list): Use variable of correct type for
18997 result of __follow_path call.
18998
8a6d5255
AZ
189992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19000
19001 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19002 of math functions ceil, trunc, floor, round, and sqrt, when
19003 avaliable on the platform.
19004 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19005 name clash.
19006 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19007 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19008 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19009
aaddc98c
MP
190102011-10-30 Marek Polacek <mpolacek@redhat.com>
19011
19012 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19013 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19014
95b7042b
RM
190152011-11-11 Roland McGrath <roland@hack.frob.com>
19016
19017 * include/unistd.h: Fix __readlink return type.
19018 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19019
57769839
UD
190202011-11-11 Ulrich Drepper <drepper@gmail.com>
19021
19022 * stdlib/ucontext.h: Undo last change for makecontext.
19023
edc5984d
AS
190242011-11-11 Andreas Schwab <schwab@redhat.com>
19025
98591e58
AS
19026 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19027
edc5984d
AS
19028 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19029 * setjmp/setjmp.h: Mark functions as non-leaf.
19030 * setjmp/bits/setjmp2.h: Likewise.
19031 * stdlib/ucontext.h: Likewise.
19032
77cdc054
AS
190332011-11-10 Andreas Schwab <schwab@redhat.com>
19034
19035 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19036 (reused_arena): Don't check arena limit.
19037 (arena_get2): Atomically check arena limit.
19038
fe72eebd
UD
190392011-11-08 Ulrich Drepper <drepper@gmail.com>
19040
5f078c32
UD
19041 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19042 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19043
fe72eebd
UD
19044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19045 instructions.
19046
ae1bc2fa
AS
190472011-11-07 Andreas Schwab <schwab@redhat.com>
19048
7583a88d
AS
19049 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19050 handler when locking.
19051
ae1bc2fa
AS
19052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19053 Fix size of allocated buffer.
19054
10fb0bfa
AS
190552011-11-04 Andreas Schwab <schwab@redhat.com>
19056
998832a4
AS
19057 [BZ #10103]
19058 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19059 declarations for long double functions.
19060 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19061
10fb0bfa
AS
19062 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19063
3d7ba52b
AS
190642011-11-03 Andreas Schwab <schwab@redhat.com>
19065
a9ae54a1
AS
19066 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19067 installed.
19068
3d7ba52b
AS
19069 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19070 is disabled.
19071
bc8db248
ST
190722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19073
19074 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19075
45b96dd6
AS
190762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19077
647776f6
AS
19078 * include/alloca.h (stackinfo_alloca_round): Define.
19079 (extend_alloca): Use it.
19080 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19081 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19082 here.
19083
d91a8b93
AS
19084 * scripts/check-local-headers.sh: Ignore libaudit.h.
19085
45b96dd6
AS
19086 * nscd/Makefile (extra-objs): Make recursively expanded.
19087
432d41ce
UD
190882011-11-01 Ulrich Drepper <drepper@gmail.com>
19089
34372fc6
UD
19090 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19092
fadb59f8
UD
19093 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19094 * posix/tst-rfc3484-2.c: Likewise.
19095 * posix/tst-rfc3484-3.c: Likewise.
19096
78239589
UD
19097 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19098 process_vm_writev.
19099 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19100 process_vm_writev.
19101 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19102 process_vm_writev from libc using GLIBC_2.15 version.
19103
432d41ce
UD
19104 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19105
02f9c6cf
PP
191062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19107
19108 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19109 stack usage.
19110
3a2c0242
UD
191112011-10-31 Ulrich Drepper <drepper@gmail.com>
19112
f4ec4833
UD
19113 [BZ #13367]
19114 * nss/getent.c (initgroups_keys): Show error message in case no group
19115 names are given.
19116
3a2c0242
UD
19117 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19118 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19119 __bump_nl_timestamp.
19120 * nscd/connections (nscd_init): When host database is served open
19121 netlink socket and request notification about configuration changes.
19122 (main_loop_poll): Track netlink file descriptor and bump timestamp
19123 in case data becomes available.
19124 (main_loop_epoll): Likewise.
19125 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19126 (database_pers_head): Add extra_data fileds.
19127 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19128 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19129 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19130 Adjust caller.
19131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19132 in6ai data, call __free_in6ai.
19133 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19134 Add -DHAVE_NETLINK.
19135 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19136 interface information. Reuse previous data if netlink timestamp
19137 is not changed.
19138 (__bump_nl_timestamp): New function.
19139 (__free_in6ai): New function.
19140
636064eb
UD
191412011-10-30 Ulrich Drepper <drepper@gmail.com>
19142
19143 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19144 close_not_cancel_no_status here.
19145 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19146
9beb2334
UD
191472011-10-29 Ulrich Drepper <drepper@gmail.com>
19148
6ef76f3b
UD
19149 [BZ #13276]
19150 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19151 return value.
19152
0ffc4f3e 19153 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19154 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19155 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19156
cb95113e
UD
191572011-07-03 Andreas Jaeger <aj@suse.de>
19158
19159 [BZ #10709]
19160 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19161 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19162 * math/libm-test.inc (sin_test): Add test case.
19163
a1b560ff
UD
191642011-10-29 Ulrich Drepper <drepper@gmail.com>
19165
c9aaface
UD
19166 [BZ #13337]
19167 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19168 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19169
d272e7f1
UD
19170 * elf/chroot_canon.c (chroot_canon): Cleanups.
19171
1bc33071
UD
19172 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19173
1760874d
TJ
19174 [BZ #13335]
19175 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19176 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19177
51d91b18
UD
19178 * string/test-strchr.c: Make usable for strchrnul testing.
19179 * string/test-strchrnul.c: New file.
19180 * string/Makefile (strop-tests): Add strchrnul.
19181
a1b560ff 19182 * po/it.po: Update from translation team.
b611fb81 19183 * po/es.po: Likewise.
a1b560ff 19184
a5b81e1f
UD
191852011-10-28 Ulrich Drepper <drepper@gmail.com>
19186
fd52bc6d
UD
19187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19188 the three constants needed as parameters. Drop the others.
19189 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19190 __m128i_strloadu_tolower.
52e4b9eb
UD
19191 Create and initialize variable zero and use it in all the places
19192 where _mm_setzero_si128 was used.
fd52bc6d 19193
a5b81e1f
UD
19194 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19195 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19196 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19197 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19198 anymore.
19199 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19200 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19201 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19202 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19203 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19204 __mpranred, __mptan.
19205 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19206 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19207 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19208 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19209 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19210 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19211 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19212 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19213 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19214
b4343346
AS
192152011-10-28 Andreas Schwab <schwab@redhat.com>
19216
0c92d8a8
AS
19217 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19218 redefine if SHARED.
19219 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19220
b4343346
AS
19221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19222 wide char related routines to wcsmbs subdir.
19223
3871f58f
AS
192242011-10-27 Andreas Schwab <schwab@redhat.com>
19225
19226 [BZ #13344]
19227 * misc/sys/cdefs.h (__THROWNL): Define.
19228 * posix/unistd.h: Use __THREADNL instead of __THREAD
19229 for memory synchronization functions.
19230
94d44d9f
RM
192312011-10-26 Roland McGrath <roland@hack.frob.com>
19232
21b64b15 19233 [BZ #13349]
94d44d9f
RM
19234 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19235 doesn't exist.
19236 * manual/stdio.texi (Obstack Streams): Node removed.
19237
f6ce9294
AS
192382011-10-26 Andreas Schwab <schwab@redhat.com>
19239
80479147
AS
19240 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19241 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19242 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19243
f6ce9294
AS
19244 * math/math_private.h (math_force_eval): Allow non-addressable
19245 arguments.
19246 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19247
618280a1
UD
192482011-10-25 Ulrich Drepper <drepper@gmail.com>
19249
e0016b11
UD
19250 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19251 file is not needed.
19252
19253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19254 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19255 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19256 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19259 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19260 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19261 Add AVX variants.
19262 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19263 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19264 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19265 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19266 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19267 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19268 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19269 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19270 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19271 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19272 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19273 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19274 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19275 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19276 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19277 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19278 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19279 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19280 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19281
19282 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19283 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19284
618280a1
UD
19285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19286 place. Use VEX encoding when compiling for AVX.
19287
37822576
AS
192882011-10-25 Andreas Schwab <schwab@redhat.com>
19289
1f1e1947
AS
19290 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19291 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19292
37822576
AS
19293 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19294
31ea014d
UD
192952011-10-25 Ulrich Drepper <drepper@gmail.com>
19296
d7826aa1 19297 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19298 useless if() expression.
d7826aa1
UD
19299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19301 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19307 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19309 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19310 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19311 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19312 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19313 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19315 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19317 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19318
31ea014d
UD
19319 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19320
16437fec
AS
193212011-10-25 Andreas Schwab <schwab@redhat.com>
19322
19323 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19324 condition.
19325 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19326
31d3cc00
UD
193272011-10-25 Ulrich Drepper <drepper@gmail.com>
19328
19329 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19330 .text section. Avoid duplicate constants.
19331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19343 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19344 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19346 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19348 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19351 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19352 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19353 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19354 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19355 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19356 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19357 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19358 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19359 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19360 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19361 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19362 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19363 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19364 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19365 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19366 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19367 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19368 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19369 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19370 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19371 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19372 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19373 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19374 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19375 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19376
58985aa9
UD
193772011-10-24 Ulrich Drepper <drepper@gmail.com>
19378
202c9deb
UD
19379 * sysdeps/x86_64/dla.h: Move to ...
19380 * sysdeps/x86_64/fpu/dla.h: ...here.
19381 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19382 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19383
af968f62
UD
19384 * config.make.in: Add have-mfma4 entry.
19385 * configure.in: Substitute libc_cv_cc_fma4.
19386 * math/Makefile (dbl-only-routines): Add sincostab.
19387 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19388 Use __sincostab not sincos.
19389 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19390 name is a macro.
19391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19395 using __copysign.
19396 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19397 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19398 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19399 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19400 and __inv.
19401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19402 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19403 __copysign.
19404 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19405 define aliases when function name is a macro.
19406 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19407 sysdeps/ieee754/dbl-64/sincos.tbl.
19408 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19409 fma4-enabled routines.
19410 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19411 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19412 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19413 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19414 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19415 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19416 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19417 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19418 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19419 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19420 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19421 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19422 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19423 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19425 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19426 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19427 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19428 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19429 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19430 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19431 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19433 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19435 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19437 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19438 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19439 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19440
58985aa9
UD
19441 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19442 rename.
19443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19451
a201fbcf
AS
194522011-10-24 Andreas Schwab <schwab@redhat.com>
19453
19454 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19455
fc2ee42a
LD
194562011-10-23 Ulrich Drepper <drepper@gmail.com>
19457
bb3129bd
UD
19458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19459
0275fff8
UD
19460 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19461 prediction.
19462 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19463
2fa2ae85
UD
19464 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19465 Remove unused variable magic_bits.
19466 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19467
fc2ee42a
LD
19468 * string/strnlen.c: Define and use STRNLEN macro.
19469 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19470 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19472 * wcsmbs/wcslen.c: Define and use WCSLEN.
19473 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19474 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19475 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19476 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19477 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19478 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19479 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19480
ce7dd29f
LD
194812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19482
19483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19484 strnlen-sse2-no-bsf.
19485 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19487 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19488 Add strnlen support.
19489 (USE_AS_STRNLEN): New macro.
19490 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19491 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19492 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19493 * sysdeps/x86_64/wcslen.S: New file.
19494
979c70a3
MZ
194952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19496
19497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19498 XMM-moves are used for copying on small sizes.
19499
2d09f82f
LD
195002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19501
19502 * wcsmbs/Makefile (strop-tests): Add wcschr.
19503 * wcsmbs/test-wcschr.c: New file.
19504 * string/test-strchr.c: Update.
19505 Add wcschr support.
19506 (WIDE): New macro.
19507
619fccca
LD
195082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19509
2d09f82f 19510 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19511 * wcsmbs/test-wcslen.c: New file.
19512 * string/test-strlen.c: Update.
19513 Add wcslen support.
19514 (WIDE): New macro.
19515
09f699ea
UD
195162011-10-23 Ulrich Drepper <drepper@gmail.com>
19517
19518 * po/it.po: Update from translation team.
19519
95584d3b
LD
195202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19521
19522 * sysdeps/x86_64/wcscmp.S: Update.
19523 Fix wrong comparison semantics.
19524 wcscmp shall use signed comparison not unsigned.
19525 Don't use substraction to avoid overflow bug.
19526 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19527 * wcsmbc/wcscmp.c: Likewise.
19528 * string/test-strcmp.c: Likewise.
19529 Add new tests to check cases with negative values.
19530
c8b3296b
UD
195312011-10-23 Ulrich Drepper <drepper@gmail.com>
19532
19533 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19534 * sysdeps/x86_64/dla.h: ...here. New file.
19535 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19542 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19543 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19544
246ad57a
AS
195452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19546
19547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19548 __ynl_finite aliases.
19549
a1a87169
UD
195502011-10-22 Ulrich Drepper <drepper@gmail.com>
19551
0d355eb7
UD
19552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19553
a1a87169
UD
19554 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19555 define DLA_FMA.
19556 [DLA_FMA] (EMULV): Use DLA_FMA.
19557 [DLA_FMA] (MUL12): Use EMULV.
19558 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19559 that are not needed.
19560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19567
ee2aafe0
AS
195682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19569
19570 * math/s_nan.c: Undef __nan.
19571 * math/s_nanf.c: Undef __nanf.
19572 * math/s_nanl.c: Undef __nanl.
19573 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19574 "math_private.h".
19575
bc62c2fb
UD
195762011-10-22 Ulrich Drepper <drepper@gmail.com>
19577
77425c63
UD
19578 * math/s_catan.c: Add branch predictions.
19579 * math/s_catanf.c: Likewise.
19580 * math/s_catanh.c: Likewise.
19581 * math/s_catanhf.c: Likewise.
19582 * math/s_catanhl.c: Likewise.
19583 * math/s_catanl.c: Likewise.
19584 * math/s_cexp.c: Likewise.
19585 * math/s_cexpf.c: Likewise.
19586 * math/s_cexpl.c: Likewise.
19587 * math/s_clog.c: Likewise.
19588 * math/s_clog10.c: Likewise.
19589 * math/s_clog10f.c: Likewise.
19590 * math/s_clog10l.c: Likewise.
19591 * math/s_clogf.c: Likewise.
19592 * math/s_clogl.c: Likewise.
19593 * math/s_csqrt.c: Likewise.
19594 * math/s_csqrtf.c: Likewise.
19595 * math/s_csqrtl.c: Likewise.
19596 * math/s_ctanf.c: Likewise.
19597 * math/s_ctanh.c: Likewise.
19598 * math/s_ctanhf.c: Likewise.
19599 * math/s_ctanhl.c: Likewise.
19600 * math/s_ctanl.c: Likewise.
19601
bc62c2fb
UD
19602 * math/math_private.h: Define __nan, __nanf, __nanl.
19603 * math/s_cacosh.c: Include <math_private.h>.
19604 * math/s_cacoshl.c: Likewise.
19605 * math/s_casinh.c: Likewise.
19606 * math/s_casinhf.c: Likewise.
19607 * math/s_casinhl.c: Likewise.
19608 * math/s_ccos.c: Rely entire on ccosh.
19609 * math/s_ccosf.c: Rely entire on ccoshf.
19610 * math/s_ccosl.c: Rely entirely on ccoshl.
19611 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19612 Remove tests for FE_INVALID.
19613 * math/s_ccoshf.c: Likewise.
19614 * math/s_ccoshl.c: Likewise.
19615 * math/s_csin.c: Likewise.
19616 * math/s_csinf.c: Likewise.
19617 * math/s_csinh.c Likewise.
19618 * math/s_csinhf.c: Likewise.
19619 * math/s_csinhl.c: Likewise.
19620 * math/s_csinl.c: Likewise.
19621 * math/s_ctan.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19623 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19624 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19625
8ec250a4
UD
196262011-10-21 Ulrich Drepper <drepper@gmail.com>
19627
c196fed8
UD
19628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19629 compilation problems.
19630
8ec250a4
UD
19631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19632 __builtin_expect.
19633
8d4f46c6
UD
196342011-10-20 Ulrich Drepper <drepper@gmail.com>
19635
ed72b654
UD
19636 * sysdeps/i386/configure.in: Test for -mfma4 option.
19637 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19638 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19639 COMMON_CPUID_INDEX_80000001.
19640 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19641 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19642 use it if FMA3 is not supported.
19643 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19644
8d4f46c6
UD
19645 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19646 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19647
d45c60c2
AS
196482011-10-20 Andreas Schwab <schwab@redhat.com>
19649
19650 [BZ #12892]
19651 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19652 it would create a cycle with a link time dependency.
19653
d9a4d2ab
UD
196542011-10-19 Ulrich Drepper <drepper@gmail.com>
19655
855d1560
UD
19656 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19657 instruction.
19658 * string/Makefile (strop-tests): Add rawmemchr.
19659 * string/test-rawmemchr.c: New file.
19660
d9a4d2ab
UD
19661 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19663 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19664 when compiling str{,n}casecmp and when AVX is available. Hook up
19665 new optimized code in initializers.
19666
8f3b1ffe
AS
196672011-10-19 Andreas Schwab <schwab@redhat.com>
19668
19669 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19670 __feraiseexcept instead of feraiseexcept.
19671
d38f1dba
UD
196722011-10-18 Ulrich Drepper <drepper@gmail.com>
19673
d9a8d0ab
UD
19674 * math/math_private.h: Define defaults for libc_fetestexcept and
19675 libc_feupdateenv.
19676 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19677 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19678 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19679 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19680 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19681 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19682 libc_fetestexcept and libc_feupdateenv.
19683
4855e3dd
UD
19684 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19685 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19686 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19687 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19688 libc_feholdexcept_setround.
19689
581d30e3
UD
19690 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19691 Add s_nearbyint-c and s_nearbyintf-c.
19692 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19693 nearbyintf inlines.
19694 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19695 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19696 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19697 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19698
d38f1dba
UD
19699 * math/math_private.h: Define defaults for libc_fegetround,
19700 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19701 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19702 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19703 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19704 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19705 standard functions.
19706 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19707 Remove comments and hacks for old compiler versions.
19708 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19709 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19710 libc_feholdexceptl.
19711
caa6c9d8
AS
197122011-10-18 Andreas Schwab <schwab@redhat.com>
19713
19714 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19715 (__feraiseexcept_renamed): Add __NTH.
19716 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19717 namespace violations.
19718
97c066e6
UD
197192011-10-17 Ulrich Drepper <drepper@gmail.com>
19720
99ce7b04
UD
19721 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19722
1004d182
UD
19723 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19724
228a984d
UD
19725 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19726 recently added interfaces.
19727 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19728
c8553a6a
UD
19729 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19730 about macro parameter expansion.
19731
ed22dcf6
UD
19732 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19733 __NO_MATH_INLINES is defined. Cleanups.
19734
19735 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19736 and __floorf is target has SSE4.1.
19737 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19738 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19739 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19740 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19741
b171c137
UD
19742 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19743 name.
19744 (floorf): Likewise.
19745
97c066e6
UD
19746 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19747
629f62ef
AS
197482011-10-17 Andreas Schwab <schwab@redhat.com>
19749
49a43d80
AS
19750 * misc/sys/cdefs.h: Fix last change.
19751
629f62ef
AS
19752 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19753 database lookup.
19754
e453f6cd
UD
197552011-10-16 Ulrich Drepper <drepper@gmail.com>
19756
aa78043a
UD
19757 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19758
ad0f5cad
UD
19759 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19760 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19766 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19767 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19768 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19769 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19770 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19771 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19772 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19773 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19774 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19775 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19776 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19777 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19778 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19779 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19780 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19781
19782 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19783 ceil, ceilf, floor, floorf.
19784
19785 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19786 Perform IRELATIVE relocations last.
19787
e453f6cd
UD
19788 * elf/do-rel.h: Add another parameter nrelative, replacing the
19789 local variable with the same name. Change name of the function
19790 to end in Rel or Rela (uppercase).
19791 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19792 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19793 elf_dynamic_do_##reloc function.
19794
fd5bdc09
UD
197952011-10-15 Ulrich Drepper <drepper@gmail.com>
19796
79b195b5
UD
19797 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19798 is sufficient, at least on modern CPUs.
19799
d4a28569
UD
19800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19801
b61099b5
UD
19802 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19804
bcf01e6d
UD
19805 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19806 __expl_finite.
19807 * math/bits/math-finite.h: Add entries for exp.
19808 * math/e_expl.c: Add __*_finite alias.
19809 * sysdeps/i386/fpu/e_exp.S: Likewise.
19810 * sysdeps/i386/fpu/e_expf.S: Likewise.
19811 * sysdeps/i386/fpu/e_expl.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19813 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19816 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19817 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19819
ba1a0d59
UD
19820 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19821 is sufficient, at least on modern CPUs.
19822
fd5bdc09
UD
19823 * ctype/ctype-info.c (__ctype_init): Define.
19824 * include/ctype.h (__ctype_init): Declare.
19825 (__ctype_b_loc): The variable is always initialized.
19826 (__ctype_toupper_loc): Likewise.
19827 (__ctype_tolower_loc): Likewise.
19828 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19829 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19830
7872cfb0
AS
198312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19832
b468825a
AS
19833 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19834
7872cfb0
AS
19835 * configure.in: Also look in $cxxmachine/include for C++ system
19836 headers.
19837
be13f7bf
LD
198382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19839
19840 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19841 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19842 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19843 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19844 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19845 (USE_AS_WMEMCMP): New macro.
19846 Fixing indents.
19847 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19848 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19849 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19850 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19852 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19853 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19854 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19855 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19856 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19858 (USE_AS_WMEMCMP): New macro.
19859 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19860 * sysdeps/string/test-memcmp.c: Update.
19861 Fix simple_wmemcmp.
19862 Add new tests.
19863 * wcsmbs/wmemcmp.c: Update.
19864 (WMEMCMP): New macro.
19865 Fix overflow bug.
19866
556a2007
AJ
198672011-10-12 Andreas Jaeger <aj@suse.de>
19868
19869 [BZ #13268]
19870 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19871
538faaa7
UD
198722011-10-15 Ulrich Drepper <drepper@gmail.com>
19873
ab6737ff
UD
19874 * libio/iofwide.c (do_length): Avoid warning.
19875
538faaa7
UD
19876 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19877
396a21b1
UD
198782011-10-14 Ulrich Drepper <drepper@gmail.com>
19879
cdf2901f
UD
19880 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19881
38ad40ce
UD
19882 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19883 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19884 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19885 * sysdeps/i386/i686/fpu/e_log.S: New file.
19886 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19887 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19888
396a21b1
UD
19889 * ctype/ctype.h: Add support for inlined isXXX functions when
19890 compiling C++ code.
19891
6b1f68c9
AS
198922011-10-14 Andreas Schwab <schwab@redhat.com>
19893
349290c0
AS
19894 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19895
6b1f68c9
AS
19896 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19897
f2282d42
RM
198982011-10-13 Roland McGrath <roland@hack.frob.com>
19899
19900 [BZ #13291]
19901 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19902
5298ffa8
AS
199032011-10-13 Andreas Schwab <schwab@redhat.com>
19904
714fad23
AS
19905 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19906 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19907 feraiseexcept.
19908
81dcc7fb
AS
19909 * sysdeps/x86_64/memrchr.S: Check for zero size.
19910
5298ffa8
AS
19911 * string/stratcliff.c: Add memrchr tests.
19912
951fbcec
LD
199132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19914
19915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19916 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19917 rawmemchr-sse2 rawmemchr-sse2-bsf.
19918 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19919 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19920 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19921 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19922 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19923 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19924 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19925 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19926 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19927 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19928 * string/memrchr.c (MEMRCHR): New macro.
19929
0ac5ae23
UD
199302011-10-12 Ulrich Drepper <drepper@gmail.com>
19931
19932 Add integration with gcc's -ffinite-math-only and optimize wrapper
19933 functions in libm.
19934 * Versions.def: Define GLIBC_2.15 version for libm.
19935 * math/Makefile (headers): Add bits/math-finite.h.
19936 * math/bits/math-finite.h: New file.
19937 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19938 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19939 * math/e_acoshl.c: Add __*_finite alias.
19940 * math/e_acosl.c: Likewise.
19941 * math/e_asinl.c: Likewise.
19942 * math/e_atan2l.c: Likewise.
19943 * math/e_atanhl.c: Likewise.
19944 * math/e_coshl.c: Likewise.
19945 * math/e_exp10.c: Likewise.
19946 * math/e_exp10f.c: Likewise.
19947 * math/e_exp10l.c: Likewise.
19948 * math/e_exp2l.c: Likewise.
19949 * math/e_fmodl.c: Likewise.
19950 * math/e_gammal_r.c: Likewise.
19951 * math/e_hypotl.c: Likewise.
19952 * math/e_j0l.c: Likewise.
19953 * math/e_j1l.c: Likewise.
19954 * math/e_jnl.c: Likewise.
19955 * math/e_lgammal_r.c: Likewise.
19956 * math/e_log10l.c: Likewise.
19957 * math/e_log2l.c: Likewise.
19958 * math/e_logl.c: Likewise.
19959 * math/e_powl.c: Likewise.
19960 * math/e_sinhl.c: Likewise.
19961 * math/e_sqrtl.c: Likewise.
19962 * math/e_scalb.c: Completely rewritten and optimized.
19963 * math/e_scalbf.c: Likewise.
19964 * math/e_scalbl.c: Likewise.
19965 * math/w_acos.c: Likewise.
19966 * math/w_acosf.c: Likewise.
19967 * math/w_acosl.c: Likewise.
19968 * math/w_acosh.c: Likewise.
19969 * math/w_acoshf.c: Likewise.
19970 * math/w_acoshl.c: Likewise.
19971 * math/w_asin.c: Likewise.
19972 * math/w_asinf.c: Likewise.
19973 * math/w_asinl.c: Likewise.
19974 * math/w_atan2.c: Likewise.
19975 * math/w_atan2f.c: Likewise.
19976 * math/w_atan2l.c: Likewise.
19977 * math/w_atanh.c: Likewise.
19978 * math/w_atanhf.c: Likewise.
19979 * math/w_atanhl.c: Likewise.
19980 * math/w_exp10.c: Likewise.
19981 * math/w_exp10f.c: Likewise.
19982 * math/w_exp10l.c: Likewise.
19983 * math/w_fmod.c: Likewise.
19984 * math/w_fmodf.c: Likewise.
19985 * math/w_fmodl.c: Likewise.
19986 * math/w_j0.c: Likewise.
19987 * math/w_j0f.c: Likewise.
19988 * math/w_j0l.c: Likewise.
19989 * math/w_j1.c: Likewise.
19990 * math/w_j1f.c: Likewise.
19991 * math/w_j1l.c: Likewise.
19992 * math/w_jn.c: Likewise.
19993 * math/w_jnf.c: Likewise.
19994 * math/w_log.c: Likewise.
19995 * math/w_logf.c: Likewise.
19996 * math/w_logl.c: Likewise.
19997 * math/w_log10.c: Likewise.
19998 * math/w_log10f.c: Likewise.
19999 * math/w_log10l.c: Likewise.
20000 * math/w_log2.c: Likewise.
20001 * math/w_log2f.c: Likewise.
20002 * math/w_log2l.c: Likewise.
20003 * math/w_pow.c: Likewise.
20004 * math/w_powf.c: Likewise.
20005 * math/w_powl.c: Likewise.
20006 * math/w_remainder.c: Likewise.
20007 * math/w_remainderf.c: Likewise.
20008 * math/w_remainderl.c: Likewise.
20009 * math/w_scalb.c: Likewise.
20010 * math/w_scalbf.c: Likewise.
20011 * math/w_scalbl.c: Likewise.
20012 * math/w_sqrt.c: Likewise.
20013 * math/w_sqrtf.c: Likewise.
20014 * math/w_sqrtl.c: Likewise.
20015 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20016 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20017 used.
20018 * math/math_private.h: Declare __kernel_standard_f.
20019 * math/w_cosh.c: Remove cruft and optimize a bit.
20020 * math/w_coshf.c: Likewise.
20021 * math/w_coshl.c: Likewise.
20022 * math/w_exp2.c: Likewise.
20023 * math/w_exp2f.c: Likewise.
20024 * math/w_exp2l.c: Likewise.
20025 * math/w_hypot.c: Likewise.
20026 * math/w_hypotf.c: Likewise.
20027 * math/w_hypotl.c: Likewise.
20028 * math/w_lgamma.c: Likewise.
20029 * math/w_lgamma_r.c: Likewise.
20030 * math/w_lgammaf.c: Likewise.
20031 * math/w_lgammaf_r.c: Likewise.
20032 * math/w_lgammal.c: Likewise.
20033 * math/w_lgammal_r.c: Likewise.
20034 * math/w_sinh.c: Likewise.
20035 * math/w_sinhf.c: Likewise.
20036 * math/w_sinhl.c: Likewise.
20037 * math/w_tgamma.c: Likewise.
20038 * math/w_tgammaf.c: Likewise.
20039 * math/w_tgammal.c: Likewise.
20040 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20042 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20043 Minor optimizations. Pretty printing. Remove cruft.
20044 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20046 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20047 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20048 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20049 * sysdeps/i386/fpu/e_asin.S: Likewise.
20050 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20051 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20052 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20053 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20054 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20055 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20056 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20057 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20058 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20059 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20060 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20061 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20062 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20063 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20064 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20065 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20066 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20067 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20068 * sysdeps/i386/fpu/e_log.S: Likewise.
20069 * sysdeps/i386/fpu/e_log10.S: Likewise.
20070 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20071 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20072 * sysdeps/i386/fpu/e_log2.S: Likewise.
20073 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20074 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20075 * sysdeps/i386/fpu/e_logf.S: Likewise.
20076 * sysdeps/i386/fpu/e_logl.S: Likewise.
20077 * sysdeps/i386/fpu/e_pow.S: Likewise.
20078 * sysdeps/i386/fpu/e_powf.S: Likewise.
20079 * sysdeps/i386/fpu/e_powl.S: Likewise.
20080 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20081 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20082 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20083 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20084 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20085 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20086 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20087 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20088 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20089 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20092 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20093 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20094 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20095 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20096 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20097 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20098 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20099 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20100 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20102 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20103 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20105 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20106 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20107 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20109 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20110 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20111 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20112 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20113 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20114 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20115 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20116 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20117 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20118 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20119 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20120 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20121 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20123 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20124 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20125 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20126 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20127 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20128 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20129 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20130 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20131 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20132 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20133 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20134 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20135 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20136 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20137 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20138 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20142 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20144 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20145 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20146 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20147 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20148 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20149 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20150 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20163 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20165 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20167 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20168 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20172 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20176 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20178 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20180 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20181 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20182 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20183 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20184 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20185 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20186 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20187 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20188 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20189 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20190 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20191 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20192 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20193 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20194 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20195 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20196 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20197 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20198 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20199 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20200 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20201 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20202 (__isnanf): Likewise.
20203 (__isinf_ns): Likewise.
20204 (__isinf_nsf): Likewise.
20205 (__finite): Likewise.
20206 (__finitef): Likewise.
20207 (__ieee754_sqrt): Define as macro.
20208 (__ieee754_sqrtf): Define as macro.
20209 (__ieee754_sqrtl): Define as macro.
20210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20211 inlined copy.
20212 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20213 __FINITE_MATH_ONLY__ consistent.
20214 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20215
12cc2fcd
AS
202162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20217
a843a204
AS
20218 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20219 of rawmemchr.
20220
12cc2fcd
AS
20221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20222
c853acd5
UD
202232011-10-09 Ulrich Drepper <drepper@gmail.com>
20224
20225 * po/ja.po: Update from translation team.
20226
c658d255
RM
202272011-10-08 Roland McGrath <roland@hack.frob.com>
20228
110946e4
RM
20229 * locale/programs/locarchive.c (prepare_address_space): New function.
20230 (create_archive, enlarge_archive, open_archive): Use it.
20231
50604220
RM
20232 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20233 inside [SHARED], where it is used.
20234
c658d255
RM
20235 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20236
20237 * nss/getent.c (netgroup_keys): Remove unused variable.
20238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20239
6a621eb7
UD
202402011-10-08 Ulrich Drepper <drepper@gmail.com>
20241
7edb55ce
UD
20242 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20245 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20246 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20247 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20248 * math/Makefile (libm-calls): Add s_isinf_ns.
20249 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20250 * math/multc3.c: Likewise.
20251 * math/s_casin.c: Likewise.
20252 * math/s_casinf.c: Likewise.
20253 * math/s_casinl.c: Likewise.
20254 * math/s_ccos.c: Likewise.
20255 * math/s_ccosf.c: Likewise.
20256 * math/s_ccosl.c: Likewise.
20257 * math/s_ctan.c: Likewise.
20258 * math/s_ctanf.c: Likewise.
20259 * math/s_ctanh.c: Likewise.
20260 * math/s_ctanhf.c: Likewise.
20261 * math/s_ctanhl.c: Likewise.
20262 * math/s_ctanl.c: Likewise.
20263 * math/w_fmod.c: Likewise.
20264 * math/w_fmodf.c: Likewise.
20265 * math/w_fmodl.c: Likewise.
20266 * math/w_remainder.c: Likewise.
20267 * math/w_remainderf.c: Likewise.
20268 * math/w_remainderl.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20270 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20273 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20274 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20275 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20276 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20277
187da0ae
UD
20278 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20279 of the number.
20280 * stdio-common/printf_fphex.c: Likewise.
20281 * stdio-common/printf_size.c: Likewise.
20282
9277c064
UD
20283 * math/e_exp10.c: Include math_private.h using <...> not "...".
20284 * math/e_exp10f.c: Likewise.
20285 * math/e_exp10l.c: Likewise.
20286 * math/e_exp2l.c: Likewise.
20287 * math/e_j0l.c: Likewise.
20288 * math/e_j1l.c: Likewise.
20289 * math/e_jnl.c: Likewise.
20290 * math/e_lgammal_r.c: Likewise.
20291 * math/e_rem_pio2l.c: Likewise.
20292 * math/e_scalb.c: Likewise.
20293 * math/e_scalbf.c: Likewise.
20294 * math/e_scalbl.c: Likewise.
20295 * math/k_cosl.c: Likewise.
20296 * math/k_sinl.c: Likewise.
20297 * math/k_tanl.c: Likewise.
20298 * math/s_cacoshf.c: Likewise.
20299 * math/s_catan.c: Likewise.
20300 * math/s_catanf.c: Likewise.
20301 * math/s_catanh.c: Likewise.
20302 * math/s_catanhf.c: Likewise.
20303 * math/s_catanhl.c: Likewise.
20304 * math/s_catanl.c: Likewise.
20305 * math/s_ccosh.c: Likewise.
20306 * math/s_ccoshf.c: Likewise.
20307 * math/s_ccoshl.c: Likewise.
20308 * math/s_cexp.c: Likewise.
20309 * math/s_cexpf.c: Likewise.
20310 * math/s_cexpl.c: Likewise.
20311 * math/s_clog.c: Likewise.
20312 * math/s_clog10.c: Likewise.
20313 * math/s_clog10f.c: Likewise.
20314 * math/s_clog10l.c: Likewise.
20315 * math/s_clogf.c: Likewise.
20316 * math/s_clogl.c: Likewise.
20317 * math/s_csin.c: Likewise.
20318 * math/s_csinf.c: Likewise.
20319 * math/s_csinh.c: Likewise.
20320 * math/s_csinhf.c: Likewise.
20321 * math/s_csinhl.c: Likewise.
20322 * math/s_csinl.c: Likewise.
20323 * math/s_csqrt.c: Likewise.
20324 * math/s_csqrtf.c: Likewise.
20325 * math/s_csqrtl.c: Likewise.
20326 * math/s_ctan.c: Likewise.
20327 * math/s_ctanf.c: Likewise.
20328 * math/s_ctanh.c: Likewise.
20329 * math/s_ctanhf.c: Likewise.
20330 * math/s_ctanhl.c: Likewise.
20331 * math/s_ctanl.c: Likewise.
20332 * math/s_ldexp.c: Likewise.
20333 * math/s_ldexpf.c: Likewise.
20334 * math/s_ldexpl.c: Likewise.
20335 * math/s_significand.c: Likewise.
20336 * math/s_significandf.c: Likewise.
20337 * math/s_significandl.c: Likewise.
20338 * math/w_acos.c: Likewise.
20339 * math/w_acosf.c: Likewise.
20340 * math/w_acosh.c: Likewise.
20341 * math/w_acoshf.c: Likewise.
20342 * math/w_acoshl.c: Likewise.
20343 * math/w_acosl.c: Likewise.
20344 * math/w_asin.c: Likewise.
20345 * math/w_asinf.c: Likewise.
20346 * math/w_asinl.c: Likewise.
20347 * math/w_atan2.c: Likewise.
20348 * math/w_atan2f.c: Likewise.
20349 * math/w_atan2l.c: Likewise.
20350 * math/w_atanh.c: Likewise.
20351 * math/w_atanhf.c: Likewise.
20352 * math/w_atanhl.c: Likewise.
20353 * math/w_cosh.c: Likewise.
20354 * math/w_coshf.c: Likewise.
20355 * math/w_coshl.c: Likewise.
20356 * math/w_dremf.c: Likewise.
20357 * math/w_exp10.c: Likewise.
20358 * math/w_exp10f.c: Likewise.
20359 * math/w_exp10l.c: Likewise.
20360 * math/w_exp2.c: Likewise.
20361 * math/w_exp2f.c: Likewise.
20362 * math/w_fmod.c: Likewise.
20363 * math/w_fmodf.c: Likewise.
20364 * math/w_fmodl.c: Likewise.
20365 * math/w_hypot.c: Likewise.
20366 * math/w_hypotf.c: Likewise.
20367 * math/w_hypotl.c: Likewise.
20368 * math/w_j0.c: Likewise.
20369 * math/w_j0f.c: Likewise.
20370 * math/w_j0l.c: Likewise.
20371 * math/w_j1.c: Likewise.
20372 * math/w_j1f.c: Likewise.
20373 * math/w_j1l.c: Likewise.
20374 * math/w_jn.c: Likewise.
20375 * math/w_jnf.c: Likewise.
20376 * math/w_jnl.c: Likewise.
20377 * math/w_lgamma.c: Likewise.
20378 * math/w_lgamma_r.c: Likewise.
20379 * math/w_lgammaf.c: Likewise.
20380 * math/w_lgammaf_r.c: Likewise.
20381 * math/w_lgammal.c: Likewise.
20382 * math/w_lgammal_r.c: Likewise.
20383 * math/w_log.c: Likewise.
20384 * math/w_log10.c: Likewise.
20385 * math/w_log10f.c: Likewise.
20386 * math/w_log10l.c: Likewise.
20387 * math/w_log2.c: Likewise.
20388 * math/w_log2f.c: Likewise.
20389 * math/w_log2l.c: Likewise.
20390 * math/w_logf.c: Likewise.
20391 * math/w_logl.c: Likewise.
20392 * math/w_pow.c: Likewise.
20393 * math/w_powf.c: Likewise.
20394 * math/w_powl.c: Likewise.
20395 * math/w_remainder.c: Likewise.
20396 * math/w_remainderf.c: Likewise.
20397 * math/w_remainderl.c: Likewise.
20398 * math/w_scalb.c: Likewise.
20399 * math/w_scalbf.c: Likewise.
20400 * math/w_scalbl.c: Likewise.
20401 * math/w_sinh.c: Likewise.
20402 * math/w_sinhf.c: Likewise.
20403 * math/w_sinhl.c: Likewise.
20404 * math/w_sqrt.c: Likewise.
20405 * math/w_sqrtf.c: Likewise.
20406 * math/w_sqrtl.c: Likewise.
20407 * math/w_tgamma.c: Likewise.
20408 * math/w_tgammaf.c: Likewise.
20409 * math/w_tgammal.c: Likewise.
20410
6a621eb7
UD
20411 * po/ja.po: Update from translation team.
20412
bf582445
AJ
204132011-09-29 Andreas Jaeger <aj@suse.de>
20414
f9efbf3a
AJ
20415 [BZ #13179]
20416 * sunrpc/netname.c (netname2host): Fix logic.
20417
bf582445
AJ
20418 [BZ #6779]
20419 [BZ #6783]
20420 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20421 correctly.
20422 * math/w_remainder.c (__remainder): Likewise.
20423 * math/w_remainderf.c (__remainderf): Likewise.
20424 * math/libm-test.inc (remainder_test): Add test cases.
20425
48693bea
AK
204262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20427
20428 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20429 sdiv_qrnnd.
20430
42622229
LD
204312011-10-07 Ulrich Drepper <drepper@gmail.com>
20432
20433 * string/test-memcmp.c: Avoid unncessary #defines.
20434 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20435
093ecf92
LD
204362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20437
20438 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20439 Use new sse2 version for core i3 - i7 as it's faster
20440 than sse42 version.
20441 (bit_Prefer_PMINUB_for_stringop): New.
20442 * sysdeps/x86_64/rawmemchr.S: Update.
20443 Replace with faster SSE2 version.
20444 * sysdeps/x86_64/memrchr.S: New file.
20445 * sysdeps/x86_64/memchr.S: Update.
20446 Replace with faster SSE2 version.
20447
fde56e5c
MP
204482011-09-12 Marek Polacek <mpolacek@redhat.com>
20449
20450 * elf/dl-load.c (lose): Add cast to avoid warning.
20451
21fd49a9
UD
204522011-10-07 Ulrich Drepper <drepper@gmail.com>
20453
5a06e643
UD
20454 * po/ca.po: Update from translation team.
20455
684ae515
UD
20456 * inet/getnetgrent_r.c: Hook up nscd.
20457 * nscd/Makefile (routines): Add nscd_netgroup.
20458 (nscd-modules): Add netgroupcache.
20459 (CFLAGS-netgroupcache.c): Define.
20460 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20461 (cache_search): Add const to second parameter.
20462 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20463 INNETGR.
20464 (dbs): Add netgrdb entry.
20465 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20466 (verify_persistent_db): Handle netgrdb.
20467 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20468 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20469 GETFDNETGR.
20470 (netgroup_response_header): Define.
20471 (innetgroup_response_header): Define.
20472 (datahead): Add netgroup_response_header and innetgroup_response_header
20473 elements.
20474 * nscd/nscd.conf: Add entries for netgroup cache.
20475 * nscd/nscd.h (dbtype): Add netgrdb.
20476 (_PATH_NSCD_NETGROUP_DB): Define.
20477 (netgroup_iov_disabled): Declare.
20478 (xmalloc, xcalloc, xrealloc): Move declarations here.
20479 (cache_search): Adjust prototype.
20480 Add netgroup-related prototypes.
20481 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20482 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20483 (__nscd_innetgr): Declare.
20484 * nscd/selinux.c (perms): Use access_vector_t as element type and
20485 add netgroup-related initializers.
20486 * nscd/netgroupcache.c: New file.
20487 * nscd/nscd_netgroup.c: New file.
20488 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20489 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20490 For four parameters use innetgr.
20491 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20492 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20493 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20494 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20495
21fd49a9
UD
20496 * nscd/connections.c (register_traced_file): Don't register file
20497 for disabled databases.
20498
054c0457
UD
204992011-10-06 Ulrich Drepper <drepper@gmail.com>
20500
32b63198
UD
20501 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20502
054c0457
UD
20503 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20504 from tree and freeing node.
20505
64031225
JO
205062011-09-25 Jiri Olsa <jolsa@redhat.com>
20507
20508 * nss/nsswitch.c (__nss_database_lookup): Handle
20509 nss_parse_service_list out of memory case.
20510
0490345c
JO
205112011-09-15 Jiri Olsa <jolsa@redhat.com>
20512
20513 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20514 out of memory case.
20515
3a62d00d
AS
205162011-10-04 Andreas Schwab <schwab@redhat.com>
20517
20518 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20519 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20520 pass it down.
20521 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20522 elf_machine_rela, elf_machine_lazy_rel.
20523 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20524 (ELF_DYNAMIC_DO_REL): Likewise.
20525 (ELF_DYNAMIC_DO_RELA): Likewise.
20526 (ELF_DYNAMIC_RELOCATE): Likewise.
20527 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20528 to ELF_DYNAMIC_DO_REL.
20529 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20530 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20531 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20532 elf_machine_rela.
20533 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20534 skip_ifunc, don't call ifunc function if non-zero.
20535 (elf_machine_rela): Likewise.
20536 (elf_machine_lazy_rel): Likewise.
20537 (elf_machine_lazy_rela): Likewise.
20538 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20539 (elf_machine_lazy_rel): Likewise.
20540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20541 Likewise.
20542 (elf_machine_lazy_rel): Likewise.
20543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20544 Likewise.
20545 (elf_machine_lazy_rel): Likewise.
20546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20547 (elf_machine_lazy_rel): Likewise.
20548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20549 (elf_machine_lazy_rel): Likewise.
20550 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20551 (elf_machine_lazy_rel): Likewise.
20552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20553 (elf_machine_lazy_rel): Likewise.
20554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20555 (elf_machine_lazy_rel): Likewise.
20556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20557 (elf_machine_lazy_rel): Likewise.
20558
68577918
UD
205592011-09-28 Ulrich Drepper <drepper@gmail.com>
20560
20561 * nss/nss_files/files-init.c (_nss_files_init): Use static
20562 initialization for all the *_traced_file variables.
20563
68822d74
AS
205642011-09-28 Andreas Schwab <schwab@redhat.com>
20565
20566 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20567
2056100b
RM
205682011-09-27 Roland McGrath <roland@hack.frob.com>
20569
20570 [BZ #13226]
20571 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20572
32c76b63
AS
205732011-09-27 Andreas Schwab <schwab@redhat.com>
20574
20575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20576 Reread the line before reparsing it.
20577
bf972c9d
AS
205782011-09-26 Andreas Schwab <schwab@redhat.com>
20579
20580 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20581
e057a1b5
JM
205822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20583 Maxim Kuvyrkov <maxim@codesourcery.com>
20584 Joseph Myers <joseph@codesourcery.com>
20585
20586 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20587 if needed for __stack_chk_guard.
20588
bc7e1c36
RM
205892011-09-19 Roland McGrath <roland@hack.frob.com>
20590
ecb1482f
RM
20591 * sysdeps/posix/spawni.c (script_execute): Always define it.
20592 It will be optimized away if unused.
20593 (maybe_script_execute): New function.
20594 (__spawni): Call it.
20595
bc7e1c36
RM
20596 * Makerules: Don't include tls.make.
20597 (config-tls): Always set to thread.
20598 * tls.make.c: File removed.
20599
1c3b002b
MF
206002011-09-19 Mike Frysinger <vapier@gentoo.org>
20601
20602 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20603 * config.make.in (CPPFLAGS-config): New substituted variable.
20604
2840865d
UD
206052011-09-15 Ulrich Drepper <drepper@gmail.com>
20606
88738eb6
UD
20607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20608
cbf645a6 20609 [BZ #13192]
2840865d
UD
20610 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20611 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20612
b402e91a
RM
206132011-09-15 Roland McGrath <roland@hack.frob.com>
20614
20615 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20616 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20618 (CALL_FAIL): Likewise.
20619 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20620 (CALL_FAIL): Macro removed.
20621 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20622
4c1a1f71
UD
206232011-09-15 Ulrich Drepper <drepper@gmail.com>
20624
20625 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20626 for __FINITE_MATH_ONLY__ == 1.
20627
edc121be
AS
206282011-09-15 Andreas Schwab <schwab@redhat.com>
20629
20630 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20631 __ieee754_sqrt instead of sqrt.
20632 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20633 __ieee754_sqrtf instead of sqrtf.
20634 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20635 __floorf instead of floorf.
20636 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20637 __floorf, __truncf instead of floorf, truncf.
20638
cd205654
UD
206392011-09-14 Ulrich Drepper <drepper@gmail.com>
20640
ee4d0315
UD
20641 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20642
cd205654
UD
20643 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20644 __extern_always_inline.
20645 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20646 32-bit.
20647
48b67d71
AS
206482011-09-14 Andreas Schwab <schwab@redhat.com>
20649
20650 * elf/rtld.c (dl_main): Also relocate in dependency order when
20651 doing symbol dependency testing.
20652
1ae12c75
AS
206532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20654
20655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20656 Always define `refsym'.
20657
995a80df
AS
206582011-09-13 Andreas Schwab <schwab@redhat.com>
20659
e529793b
AS
20660 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20661 (__FD_ELT): Renamed from __FDELT.
20662 * misc/bits/select2.h (__FD_ELT): Likewise.
20663 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20664 __FD_MASK instead of __FDELT, __FDMASK.
20665 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20666 Likewise.
20667 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20668 Likewise.
20669
52d4fef8
AS
20670 * elf/Makefile (gen-ldd): Fix pattern.
20671
995a80df
AS
20672 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20673 (init_tls): Likewise.
20674
8682f8b0
UD
206752011-09-12 Ulrich Drepper <drepper@gmail.com>
20676
20677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20678
de82006d
AS
206792011-09-12 Andreas Schwab <schwab@redhat.com>
20680
a7c8e6a1
AS
20681 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20682 `struct cmsghdr *' instead of `void *'.
20683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20684 Likewise.
20685
0f31fe77
AS
206862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20687
20688 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20689 if non-absolute.
20690 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20691 ldd_rewrite_script.
0f31fe77 20692
32b4c839
UD
206932011-09-11 Ulrich Drepper <drepper@gmail.com>
20694
83cd1420
UD
20695 * configure.in: Remove --with-tls option.
20696 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20697 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20698 out in case it is missing.
20699 * sysdeps/ia64/elf/configure.in: Likewise.
20700 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20701 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20702 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20703 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20704 * sysdeps/sh/elf/configure.in: Likewise.
20705 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20706 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20707 * sysdeps/x86_64/elf/configure.in: Likewise.
20708 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20709 * sysdeps/mach/hurd/tls.h: Likewise.
20710
633f745d
UD
20711 [BZ #13067]
20712 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20713
f318beb8
UD
20714 [BZ #13090]
20715 * configure.in: Fix use of AC_INIT.
20716
32b4c839
UD
20717 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20718
3ce1f295
UD
207192011-09-10 Ulrich Drepper <drepper@gmail.com>
20720
bb016596
UD
20721 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20722 __set_errno.
8e58439c
UD
20723 * malloc/hooks.c: Likewise.
20724
aebae053 20725 [BZ #11929]
02d46fc4
UD
20726 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20727 variables statically.
20728 (narenas): Initialize.
20729 (list_lock): Initialize.
bb016596
UD
20730 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20731 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20732 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20733 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20734 Add initializers to main_arena and mp_.
20735 (malloc_state): Remove pagesize member. Change all users to use
20736 GLRO(dl_pagesize).
20737
20738 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20739 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20740 is always initialized.
20741
22a89187
UD
20742 * malloc/malloc.c: Removed unused configurations and dead code.
20743 * malloc/arena.c: Likewise.
20744 * malloc/hooks.c: Likewise.
02d46fc4 20745 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20746
d063d164
UD
20747 * include/tls.h: Removed. USE___THREAD must always be defined.
20748 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20749 * elf/dl-libc.c: Likewise.
20750 * elf/dl-tsd.c: Likewise.
20751 * include/errno.h: Likewise.
20752 * include/netdb.h: Likewise.
20753 * include/resolv.h: Likewise.
20754 * inet/herrno-loc.c: Likewise.
20755 * inet/herrno.c: Likewise.
20756 * malloc/arena.c: Likewise.
20757 * malloc/hooks.c: Likewise.
20758 * malloc/malloc.c: Likewise.
20759 * resolv/res-state.c: Likewise.
20760 * resolv/res_libc.c: Likewise.
20761 * sysdeps/i386/dl-machine.h: Likewise.
20762 * sysdeps/ia64/dl-machine.h: Likewise.
20763 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20764 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20765 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20766 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20767 * sysdeps/sh/dl-machine.h: Likewise.
20768 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20770 * sysdeps/unix/i386/sysdep.S: Likewise.
20771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20772 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20777 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20781 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20782 * sysdeps/x86_64/dl-machine.h: Likewise.
20783 * tls.make.c: Likewise.
20784
3ce1f295
UD
20785 * configure.in: Remove --with-__thread option. Make tests for
20786 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20787 tls_model attribute fail if no support is available. Remove
20788 USE_IN_LIBIO.
20789 * Makeconfig: Adjust for dropped configure option. All features are
20790 now mandatory.
20791 * Makerules: Likewise.
20792 * Versions.def: Likewise.
20793 * argp/argp-fmtstream.c: Likewise.
20794 * argp/argp-fmtstream.h: Likewise.
20795 * argp/argp-help.c: Likewise.
20796 * assert/assert.c: Likewise.
20797 * config.h.in: Likewise.
20798 * config.make.in: Likewise.
20799 * configure: Likewise.
20800 * configure.in: Likewise.
20801 * csu/Versions: Likewise.
20802 * csu/init.c: Likewise.
20803 * elf/tst-audit2.c: Likewise.
20804 * elf/tst-tls10.c: Likewise.
20805 * elf/tst-tls10.h: Likewise.
20806 * elf/tst-tls11.c: Likewise.
20807 * elf/tst-tls12.c: Likewise.
20808 * elf/tst-tls14.c: Likewise.
20809 * elf/tst-tlsmod11.c: Likewise.
20810 * elf/tst-tlsmod12.c: Likewise.
20811 * elf/tst-tlsmod13.c: Likewise.
20812 * elf/tst-tlsmod13a.c: Likewise.
20813 * elf/tst-tlsmod14a.c: Likewise.
20814 * elf/tst-tlsmod15b.c: Likewise.
20815 * elf/tst-tlsmod16a.c: Likewise.
20816 * elf/tst-tlsmod16b.c: Likewise.
20817 * elf/tst-tlsmod7.c: Likewise.
20818 * elf/tst-tlsmod8.c: Likewise.
20819 * elf/tst-tlsmod9.c: Likewise.
20820 * gmon/gmon.c: Likewise.
20821 * grp/fgetgrent_r.c: Likewise.
20822 * grp/putgrent.c: Likewise.
20823 * hurd/fopenport.c: Likewise.
20824 * include/libc-symbols.h: Likewise.
20825 * include/tls.h: Likewise.
20826 * intl/gettextP.h: Likewise.
20827 * intl/loadinfo.h: Likewise.
20828 * locale/global-locale.c: Likewise.
20829 * locale/localeinfo.h: Likewise.
20830 * mach/devstream.c: Likewise.
20831 * malloc/arena.c: Likewise.
20832 * malloc/set-freeres.c: Likewise.
20833 * misc/err.c: Likewise.
20834 * misc/getttyent.c: Likewise.
20835 * misc/mntent_r.c: Likewise.
20836 * posix/getopt.c: Likewise.
20837 * posix/wordexp.c: Likewise.
20838 * pwd/fgetpwent_r.c: Likewise.
20839 * resolv/Versions: Likewise.
20840 * resolv/res_hconf.c: Likewise.
20841 * shadow/fgetspent_r.c: Likewise.
20842 * shadow/putspent.c: Likewise.
20843 * stdio-common/printf_fphex.c: Likewise.
20844 * stdio-common/tmpfile.c: Likewise.
20845 * stdlib/abort.c: Likewise.
20846 * stdlib/fmtmsg.c: Likewise.
20847 * sunrpc/auth_unix.c: Likewise.
20848 * sunrpc/clnt_perr.c: Likewise.
20849 * sunrpc/clnt_tcp.c: Likewise.
20850 * sunrpc/clnt_udp.c: Likewise.
20851 * sunrpc/clnt_unix.c: Likewise.
20852 * sunrpc/openchild.c: Likewise.
20853 * sunrpc/svc_simple.c: Likewise.
20854 * sunrpc/svc_tcp.c: Likewise.
20855 * sunrpc/svc_udp.c: Likewise.
20856 * sunrpc/svc_unix.c: Likewise.
20857 * sunrpc/xdr.c: Likewise.
20858 * sunrpc/xdr_array.c: Likewise.
20859 * sunrpc/xdr_rec.c: Likewise.
20860 * sunrpc/xdr_ref.c: Likewise.
20861 * sunrpc/xdr_stdio.c: Likewise.
20862
1248c1c4
PB
208632011-09-09 Ulrich Drepper <drepper@gmail.com>
20864
20865 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20866
208672011-07-03 Andreas Jaeger <aj@suse.de>
20868
20869 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20870 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20871 regenerate with gen-libm-tests.pl.
20872
208732010-05-12 Petr Baudis <pasky@suse.cz>
20874
20875 [BZ #11589]
20876 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20877 around j0() zero points by switching to j1().
20878 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20879 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20881 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20882
f22e1074
UD
208832011-09-09 Ulrich Drepper <drepper@gmail.com>
20884
f19009c1
UD
20885 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20886 instead of 0.
20887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20888 instead of 0.
f19009c1
UD
20889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20890 Patch in part by Pavel Roskin <proski@gnu.org>.
20891
3f8cc204
UD
20892 [BZ #13138]
20893 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20894 realloc.
20895 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20896 Free memory block if necessary.
20897
f22e1074
UD
20898 [BZ #12847]
20899 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20900 be NULL. Don't lock in this case.
20901
0a2349f9
RM
209022011-09-09 Roland McGrath <roland@hack.frob.com>
20903
20904 * elf/elf.h (ELFOSABI_GNU): New macro.
20905 (ELFOSABI_LINUX): Define to that.
20906
f3cdd467
DZ
209072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20908
20909 * string/strncat.c (strncat): Undef the symbol in case it has been
20910 defined in bits/string.h.
20911
74718d13
UD
209122011-09-09 Ulrich Drepper <drepper@gmail.com>
20913
633e9e0f
UD
20914 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20915
0a2349f9 20916 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20917 link map.
20918
f9924780
AJ
209192011-08-17 Andreas Jaeger <aj@suse.de>
20920
20921 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20922
7f5517aa
PP
209232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20924 Ian Lance Taylor <iant@google.com>
20925
20926 * math/libm-test.inc (lround_test): New testcase.
20927 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20928
762011fe
UD
209292011-09-08 Ulrich Drepper <drepper@gmail.com>
20930
92963737
UD
20931 * Makefile: Remove support for automatic cvs check-ins.
20932 * Makerules: Likewise.
20933 * config.make.in: Likewise.
20934 * configure.in: Likewise.
20935 * intl/Makefile: Likewise.
20936 * locale/Makefile: Likewise.
20937 * po/Makefile: Likewise.
20938 * posix/Makefile: Likewise.
20939 * sysdeps/gnu/Makefile: Likewise.
20940 * sysdeps/mach/hurd/Makefile: Likewise.
20941 * sysdeps/sparc/sparc32/Makefile: Likewise.
20942
b0727fd8
JS
20943 [BZ #13118]
20944 * posix/Makefile (bug-regex32-ENV): Define.
20945 Patch by John Stanley <jpsinthemix@verizon.net>.
20946
a0f33f99
UD
20947 * misc/Makefile (headers): Add bits/select2.h.
20948 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20949 * misc/bits/select2.h: New file.
20950 * include/bits/select2.h: New file.
20951 * debug/Makefile (routines): Add fdelt_chk.
20952 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20953 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20954 FD_ISSET.
20955 * debug/fdelt_chk.c: New file.
20956
762011fe
UD
20957 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20958 * wcsmbs/test-wmemcmp.c: Likewise.
20959 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20960 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20961
209622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20963
20964 * string/Makefile (strop-tests): Add memcmp.
20965 * string/test-wmemcmp.c: New file.
20966 * string/test-memcmp.c: Add wmemcmp support.
20967
7f513ec8
RM
209682011-09-08 Roland McGrath <roland@hack.frob.com>
20969
0442afb4
RM
20970 [BZ #13153]
20971 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20972 2011-07-19 change.
20973
7f513ec8
RM
20974 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20975 garbage value in a __mach_port_mod_refs call in the cases of the
20976 task-self and thread-self ports.
20977
a12b2239
ST
209782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20979
20980 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20981
610f9ab4
AS
209822011-09-08 Andreas Schwab <schwab@redhat.com>
20983
7f513ec8 20984 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20985
48882a1a
LD
209862011-09-07 Ulrich Drepper <drepper@gmail.com>
20987
b49865be
UD
20988 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20989
fdc86bc9
UD
20990 * elf/dl-libc.c (dlerror_run): Pass back error code from
20991 dl_catch_error.
20992
c966526a
UD
20993 [BZ #13123]
20994 * elf/dl-load.c (lose): Free l_origin if it is valid.
20995
48882a1a
LD
20996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20997 names.
20998 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20999 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21000 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21001 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21002 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21003 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21004
77a2a8b4
AZ
210052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21006
21007 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21008 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21009 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21010 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21011 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21012 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21013 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21014 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21015 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21016 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21017
24f579d8
AM
210182011-08-15 Alan Modra <amodra@gmail.com>
21019
21020 [BZ #13092]
21021 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21022 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21023 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21024 ppc_mcount to static-only-routines.
21025 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21026 __mcount_internal.
21027 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21028 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21029
3d4837df
UD
210302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21031
21032 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21033 for finite and infinity parameters.
21034
22700377
WS
210352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21036
21037 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21038 and add nop instructions for throughput optimization.
21039 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21040
5025581e
WS
210412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21042
21043 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21044 aligned copy for power7 with vector-scalar instructions.
21045 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21046
08a300c9
L
210472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21048
21049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21050 AVX check.
21051
59178ef9
AS
210522011-09-07 Andreas Schwab <schwab@redhat.com>
21053
21054 [BZ #13144]
21055 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21056 last change.
21057
e38ba7ab
UD
210582011-09-07 Ulrich Drepper <drepper@gmail.com>
21059
21060 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21061 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21062 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21063 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21064 clock_gettime.
21065
d53a73ac
UD
210662011-09-06 Ulrich Drepper <drepper@gmail.com>
21067
fc8bffcc
UD
21068 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21069 Forgot to demangle the pointer.
21070
ceaa0c5d
UD
21071 * sysdeps/i386/sysdep.h: Define atom_text_section.
21072 * sysdeps/x86_64/sysdep.h: Likewise.
21073 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21074 section with atom_text_section.
21075 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21076 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21077 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21079 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21080
a77d3c17
UD
21081 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21082 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21083 already be defined. Change to take two parameters and don't assign
21084 result to variable. Adjust all users.
21085 Define INTERNAL_GETTIME if not already defined.
21086 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21087 call.
21088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21089 HAVE_CLOCK_GETTIME_VSYSCALL.
21090 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21091
d53a73ac
UD
21092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21093 gettimeofday vsyscall, just use time.
21094
a8f84144
AS
210952011-09-06 Andreas Schwab <schwab@redhat.com>
21096
21097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21098 <errno.h>.
21099
ef606249
UD
211002011-09-06 Ulrich Drepper <drepper@gmail.com>
21101
21102 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21103 syscall on x86-64.
21104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21105 syscall.
21106 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21107 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21108 syscall if possible.
21109
6585cb60
UD
211102011-09-05 Ulrich Drepper <drepper@gmail.com>
21111
21112 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21113 e_ident. Don't pass to find_mapsXX.
21114 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21115
a5f524e4
LD
211162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21117
21118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21119 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21120 * sysdeps/x86_64/multiarch/strchr.S: Update.
21121 Check bit_slow_BSF bit.
21122 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21124 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21125
554881ef
UD
211262011-09-05 Ulrich Drepper <drepper@gmail.com>
21127
d96de963
UD
21128 [BZ #13134]
21129 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21130 before glibc 2.15.
21131 (tryshell): Define.
21132 (__spawni): Change last parameter to be flag. Test
21133 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21134 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21135 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21136 * posix/spawni.c: Likewise.
21137 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21138 * posix/spawnp.c: Likewise. Change normal version to use
21139 SPAWN_XFLAGS_USE_PATH.
21140 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21141 SPAWN_XFLAGS_TRY_SHELL.
21142
d48e5868
UD
21143 [BZ #13150]
21144 * posix/glob.h: Remove gcc 1.x support.
21145
554881ef
UD
21146 [BZ #13068]
21147 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21148
693fb948
LD
211492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21150
21151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21152 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21153 strrchr-sse2-bsf
21154 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21155 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21156 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21157 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21158 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21159 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21160
1b48c537
UD
211612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21162
49d42c37
UD
21163 * sysdeps/x86_64/wcscmp.S: New file.
21164
1b48c537
UD
21165 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21166 wcscmp-c wcscmp-sse2
21167 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21168 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21169 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21170 * wcsmbs/wcscmp.c: Allow renaming.
21171
15c95c5d
DM
211722011-09-05 David S. Miller <davem@davemloft.net>
21173
21174 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21175 stack slot, rather than the struct return pointer slot.
21176 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21177 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21179 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21180
2f0ad8f3
UD
211812011-09-05 Ulrich Drepper <drepper@gmail.com>
21182
d88ae418
UD
21183 * po/ja.po: Update from translation team.
21184
2f0ad8f3
UD
21185 [BZ #13144]
21186 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21187 kernel in 64-bit binaries.
21188
5f4318d1
DM
211892011-09-01 David S. Miller <davem@davemloft.net>
21190
21191 * elf/elf.h (HWCAP_SPARC_*): Move to..
21192 * sysdeps/sparc/sysdep.h: this new file and add new values.
21193 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21194 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21195 _DL_HWCAP_COUNT to 24.
21196 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21197 entries.
21198 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21199 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21200 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21202 instead of magic constants.
21203 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21204
3ba57516
DM
212052011-08-31 David S. Miller <davem@davemloft.net>
21206
21207 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21209 Reimplement to do errno handling inline.
21210 (SYSCALL_ERROR_HANDLER): New macro.
21211 (__SYSCALL_STRING): Do not do errno handling in asm.
21212 (__CLONE_SYSCALL_STRING): Delete.
21213 (__INTERNAL_SYSCALL_STRING): Delete.
21214 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21215 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21216 (PSEUDO): Reimplement to do errno handling inline.
21217 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21218 (SYSCALL_ERROR_HANDLER): New macro.
21219 (__SYSCALL_STRING): Do not do errno handling in asm.
21220 (__CLONE_SYSCALL_STRING): Delete.
21221 (__INTERNAL_SYSCALL_STRING): Delete.
21222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21223 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21224 i386.
21225 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21226 (inline_syscall*): Add 'err' argument.
21227 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21228 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21229 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21230 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21231
21232 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21233 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21234
2bc17433
AS
212352011-08-30 Andreas Schwab <schwab@redhat.com>
21236
21237 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21238
fbeb5f4d
JO
212392011-08-29 Jiri Olsa <jolsa@redhat.com>
21240
21241 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21242 directive.
21243
ad69cc26
DM
212442011-08-24 David S. Miller <davem@davemloft.net>
21245
21246 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21247
39dd69df
AS
212482011-08-24 Andreas Schwab <schwab@redhat.com>
21249
21250 * elf/Makefile: Add rules to build and run unload8 test.
21251 * elf/unload8.c: New file.
21252 * elf/unload8mod1.c: New file.
21253 * elf/unload8mod1x.c: New file.
21254 * elf/unload8mod2.c: New file.
21255 * elf/unload8mod3.c: New file.
21256
21257 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21258 it wasn't used.
21259
2c0b250a
DM
212602011-08-23 David S. Miller <davem@davemloft.net>
21261
21262 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21263 subtract stack bias.
21264 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21265 %sp not %fp in calculations.
21266 (_JMPBUF_UNWINDS_ADJ): Likewise.
21267
22044b48
DM
21268 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21269 (aio_suspend): Call it to force an exception region around the
21270 AIO_MISC_WAIT() invocation.
21271
2cae4995
AS
212722011-08-23 Andreas Schwab <schwab@redhat.com>
21273
21274 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21275 backslash.
21276
873a772e
AJ
212772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21278
21279 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21280 protection macro.
21281 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21282 and <dl-machine.h>.
21283 (Elf64_FuncDesc): Remove.
21284
25ad0df1
DM
212852011-08-22 David S. Miller <davem@davemloft.net>
21286
21287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21288 sigaltstack check, add missing cfi directives.
21289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21290 missing cfi directives, and sigaltstack handling.
21291
e888bcbe
AS
212922011-08-16 Andreas Schwab <schwab@redhat.com>
21293
21294 [BZ #11724]
21295 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21296 object is seen twice.
21297 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21298
21299 * elf/Makefile (distribute): Add tst-initorder2.c.
21300 (tests): Add tst-initorder2.
21301 (modules-names): Add tst-initorder2a tst-initorder2b
21302 tst-initorder2c tst-initorder2d. Add rules to build them.
21303 ($(objpfx)tst-initorder2.out): New rule.
21304 * elf/tst-initorder2.c: New file.
21305 * elf/tst-initorder2.exp: New file.
21306
87162f46
AS
213072011-08-22 Andreas Schwab <schwab@redhat.com>
21308
70538b7f
AS
21309 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21310
f55ffe58
AS
21311 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21312 dependencies back to end of function.
21313
87162f46
AS
21314 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21315 $(elfobjdir)/ld.so.
21316
91b392a4
UD
213172011-08-21 Ulrich Drepper <drepper@gmail.com>
21318
21319 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21320 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21322 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21323 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21324 of __vdso_gettimeofday.
21325 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21326 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21327 attribute_hidden.
21328 (_libc_vdso_platform_setup): Remove initialization of
21329 __vdso_gettimeofday and __vdso_time.
21330
5c43483f
UD
213312011-08-20 Ulrich Drepper <drepper@gmail.com>
21332
775a77e7
UD
21333 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21334 and fgetc_unlocked.
21335 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21336 getc_unlocked.
89f447ed 21337
49c74ba9
UD
21338 * elf/dl-open.c (add_to_global): Report additions to the global scope
21339 for LD_DEBUG=scopes.
21340 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21341 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21342
5c43483f
UD
21343 [BZ #13114]
21344 * stdio-common/Makefile (tests): Add bug24.
21345 * stdio-common/bug24.c: New file.
21346
a101b025
AJ
213472011-08-19 Andreas Jaeger <aj@suse.de>
21348
21349 [BZ #13114]
21350 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21351 non-existant file when using close-on-exec mode.
21352
c88f1766
UD
213532011-08-20 Ulrich Drepper <drepper@gmail.com>
21354
0276a718
UD
21355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21356 the very first instruction.
21357
c88f1766
UD
21358 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21359 the CFI state in the end.
21360 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21361 inclusion of dl-trampoline.h.
21362 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21363
51ccffa0
AS
213642011-08-19 Andreas Schwab <schwab@redhat.com>
21365
94d7165f
AS
21366 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21367 expectations for long double.
21368
51ccffa0
AS
21369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21370 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21371
fd708658 213722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21373
21374 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21375 artificual limit depends upon the system page size.
21376
44f0a71e
UD
213772011-08-17 Ulrich Drepper <drepper@gmail.com>
21378
21379 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21380 * resolv/Makefile: Define CFLAGS-libresolv.
21381
8de79a24
AS
213822011-08-17 Andreas Schwab <schwab@redhat.com>
21383
21384 * nss/makedb.c (compute_tables): Make variables used in nested
21385 function static.
21386
27724598
UD
213872011-08-17 Ulrich Drepper <drepper@gmail.com>
21388
c5305d88
UD
21389 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21390 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21391 if buffer was too small.
21392
27724598
UD
21393 * elf/pldd.c (main): Attach to all threads in the process.
21394 Rewrite /proc handling to use *at functions.
21395
076fe015
UD
213962011-08-16 Ulrich Drepper <drepper@gmail.com>
21397
174baab3
UD
21398 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21399 specifies first scope to show.
21400 (dl_open_worker): Update callers. Move printing scope of new
21401 object to before the relocation.
44f0a71e 21402 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21403 * sysdeps/generic/ldsodefs.h: Update declaration.
21404
076fe015
UD
21405 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21406 string for the scope number.
21407
a60df2c3
UD
214082011-08-14 Ulrich Drepper <drepper@gmail.com>
21409
21410 * nscd/servicescache.c (cache_addserv): Make sure written is always
21411 initialized.
21412
5e4287d1
RM
214132011-08-14 Roland McGrath <roland@hack.frob.com>
21414
85ae0589
RM
21415 * sysdeps/i386/i486/bits/atomic.h
21416 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21417 statement expression, so as to suppress "set but not used" warning.
21418 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21419
69f63097
RM
21420 * string/strncat.c (STRNCAT): Use prototype definition.
21421
675456ef
RM
21422 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21423 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21424 -Iprograms here.
21425 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21426 (localedef-modules): Add localedef.
21427 (locale-modules): Add locale.
21428
5e4287d1
RM
21429 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21430 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21431 to avoid a warning.
21432
9c96ff23
DM
214332011-08-14 David S. Miller <davem@davemloft.net>
21434
21435 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21436 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21437
f9ddf089
UD
214382011-08-13 Ulrich Drepper <drepper@gmail.com>
21439
44f0a71e 21440 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21441 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21442 * elf/rtld.c (dl_main): Set l_name of vDSO.
21443 Call _dl_show_scope when DL_DEBUG_SCOPES.
21444 (process_dl_debug): Recognize scopes flag and also set it for all.
21445 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21446 Declare _dl_show_scope.
21447
1dc27704
UD
21448 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21449 (do_dlopen): Pass caller_dlopen to dl_open.
21450 (__libc_dlopen_mode): Initialize caller_dlopen.
21451
f9ddf089
UD
21452 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21453 of libc. Make tolower call locale-independent. Optimize a bit by
21454 using isdigit instead of isalnum.
21455 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21456
9ac533d3
UD
214572011-08-12 Ulrich Drepper <drepper@gmail.com>
21458
21459 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21460 was a dependency or dynamically loaded.
21461
89edf2e9
UD
214622011-08-11 Ulrich Drepper <drepper@gmail.com>
21463
8e999d29
UD
21464 * intl/l10nflist.c: Allow architecture-specific pop function.
21465 * sysdeps/x86_64/l10nflist.c: New file.
21466
89edf2e9
UD
21467 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21468 classification.
21469
14d96785
AS
214702011-08-10 Andreas Schwab <schwab@redhat.com>
21471
21472 * include/dirent.h: Add libc_hidden_proto for scandirat and
21473 scandirat64. Don't declare __scandirat64.
21474 * dirent/scandirat.c: Add libc_hidden_def.
21475 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21476 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21477
6761ac04
DM
214782011-08-10 David S. Miller <davem@davemloft.net>
21479
21480 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21481 enum.
21482 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21485
c55fbd1e
UD
214862011-08-09 Ulrich Drepper <drepper@gmail.com>
21487
21488 * Versions.def [libc]: Add GLIBC_2.15.
21489 * dirent/Makefile (routines): Add scandirat and scandirat64.
21490 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21491 GLIBC_2.15.
21492 * dirent/dirent.h: Declare scandirat and scandirat64.
21493 * dirent/scandirat.c: New file.
21494 * dirent/scandirat64.c: New file.
21495 * sysdeps/wordsize-64/scandirat.c: New file.
21496 * sysdeps/wordsize-64/scandirat64.c: New file.
21497 * dirent/opendir.c: Define opendirat.
21498 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21499 using scandirat.
21500 * dirent/scandir64.c: Adjust for scandir.c change.
21501 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21502 __scandirat64, and __scandir_cancel_handler.
21503 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21504 additional parameter and use openat instead of open (outside of ld.so).
21505 Add new __opendir as wrapper around __opendirat.
21506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21507 here without requiring old scandirat implementation.
21508
879165f2
UD
215092011-08-08 Ulrich Drepper <drepper@gmail.com>
21510
21511 * dirent/scandir.c (cancel_handler): Renamed to
21512 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21513 defined. Adjust users.
21514 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21516
cb7e923b
UD
215172011-08-04 Ulrich Drepper <drepper@gmail.com>
21518
16292edd
UD
21519 * string/test-string.h (IMPL): Use __STRING to expand name and then
21520 stringify it.
21521
cb7e923b
UD
21522 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21523 of cleanups.
21524
cff82933
LD
215252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21526
21527 * string/Makefile: Update.
21528 (strop-tests): Append strncat.
21529 * string/test-wcscmp.c: New file.
21530 New comprehensive test for wcscmp.
21531 * string/test-strcmp.c: Update.
21532 (WIDE): New define.
21533
9be9bfcc
AS
215342011-07-22 Andreas Schwab <schwab@redhat.com>
21535
21536 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21537 line.
21538
2e96f1c7
AS
215392011-07-26 Andreas Schwab <schwab@redhat.com>
21540
21541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21542 encoding to ACE if AI_IDN.
21543
85188888
JJ
215442011-08-01 Jakub Jelinek <jakub@redhat.com>
21545
21546 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21547 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21548
5fa16e9b
LD
215492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21550
21551 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21552 Fix overflow bug in strncat.
21553 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21554
21555 * string/test-strncat.c: Update.
21556 Add new tests for checking overflow bugs.
21557
215582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21559
21560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21561 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21562 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21563 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21565 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21566 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21567 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21568 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21569
21570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21571 (USE_AS_STRCAT): Define.
21572 Add strcat and strncat support.
21573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21574
8c1a459f
AS
215752011-07-25 Andreas Schwab <schwab@redhat.com>
21576
21577 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21578 __n bigger than INT_MAX+1.
21579 (__strncmp_g): Likewise.
21580
bba33c28
UD
215812011-07-23 Ulrich Drepper <drepper@gmail.com>
21582
798be72d
UD
21583 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21584 * libio/stido.h: Likewise.
21585
8accd4dc
UD
21586 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21587 (AF_NFC): Define.
21588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21589 (AF_NFC): Define.
21590
cbff0d96
UD
21591 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21594 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21596
9191c04a
UD
21597 [BZ #13021]
21598 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21599 installed.
21600
bba33c28
UD
21601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21602 typo.
21603 (_dl_x86_64_save_sse): Likewise.
21604
90f139dd
UD
216052011-07-22 Ulrich Drepper <drepper@gmail.com>
21606
1aae088a
UD
21607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21608 OSXSAVE.
21609 (_dl_x86_64_save_sse): Likewise.
21610
8e2045f5
UD
21611 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21612
90f139dd
UD
21613 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21614
1d002f25
AS
216152011-07-21 Andreas Schwab <schwab@redhat.com>
21616
21617 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21618 change.
21619 (_dl_x86_64_save_sse): Use correct AVX check.
21620
21137f89
UD
216212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21622
21623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21624 bug in strncpy/strncat.
21625 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21626
a65c0b7a
UD
216272011-07-21 Ulrich Drepper <drepper@gmail.com>
21628
21629 * string/tester.c (test_strcat): Add tests for different alignments
21630 of source and destination.
21631 (test_strncat): Likewise.
21632
6986b98a
UD
216332011-07-20 Ulrich Drepper <drepper@gmail.com>
21634
90bb2039
UD
21635 [BZ #12852]
21636 * posix/glob.c (glob): Check passed in values before using them in
21637 expressions to avoid some overflows.
21638 (glob_in_dir): Likewise.
21639
5644ef54
UD
21640 [BZ #13007]
21641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21642 check for AVX enablement so that we don't crash with old kernels and
21643 new hardware.
21644 * elf/tst-audit4.c: Add same checks here.
21645 * elf/tst-audit6.c: Likewise.
21646
21647 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21648
bfc9dc9b
AS
216492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21650
21651 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21652
702e64bb
UD
216532011-07-20 Ulrich Drepper <drepper@gmail.com>
21654
21655 * po/cs.po: Update from translation team.
21656 * po/bg.po: Likewise.
21657
295e904f
MP
216582011-07-12 Marek Polacek <mpolacek@redhat.com>
21659
21660 * misc/sys/cdefs.h: Add support for const attribute.
21661 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21662 to gnu_dev_{major,minor,makedev} functions.
21663
3ff94596
MP
216642011-07-20 Marek Polacek <mpolacek@redhat.com>
21665
21666 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21667
28b59fca
AS
216682011-07-20 Andreas Schwab <schwab@redhat.com>
21669
21670 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21671 strlen results.
21672
19df733e
AK
216732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21674
21675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21676 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21677 register in order to avoid conflicts with the soft frame pointer
21678 being held in r11 when necessary.
21679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21680 (INTERNAL_VSYSCALL_NCS): Likewise.
21681
c8835729
MP
216822011-07-14 Marek Polacek <mpolacek@redhat.com>
21683
21684 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21685 * elf/dl-fini.c (_dl_fini): Adjust caller.
21686 * elf/dl-close.c (_dl_close_worker): Likewise.
21687 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21688
b902330c
MP
216892011-07-15 Marek Polacek <mpolacek@redhat.com>
21690
8991e135
MP
21691 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21692 "aux_cache->nlibs < 0".
21693
b902330c
MP
21694 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21695 in the reload-count case.
21696
99710781
LD
216972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21698
21699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21700 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21701 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21702 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21703 * sysdeps/x86_64/multiarch/strcat.S: New file.
21704 * sysdeps/x86_64/multiarch/strncat.S: New file.
21705 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21706 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21707 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21708 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21710 (USE_AS_STRCAT): Define.
21711 Add strcat and strncat support.
21712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21714 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21715 * string/strncat.c: Update.
21716 (USE_AS_STRNCAT): Define.
21717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21718 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21719 and i7.
21720 * sysdeps/x86_64/multiarch/init-arch.h
21721 (bit_Prefer_PMINUB_for_stringop): New.
21722 (index_Prefer_PMINUB_for_stringop): Likewise.
21723 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21724 bit_Prefer_PMINUB_for_stringop.
21725
7dc6bd90
UD
217262011-07-19 Ulrich Drepper <drepper@gmail.com>
21727
21728 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21729 buffer64.
21730 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21731 of casting of buffer.
21732 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21733 buffer32 and buffer64.
21734 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21735 writes instead of casting of buffer.
21736 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21737 buffer32.
21738 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21739 casting of buffer.
21740
e0e72284
AS
217412011-07-19 Andreas Schwab <schwab@redhat.com>
21742
21743 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21744
feb1eb0b
UD
217452011-07-19 Ulrich Drepper <drepper@gmail.com>
21746
21747 * nscd/nscd.c (termination_handler): Don't do anything for a database
21748 if it has not yet been initialized.
21749
298711ff
UD
217502011-07-18 Ulrich Drepper <drepper@gmail.com>
21751
21752 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21753
217542011-07-15 Marek Polacek <mpolacek@redhat.com>
21755
21756 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21757
f9d68389
UD
217582011-07-18 Ulrich Drepper <drepper@gmail.com>
21759
21760 * po/nl.po: Update from translation team.
21761 * po/sv.po: Likewise.
21762
db290cf5
RM
217632011-07-16 Roland McGrath <roland@hack.frob.com>
21764
21765 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21766 now disallowed by GCC.
5c550700 21767
fd5e21c7
RM
21768 * configure.in (use-default-link): Default to yes if a test -shared
21769 link meets our qualifications.
21770 * configure: Regenerated.
21771
5c550700
RM
21772 * config.make.in (output-format): New variable.
21773 * configure.in: Check for ld --print-output-format support.
21774 * configure: Regenerated.
21775 * Makerules ($(common-objpfx)format.lds)
21776 [$(output-format) != unknown]: Just use $(output-format),
21777 instead of the linker-script munging.
21778
9fa2c032
RM
217792011-07-14 Roland McGrath <roland@hack.frob.com>
21780
a6928d51
RM
21781 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21782 of $(common-objpfx)shlib.lds.
21783 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21784
661607b3
RM
21785 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21786 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21787
9fa2c032
RM
21788 * configure.in (-z relro check): Adjust test code to add a large
21789 writable data section after it.
21790 * configure: Regenerated.
21791
defe9061
RM
217922011-07-11 Roland McGrath <roland@hack.frob.com>
21793
21794 * configure.in (-z relro check): Fix test code to make the variable
21795 truly const.
21796 * configure: Regenerated.
21797
319b9ad4
UD
217982011-07-11 Ulrich Drepper <drepper@gmail.com>
21799
21800 * nscd/nscd.h (struct traced_file): Define.
21801 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21802 elements. Add traced_files.
21803 (inotify_fd): Declare.
21804 (register_traced_file): Declare.
21805 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21806 (inotify_fd): Export.
21807 (resolv_conf_descr): Remove.
21808 (nscd_init): Move inotify descriptor creation to main.
21809 Don't register files for notification here.
21810 (register_traced_file): New function.
21811 (invalidate_cache): Don't use reset_res to determine whether to call
21812 res_init, go through the list of registered files.
21813 (main_loop_poll): The inotify descriptors are now stored in the
21814 structures for the traced files.
21815 (main_loop_epoll): Likewise
21816 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21817 to __nss_disable_nscd.
21818 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21819 for a database anymore. Check the records for all the registered
21820 files instead.
21821 * nss/Makefile (libnss_files-routines): Add files-init.
21822 (libnss_db-routines): Add db-init.
21823 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21824 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21825 * nss/nss_db/db-init.c: New file.
21826 * nss/nss_files/files-init.c: New file.
21827 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21828 __nss_lookup_function.
21829 (__nss_lookup_function): Call nss_load_library.
21830 (nss_load_all_libraries): New function.
21831 (__nss_disable_nscd): Take parameter with callback function for files
21832 to register. Set is_nscd. Load all the DSOs for the NSS modules
21833 used for the cached services.
21834 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21835 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21836 options for features to all the files in nscd.
21837
21838 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21839
23bee3e8
RM
218402011-07-10 Roland McGrath <roland@hack.frob.com>
21841
21842 * csu/elf-init.c (__libc_csu_init): Comment typo.
21843
46a5b7f0
UD
218442011-07-09 Ulrich Drepper <drepper@gmail.com>
21845
21846 * po/pl.po: Update from translation team.
21847 * po/ja.po: Likewise.
21848 * po/ru.po: Likewise.
21849 * po/ko.po: Likewise.
21850 * po/fr.po: Likewise.
21851
d30cf5bb
RM
218522011-07-09 Roland McGrath <roland@hack.frob.com>
21853
113ddea4
RM
21854 * configure.in (.ctors/.dtors header and trailer check):
21855 Use an empirical test on a built program.
21856 * configure: Regenerated.
21857
574920b4
RM
21858 * configure.in (-z relro check): Use an empirical test on a built DSO.
21859 Detect, but do not require, on ia64.
21860 * configure: Regenerated.
21861
d30cf5bb
RM
21862 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21863 Update tests that use readelf to use $READELF instead.
21864 * configure: Regenerated.
21865
8538fdb3
UD
218662011-07-08 Ulrich Drepper <drepper@gmail.com>
21867
21868 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21869 if the result is not used.
21870
04d08991
AJ
218712011-07-05 Andreas Jaeger <aj@suse.de>
21872
21873 [BZ#9696]
21874 * stdlib/tst-strtod.c: Add testcase.
21875
de283087
AD
218762011-07-07 Ulrich Drepper <drepper@gmail.com>
21877
4e5f31c8 21878 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21879 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21880 The latter has a higher limit. Take additional parameter to pass to
21881 the new function.
21882 (__pathconf): Pass file to __statfs_link_max.
21883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21884 __statfs_link_max.
21885 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21886 __statfs_link_max.
21887
de283087
AD
21888 [BZ #12868]
21889 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21890 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21891 Handle Lustre.
21892 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21893 (__statfs_filesize_max): Likewise.
21894 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21895
c75fa153
AJ
218962011-07-05 Andreas Jaeger <aj@suse.de>
21897
21898 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21899
1a544854
UD
219002011-07-06 Marek Polacek <mpolacek@redhat.com>
21901
21902 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21903 `status' variable.
21904 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21905 Likewise.
21906
6f0eec67
UD
219072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21908
21909 * Makefile (strop-tests): Add strncat.
21910 * string/test-strncat.c: New file.
21911
aae30307
UD
219122011-06-30 Marek Polacek <mpolacek@redhat.com>
21913
21914 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21915
c0cfb5eb
UD
219162011-06-21 Andreas Jaeger <aj@suse.de>
21917
21918 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21919 Copy rule from iconvdata/Makefile.
21920
01636b21
UD
219212011-07-06 Ulrich Drepper <drepper@gmail.com>
21922
21923 [BZ #12922]
21924 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21925 but no long options are defined, just return 'W'.
21926
9895c8bc
UD
219272011-06-22 Marek Polacek <mpolacek@redhat.com>
21928
21929 [BZ #9696]
21930 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21931
5d4cf042
UD
219322011-07-06 Ulrich Drepper <drepper@gmail.com>
21933
21934 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21935 netgroups to read.
960e5535 21936 (innetgr): Likewise.
5d4cf042 21937
751eb97e
RM
219382011-07-05 Roland McGrath <roland@hack.frob.com>
21939
21940 * config.make.in (install_root): Default to $(DESTDIR).
21941
f15f1e45
UD
219422011-07-05 Ulrich Drepper <drepper@gmail.com>
21943
21944 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21945
4e34ac6a
RM
219462011-07-02 Roland McGrath <roland@hack.frob.com>
21947
5e9b6af4
RM
21948 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21949
84f9ea0f
RM
21950 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21951 containing directory rather than embedding absolute directory names.
21952
ea5ee9f7
RM
21953 * scripts/check-local-headers.sh: Rewritten using awk.
21954 Match by word, not by line. Print error messages for matches.
21955 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21956
1b74661a
RM
21957 * Makerules [shlib-lds-flags empty]:
21958 ($(common-objpfx)libc_pic.opts): New target.
21959 ($(common-objpfx)libc_pic.os.clean): New target.
21960 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21961
21962 * config.make.in (OBJCOPY): New variable.
21963 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21964 * configure: Regenerated.
21965
f781ef40
RM
21966 * config.make.in (use-default-link): New variable.
21967 * configure.in (use_default_link): Grok --with-default-link to set it.
21968 * configure: Regenerated.
21969 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21970 (shlib-lds, shlib-lds-flags): Define to empty.
21971
2d4fa81e
RM
21972 * Makerules (shlib-lds): New variable.
21973 (shlib-lds-flags): New variable.
21974 (build-shlib, build-moduile, build-module-asneeded): Use it.
21975 ($(common-objpfx)libc.so): Use $(shlib-lds).
21976 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21977 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21978
31fffa6b
RM
21979 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21980 DT_FLAGS/DT_FLAGS_1 with zero flags.
21981
4e34ac6a
RM
21982 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21983 linker script munging.
21984
fcfc776b
UD
219852011-07-02 Ulrich Drepper <drepper@gmail.com>
21986
21987 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21988 as 128-bit value.
21989 * crypt/sha512.c (sha512_process_block): Perform total addition using
21990 128-bit if possible.
21991 (__sha512_finish_ctx): Likewise.
21992 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21993 as 64-bit value.
21994 * crypt/sha256.c (SWAP64): Define.
21995 (sha256_process_block): Perform total addition using 64-bit if
21996 possible.
21997 (__sha256_finish_ctx): Likewise.
21998
99231d9a
UD
219992011-07-01 Ulrich Drepper <drepper@gmail.com>
22000
22001 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22003 * nscd/hstcache.c (cache_addhst): Likewise.
22004 * nscd/grpcache.c (cache_addgr): Likewise.
22005 * nscd/aicache.c (addhstaiX): Likewise
22006 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22007
445b4a53
TK
220082011-07-01 Thorsten Kukuk <kukuk@suse.de>
22009
22010 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22011 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22012 * nscd/hstcache.c (cache_addhst): Likewise.
22013 * nscd/grpcache.c (cache_addgr): Likewise.
22014 * nscd/aicache.c (addhstaiX): Likewise
22015
6d4d8e8e
AS
220162011-07-01 Andreas Schwab <schwab@redhat.com>
22017
22018 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22019 domain only when needed.
22020
89f654c5
AS
220212011-06-30 Andreas Schwab <schwab@redhat.com>
22022
22023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22024 is always restored.
22025
cf3b23ff
UD
220262011-06-29 Ulrich Drepper <drepper@gmail.com>
22027
22028 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22029 are re-adding the entry.
22030 * nscd/servicescache.c (cache_addserv): Likewise.
22031
751626f9
AJ
220322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22033
22034 * sysdeps/generic/dl-irel.h: fix protection against multiple
22035 inclusions.
22036 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22037
9113ea1f
UD
220382011-06-28 Ulrich Drepper <drepper@gmail.com>
22039
5c0b8d90
UD
22040 [BZ #12935]
22041 * malloc/memusage.sh: Fix quoting in message.
22042 * debug/xtrace.sh: Likewise.
22043
9113ea1f
UD
22044 * configure.in: Remove support for --experimental-malloc option, make
22045 it the default.
22046 * config.make.in: Likewise.
22047 * malloc/Makefile: Likewise.
22048
a4172181
AS
220492011-06-27 Andreas Schwab <schwab@redhat.com>
22050
22051 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22052 two-byte characters.
22053
78a7eee7
RM
220542011-06-27 Roland McGrath <roland@hack.frob.com>
22055
62bede13
RM
22056 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22057 AC_CACHE_CHECK invocation.
22058 * configure: Regenerated.
22059
78a7eee7
RM
22060 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22061
5ce33a62
UD
220622011-06-27 Ulrich Drepper <drepper@gmail.com>
22063
034807a9
UD
22064 [BZ #12350]
22065 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22066 bit from old_res_options.
22067
4902da17
UD
22068 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22069
5ce33a62
UD
22070 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22071 value type for setfct.
22072
c2344f56
L
220732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22074
22075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22076 __gettimeofday instead of gettimeofday.
22077
68468076
UD
220782011-06-26 Ulrich Drepper <drepper@gmail.com>
22079
22080 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22081
acb0d739
L
220822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22083
22084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22085
22086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22087 info.
22088
8912479f
L
220892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22090
22091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22092 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22093 strcpy-sse2-unaligned strncpy-sse2-unaligned
22094 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22095 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22096 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22097 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22098 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22099 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22101 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22102 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22103 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22104 (STRCPY): Support SSE2 and SSSE3 versions.
22105
d5495a11
UD
221062011-06-24 Ulrich Drepper <drepper@gmail.com>
22107
22108 [BZ #12874]
22109 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22110 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22111 kernels which artificially limit size of requests.
22112
0b1cbaae
L
221132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22116 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22117 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22118 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22119 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22120 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22121 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22122 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22125 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22126 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22127 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22128 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22129 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22131 Enable unaligned load optimization for Intel Core i3, i5 and i7
22132 processors.
22133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22134 Define.
22135 (index_Fast_Unaligned_Load): Define.
22136 (HAS_FAST_UNALIGNED_LOAD): Define.
22137
07f494a0
MP
221382011-06-23 Marek Polacek <mpolacek@redhat.com>
22139
22140 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22141
fa3fc0fe
UD
221422011-06-22 Ulrich Drepper <drepper@gmail.com>
22143
22144 [BZ #12907]
22145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22146 until it is clear that the information is realy needed.
22147 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22148
e12df166
AS
221492011-06-22 Andreas Schwab <schwab@redhat.com>
22150
22151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22152
852eb34d
UD
221532011-06-22 Ulrich Drepper <drepper@gmail.com>
22154
84e2a551
UD
22155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22156 /sys/devices/system/cpu/online if it is usable.
22157
852eb34d
UD
22158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22159 reading the information from the /proc filesystem to once a second.
22160
6e502e19
UD
221612011-06-21 Andreas Jaeger <aj@suse.de>
22162
22163 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22164 NULL after inclusion of kernel headers.
22165
75d39ff2
UD
221662011-06-21 Ulrich Drepper <drepper@gmail.com>
22167
51f9aa6a
UD
22168 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22169 calls to internal_setent.
22170
c0244a9d
UD
22171 [BZ #12885]
22172 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22173 addresses using gethostbyname4_r ignore IPv4 addresses.
22174
c5e3c2ae
UD
22175 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22176 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22177
75d39ff2
UD
22178 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22179
42675c6f
DM
221802011-06-20 David S. Miller <davem@davemloft.net>
22181
22182 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22183 inclusions.
22184 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22185
22186 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22187 (elf_irel): Use it.
22188 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22189 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22190 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22191 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22192 * sysdeps/x86_64/dl-irel.h: Likewise.
22193
22194 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22195 * elf/dl-sym.c: Likewise.
22196
57912a71
UD
221972011-06-15 Ulrich Drepper <drepper@gmail.com>
22198
22199 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22200 need to dereference resplen2.
22201
ee22793d
AS
222022011-06-14 Andreas Schwab <schwab@redhat.com>
22203
22204 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22205
a9e836b0
UD
222062011-06-15 Ulrich Drepper <drepper@gmail.com>
22207
77fb9117
UD
22208 * Makeconfig: Define vardbdir and inst_vardbdir.
22209 * nss/Makefile: Add rules to install db-Makefile.
22210
40c1b22c
UD
22211 * nss/nss_db/db-XXX.c: Cleanup.
22212
9f2da732
UD
22213 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22214 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22215 GLIBC_PRIVATE.
22216 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22217 * nss/makedb.c: Implement -g option to specify that value strings
22218 are generated and should not be added to table iterated over for
22219 get*ent calls.
22220 * nss/nss_db/db-initgroups.c: New file.
22221
82e9a1f7
UD
22222 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22223 interface.
22224
c41af17e
UD
22225 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22226 (internal_getgrouplist): Adjust to name change.
22227 Update use_initgroups_entry if this is not the first call.
22228 * nss/databases.def: Add initgroups entry.
22229
a9e836b0
UD
22230 * nss/makedb.c (compute_tables): Check result of multiple hash table
22231 sizes to minimize maximum chain length.
22232
2666d441
UD
222332011-06-14 Ulrich Drepper <drepper@gmail.com>
22234
22235 * Versions.def: Add entry for libnss_db.
22236 * shlib-versions: Likewise.
22237 * nss/Makefile: Add rules to build libnss_db.
22238 * nss/Versions: Add libnss_db information. Organize libnss_files
22239 entries better.
22240 * nss/db-Makefile: Add gshadow support. Change rules for the new
22241 makedb progra. Some minor improvements to generate smaller files.
22242 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22243 here from...
22244 * nss/makedb.c: ...here.
22245 Improve database format to be smaller and require less memory at
22246 runtime.
22247 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22248 db anymore.
22249 * nss/nss_db/db-netgrp.c: Likewise.
22250 * nss/nss_db/db-open.c: Likewise.
22251 * nss/nss_files/flies-XXX.x: Adjust comments.
22252 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22253 * nss/nss_files/files-grp.c: Likewise.
22254 * nss/nss_files/files-hosts.c: Likewise.
22255 * nss/nss_files/files-network.c: Likewise.
22256 * nss/nss_files/files-proto.c: Likewise.
22257 * nss/nss_files/files-pwd.c: Likewise.
22258 * nss/nss_files/files-rpc.c: Likewise.
22259 * nss/nss_files/files-service.c: Likewise.
22260 * nss/nss_files/files-sgrp.c: Likewise.
22261 * nss/nss_files/files-spwd.c: Likewise.
22262 * nss/nss_db/db-alias.c: Removed.
22263 * nss/nss_db/dummy-db.h: Removed.
22264
9ee76b5a
UD
222652011-06-02 Ulrich Drepper <drepper@gmail.com>
22266
22267 * nss/makedb.c: Rewritten to not use database library.
22268 * nss/Makefile: Update to build new makedb program.
22269
c71ca1f8
AJ
222702011-06-14 Andreas Jaeger <aj@suse.de>
22271
22272 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22273 memset declaration.
22274
3154bfb8
UD
222752011-06-10 Andreas Schwab <schwab@redhat.com>
22276
22277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22278 tmpbuf.
22279
b350afab
RM
222802011-06-10 Roland McGrath <roland@hack.frob.com>
22281
decd4e50
RM
22282 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22283 * elf/Makefile ($(objpfx)ld.so): Likewise.
22284
5615eaf2
RM
22285 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22286 Don't list ld.so twice in dependencies.
22287
22288 * posix/bug-regex31.c: Include <stdlib.h>.
22289
22290 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22291
22292 * nis/nss_compat/compat-spwd.c
22293 (getspent_next_nss_netgr): Remove unused variable.
22294 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22295
22296 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22297 nonmembers" output to use the right array.
22298
22299 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22300
22301 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22302
22303 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22304 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22305 * catgets/gencat.c (read_input_file): Likewise.
22306 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22307
22308 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22309 variable definition inside #if's controlling its use.
22310
22311 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22312
22313 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22314
22315 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22316
22317 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22318 unreachable code.
22319
22320 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22321
b68e08db
RM
22322 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22323 * configure: Regenerated.
22324
b350afab
RM
22325 * Makerules: Revert last change.
22326 * elf/Makefile: Likewise.
22327
28368601
RM
223282011-06-09 Roland McGrath <roland@hack.frob.com>
22329
22330 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22331 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22332 (reloc-link): Likewise.
22333
11988f8f
UD
223342011-06-09 Ulrich Drepper <drepper@gmail.com>
22335
22336 * elf/Makefile: Add rules to build pldd.
22337 * elf/pldd.c: New file.
22338 * elf/pldd-xx.c: New file.
22339
e80fab37
UD
223402011-06-07 Ulrich Drepper <drepper@gmail.com>
22341
22342 * version.h: Update for 2.15 development version.
22343
9b849836
DM
223442011-06-07 David S. Miller <davem@davemloft.net>
22345
22346 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22347 ifuncs.
22348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22349 elf_machine_lazy_rel): Likewise.
22350 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22352 elf_machine_lazy_rel): Likewise.
22353 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22354 dl_hwcap via passed in argument.
22355 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22356 Likewise.
22357
5a31b283
AK
223582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22359
22360 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22361
069e52f8
RM
223622011-06-06 Roland McGrath <roland@hack.frob.com>
22363
22364 [BZ #12849]
22365 * manual/fdl-1.1.texi: New file, verbatim from:
22366 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22367 * manual/lgpl-2.1.texi: New file, verbatim from:
22368 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22369 * manual/Makefile (licenses): New variable, list those new file names.
22370 (texis): Use it.
22371 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22372
22373 * manual/fdl.texi: File removed.
22374 * manual/lesser.texi: File removed.
22375 * manual/libc.texinfo (Copying, Documentation License):
22376 Use new @include file names, put @appendix directive before @include.
22377
f16846a5
JJ
223782011-06-04 Jakub Jelinek <jakub@redhat.com>
22379
22380 [BZ #12841]
22381 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22382 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22383 (mq_open): Add __NTH.
22384
3d29045b
L
223852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22386
22387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22388 Assume Intel Core i3/i5/i7 processor if AVX is available.
22389
8c297311
UD
223902011-05-31 Ulrich Drepper <drepper@gmail.com>
22391
22392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22393 typo.
22394
c8fc0c91
UD
223952011-05-31 Andreas Schwab <schwab@redhat.com>
22396
22397 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22398 memory. Use alloca_account. Fix memory leak when retrying.
22399
5b27a807
UD
224002011-05-31 Ulrich Drepper <drepper@gmail.com>
22401
356f8bc6
UD
22402 * version.h (RELEASE): Bump for 2.14 release.
22403 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22404
5b27a807
UD
22405 * config.make.in (RANLIB): Remove entry.
22406
01f16ab0
UD
224072011-05-30 Ulrich Drepper <drepper@gmail.com>
22408
41fce8bd
UD
22409 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22410 (libc.pot): Work around missing support for .ksh extension in xgettext.
22411
4769ae77
UD
22412 [BZ #12684]
22413 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22414 if both request failed.
22415 (send_dg): In case of server errors clear resplen or *resplen2.
22416
6b1e7d19
UD
22417 [BZ #12454]
22418 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22419 when there are multiple maps.
22420 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22421 (_dl_fini): Remove test here.
22422
01f16ab0
UD
22423 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22424
b1ebd700
UD
224252011-05-29 Ulrich Drepper <drepper@gmail.com>
22426
7ae22829
UD
22427 [BZ #12350]
22428 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22429 bit from old_res_options.
22430 (gaih_inet): Likewise.
22431
553149f6 22432 [BZ #11099]
18a84741 22433 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22434 as signed.
22435
652ffab1
UD
22436 * resolv/res_init.c (res_setoptions): Make the code more compact.
22437
16985fd0
UD
22438 [BZ #11558]
22439 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22440 set RES_USEVC.
22441
0464f746
UD
22442 [BZ #11634]
22443 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22444
7d17596c
UD
22445 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22446
cf6bbbd7
UD
22447 [BZ #11781]
22448 * malloc/malloc.h: Declare malloc hook variables as volatile.
22449
13f1ab36
UD
22450 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22451 in last patch.
22452
b1ebd700
UD
22453 [BZ #11799]
22454 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22455 raise in the comment.
80e2212d
UD
22456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22458 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22459
ce67228d
UD
224602011-05-28 Ulrich Drepper <drepper@gmail.com>
22461
8887a920
UD
22462 [BZ #12811]
22463 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22464 grow the buffers more if it already has to be sufficient.
22465 (build_wcs_upper_buffer): Likewise.
22466 * posix/regexec.c (check_matching): Likewise.
22467 (clean_state_log_if_needed): Likewise.
22468 (extend_buffers): Don't enlarge buffers beyond size of the input
22469 buffer.
22470 Patches mostly by Emil Wojak <emil@wojak.eu>.
22471 * posix/bug-regex32.c: New file.
22472 * posix/Makefile (tests): Add bug-regex32.
22473
4f031072
UD
22474 * locale/findlocale.c (_nl_find_locale): Return right away if
22475 _nl_explode_name failed.
22476 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22477
d0478f0c
UD
22478 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22479
de81b246
UD
22480 * debug/xtrace.sh: Unify messages.
22481 * malloc/memusage.sh: Likewise.
22482
c738465a
UD
22483 [BZ #12813]
22484 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22485 time symbol from vDSO. Substitute with vsyscall if not available.
22486 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22487 __vdso_time.
22488
f1f929d7
UD
22489 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22490 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22491 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22492 Add sendmmsg and internal_sendmmsg.
22493 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22494 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22495 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22496
ce67228d
UD
22497 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22498 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22500
e57420c6
UD
225012011-05-27 Ulrich Drepper <drepper@gmail.com>
22502
a8509ca5
UD
22503 [BZ #12813]
22504 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22505 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22506 available.
22507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22508 __vdso_getcpu.
22509
e57420c6
UD
22510 [BZ #12814]
22511 * iconvdata/Makefile (tests): Add bug-iconv9.
22512 * iconvdata/bug-iconv9.c: New file.
22513
4d07db15
AS
225142011-05-27 Andreas Schwab <schwab@redhat.com>
22515
22516 [BZ #12814]
22517 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22518
ea486f69
JJ
225192011-05-25 Jakub Jelinek <jakub@redhat.com>
22520
22521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22522 (struct user_regs_struct): Change intcs field back to cs.
22523
6f038433
UD
225242011-05-25 Ulrich Drepper <drepper@gmail.com>
22525
22526 * po/ja.po: Update from translation team.
22527
67f86a25
UD
225282011-05-23 Ulrich Drepper <drepper@gmail.com>
22529
22530 [BZ #12795]
22531 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22532 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22533
def7fbd6
AS
225342011-05-20 Andreas Schwab <schwab@redhat.com>
22535
22536 * stdlib/longlong.h: Update from GCC.
22537
f50ef8f1
AS
225382011-05-23 Andreas Schwab <schwab@redhat.com>
22539
22540 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22541 parameter name.
22542 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22543 Add parameter name.
22544 (__sysconf): Pass it down.
22545
de7ce8f1
UD
225462011-05-22 Ulrich Drepper <drepper@gmail.com>
22547
f2962a71
UD
22548 [BZ #12671]
22549 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22550 some situations.
22551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22552 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22553 add in in __libc_use_alloca calls. Adjust callers.
22554 (glob): Use malloc in some situations.
22555
de7ce8f1
UD
22556 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22557 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22558 pltexit.
22559
aec84f53
UD
225602011-05-21 Ulrich Drepper <drepper@gmail.com>
22561
05bb4a68
UD
22562 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22563 and CLOCK_BOOTTIME_ALARM.
22564
7ea72f99
UD
22565 [BZ #12782]
22566 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22567 is returned.
22568
7e4afad5
UD
22569 * string/_strerror.c (__strerror_r): Print negative errors as signed
22570 numbers.
22571
8e211fec
UD
22572 [BZ #12777]
22573 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22574 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22575 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22576
f7d82dc9
UD
22577 * configure.in: Fix typo in redirection and correct removal of test
22578 files in two cases.
22579
cc9e536d
UD
22580 [BZ #12788]
22581 * locale/setlocale.c (new_composite_name): Fix test to check for
22582 identical name of all categories.
22583
aec84f53
UD
22584 [BZ #12792]
22585 * libio/filedoalloc.c (local_isatty): New function.
22586 (_IO_file_doallocate): Use local_isatty.
22587 * stdio-common/perror.c (perror): In case a new stream is used
22588 forward the stream error.
22589 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22590 error flag.
22591
78e64fdc
RT
225922011-05-20 Ulrich Drepper <drepper@gmail.com>
22593
34a9094f
UD
22594 [BZ #11869]
22595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22596 alloca.
22597 * include/alloca.h (extend_alloca_account): Define.
22598
78e64fdc
RT
22599 [BZ #11857]
22600 * posix/regex.h: Fix comments with documentation of user-accessible
22601 fields after compilation and describe correct free'ing of pattern
22602 after re_compile_pattern.
22603 Patch by Reuben Thomas <rrt@sc3d.org>.
22604
457bddfc
RA
226052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22606
22607 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22608 and -mno-altivec to prevent the compiler from using Altivec and/or
22609 VSX instructions when the corresponding registers are not available.
22610
a4527b51
AS
226112011-05-19 Andreas Schwab <schwab@redhat.com>
22612
22613 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22614
ed690b2f
UD
226152011-05-19 Ulrich Drepper <drepper@gmail.com>
22616
22617 * libio/freopen.c (freopen): Use __dup2, not dup2.
22618 * libio/freopen64.c (freopen64): Likewise.
22619
8db73634
L
226202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22621
22622 [BZ #12775]
22623 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22624 * math/Makefile (tests): Add test-powl.
22625 (CFLAGS-test-powl.c): Define.
22626 * math/test-powl.c: New file.
22627
0a197a9d
L
226282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22629
22630 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22631
ee30c380
UD
226322011-05-17 Ulrich Drepper <drepper@gmail.com>
22633
22634 [BZ #11837]
22635 * iconvdata/gb18030.c: Update to GB18020-2005.
22636
6ce75379
UD
226372011-05-16 Ulrich Drepper <drepper@gmail.com>
22638
a4b89fd8
AR
22639 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22640 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22641 Patch by Aharon Robbins <arnold@skeeve.com>.
22642
ea389b12
UD
22643 [BZ #11892]
22644 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22645 on the stack.
22646
68a3f91f
UD
22647 [BZ #11895]
22648 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22649 through underflows.
22650
15cc7dd1
UD
22651 [BZ #12766]
22652 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22653 point to strings before performing equality test for error_one_per_line
22654 mode.
22655
f3799213
UD
22656 [BZ #11697]
22657 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22658
d79a9c94
UD
22659 [BZ #11820]
22660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22661 (struct user_fpregs_struct): Avoid __uint*_t types.
22662
56e5eb46
UD
22663 [BZ #6420]
22664 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22665 symbol info. Use it instead of calling _dl_addr locally.
22666 (lock_and_info): New function.
22667 (tr_freehook): Call lock_and_info and pass symbol info as additional
22668 parameter to tr_where.
22669 (tr_mallochook): Likewise.
22670 (tr_reallochook): Likewise.
22671 (tr_memalignhook): Likewise.
22672
6ce75379
UD
22673 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22674 used and couldn't be at all thread-safe.
22675
f8a3b5bf
UD
226762011-05-15 Ulrich Drepper <drepper@gmail.com>
22677
94b7cc37
UD
22678 * libio/freopen.c (freopen): Don't close old file descriptor
22679 before the new one is opened. Instead dup the new file descriptor
22680 to the old one after the new stream is created.
22681 * libio/freopen64.c (freopen64): Likewise.
22682 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22683 * libio/fileops.c (_IO_new_file_close_it): Handle new
22684 _IO_FLAGS2_NOCLOSE flag.
22685 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22686 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22687 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22688 _IO_FLAGS2_NOCLOSE flag.
22689 * include/unistd.h: Add hidden_proto for dup3.
22690 Define __have_dup3.
22691 * io/dup3.c: Define hidden symbol.
22692 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22693
bd25564e
UD
22694 [BZ #7101]
22695 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22696 when an incomplete long option is used.
22697 * posix/tst-getopt_long1.c: New file.
22698 * posix/Makefile (tests): Add tst-getopt_long1.
22699
c84cfef4
UD
22700 [BZ #10138]
22701 * scripts/config.guess: Update from autoconf-2.68.
22702 * scripts/config.sub: Likewise.
22703
3b85df27
UD
22704 [BZ #10157]
22705 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22706 tests into ...
22707 (has_cpuclock): ...this. New function.
22708 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22709 macro here based on has_cpuclock code.
22710
15a856b1
UD
22711 [BZ #10149]
22712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22713 First byte (not low byte) is now always NUL.
22714 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22715
05f399e6
UD
22716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22717 Use non-cancelable interfaces.
22718
10a52685 22719 [BZ #9809]
94ecc67d
UD
22720 * locale/iso-639.def: Add entry for Sorani.
22721
f8a3b5bf
UD
22722 [BZ #11901]
22723 * include/stdlib.h: Move include protection to the right place.
22724 Define abort_msg_s. Declare __abort_msg with it.
22725 * stdlib/abort.c (__abort_msg): Adjust type.
22726 * assert/assert.c (__assert_fail_base): New function. Majority
22727 of code from __assert_fail. Allocate memory for __abort_msg with
22728 mmap.
22729 (__assert_fail): Now call __assert_fail_base.
22730 * assert/assert-perr.c: Remove bulk of implementation. Use
22731 __assert_fail_base.
22732 * include/assert.hL Declare __assert_fail_base.
22733 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22734 mmap.
22735 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22736
1af4e298
UD
227372011-05-14 Ulrich Drepper <drepper@gmail.com>
22738
f8a3b5bf 22739 [BZ #11952]
d26dfc60
MG
22740 [BZ #12453]
22741 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22742 until all modules are registered in the DTV.
22743 * elf/Makefile: Add rules to build and run tst-tls19.
22744 * elf/tst-tls19.c: New file.
22745 * elf/tst-tls19mod1.c: New file.
22746 * elf/tst-tls19mod2.c: New file.
22747 * elf/tst-tls19mod3.c: New file.
22748 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22749
2fc54d6f
UD
22750 [BZ #12083]
22751 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22752 correctly.
22753
98d76b46
UD
22754 [BZ #12601]
22755 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22756 two-byte sequence errors.
22757 * iconvdata/Makefile (tests): Add bug-iconv8.
22758 * iconvdata/bug-iconv8.c: New file.
22759
da3c19ef
UD
22760 [BZ #12626]
22761 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22762 buf2 definition.
22763
ca408c15
UD
22764 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22765
d6f67f7d
UD
22766 [BZ #12432]
22767 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22768 (dummy_getcfa): New function.
22769 (init): Get _Unwind_GetCFA address, use dummy if not found.
22770 (backtrace_helper): In recursion check, also check whether CFA changes.
22771 (__backtrace): Completely initialize arg.
22772
1af4e298 22773 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22774 storing incomplete byte sequence in state object. Avoid testing for
22775 guaranteed too small input if we know there is enough data available.
1af4e298 22776
da62f81b
AS
227772011-05-11 Andreas Schwab <schwab@redhat.com>
22778
22779 * Makeconfig (+link-pie): Indent.
22780 * Rules (binaries-pie): Define if $(have-fpie) and
22781 $(build-shared).
22782 (binaries-shared): Also filter out $(binaries-pie).
22783 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22784 * nscd/Makefile (others-pie): Add nscd.
22785 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22786 ($(objpfx)nscd): Remove command override.
22787 * login/Makefile (others-pie): Add pt_chown.
22788 ($(objpfx)pt_chown): Remove command override.
22789 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22790 remove command overrides.
22791
fcabc0f8
UD
227922011-05-13 Ulrich Drepper <drepper@gmail.com>
22793
20030ae6
UD
22794 * libio/tst_putwc.c: Fix error messages.
22795
fcabc0f8
UD
22796 [BZ #12724]
22797 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22798 currently writing and seek to current position when not.
22799 * libio/Makefile (tests): Add bug-fclose1.
22800 * libio/bug-fclose1.c: New file.
22801
320a5dc0
PB
228022011-05-12 Ulrich Drepper <drepper@gmail.com>
22803
22804 [BZ #12511]
22805 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22806 don't set DF_1_NODELETE here.
22807 (do_lookup_x): When entering new entry test for copy relocation
22808 and if necessary set DF_1_NODELETE flag.
22809 * elf/tst-unique4.cc: New file.
22810 * elf/tst-unique4.h: New file.
22811 * elf/tst-unique4lib.cc: New file.
22812 * elf/Makefile: Add rules to build and run tst-unique4.
22813 Patch by Piotr Bury <pbury@goahead.com>.
22814
22836f52
UD
228152011-05-11 Ulrich Drepper <drepper@gmail.com>
22816
f574184a
UD
22817 [BZ #12052]
22818 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22819
e1fb097f
UD
22820 [BZ #12625]
22821 * misc/mntent_r.c (addmntent): Flush the stream after the output
22822
22836f52
UD
22823 [BZ #12393]
22824 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22825 (is_trusted_path_normalize): Skip initial colon. Append slash
22826 to empty buffer. Duplicate is_trusted_path code but allow
22827 constructed patch to be prefix.
22828 (is_dst): Allow $ORIGIN followed by /.
22829 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22830 Correct testing of result of is_trusted_path_normalize
22831 (decompose_rpath): Fix warning.
22832
7b3b0b2a
UD
228332011-05-10 Ulrich Drepper <drepper@gmail.com>
22834
22835 [BZ #11257]
22836 * grp/initgroups.c (internal_getgrouplist): When we found the service
22837 list through the initgroups entry in nsswitch.conf do not always
22838 continue on a successful lookup. Don't always use the
eac80ce2 22839 __nss_group_database value if it is set.
7b3b0b2a
UD
22840 * nss/nsswitch.conf (initgroups): Change action for successful db
22841 lookup to continue for compatibility.
22842
2a81eaa5
UD
228432011-05-09 Ulrich Drepper <drepper@gmail.com>
22844
be97a69e
UD
22845 [BZ #11532]
22846 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22847 and CP774 modules.
22848 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22849 and CP774 modules.
22850 * iconvdata/tst-tables.sh: Likewise.
22851 * iconvdata/cp770.c: New file.
22852 * iconvdata/cp771.c: New file.
22853 * iconvdata/cp772.c: New file.
22854 * iconvdata/cp773.c: New file.
22855 * iconvdata/cp774.c: New file.
22856 * iconvdata/testdata/CP770: New file.
22857 * iconvdata/testdata/CP770..UTF8: New file.
22858 * iconvdata/testdata/CP771: New file.
22859 * iconvdata/testdata/CP771..UTF8: New file.
22860 * iconvdata/testdata/CP772: New file.
22861 * iconvdata/testdata/CP772..UTF8: New file.
22862 * iconvdata/testdata/CP773: New file.
22863 * iconvdata/testdata/CP773..UTF8: New file.
22864 * iconvdata/testdata/CP774: New file.
22865 * iconvdata/testdata/CP774..UTF8: New file.
22866
22867 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22868 END CHARMAP line.
22869 * iconvdata/gen-8bit-gap.sh: Likewise.
22870 * iconvdata/gen-8bit.sh: Likewise.
22871
c1e9e399
UD
22872 * locale/iso-639.def: Add ary entry.
22873
24c55fb3 22874 [BZ #11258]
96b4b1b0
UD
22875 * locale/C-translit.h.in: Add U20A1 transliteration.
22876
bdc2f971
KB
22877 [BZ #12178]
22878 * locale/iso-639.def: Add wae entry.
22879 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22880
2952b117
UD
22881 [BZ #12545]
22882 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22883 for n.
22884
2a81eaa5
UD
22885 [BZ #12711]
22886 * locale/C-translit.h.in: Add entry for U20B9.
22887 Patch by pravin.d.s@gmail.com.
22888
28377d1b
UD
228892011-05-08 Ulrich Drepper <drepper@gmail.com>
22890
7fb90fb8
UD
22891 [BZ #12713]
22892 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22893 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22894 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22895 in rtld. Use *stat64.
7fb90fb8 22896 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22897 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22898 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22899 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22900 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22901 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22902 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22903 __fstatat64 macros.
7fb90fb8
UD
22904 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22905 * dirent/rewinddir.c: Add libc_hidden_def.
22906 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22907 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22908
28377d1b
UD
22909 * include/dirent.h (__alloc_dir): Add flags parameter.
22910 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22911 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22912 __alloc_dir.
22913 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22914 from fdopendir if O_CLOEXEC is already set.
22915
66bdbaa4
AM
229162011-03-15 Alan Modra <amodra@gmail.com>
22917
22918 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22919 l_tls_firstbyte_offset non-zero. Save padding offset in
22920 l_tls_firstbyte_offset for later use.
22921 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22922 freeing static tls block.
22923
95721191
JN
229242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22925
22926 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22927 where #ifdef was intended. The intent is to prevent ARG_MAX from
22928 being defined by the kernel headers.
22929
f87dfb1f
UD
229302011-05-07 Ulrich Drepper <drepper@gmail.com>
22931
22932 [BZ #12734]
22933 * resolv/resolv.h: Define RES_NOTLDQUERY.
22934 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22935 no-tld-query and set RES_NOTLDQUERY.
22936 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22937 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22938 modern BIND to search name as TLD unless forbidden.
22939
47c3cd7a
UD
229402011-05-07 Petr Baudis <pasky@suse.cz>
22941 Ulrich Drepper <drepper@gmail.com>
22942
22943 [BZ #12393]
22944 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22945 (is_trusted_path): ...to here.
c1e9ea35 22946 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22947 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22948 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22949
8a35c912
PP
229502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22951
22952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22953 __BEGIN/__END_DECLS.
22954
acd41f47
UD
229552011-05-06 Ulrich Drepper <drepper@gmail.com>
22956
22957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22958 NSS_STATUS_NOTFOUND if no record was found.
22959
597df647
AS
229602011-05-05 Andreas Schwab <schwab@redhat.com>
22961
22962 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22963 (headers-not-in-tirpc): Remove rpc/netdb.h
22964 * resolv/netdb.h: Revert last change.
22965
b9af1301
PP
229662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22967
22968 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22969 circular dependency between libgcc.a and libc.a.
22970
4e34d5f5
AS
229712011-05-05 Andreas Schwab <schwab@redhat.com>
22972
22973 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22974 * nis/Makefile: Don't install rpcsvc/*.
22975 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22976 instead of <rpc/types.h>.
22977 (MAXHOSTNAMELEN): Define.
22978
00ee369c
AS
229792011-05-03 Andreas Schwab <schwab@redhat.com>
22980
22981 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22982
0b592a30
MB
229832011-04-28 Maciej Babinski <mbabinski@google.com>
22984
22985 [BZ #12714]
22986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22987 gethostbyname4_r when IPv6 results are possible.
22988
6e04cbbe
UD
229892011-05-02 Ulrich Drepper <drepper@gmail.com>
22990
22991 [BZ #12723]
22992 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22993 _PC_PIPE_BUF handling.
22994
e4ecafe0
BH
229952011-04-30 Bruno Haible <bruno@clisp.org>
22996
22997 [BZ #12717]
22998 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22999 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23000 to 'int'.
23001 * inet/getnameinfo.c (getnameinfo): Likewise.
23002
125ee683
UD
230032011-04-29 Ulrich Drepper <drepper@gmail.com>
23004
23005 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23006 to groups setting in database lookup.
23007 * nss/nsswitch.conf: Add initgroups entry.
23008
b722481a
EB
230092011-04-22 Ulrich Drepper <drepper@gmail.com>
23010
23011 [BZ #12685]
23012 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23013 mode string.
23014 Patch by Eric Blake <eblake@redhat.com>.
23015
4df46dbd
L
230162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23017
23018 * sunrpc/Makefile (need-export-routines): Add svc_run.
23019 (routines): Remove svc_run.
23020 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23021 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23022 * sunrpc/svc_run.c (svc_run): Likewise.
23023 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23024
e84142d2
UD
230252011-04-21 Ulrich Drepper <drepper@gmail.com>
23026
23027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23028 problem in reallocation in last patch.
23029
877175d8
UD
230302011-04-20 Ulrich Drepper <drepper@gmail.com>
23031
23032 * sunrpc/Makefile: Move inclusion of Rules.
23033
ab8eed78
UD
230342011-04-19 Ulrich Drepper <drepper@gmail.com>
23035
23036 * nss/nss_files/files-initgroups.c: New file.
23037 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23038 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23039 _nss_files_initgroups_dyn.
23040
e3d8f584
RS
230412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23042
23043 * elf/elf.h (R_ARM_IRELATIVE): Define.
23044
af190f45
UD
230452011-04-19 Ulrich Drepper <drepper@gmail.com>
23046
23047 * po/ru.po: Update from translation team.
23048
53cf59ef
UD
230492011-04-17 Ulrich Drepper <drepper@gmail.com>
23050
23051 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23052 dependencies.
23053
4c559bcd
MF
230542011-02-06 Mike Frysinger <vapier@gentoo.org>
23055
23056 [BZ #12653]
23057 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23058 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23062
4420675c
AS
230632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23064
23065 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23066 differing bytes.
23067 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23070
75ea32ab
UD
230712011-04-17 Ulrich Drepper <drepper@gmail.com>
23072
23073 [BZ #12420]
23074 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23075 storing it.
23076 * stdlib/bug-getcontext.c: New file.
23077 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23078
27390476
AK
230792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23080
23081 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23082 instructions into .machine "z9-109".
23083 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23084 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23085
10442705
AK
230862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23087
23088 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23089 between environment variables and auxiliary vector.
23090
7b57bfe5
UD
230912011-04-16 Ulrich Drepper <drepper@gmail.com>
23092
23093 * Makefile: Add rules to build linkobj/libc.so.
23094 * include/libc-symbols.h: Define libc_hidden_nolink.
23095 * include/rpc/auth.h: Mark functions which are to be hidden.
23096 * include/rpc/auth_des.h: Likewise.
23097 * include/rpc/auth_unix.h: Likewise.
23098 * include/rpc/clnt.h: Likewise.
23099 * include/rpc/des_crypt.h: Likewise.
23100 * include/rpc/key_prot.h: Likewise.
23101 * include/rpc/pmap_clnt.h: Likewise.
23102 * include/rpc/pmap_prot.h: Likewise.
23103 * include/rpc/pmap_rmt.h: Likewise.
23104 * include/rpc/rpc_msg.h: Likewise.
23105 * include/rpc/svc.h: Likewise.
23106 * include/rpc/svc_auth.h: Likewise.
23107 * include/rpc/xdr.h: Likewise.
23108 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23109 * nss/Makefile: Likewise.
23110 * sunrpc/Makefile: Don't install headers. Build library with normal
23111 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23112 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23113 for the compat linking library. Remove use of INTDEF/INTUSE.
23114 * sunrpc/auth_none.c: Likewise.
23115 * sunrpc/auth_unix.c: Likewise.
23116 * sunrpc/authdes_prot.c: Likewise.
23117 * sunrpc/authuxprot.c: Likewise.
23118 * sunrpc/clnt_gen.c: Likewise.
23119 * sunrpc/clnt_perr.c: Likewise.
23120 * sunrpc/clnt_raw.c: Likewise.
23121 * sunrpc/clnt_simp.c: Likewise.
23122 * sunrpc/clnt_tcp.c: Likewise.
23123 * sunrpc/clnt_udp.c: Likewise.
23124 * sunrpc/clnt_unix.c: Likewise.
23125 * sunrpc/des_crypt.c: Likewise.
23126 * sunrpc/des_soft.c: Likewise.
23127 * sunrpc/get_myaddr.c: Likewise.
23128 * sunrpc/key_call.c: Likewise.
23129 * sunrpc/key_prot.c: Likewise.
23130 * sunrpc/netname.c: Likewise.
23131 * sunrpc/pm_getmaps.c: Likewise.
23132 * sunrpc/pm_getport.c: Likewise.
23133 * sunrpc/pmap_clnt.c: Likewise.
23134 * sunrpc/pmap_prot.c: Likewise.
23135 * sunrpc/pmap_prot2.c: Likewise.
23136 * sunrpc/pmap_rmt.c: Likewise.
23137 * sunrpc/publickey.c: Likewise.
23138 * sunrpc/rpc_cmsg.c: Likewise.
23139 * sunrpc/rpc_common.c: Likewise.
23140 * sunrpc/rpc_dtable.c: Likewise.
23141 * sunrpc/rpc_prot.c: Likewise.
23142 * sunrpc/rpc_thread.c: Likewise.
23143 * sunrpc/rtime.c: Likewise.
23144 * sunrpc/svc.c: Likewise.
23145 * sunrpc/svc_auth.c: Likewise.
23146 * sunrpc/svc_authux.c: Likewise.
23147 * sunrpc/svc_raw.c: Likewise.
23148 * sunrpc/svc_run.c: Likewise.
23149 * sunrpc/svc_simple.c: Likewise.
23150 * sunrpc/svc_tcp.c: Likewise.
23151 * sunrpc/svc_udp.c: Likewise.
23152 * sunrpc/svc_unix.c: Likewise.
23153 * sunrpc/svcauth_des.c: Likewise.
23154 * sunrpc/xcrypt.c: Likewise.
23155 * sunrpc/xdr.c: Likewise.
23156 * sunrpc/xdr_array.c: Likewise.
23157 * sunrpc/xdr_float.c: Likewise.
23158 * sunrpc/xdr_intXX_t.c: Likewise.
23159 * sunrpc/xdr_mem.c: Likewise.
23160 * sunrpc/xdr_rec.c: Likewise.
23161 * sunrpc/xdr_ref.c: Likewise.
23162 * sunrpc/xdr_sizeof.c: Likewise.
23163 * sunrpc/xdr_stdio.c: Likewise.
23164
e6c61494
UD
231652011-04-10 Ulrich Drepper <drepper@gmail.com>
23166
23167 [BZ #12650]
23168 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23169 * sysdeps/ia64/dl-tls.h: Likewise.
23170 * sysdeps/powerpc/dl-tls.h: Likewise.
23171 * sysdeps/s390/dl-tls.h: Likewise.
23172 * sysdeps/sh/dl-tls.h: Likewise.
23173 * sysdeps/sparc/dl-tls.h: Likewise.
23174 * sysdeps/x86_64/dl-tls.h: Likewise.
23175 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23176
34fe483e
AS
231772011-03-14 Andreas Schwab <schwab@redhat.com>
23178
23179 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23180 rpath element also skip the following colon.
23181 (expand_dynamic_string_token): Add is_path parameter and pass
23182 down to DL_DST_REQUIRED and _dl_dst_substitute.
23183 (decompose_rpath): Call expand_dynamic_string_token with
23184 non-zero is_path. Ignore empty rpaths.
23185 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23186 with zero is_path.
23187
f12a32e6
AS
231882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23189
23190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23191 Make cancelable.
23192
38a7d692
UD
231932011-04-09 Ulrich Drepper <drepper@gmail.com>
23194
23195 [BZ #12655]
23196 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23197 Patch by Filipe David Manana <fdmanana@apache.org>.
23198
e451d22b
AS
231992011-04-07 Andreas Schwab <schwab@redhat.com>
23200
23201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23202 Maintain aligned stack.
23203 (CHECK_RSP): Remove unused macro.
23204
dedc7c7b
UD
232052011-04-03 Ulrich Drepper <drepper@gmail.com>
23206
23207 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23209
94521213
UD
232102011-04-02 Ulrich Drepper <drepper@gmail.com>
23211
23212 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23213
8cb700c0 23214 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23215
0354e355
L
232162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23217
23218 [BZ #12518]
23219 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23220 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23221 * sysdeps/x86_64/memmove.c: New file.
23222 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23223 (memcpy): Renamed to ...
23224 (__new_memcpy): This.
23225 (memcpy): Provide GLIBC_2_14 memcpy.
23226 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23227 (memcpy): Provide GLIBC_2_2_5 memcpy.
23228
8593482f
UD
232292011-04-01 Ulrich Drepper <drepper@gmail.com>
23230
23231 [BZ #12631]
23232 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23233
81a5726b
AS
232342011-03-30 Andreas Schwab <schwab@redhat.com>
23235
23236 * misc/syncfs.c: New file.
23237 * misc/Makefile (routines): Add syncfs.
23238 * posix/unistd.h: Declare syncfs.
23239 * sysdeps/unix/syscalls.list: Add syncfs.
23240
00e5419f
AS
232412011-04-01 Andreas Schwab <schwab@redhat.com>
23242
23243 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23244 open_by_handle_at.
23245 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23246 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23250 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23252
748876bf
UD
232532011-04-01 Ulrich Drepper <drepper@gmail.com>
23254
658e451d
UD
23255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23257 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23259 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23262
748876bf
UD
23263 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23264 sync_file_range.c with -fexceptions.
23265 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23266 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23267 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23268 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23269 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23270 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23272 sync_file_range as cancellation point
23273 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23274 now a wrapper around __call_sync_file_range with cancellation handling.
23275 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23276 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23277 function name to __call_sync_file_range.
23278 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23279 Add call_sync_file_range.
748876bf 23280
6e63d5e1
AS
232812011-04-01 Andreas Schwab <schwab@redhat.com>
23282
23283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23284 bits/timex.h.
6e63d5e1 23285
46998f74
UD
232862011-04-01 Ulrich Drepper <drepper@gmail.com>
23287
4c1423ed
UD
23288 * iconv/iconv.h: Fix typo in comment.
23289 * io/fcntl.h: Likewise.
23290 * libio/stdio.h: Likewise.
23291 * posix/spawn.h: Likewise.
23292 * posix/unistd.h: Likewise.
23293 * stdlib/stdlib.h: Likewise.
23294 * time/time.h: Likewise.
23295 * wcsmbs/wchar.h: Likewise.
23296
158648c0
UD
23297 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23298 open_by_handle): Add.
23299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23300 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23301 Augment a few comments.
23302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23307 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23308 open_by_handle.
23309
46998f74
UD
23310 * io/fcntl.h (AT_EMPTY_PATH): Define.
23311
83fe108b
UD
233122011-03-30 Ulrich Drepper <drepper@gmail.com>
23313
23314 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23315 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23316 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23317 to...
23318 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23319 * Versions.def: Add GLIBC_2.14.
23320 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23321 Export.
83fe108b 23322
bb242059
UD
233232011-03-22 Ulrich Drepper <drepper@gmail.com>
23324
23325 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23326 round counter.
23327 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23328
c97a1282
L
233292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23330
23331 [BZ #12597]
23332 * string/test-strncmp.c (do_page_test): New function.
23333 (check2): Likewise.
23334 (test_main): Call check2.
23335 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23336
2a115601
UD
233372011-03-20 Ulrich Drepper <drepper@gmail.com>
23338
23339 [BZ #12587]
23340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23341 Handle cache information in CPU leaf 4.
23342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23343
8126d904
UD
233442011-03-18 Ulrich Drepper <drepper@gmail.com>
23345
042c49c6 23346 [BZ #12583]
8126d904
UD
23347 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23348 character representation.
23349 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23350
ccfe366e
RA
233512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23352
23353 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23354 END(__isnan) to END(__isnanf) to match function entry point/label
23355 EALIGN(__isnanf,...).
23356
c6e13027
JJ
233572011-03-10 Jakub Jelinek <jakub@redhat.com>
23358
23359 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23360
33f85a3f
UD
233612011-03-10 Ulrich Drepper <drepper@gmail.com>
23362
028478fa
UD
23363 [BZ #12510]
23364 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23365 copy from the symbol referenced in the relocation to initialize the
23366 used variable.
23367 Patch by Piotr Bury <pbury@goahead.com>.
23368 * elf/Makefile: Add rules to build and tst-unique3.
23369 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23370 * elf/tst-unique3.cc: New file.
23371 * elf/tst-unique3.h: New file.
23372 * elf/tst-unique3lib.cc: New file.
23373 * elf/tst-unique3lib2.cc: New file.
23374
33f85a3f
UD
23375 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23376
03592fc7
MF
233772011-03-10 Mike Frysinger <vapier@gentoo.org>
23378
23379 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23380 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23381 to _start.
03592fc7 23382
6a5ee102
UD
233832011-03-06 Ulrich Drepper <drepper@gmail.com>
23384
23385 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23386 to-be-loaded object along a path to loader is ld.so.
23387
7e4ba49c
HJ
233882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23389 Ulrich Drepper <drepper@gmail.com>
23390
23391 * sysdeps/x86_64/memset.S: After aligning destination, code
23392 branches to different locations depending on the value of
23393 misalignment, when multiarch is enabled. Fix this.
23394
233952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23396
23397 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23398 Set _x86_64_preferred_memory_instruction for AMD processsors.
23399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23400 Set bit_Prefer_SSE_for_memop for AMD processors.
23401
13a804de
UD
234022011-03-04 Ulrich Drepper <drepper@gmail.com>
23403
23404 * libio/fmemopen.c (fmemopen): Optimize a bit.
23405
9d25c392
AS
234062011-03-03 Andreas Schwab <schwab@redhat.com>
23407
23408 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23409
a5543c6a
RM
234102011-03-03 Roland McGrath <roland@redhat.com>
23411
23412 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23413
012d35f7
DM
234142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23415
7e4ba49c 23416 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23417 __bzero_ultra1 instead of __memset_ultra1.
23418
4bff6e01
AS
234192011-02-23 Andreas Schwab <schwab@redhat.com>
23420 Ulrich Drepper <drepper@gmail.com>
23421
23422 [BZ #12509]
23423 * include/link.h (struct link_map): Add l_orig_initfini.
23424 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23425 returning unsuccessfully.
23426 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23427 close of a file loaded at startup, restore the original l_initfini
23428 list.
23429 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23430 list, store the pointer.
23431 * elf/Makefile ($(objpfx)noload-mem): New rule.
23432 (noload-ENV): Define.
23433 (tests): Add $(objpfx)noload-mem.
23434 * elf/noload.c: Include <memcheck.h>.
23435 (main): Call mtrace. Close all opened handles.
23436
f2092faf
AS
234372011-02-17 Andreas Schwab <schwab@redhat.com>
23438
23439 [BZ #12454]
23440 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23441 dependencies are missing.
23442
6c8a2e88
ST
234432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23444
f2092faf 23445 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23446 Hurd needs munmap.
23447 * sysdeps/mach/hurd/ifreq.h: New file.
23448
84a42118
PB
234492011-01-27 Petr Baudis <pasky@suse.cz>
23450 Ulrich Drepper <drepper@gmail.com>
23451
071f805e 23452 [BZ 12445]#
84a42118
PB
23453 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23454 to extend_alloca().
23455 * stdio-common/bug23.c: New file.
23456 * stdio-common/Makefile (tests): Add bug23.
23457
e23fe25b
AS
234582010-09-28 Andreas Schwab <schwab@redhat.com>
23459 Ulrich Drepper <drepper@gmail.com>
23460
23461 [BZ #12489]
23462 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23463 before performing relro protection. At old place add assertion
23464 to make sure nothing changed.
23465
d3f02e10
NS
234662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23467 Glauber de Oliveira Costa <glommer@gmail.com>
23468
23469 * elf/elf.h: Add new ARM TLS relocs.
23470
d55fd7a5
RA
234712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23472
23473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23474 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23475 cast from r3.
23476 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23477 'tests' variable.
23478 * sysdeps/wordsize-64/tst-writev.c: New file.
23479
2206397e
RA
234802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23481
23482 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23483 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23484 insns in _dl_start to prevent a TOC reference before relocs are
23485 resolved.
23486
e9433893
UD
234872011-02-15 Ulrich Drepper <drepper@gmail.com>
23488
23489 [BZ #12469]
23490 * Makeconfig: Remove RANLIB definition.
23491 * Makerules: Don't use RANLIB.
23492 * aclocal.m4: Remove ranlib test.
23493 * configure.in: No need to check for ranlib.
23494 * elf/rtld-Rules: Don't use RANLIB.
23495
f75286c6
ST
234962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23497
8e31c82d
ST
23498 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23499 protection macro.
23500 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23501 inclusion protection macro.
23502
f75286c6
ST
23503 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23504 SIGRTMIN and SIGRTMAX and print information in that case only when
23505 SIGRTMIN is defined.
23506
c1d0e639
JJ
235072011-02-11 Jakub Jelinek <jakub@redhat.com>
23508
23509 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23510 arginfo fn returning -1.
23511
23512 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23513 and thousands string is zero terminated.
23514
edf9294e
AS
235152011-02-03 Andreas Schwab <schwab@redhat.com>
23516
23517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23518 sysdeps/unix/sysv/linux/bits/socket.h.
23519
2b7e92df
ST
235202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23521
edf9294e
AS
23522 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23523 (__CPU_COUNT): Remove old macros.
23524 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23525 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23526 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23527 (__sched_cpualloc, __sched_cpufree): Add declarations.
23528
a4c7ea7b
UD
235292011-02-05 Ulrich Drepper <drepper@gmail.com>
23530
23531 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23532 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23533 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23534 (readdhstai): Return value of addhstaiX call.
23535 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23536 (addgrbyX): Return value returned by cache_addgr.
23537 (readdgrbyname): Return value returned by addgrbyX.
23538 (readdgrbygid): Likewise.
23539 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23540 (addpwbyX): Return value returned by cache_addpw.
23541 (readdpwbyname): Return value returned by addhstbyX.
23542 (readdpwbyuid): Likewise.
23543 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23544 (addservbyX): Return value returned by cache_addserv.
23545 (readdservbyname): Return value returned by addservbyX:
23546 (readdservbyport): Likewise.
23547 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23548 (addhstbyX): Return value returned by cache_addhst.
23549 (readdhstbyname): Return value returned by addhstbyX.
23550 (readdhstbyaddr): Likewise.
23551 (readdhstbynamev6): Likewise.
23552 (readdhstbyaddrv6): Likewise.
23553 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23554 (readdinitgroups): Return value returned by addinitgroupsX.
23555 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23556 (prune_cache): Keep track of timeout value of re-added entries.
23557 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23558 * nscd/nscd.h: Adjust prototypes of readd* functions.
23559
a0bf67cc
RM
235602011-02-04 Roland McGrath <roland@redhat.com>
23561
23562 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23563 (nis_stats): Likewise.
23564 * nis/nis_modify.c (nis_modify): Likewise.
23565 * nis/nis_remove.c (nis_remove): Likewise.
23566 * nis/nis_add.c (nis_add): Likewise.
23567
23568 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23569
23570 * posix/fnmatch_loop.c: Add some consts.
23571
23572 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23573
435b95eb
L
235742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23575
23576 [BZ #12460]
23577 * config.make.in (config-cflags-novzeroupper): Define.
23578 * configure.in: Substitute libc_cv_cc_novzeroupper.
23579 * elf/Makefile (AVX-CFLAGS): Define.
23580 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23581 (CFLAGS-tst-auditmod4a.c): Likewise.
23582 (CFLAGS-tst-auditmod4b.c): Likewise.
23583 (CFLAGS-tst-auditmod6b.c): Likewise.
23584 (CFLAGS-tst-auditmod6c.c): Likewise.
23585 (CFLAGS-tst-auditmod7b.c): Likewise.
23586 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23587
8517b15e
UD
235882011-02-02 Ulrich Drepper <drepper@gmail.com>
23589
23590 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23591 function to the callback.
23592 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23593
10a656fe
AS
235942011-02-02 Andreas Schwab <schwab@redhat.com>
23595
23596 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23597 of errno.
23598
968dad0a
UD
235992011-01-19 Ulrich Drepper <drepper@gmail.com>
23600
9f94d2ea 23601 [BZ #11724]
968dad0a
UD
23602 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23603 of constructors.
23604 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23605 of destructors.
23606 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23607
23608 [BZ #11724]
23609 * elf/Makefile: Add rules to build and run new test.
23610 * elf/tst-initorder.c: New file.
23611 * elf/tst-initorder.exp: New file.
23612 * elf/tst-initordera1.c: New file.
23613 * elf/tst-initordera2.c: New file.
23614 * elf/tst-initordera3.c: New file.
23615 * elf/tst-initordera4.c: New file.
23616 * elf/tst-initorderb1.c: New file.
23617 * elf/tst-initorderb2.c: New file.
23618 * elf/tst-order-a1.c: New file.
23619 * elf/tst-order-a2.c: New file.
23620 * elf/tst-order-a3.c: New file.
23621 * elf/tst-order-a4.c: New file.
23622 * elf/tst-order-b1.c: New file.
23623 * elf/tst-order-b2.c: New file.
23624 * elf/tst-order-main.c: New file.
23625 New test case by George Gensure <werkt0@gmail.com>.
23626
86e92359
UD
236272010-10-01 Andreas Schwab <schwab@redhat.com>
23628
23629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23630 decoding ACE if AI_CANONIDN.
23631
5d5732b0
UD
236322011-01-18 Ulrich Drepper <drepper@gmail.com>
23633
23634 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23635
a77e8cbc
UD
236362011-01-17 Ulrich Drepper <drepper@gmail.com>
23637
6392473f
UD
23638 * version.h (RELEASE): Bump for 2.13 release.
23639 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23640
620a0529
UD
23641 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23642
18ba70a5
UD
23643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23644 MADV_NOHUGEPAGE.
32465c3e
UD
23645 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23646 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23647 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23651
c0dafcf1
UD
23652 * posix/getconf.c: Update copyright year.
23653 * catgets/gencat.c: Likewise.
23654 * csu/version.c: Likewise.
23655 * debug/catchsegv.sh: Likewise.
23656 * debug/xtrace.sh: Likewise.
23657 * elf/ldconfig.c: Likewise.
23658 * elf/ldd.bash.in: Likewise.
23659 * elf/sprof.c (print_version): Likewise.
23660 * iconv/iconv_prog.c: Likewise.
23661 * iconv/iconvconfig.c: Likewise.
23662 * locale/programs/locale.c: Likewise.
23663 * locale/programs/localedef.c: Likewise.
23664 * malloc/memusage.sh: Likewise.
23665 * malloc/mtrace.pl: Likewise.
23666 * nscd/nscd.c (print_version): Likewise.
23667 * nss/getent.c: Likewise.
23668
a77e8cbc
UD
23669 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23670 PF_CAIF, and PF_ALG.
23671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23672
77e8bddf
AS
236732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23674
1f20b93a
AS
23675 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23676 (modules-names): Use them.
23677 (ifunc-test-modules, ifunc-pie-tests): Define.
23678 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23679 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23680 (test-extras): Likewise.
23681 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23682 $(compile-command.c).
23683 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23684 (all-built-dso): Define.
23685 (check-textrel.out, check-execstack.out): Depend on it.
23686
77e8bddf
AS
23687 * configure.in: Don't override --enable-multi-arch.
23688
bc425b33
UD
236892011-01-15 Ulrich Drepper <drepper@gmail.com>
23690
23691 [BZ #6812]
23692 * nscd/hstcache.c (tryagain): Define.
23693 (cache_addhst): Return tryagain not notfound for temporary errors.
23694 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23695 failed.
23696
794c3ad3
UD
236972011-01-14 Ulrich Drepper <drepper@gmail.com>
23698
70181fdd
UD
23699 [BZ #10563]
23700 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23701 to make the syscall.
23702 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23703
794c3ad3
UD
23704 [BZ #12378]
23705 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23706 and fall back to matching as normal character if the string ends before
23707 the matching ']' is found. This is what POSIX requires.
23708 * posix/testfnm.c: Adjust test result.
23709 * posix/globtest.sh: Adjust test result. Add new test.
23710 * posix/tst-fnmatch.input: Likewise.
23711 * posix/tst-fnmatch2.c: Add new test.
23712
68dc9497
AS
237132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23714
23715 * elf/Makefile (check-execstack): Revert last change. Depend on
23716 check-execstack.h.
23717 (check-execstack.h): New target.
23718 (generated): Add check-execstack.h.
23719 * elf/check-execstack.c: Include "check-execstack.h".
23720 (main): Revert last change.
23721 (handle_file): Return zero if GNU_STACK is absent and
23722 DEFAULT_STACK_PERMS doesn't include PF_X.
23723
451f001b
UD
237242011-01-13 Ulrich Drepper <drepper@gmail.com>
23725
cfa28e56
UD
23726 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23727 in child fails because the descriptor is already closed.
8cf8ce17
UD
23728 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23729 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23730 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23731
1086d70d
UD
23732 [BZ #12397]
23733 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23734 syscall.
23735
451f001b
UD
23736 [BZ #10484]
23737 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23738 temporary buffer used to handle multi lookups locally.
a85b5cb4 23739 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23740
08769175
UD
237412011-01-12 Ulrich Drepper <drepper@gmail.com>
23742
23743 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23744 loader is ld.so.
23745
5e49c52e
UD
237462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23747
23748 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23749 alignment for SSE2.
23750
60522a5f
UD
237512011-01-12 Ulrich Drepper <drepper@gmail.com>
23752
23753 [BZ #12394]
23754 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23755 characters. When rounding increased number of integer digits recompute
23756 number of groups.
23757 * stdio-common/tst-grouping.c: New file.
23758 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23759
f257bbd7
UD
237602011-01-09 Ulrich Drepper <drepper@gmail.com>
23761
23762 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23763 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23764
23765 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23766 void.
23767 * bits/select.h: Likewise.
23768
fa9c15cb
UD
237692011-01-08 Ulrich Drepper <drepper@gmail.com>
23770
23771 * po/ja.po: Update from translation team.
23772
16c2895f
DM
237732011-01-04 David S. Miller <davem@sunset.davemloft.net>
23774
23775 [BZ #11155]
23776 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23777 implementation just like for lxstat, fxstatat, et al.
23778
2543fef2
JM
237792010-12-27 Jim Meyering <meyering@redhat.com>
23780
23781 [BZ #12348]
23782 * posix/regexec.c (build_trtable): Return failure indication upon
23783 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23784
98727dbe
UD
237852010-12-25 Ulrich Drepper <drepper@gmail.com>
23786
5bd6dc5c
UD
23787 [BZ #12201]
23788 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23789 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23790 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23792
97983464
UD
23793 [BZ #12207]
23794 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23795
98727dbe
UD
23796 [BZ #12204]
23797 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23798 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23799
4a531bb0
L
238002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23801
23802 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23803 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23804 script has SORT_BY_INIT_PRIORITY.
23805 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23806 NO_CTORS_DTORS_SECTIONS is defined.
23807 * elf/soinit.c: Likewise.
23808 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23809 NO_CTORS_DTORS_SECTIONS is defined.
23810 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23811 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23812 * sysdeps/sh/init-first.c: Likewise.
23813 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23814
07eb4b71
UD
238152010-12-24 Ulrich Drepper <drepper@gmail.com>
23816
23817 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23818 always use the slow path.
23819
30950a5f
RA
238202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23821
23822 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23823 similar rule which adds the sysdep directories to the header search in
23824 order to pick up the correct platform stackinfo.h.
23825 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23826 perform test if it is, otherwise return successfully without testing.
23827 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23828 DEFAULT_STACK_PERMS define in stackinfo.h.
23829 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23830 defined in stackinfo.h.
23831 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23832 DEFAULT_STACK_PERMS defined in stackinfo.h.
23833 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23834 * sysdeps/ia64/stackinfo.h: Likewise.
23835 * sysdeps/s390/stackinfo.h: Likewise.
23836 * sysdeps/sh/stackinfo.h: Likewise.
23837 * sysdeps/sparc/stackinfo.h: Likewise.
23838 * sysdeps/x86_64/stackinfo.h: Likewise.
23839 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23840 PF_X for powerpc64. Retain PF_X for powerpc32.
23841
db753e2c
UD
238422010-12-19 Ulrich Drepper <drepper@gmail.com>
23843
14b697f7
UD
23844 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23845 accurately.
db753e2c
UD
23846 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23847 GETDENTS_64BIT_ALIGNED.
23848
28300719
UD
238492010-12-14 Ulrich Drepper <dreper@gmail.com>
23850
14b697f7 23851 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23852
4f197237
AS
238532010-12-10 Andreas Schwab <schwab@redhat.com>
23854
dbb0472f
AS
23855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23856 _GNU_SOURCE.
23857
4f197237
AS
23858 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23859 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23860 Remove __restrict.
23861 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23862 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23863
fb88ac72
UD
238642010-12-09 Ulrich Drepper <drepper@gmail.com>
23865
23866 [BZ #11655]
23867 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23868 are initialized.
23869
42acbb92
JJ
238702010-12-09 Jakub Jelinek <jakub@redhat.com>
23871
23872 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23873
c038d98d
UD
238742010-12-03 Ulrich Drepper <drepper@gmail.com>
23875
23876 * po/it.po: Update from translation team.
23877
3a4a2499
L
238782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23879
23880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23881 unused codes.
23882
1e24cf6e
UD
238832010-11-30 Ulrich Drepper <drepper@gmail.com>
23884
23885 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23886
a7690819
AS
238872010-11-24 Andreas Schwab <schwab@redhat.com>
23888
23889 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23890 specially.
23891 (gaih_getanswer_slice): Likewise.
23892
3bf8d1b1
JJ
238932010-10-20 Jakub Jelinek <jakub@redhat.com>
23894
23895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23896
6db52fbb
PB
238972010-05-31 Petr Baudis <pasky@suse.cz>
23898
23899 [BZ #11149]
23900 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23901 silently even in the chroot mode.
23902
eaca7569
UD
239032010-11-22 Ulrich Drepper <drepper@gmail.com>
23904
23905 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23906 last patch a bit. Pretty printing
23907
3056dcdb
UD
239082010-05-31 Petr Baudis <pasky@suse.cz>
23909
23910 [BZ #10085]
23911 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23912 initialization of skip_initgroups_dyn.
23913
cf7c9078
UD
239142010-11-19 Ulrich Drepper <drepper@gmail.com>
23915
23916 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23917 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23918
a1fb5e3e
UD
239192010-11-16 Ulrich Drepper <drepper@gmail.com>
23920
23921 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23922
3540d66b
AS
239232010-11-11 Andreas Schwab <schwab@redhat.com>
23924
23925 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23926 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23927 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23928 ($(objpfx)tst-fnmatch-mem): New rule.
23929 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23930 * posix/tst-fnmatch.c (main): Call mtrace.
23931
13b69574
L
239322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23933
23934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23935 Support Intel processor model 6 and model 0x2c.
23936
da93d214
LM
239372010-11-10 Luis Machado <luisgpm@br.ibm.com>
23938
23939 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23940 signed comparison.
23941
8ca52c6e
L
239422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23943
23944 [BZ #12205]
23945 * string/test-strncasecmp.c (check_result): New function.
23946 (do_one_test): Use it.
23947 (check1): New function.
23948 (test_main): Use it.
23949 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23950 Support strcasecmp and strncasecmp.
23951
69da074d
UD
239522010-11-08 Ulrich Drepper <drepper@gmail.com>
23953
23954 [BZ #12194]
23955 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23956 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23957
ff02d528
L
239582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23959
23960 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23961 IFUNC support.
23962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23963 memset-x86-64.
23964 * sysdeps/x86_64/multiarch/bzero.S: New file.
23965 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23966 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23967 * sysdeps/x86_64/multiarch/memset.S: New file.
23968 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23970 Set bit_Prefer_SSE_for_memop for Intel processors.
23971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23972 Define.
23973 (index_Prefer_SSE_for_memop): Define.
23974 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23975
344d0b54
LM
239762010-11-04 Luis Machado <luisgpm@br.ibm.com>
23977
23978 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23979 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23980
c0dde15b
UD
239812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23982
23983 [BZ #12191]
23984 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23985 (__x86_64_raw_data_cache_size_half): Likewise.
23986 (__x86_64_raw_shared_cache_size): Likewise.
23987 (__x86_64_raw_shared_cache_size_half): Likewise.
23988
23989 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23990 (__x86_64_raw_data_cache_size_half): Likewise.
23991 (__x86_64_raw_shared_cache_size): Likewise.
23992 (__x86_64_raw_shared_cache_size_half): Likewise.
23993 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23994 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23995 and __x86_64_raw_shared_cache_size_half. Round
23996 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23997 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23998 to multiple of 256 bytes.
23999
0e516e0e
MS
240002010-11-03 Ulrich Drepper <drepper@gmail.com>
24001
24002 [BZ #12167]
24003 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24004 of inacessible symlinks. Verify result of symlink before returning it.
24005 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24006 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24007
0e012e87
ER
240082010-10-28 Erich Ritz <erichritz@gmail.com>
24009
24010 * math/math.h (isinf): Fix typo in comment.
24011
de0ff7bc
UD
240122010-11-01 Ulrich Drepper <drepper@gmail.com>
24013
24014 * po/da.po: Update from translation team.
24015
fa41c84d
UD
240162010-10-26 Ulrich Drepper <drepper@gmail.com>
24017
24018 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24019 is added to the list.
24020
f0967738
AK
240212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24022 Ulrich Drepper <drepper@gmail.com>
24023
24024 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24025 the global list here. Move code to...
24026 (_dl_add_to_namespace_list): ...here. New function.
24027 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24028 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24029 * elf/dl-load.c (lose): Don't remove the element from the list.
24030 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24031 (_dl_map_object): Likewise.
24032
240332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24034
24035 [BZ #12159]
24036 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24037 into all bytes of SSE register.
24038 Patch by Richard Li <richardpku@gmail.com>.
24039
f0967738 240402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24041
24042 [BZ #12140]
24043 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24044 perturbing.
24045
d0b9e94f
MB
240462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24047
24048 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24049 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24050 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24051 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24053 submachine.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24055
8e9f92e9
AS
240562010-10-22 Andreas Schwab <schwab@redhat.com>
24057
24058 * include/dlfcn.h (__RTLD_SECURE): Define.
24059 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24060 mode & __RTLD_SECURE instead.
24061 (open_path): Rename preloaded parameter to secure.
24062 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24063 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24064 * elf/dl-deps.c (openaux): Likewise.
24065 * elf/rtld.c (struct map_args): Remove is_preloaded.
24066 (map_doit): Don't use it.
24067 (dl_main): Likewise.
24068 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24069 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24070
bc96fbda
AS
240712010-09-09 Andreas Schwab <schwab@redhat.com>
24072
24073 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24074 (sysd-rules-targets): Remove duplicates.
24075 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24076 rtld-%.$o dependency.
24077
22cd1c9b
AS
240782010-10-18 Andreas Schwab <schwab@redhat.com>
24079
24080 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24081 _dl_map_object do it.
24082
18edac48
UD
240832010-10-19 Ulrich Drepper <drepper@gmail.com>
24084
24085 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24086 fast fma builtins, define the macros in the C99 standard.
24087 (FP_FAST_FMAF): Likewise.
24088 (FP_FAST_FMAL): Likewise.
24089 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24090
24091 * bits/mathdef.h: Update copyright year.
24092 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24093
d2050124
MM
240942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24095
24096 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24097 builtins, define the macros in the C99 standard.
24098 (FP_FAST_FMAF): Likewise.
24099 (FP_FAST_FMAL): Likewise.
24100 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24101 multiply/add.
24102 (FP_FAST_FMAF): Likewise.
24103
475facd1
JJ
241042010-10-15 Jakub Jelinek <jakub@redhat.com>
24105
24106 [BZ #3268]
24107 * math/libm-test.inc (fma_test): Some new testcases.
24108 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24109 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24110 y and infinite z. Do multiplication by C already in long double.
24111 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24113 y and infinite z. Do bitwise or of inexact bit into u.d.
24114 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24115 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24116 * sysdeps/i386/fpu/s_fma.S: Removed.
24117 * sysdeps/i386/fpu/s_fmal.S: Removed.
24118
7c08a05c
JJ
241192010-10-16 Jakub Jelinek <jakub@redhat.com>
24120
24121 [BZ #3268]
24122 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24124 computation is not scheduled after fetestexcept. Fix value
24125 of minimum denormal long double.
24126
f3f7372d
JJ
241272010-10-14 Jakub Jelinek <jakub@redhat.com>
24128
24129 [BZ #3268]
24130 * math/libm-test.inc (fma_test): Add some more tests.
24131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24132 correctly.
24133
14d43591
AS
241342010-10-15 Andreas Schwab <schwab@redhat.com>
24135
24136 * scripts/data/localplt-s390-linux-gnu.data: New file.
24137 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24138
5e908464
JJ
241392010-10-13 Jakub Jelinek <jakub@redhat.com>
24140
24141 [BZ #3268]
24142 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24143 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24144 instead of dbl-64.
24145 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24146 inlines.
24147 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24149 if one of x and y is very large and the other is subnormal.
24150 * sysdeps/s390/fpu/s_fmaf.c: New file.
24151 * sysdeps/s390/fpu/s_fma.c: New file.
24152 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24153 * sysdeps/powerpc/fpu/s_fma.S: New file.
24154 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24155 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24156 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24157
241582010-10-12 Jakub Jelinek <jakub@redhat.com>
24159
24160 [BZ #3268]
24161 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24162 fma tests.
24163 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24164 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24165 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24166 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24167 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24168 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24170
b833d51f
UD
241712010-10-12 Ulrich Drepper <drepper@redhat.com>
24172
24173 [BZ #12078]
24174 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24175 * posix/bug-regex31.input: Add test case.
24176
1751705d
UD
241772010-10-11 Ulrich Drepper <drepper@gmail.com>
24178
e9b9cbf5
UD
24179 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24180 * posix/bug-regex31.input: New file.
24181
24182 [BZ #12078]
24183 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24184 (parse_sub_exp): Fix last change, use postorder.
24185
ef06edbe
UD
24186 * posix/bug-regex31.c: New file.
24187 * posix/Makefile: Add rules to build and run bug-regex31.
24188
a129c80d
UD
24189 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24190
24191 [BZ #12078]
24192 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24193
b76b818e
UD
24194 [BZ #12108]
24195 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24196 to have entries in sys_siglist.
24197
1751705d
UD
24198 [BZ #12093]
24199 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24200 be NULL.
24201
9ff8d36f
JJ
242022010-10-07 Jakub Jelinek <jakub@redhat.com>
24203
24204 [BZ #3268]
24205 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24206 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24207 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24208 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24209 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24210 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24211 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24212 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24213 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24214 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24215 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24216 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24217 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24218 * math/ftestexcept.c (fetestexcept): Likewise.
24219 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24220 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24221 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24222 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24223 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24224 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24225 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24226
af325969
UD
242272010-10-11 Ulrich Drepper <drepper@gmail.com>
24228
c579b202 24229 [BZ #12107]
af325969
UD
24230 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24231 newline.
24232
67a67b95
UD
242332010-10-06 Ulrich Drepper <drepper@gmail.com>
24234
24235 * string/bug-strstr1.c: New file.
24236 * string/Makefile: Add rules to build and run bug-strstr1.
24237
5fb308bc
EB
242382010-10-05 Eric Blake <eblake@redhat.com>
24239
24240 [BZ #12092]
24241 * string/str-two-way.h (two_way_long_needle): Always clear memory
24242 when skipping input due to the shift table.
24243
45db99c7
UD
242442010-10-03 Ulrich Drepper <drepper@gmail.com>
24245
3b111893
UD
24246 [BZ #12005]
24247 * malloc/mcheck.c: Handle large requests.
24248
45db99c7
UD
24249 [BZ #12077]
24250 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24251 for strncmp and strncasecmp.
24252 * string/stratcliff.c: Add tests for strcmp and strncmp.
24253 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24254
cf7a1eb8
NI
242552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24256
24257 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24258 __set_fpscr.
24259
6484ba5e
AJ
242602010-09-30 Andreas Jaeger <aj@suse.de>
24261
24262 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24263 (CGROUP_SUPER_MAGIC): Define.
24264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24265 Handle btrfs and cgroup file systems.
24266 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24267 Likewise.
24268
91c42559
LM
242692010-09-27 Luis Machado <luisgpm@br.ibm.com>
24270
24271 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24272 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24273
87a97932
AK
242742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24275
24276 [BZ #12067]
24277 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24278 trying to locate the ELF header.
24279
c21cc9bc
AS
242802010-09-27 Andreas Schwab <schwab@redhat.com>
24281
24282 [BZ #11611]
24283 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24284 Mask out sign-bit copies when constructing f_fsid.
24285
315970f6
PB
242862010-09-24 Petr Baudis <pasky@suse.cz>
24287
24288 * debug/stack_chk_fail_local.c: Add missing licence exception.
24289 * debug/warning-nop.c: Likewise.
24290
1ac7a2c7
JM
242912010-09-15 Joseph Myers <joseph@codesourcery.com>
24292
24293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24294 implementing getdents64 using getdents syscall, set d_type if
24295 __ASSUME_GETDENTS32_D_TYPE.
24296
56801c50
AS
242972010-09-16 Andreas Schwab <schwab@redhat.com>
24298
24299 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24300 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24301
dda51327
UD
243022010-09-21 Ulrich Drepper <drepper@redhat.com>
24303
24304 [BZ #12037]
24305 * posix/unistd.h: Undo change of feature selection for ftruncate from
24306 2010-01-11.
24307
8ffcee4a
UD
243082010-09-20 Ulrich Drepper <drepper@redhat.com>
24309
a545ecd9 24310 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24311 detection.
24312
e24f0a8b
AS
243132010-09-20 Andreas Schwab <schwab@redhat.com>
24314
24315 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24316 fanotify_mark.
24317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24318
7291c56f
AS
243192010-09-14 Andreas Schwab <schwab@redhat.com>
24320
24321 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24322 variables after CHECK_SP call.
24323 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24324
bc5fb037
AS
243252010-09-13 Andreas Schwab <schwab@redhat.com>
24326 Ulrich Drepper <drepper@redhat.com>
24327
24328 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24329 re-relocationg ld.so.
24330 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24331 _dl_init_paths call.
24332 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24333 here anymore.
24334
e66e7419
UD
243352010-09-14 Ulrich Drepper <drepper@redhat.com>
24336
24337 * resolv/res_init.c (__res_vinit): Count the default server we added.
24338
c044aa75
CLT
243392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24340 Ulrich Drepper <drepper@redhat.com>
24341
24342 [BZ #11968]
24343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24344 (____longjmp_chk): Use %ebx for saving value across system call.
24345 Add unwind info.
24346
32cf4069
AS
243472010-09-06 Andreas Schwab <schwab@redhat.com>
24348
24349 * manual/Makefile: Don't mix pattern rules with normal rules.
24350
817328ee
AS
243512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24352
24353 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24354 operation.
24355 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24356 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24357 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24358 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24360 Likewise.
24361
29fddf61
UD
243622010-09-04 Ulrich Drepper <drepper@redhat.com>
24363
24364 [BZ #11979]
24365 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24366 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24367
0959ffc9
UD
243682010-09-02 Ulrich Drepper <drepper@redhat.com>
24369
24370 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24371 * sysdeps/x86_64/addmul_1.S: Likewise.
24372 * sysdeps/x86_64/lshift.S: Likewise.
24373 * sysdeps/x86_64/mul_1.S: Likewise.
24374 * sysdeps/x86_64/rshift.S: Likewise.
24375 * sysdeps/x86_64/sub_n.S: Likewise.
24376 * sysdeps/x86_64/submul_1.S: Likewise.
24377
ece29840
ST
243782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24379
0959ffc9
UD
24380 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24381 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24382 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24383 * bits/sched.h [__need_schedparam]
ece29840 24384 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24385 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24386 (__defined_schedparam): Define to 1.
ece29840
ST
24387 (__sched_param): New structure, identical to sched_param.
24388 (__need_schedparam): Undefine.
24389
e53a31fe
MF
243902010-08-31 Mike Frysinger <vapier@gentoo.org>
24391
fdc0c10d
MF
24392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24393 (epoll_create1): Declare.
24394
e53a31fe
MF
24395 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24396
a726d796
AS
243972010-08-31 Andreas Schwab <schwab@redhat.com>
24398
24399 [BZ #7066]
24400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24401 shifting retval into place.
24402
2f3e3dc7
UD
244032010-09-01 Ulrich Drepper <drepper@redhat.com>
24404
f2933da9
UD
24405 * nis/rpcsvc/nis.h: Update copyright notice.
24406 * nis/rpcsvc/nis.x: Likewise.
24407 * nis/rpcsvc/nis_callback.h: Likewise.
24408 * nis/rpcsvc/nis_callback.x: Likewise.
24409 * nis/rpcsvc/nis_object.x: Likewise.
24410 * nis/rpcsvc/nis_tags.h: Likewise.
24411 * nis/rpcsvc/yp.h: Likewise.
24412 * nis/rpcsvc/yp.x: Likewise.
24413 * nis/rpcsvc/ypupd.h: Likewise.
24414 * nis/yp_xdr.c: Likewise.
24415 * nis/ypupdate_xdr.c: Likewise.
24416
2f3e3dc7
UD
24417 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24418 mainly the body of pmap_getport. Add parameters to specify timeouts.
24419 (pmap_getport): Use __libc_rpc_getport.
24420 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24421 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24422 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24423
f3dcc2f9
AS
244242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24425
24426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24427 fanotify_mark.
24428
6d34eb5b
RM
244292010-08-27 Roland McGrath <roland@redhat.com>
24430
24431 * sysdeps/i386/i686/multiarch/Makefile
24432 (CFLAGS-varshift.c): New variable.
24433
9ea3de11
UD
244342010-08-27 Ulrich Drepper <drepper@redhat.com>
24435
c96d23fc
UD
24436 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24437 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24438
9ea3de11
UD
24439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24440
24441 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24442
623aac7f
L
244432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24444
24445 * sysdeps/x86_64/strlen.S: Unroll the loop.
24446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24447 strlen-sse2 strlen-sse2-bsf.
24448 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24449 __strlen_no_bsf if bit_Slow_BSF is set.
24450 (__strlen_sse42): Removed.
24451 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24452 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24453
8b2b7715
RM
244542010-08-25 Roland McGrath <roland@redhat.com>
24455
24456 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24457 * sysdeps/x86_64/multiarch/varshift.c: New file.
24458 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24459 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24460 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24461 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24462
e73015f2
L
244632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24464
24465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24466 strlen-sse2 strlen-sse2-bsf.
24467 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24468 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24469 (__strlen_sse2): Removed.
24470 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24473 bit_Slow_BSF for Atom.
24474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24475 (index_Slow_BSF): Define.
24476 (HAS_SLOW_BSF): Define.
24477
df24a73e
UD
244782010-08-25 Ulrich Drepper <drepper@redhat.com>
24479
24480 [BZ #10851]
24481 * resolv/res_init.c (__res_vinit): When no server address at all
24482 is given default to loopback.
24483
f2ac4868
RM
244842010-08-24 Roland McGrath <roland@redhat.com>
24485
09055553
RM
24486 * configure.in: Remove config-name.h generation.
24487 * configure: Regenerated.
24488 * config-name.in: File removed.
24489 * scripts/config-uname.sh: New file.
24490 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24491 ($(objdir)config-name.h): New target.
24492
f2ac4868
RM
24493 * sunrpc/rpc_parse.h: Avoid nested comment.
24494
73f27d5e
RH
244952010-08-24 Richard Henderson <rth@redhat.com>
24496 Ulrich Drepper <drepper@redhat.com>
24497 H.J. Lu <hongjiu.lu@intel.com>
24498
24499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24501 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24502 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24503 _mm_alignr_epi8 with _mm_loadu_si128.
24504 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24505 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24506 (__m128i_shift_right): Removed.
24507 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24508 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24509 * sysdeps/x86_64/multiarch/varshift.h: New file.
24510 * sysdeps/x86_64/multiarch/varshift.S: New file.
24511
84b9230c
MF
245122010-08-21 Mike Frysinger <vapier@gentoo.org>
24513
24514 * configure.in: Move assembler checks to before sysdep dir checking.
24515
9bbd0ddc
PB
245162010-08-20 Petr Baudis <pasky@suse.cz>
24517
24518 * LICENSES: Sync the sunrpc license.
24519
9da4bb31
UD
245202010-08-19 Ulrich Drepper <drepper@redhat.com>
24521
a7ab6ec8
UD
24522 * sunrpc/auth_des.c: Update copyright notice once again.
24523 * sunrpc/auth_none.c: Likewise.
24524 * sunrpc/auth_unix.c: Likewise.
24525 * sunrpc/authdes_prot.c: Likewise.
24526 * sunrpc/authuxprot.c: Likewise.
24527 * sunrpc/bindrsvprt.c: Likewise.
24528 * sunrpc/clnt_gen.c: Likewise.
24529 * sunrpc/clnt_perr.c: Likewise.
24530 * sunrpc/clnt_raw.c: Likewise.
24531 * sunrpc/clnt_simp.c: Likewise.
24532 * sunrpc/clnt_tcp.c: Likewise.
24533 * sunrpc/clnt_udp.c: Likewise.
24534 * sunrpc/clnt_unix.c: Likewise.
24535 * sunrpc/des_crypt.c: Likewise.
24536 * sunrpc/des_soft.c: Likewise.
24537 * sunrpc/get_myaddr.c: Likewise.
24538 * sunrpc/getrpcport.c: Likewise.
24539 * sunrpc/key_call.c: Likewise.
24540 * sunrpc/key_prot.c: Likewise.
24541 * sunrpc/openchild.c: Likewise.
24542 * sunrpc/pm_getmaps.c: Likewise.
24543 * sunrpc/pm_getport.c: Likewise.
24544 * sunrpc/pmap_clnt.c: Likewise.
24545 * sunrpc/pmap_prot.c: Likewise.
24546 * sunrpc/pmap_prot2.c: Likewise.
24547 * sunrpc/pmap_rmt.c: Likewise.
24548 * sunrpc/rpc/auth.h: Likewise.
24549 * sunrpc/rpc/auth_unix.h: Likewise.
24550 * sunrpc/rpc/clnt.h: Likewise.
24551 * sunrpc/rpc/des_crypt.h: Likewise.
24552 * sunrpc/rpc/key_prot.h: Likewise.
24553 * sunrpc/rpc/netdb.h: Likewise.
24554 * sunrpc/rpc/pmap_clnt.h: Likewise.
24555 * sunrpc/rpc/pmap_prot.h: Likewise.
24556 * sunrpc/rpc/pmap_rmt.h: Likewise.
24557 * sunrpc/rpc/rpc.h: Likewise.
24558 * sunrpc/rpc/rpc_des.h: Likewise.
24559 * sunrpc/rpc/rpc_msg.h: Likewise.
24560 * sunrpc/rpc/svc.h: Likewise.
24561 * sunrpc/rpc/svc_auth.h: Likewise.
24562 * sunrpc/rpc/types.h: Likewise.
24563 * sunrpc/rpc/xdr.h: Likewise.
24564 * sunrpc/rpc_clntout.c: Likewise.
24565 * sunrpc/rpc_cmsg.c: Likewise.
24566 * sunrpc/rpc_common.c: Likewise.
24567 * sunrpc/rpc_cout.c: Likewise.
24568 * sunrpc/rpc_dtable.c: Likewise.
24569 * sunrpc/rpc_hout.c: Likewise.
24570 * sunrpc/rpc_main.c: Likewise.
24571 * sunrpc/rpc_parse.c: Likewise.
24572 * sunrpc/rpc_parse.h: Likewise.
24573 * sunrpc/rpc_prot.c: Likewise.
24574 * sunrpc/rpc_sample.c: Likewise.
24575 * sunrpc/rpc_scan.c: Likewise.
24576 * sunrpc/rpc_scan.h: Likewise.
24577 * sunrpc/rpc_svcout.c: Likewise.
24578 * sunrpc/rpc_tblout.c: Likewise.
24579 * sunrpc/rpc_util.c: Likewise.
24580 * sunrpc/rpc_util.h: Likewise.
24581 * sunrpc/rpcinfo.c: Likewise.
24582 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24583 * sunrpc/rpcsvc/key_prot.x: Likewise.
24584 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24585 * sunrpc/rpcsvc/mount.x: Likewise.
24586 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24587 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24588 * sunrpc/rpcsvc/rex.x: Likewise.
24589 * sunrpc/rpcsvc/rstat.x: Likewise.
24590 * sunrpc/rpcsvc/rusers.x: Likewise.
24591 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24592 * sunrpc/rpcsvc/spray.x: Likewise.
24593 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24594 * sunrpc/rtime.c: Likewise.
24595 * sunrpc/svc.c: Likewise.
24596 * sunrpc/svc_auth.c: Likewise.
24597 * sunrpc/svc_authux.c: Likewise.
24598 * sunrpc/svc_raw.c: Likewise.
24599 * sunrpc/svc_run.c: Likewise.
24600 * sunrpc/svc_simple.c: Likewise.
24601 * sunrpc/svc_tcp.c: Likewise.
24602 * sunrpc/svc_udp.c: Likewise.
24603 * sunrpc/svc_unix.c: Likewise.
24604 * sunrpc/svcauth_des.c: Likewise.
24605 * sunrpc/xcrypt.c: Likewise.
24606 * sunrpc/xdr.c: Likewise.
24607 * sunrpc/xdr_array.c: Likewise.
24608 * sunrpc/xdr_float.c: Likewise.
24609 * sunrpc/xdr_mem.c: Likewise.
24610 * sunrpc/xdr_rec.c: Likewise.
24611 * sunrpc/xdr_ref.c: Likewise.
24612 * sunrpc/xdr_sizeof.c: Likewise.
24613 * sunrpc/xdr_stdio.c: Likewise.
24614
9da4bb31
UD
24615 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24616 handling.
24617
bdaa77bc
AS
246182010-08-19 Andreas Schwab <schwab@redhat.com>
24619
24620 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24621
fe2f79db
LM
246222010-08-19 Luis Machado <luisgpm@br.ibm.com>
24623
24624 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24625 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24626 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24627 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24628 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24629 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24630 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24631 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24632 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24633 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24634 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24635 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24636 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24637 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24638
b9b42ee0
AB
246392010-07-26 Anton Blanchard <anton@samba.org>
24640
24641 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24642 * malloc/arena.c (heap_trim): Likewise.
24643
1c06ba31
UD
246442010-08-16 Ulrich Drepper <drepper@redhat.com>
24645
24646 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24647 here. Not...
24648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24649 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24650
f8392f40
L
246512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24652
24653 * sysdeps/i386/elf/Makefile: New file.
24654
3162f12e
AS
246552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24656
24657 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24658 from fanotify_init.
24659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24661
28c90b2c
UD
246622010-08-15 Ulrich Drepper <drepper@redhat.com>
24663
24664 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24665 of strncasecmp_l.
1feccb6c 24666 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24667
ca6bb004
UD
246682010-08-14 Ulrich Drepper <drepper@redhat.com>
24669
e9f82e0d
UD
24670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24671 strncase_l-nonascii.
24672 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24673 Add strncase_l-ssse3.
24674 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24675 * sysdeps/x86_64/strcmp.S: Likewise.
24676 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24677 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24678 * sysdeps/x86_64/strncase.S: New file.
24679 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24680 * sysdeps/x86_64/strncase_l.S: New file.
24681 * string/Makefile (strop-tests): Add strncasecmp.
24682 * string/test-strncasecmp.c: New file.
24683
24684 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24685 warning.
24686
ca6bb004
UD
24687 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24688 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24689
052fa7b3
AS
246902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24691
24692 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24693
962dba78
UD
246942010-08-12 Ulrich Drepper <drepper@redhat.com>
24695
24696 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24697 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24698 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24699
bebff237
AM
247002010-05-01 Alan Modra <amodra@gmail.com>
24701
24702 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24703 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24704 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24705 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24706 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24707 tidying. Don't tail-call __sigjmp_save for static lib.
24708 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24709 save location.
24710 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24711 (CALL_MCOUNT): Add eh info, and nop after bl.
24712 (TAIL_CALL_SYSCALL_ERROR): New macro.
24713 (PSEUDO_RET): Use it.
24714 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24715 Correct save location of integer regs and cr.
24716 (_dl_profile_resolve): Correct cr save location. Delete nops
24717 after bl when SHARED. Reduce cfi size a little by better
24718 placement of cfi directives.
24719 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24720 make a stack frame. Instead use parm save area as a temp.
24721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24722 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24724 Don't make a stack frame for parent, use parm save area.
24725 Increase child stack frame to 112 bytes. Don't save unused reg,
24726 and adjust reg usage. Set up cfi on error recovery and
24727 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24729 (__makecontext): Add dummy nop after jump to exit.
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24731 Use correct parm save area and cr save, reduce stack frame.
24732 Correct cfi for possible PSEUDO_RET frame setup.
24733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24734 Branch to local label emitted by PSEUDO_RET rather than
24735 __syscall_error.
24736
02637374
AS
247372010-08-12 Andreas Schwab <schwab@redhat.com>
24738
24739 [BZ #11904]
24740 * locale/programs/locale.c (print_assignment): New function.
24741 (show_locale_vars): Use it.
24742
c3e2f19b
UD
247432010-08-11 Ulrich Drepper <drepper@redhat.com>
24744
3cdaa6ad
UD
24745 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24746 field.
24747 (struct statfs64): Likewise.
24748 (_STATFS_F_FLAGS): Define.
24749 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24750 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24751 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24752 (ST_VALID): Define locally.
24753 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24754 __statvfs_getflags, use the provided value.
24755 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24756 __ASSUME_STATFS_F_FLAGS.
24757
754f7da3
UD
24758 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24759
10b3bedc
UD
24760 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24761 Add sys/fanotify.h.
24762 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24763 fanotify_mask for GLIBC_2.13.
24764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24765 fanotify_init and fanotify_mark.
24766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24767 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24768
c08fb0d7
UD
24769 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24770 Add prlimit.
24771 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24772 prlimit64 for GLIBC_2.13.
24773 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24774 prlimit64.
24775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24776 syscall.
24777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24779 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24780 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24782 add prlimit alias.
24783 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24784
15bac72b
UD
24785 [BZ #11903]
24786 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24787 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24788
c3e2f19b
UD
24789 * nss/Makefile: Add rules to build and run tst-nss-test1.
24790 * shlib-versions: Add entry for libnss_test1.
24791 * nss/nss_test1.c: New file.
24792 * nss/tst-nss-test1.c: New file.
24793
24794 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24795 (__nss_configure_lookup): Set appropriate entry in
24796 __nss_configure_lookup to true.
24797 * nss/nsswitch.h: Define enum with indeces of databases in
24798 databases and __nss_database_custom arrays. Declare
24799 __nss_database_custom.
24800 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24801 to avoid using nscd when custom rules are installed.
24802 * nss/getXXbyYY_r.c: Likewise.
24803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24804
24805 * nss/nss_files/files-parse.c: Whitespace fixes.
24806
f15ce4d8
UD
248072010-08-09 Ulrich Drepper <drepper@redhat.com>
24808
24809 [BZ #11883]
24810 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24811 * posix/fnmatch_loop.c: Likewise.
24812
d22e4cc9
AK
248132010-07-17 Andi Kleen <ak@linux.intel.com>
24814
24815 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24816 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24817 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24818 * Versions.def [GLIBC_2.13]: Add.
24819
805bc17d
UD
248202010-08-06 Ulrich Drepper <drepper@redhat.com>
24821
24822 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24823 Also fail if tpwd after pwuid call is NULL.
24824
5a42321d
ST
248252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24826
24827 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24828 when converting to ms.
24829
fd3ebeda
ST
248302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24831
24832 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24833 EOPNOTSUPP errors with ENOTTY.
24834 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24835 EOPNOTSUPP errors with ENOTTY.
24836
73507d3a
UD
248372010-07-31 Ulrich Drepper <drepper@redhat.com>
24838
24839 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24840 Add strcasecmp_l-ssse3.
24841 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24842 strcasecmp.
24843 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24844 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24845 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24846
fe36dd02
UD
248472010-07-30 Ulrich Drepper <drepper@redhat.com>
24848
66f6765a
UD
24849 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24850
42e08a54
UD
24851 * string/Makefile (strop-tests): Add strcasecmp.
24852 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24853 strcasecmp_l-nonascii.
24854 (gen-as-const-headers): Add locale-defines.sym.
24855 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24856 * sysdeps/x86_64/strcasecmp.S: New file.
24857 * sysdeps/x86_64/strcasecmp_l.S: New file.
24858 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24859 * sysdeps/x86_64/locale-defines.sym: New file.
24860 * string/test-strcasecmp.c: New file.
24861
fe36dd02
UD
24862 * string/test-strcasestr.c: Test both ends of the range of characters.
24863 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24864
48cbc0d6
RM
248652010-07-29 Roland McGrath <roland@redhat.com>
24866
76e6d6bc 24867 [BZ #11856]
48cbc0d6
RM
24868 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24869
880113d9
UD
248702010-07-27 Ulrich Drepper <drepper@redhat.com>
24871
24872 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24873 for ld.so.
24874
deb9cabb
AS
248752010-07-27 Andreas Schwab <schwab@redhat.com>
24876
24877 * manual/memory.texi (Malloc Tunable Parameters): Document
24878 M_PERTURB.
24879
1c7570ff
RM
248802010-07-26 Roland McGrath <roland@redhat.com>
24881
24882 [BZ #11840]
24883 * configure.in (-fgnu89-inline check): Set and substitute
24884 gnu89_inline, not libc_cv_gnu89_inline.
24885 * configure: Regenerated.
24886 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24887
24fb0f88
UD
248882010-07-26 Ulrich Drepper <drepper@redhat.com>
24889
24890 * string/test-strnlen.c: New file.
24891 * string/Makefile (strop-tests): Add strnlen.
24892 * string/tester.c (test_strnlen): Add a few more test cases.
24893 * string/tst-strlen.c: Better error reporting.
24894
24895 * sysdeps/x86_64/strnlen.S: New file.
24896
8e96b93a
UD
248972010-07-24 Ulrich Drepper <drepper@redhat.com>
24898
24899 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24900 lower-latency instructions.
24901
dbc676d4
UD
249022010-07-23 Ulrich Drepper <drepper@redhat.com>
24903
24904 * string/test-strcasestr.c: New file.
24905 * string/test-strstr.c: New file.
24906 * string/Makefile (strop-tests): Add strstr and strcasestr.
24907 * string/str-two-way.h: Don't undefine MAX.
24908 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24909
f6a31e0e
AS
249102010-07-21 Andreas Schwab <schwab@redhat.com>
24911
24912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24913 strcasestr-nonascii.
24914 (CFLAGS-strcasestr-nonascii.c): Define.
24915 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24917 Remove unused attribute.
24918
5dbc3b6c
RM
249192010-07-20 Roland McGrath <roland@redhat.com>
24920
24921 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24922 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24923 ld.so.cache was broken. With it, there is no way to disable dsocaps
24924 like LD_HWCAP_MASK can disable hwcaps.
24925
23d101d8
EPM
249262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24927
24928 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24929
cc9f2e47
UD
249302010-07-16 Ulrich Drepper <drepper@redhat.com>
24931
24932 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24933 call in strcasestr.
24934 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24935 __strcasestr_sse42_nonascii.
24936 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24937 strcasestr-nonascii.c.
24938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24939
77c1b069
LM
249402010-06-15 Luis Machado <luisgpm@br.ibm.com>
24941
24942 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24943 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24945 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24946
440566c3
UD
249472010-07-09 Ulrich Drepper <drepper@redhat.com>
24948
24949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24950 fcntl.
24951
5be9d05d
AS
249522010-07-06 Andreas Schwab <schwab@redhat.com>
24953
c30b7ee2 24954 [BZ #11577]
5be9d05d
AS
24955 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24956 dl_signal_cerror.
24957
8a492a67
UD
249582010-07-06 Ulrich Drepper <drepper@redhat.com>
24959
24960 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24961 _PC_PIPE_BUF using F_GETPIPE_SZ.
24962
713df3d5
RM
249632010-07-05 Roland McGrath <roland@redhat.com>
24964
24965 * manual/arith.texi (Rounding Functions): Fix rint description
24966 implicit in round description.
24967
702e8f14
UD
249682010-07-02 Ulrich Drepper <drepper@redhat.com>
24969
24970 * elf/Makefile: Fix linking for a few tests to make recent linker
24971 happy.
24972
52ed8be9
AS
249732010-06-30 Andreas Schwab <schwab@redhat.com>
24974
24975 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24976 $(common-objpfx)libc_nonshared.a.
24977
f47c9a11
LM
249782010-06-21 Luis Machado <luisgpm@br.ibm.com>
24979
24980 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24981 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24982 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24983 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24984 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24985 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24986 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24987 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25002 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25003 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25004 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25005 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25006 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25007 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25008 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25009 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25010 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25011 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25012 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25013 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25028
6fb8cbcb
L
250292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25030
25031 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25032 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25033 * string/memmove.c (memmove): Renamed to ...
25034 (MEMMOVE): ...this. Default to memmove.
25035 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25036 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25037 (END_CHK): Define.
25038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25039 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25040 mempcpy-ssse3-back memmove-ssse3-back.
25041 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25042 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25043 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25044 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25045 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25046 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25047 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25048 * sysdeps/x86_64/multiarch/memmove.c: New file.
25049 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25050 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25051 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25052 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25053 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25055 Define.
25056 (index_Fast_Copy_Backward): Define.
25057 (HAS_ARCH_FEATURE): Define.
25058 (HAS_FAST_REP_STRING): Define.
25059 (HAS_FAST_COPY_BACKWARD): Define.
25060
4e733bac 250612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25062
25063 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25064 Restore proper fallback handling.
25065
63c4ed22
UD
250662010-06-19 Ulrich Drepper <drepper@redhat.com>
25067
ac2b484c
UD
25068 [BZ #11701]
25069 * posix/group_member.c (__group_member): Correct checking loop.
25070
63c4ed22
UD
25071 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25072 OOM in getpwuid_r correctly. Return error number when the caller
25073 should return, otherwise -1.
25074 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25075 call returning > 0 value.
25076 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25077
765ade4b
AS
250782010-06-07 Andreas Schwab <schwab@redhat.com>
25079
25080 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25081 libc_nonshared.a from targets in modules-names.
25082
80da2e09
KS
250832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25084
25085 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25086 requires it.
25087
158db122
LM
250882010-06-10 Luis Machado <luisgpm@br.ibm.com>
25089
25090 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25091 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25094
caa78cf8
AS
250952010-06-02 Andreas Schwab <schwab@redhat.com>
25096
25097 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25098
b2ef2c01
UD
250992010-06-14 Ulrich Drepper <drepper@redhat.com>
25100
25101 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25102 and F_GETPIPE_SZ.
25103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25108 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25109
fbd643b6
RM
251102010-06-14 Roland McGrath <roland@redhat.com>
25111
25112 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25113
f32f2869
JJ
251142010-06-07 Jakub Jelinek <jakub@redhat.com>
25115
25116 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25117 __REDIRECT followed by __THROW.
25118 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25119 * posix/getopt.h (getopt): Likewise.
25120
2a50c078
EPM
251212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25122
25123 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25124 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25125 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25126 in AT_FLAGS.
25127 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25128 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25129
eb5ad2eb
LM
251302010-05-28 Luis Machado <luisgpm@br.ibm.com>
25131
25132 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25133
3c88fe1e
L
251342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25135
25136 [BZ #11640]
25137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25138 Properly check family and model.
25139
d2f73151
TY
251402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25141
25142 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25143
ebd2e13d
LM
251442010-05-24 Luis Machado <luisgpm@br.ibm.com>
25145
25146 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25147
b32b8b45
UD
251482010-05-21 Ulrich Drepper <drepper@redhat.com>
25149
25150 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25151 symbol reference.
25152
9acbe24d
AS
251532010-05-19 Andreas Schwab <schwab@redhat.com>
25154
25155 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25156 symbol reference.
25157
f0ccf6ea
AS
251582010-05-21 Andreas Schwab <schwab@redhat.com>
25159
3d04ff3a
AS
25160 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25161 and internal_recvmmsg.
25162 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25163 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25164 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25165 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25166
f0ccf6ea
AS
25167 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25168 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25169 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25170
5b08ac57
AS
251712010-05-20 Andreas Schwab <schwab@redhat.com>
25172
25173 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25174
4828935d
LM
251752010-05-17 Luis Machado <luisgpm@br.ibm.com>
25176
25177 POWER7 optimizations.
25178 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25179 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25180
373d545e
UD
251812010-05-19 Ulrich Drepper <drepper@redhat.com>
25182
25183 * version.h: Update for 2.13 development version.
25184
21a2b1ae
AS
251852010-05-12 Andrew Stubbs <ams@codesourcery.com>
25186
25187 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25188 exceptions. Return 0.
25189
3f7dcb2b
RM
251902010-05-07 Roland McGrath <roland@redhat.com>
25191
25192 * elf/ldconfig.c (main): Add a const.
25193
5f24d53a 251942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25195
a160f8d8
UD
25196 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25197 (args_options): Add no-idn option.
25198 (ahosts_keys_int): Add idn_flags to ai_flags.
25199 (parse_option): Handle 'i' option to clear idn_flags.
25200
5f24d53a
UD
25201 * malloc/malloc.c (_int_free): Possible race in the most recently
25202 added check. Only act on the data if no current modification
25203 happened.
265bb1ce
UD
25204
25205See ChangeLog.17 for earlier changes.