]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove unnecessary factorial array
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bdf02814
SP
12013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2
c2af38aa
SP
3 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4
4e92d59e
SP
5 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6 evaluation.
7
909279a5
SP
8 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9 values in the mantissa.
10
bdf02814
SP
11 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12 minimize writes to Z.
13 (sub_magnitudes): Simplify code a bit.
14
cd525923
RM
152013-02-12 Roland McGrath <roland@hack.frob.com>
16
17 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18 from the message. The linker prefixes all warnings with that already.
19
7e2f0d2d
AS
202013-02-12 Andreas Schwab <schwab@suse.de>
21
a445af0b
AS
22 [BZ #15078]
23 * posix/regexec.c (extend_buffers): Add parameter min_len.
24 (check_matching): Pass minimum needed length.
25 (clean_state_log_if_needed): Likewise.
26 (get_subexp): Likewise.
27 * posix/Makefile (tests): Add bug-regex34.
28 (bug-regex34-ENV): Define.
29 * posix/bug-regex34.c: New file.
30
7e2f0d2d
AS
31 [BZ #11561]
32 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33 elements compare against the byte sequence of it, not its name.
34 * posix/Makefile (tests): Add bug-regex35.
35 (bug-regex35-ENV): Define.
36 * posix/bug-regex35.c: New file.
37
a175b684
TV
382013-02-11 Tom de Vries <tom@codesourcery.com>
39
40 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41 comment.
42 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
43 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44 (CHECK_EOL): Add undef.
45
310998fe 462013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
47
48 * bits/stdlib-bsearch.h: New file.
49 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 50 * stdlib/stdlib.h: Likewise.
41eda41d 51
8ded91fb
RM
522013-02-11 Roland McGrath <roland@hack.frob.com>
53
54 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56 declaration.
57 * manual/search.texi (Array Search Function): Add missing const in
58 lfind prototype.
59 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60 declaration to use rlim_t.
61 (Basic Scheduling Functions): Remove erroneous const from
62 sched_getparam prototype. Remove erroneous * from
63 sched_get_priority_max and sched_get_priority_min prototypes.
64 (Resource Usage): Fix summary @comment on vtimes to refer to
65 sys/vtimes.h rather than vtimes.h.
66 Add missing *s in vtimes prototype.
67 (Limits on Resources): Fix ulimit prototype to return long int.
68 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69 prototypes to use long int rather than double.
70 (BSD Random): Fix initstate and setstate to use char *, not void *.
71 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
72 prototype to make second argument 'struct aiocb64 *const[]'.
73 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
74 (Status of AIO Operations): Remove erroneous const in aio_return and
75 aio_return64 prototypes.
76 (Synchronizing I/O): Fix sync prototype to return void.
77 * manual/startup.texi (Suboptions): Remove an erroneous const in
78 getsubopt prototype.
79 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
80 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
81 use size_t rather than int.
82 (Scanning All Users): Likewise for getpwent_r.
83 (Setting Groups): Add missing const to setgroups prototype.
84 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
85 * manual/socket.texi (Host Names): Fix gethostbyaddr and
86 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
87 'const void *' rather than 'const char *'.
88 (Host Address Functions): Likewise for inet_ntop.
89 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
90 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
91 ssize_t for return value.
92 (Sending Data): Likewise for send, sendto, sendmsg.
93 (Socket Option Functions): Add a missing const in setsockopt prototype.
94 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
95 use wchar_t for the argument.
96 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
97 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
98 take no arguments.
99 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
100 double/float/long double for second argument.
101 Fix return types of significand, significandf, significandl.
102 * manual/filesys.texi (Setting Permissions): Use mode_t for second
103 argument in fchmod prototype.
104 (File Owner): Use uid_t and gid_t in fchown prototype.
105 (File Times): Add const to utimes, futimes, and lutimes prototypes.
106 (Making Special Files): Use mode_t and dev_t in mknod prototype.
107 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
108 use 'const struct dirent **' as argument types to CMP function pointer
109 argument.
110 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
111 (File Times): Fix summary magic @comment for struct utimbuf and utime
112 to refer to utime.h, not time.h.
113 * manual/string.texi (Argz Functions): Add missing const in
114 argz_extract and argz_next prototypes.
115 (Finding Tokens in a String): Likewise for basename.
116 (String/Array Comparison): Fix typo in wcscasecmp prototype.
117 (Copying and Concatenation): Fix typo in wmemmove prototype.
118 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
119 (Signal Stack): Remove erroneous const in sigstack prototype.
120 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
121 prototype.
122 (Simple Calendar Time): Likewise for stime.
123 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
124 prototype.
125 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
126 say sys/sysctl.h instead.
127 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
128 and vsyslog prototypes.
129
fe77fe6d
TV
1302013-02-11 Tom de Vries <tom@codesourcery.com>
131
132 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
133 Remove.
134
3a09b620
RM
1352013-02-11 Roland McGrath <roland@hack.frob.com>
136
137 * misc/sys/mman.h: Fix typo in mremap comment.
138
550a0b89
RM
1392013-02-08 Roland McGrath <roland@hack.frob.com>
140
141 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
142 the '\0' terminator.
143
a2da1673
JM
1442013-02-08 Joseph Myers <joseph@codesourcery.com>
145
146 [BZ #13550]
147 * debug/segfault.c: Don't include <bp-checks.h>.
148 * sysdeps/generic/bp-checks.h: Remove file.
149 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
150 (__GETDENTS): Don't use CHECK_N.
151 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
152 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
153 (__getgroups): Don't use CHECK_N.
154 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
155 (setgroups): Don't use CHECK_N.
156 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
157 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
158 (__libc_msgrcv): Don't use CHECK_N.
159 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
160 (__libc_msgsnd): Don't use CHECK_N.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
162 <bp-checks.h>.
163 (__libc_pread): Don't use CHECK_N.
164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
165 include <bp-checks.h>.
166 (__libc_pread64): Don't use CHECK_N.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
168 include <bp-checks.h>.
169 (__libc_pwrite): Don't use CHECK_N.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
171 include <bp-checks.h>.
172 (__libc_pwrite64): Don't use CHECK_N.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
174 <bp-checks.h>.
175 (__libc_pread): Don't use CHECK_N.
176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
177 include <bp-checks.h>.
178 (__libc_pread64): Don't use CHECK_N.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
180 include <bp-checks.h>.
181 (__libc_pwrite): Don't use CHECK_N.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
183 include <bp-checks.h>.
184 (__libc_pwrite64): Don't use CHECK_N.
185 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
186 (do_pread): Don't use CHECK_N.
187 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
188 (do_pread64): Don't use CHECK_N.
189 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
190 (do_pwrite): Don't use CHECK_N.
191 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
192 (do_pwrite64): Don't use CHECK_N.
193 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
194 (__libc_readv): Don't use CHECK_N.
195 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
196 (semop): Don't use CHECK_N.
197 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
198 <bp-checks.h>.
199 (semtimedop): Don't use CHECK_N.
200 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
201 (__libc_pread): Don't use CHECK_N.
202 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
203 <bp-checks.h>.
204 (__libc_pread64): Don't use CHECK_N.
205 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
206 <bp-checks.h>.
207 (__libc_pwrite): Don't use CHECK_N.
208 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
209 <bp-checks.h>.
210 (__libc_pwrite64): Don't use CHECK_N.
211 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
212 <bp-checks.h>.
213 (__libc_msgrcv): Don't use CHECK_N.
214 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
215 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
216 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
217 (__libc_writev): Don't use CHECK_N.
218
b84660a8
RM
2192013-02-08 Roland McGrath <roland@hack.frob.com>
220
7f3e75f8
RM
221 * string/strcpy.c: Removed unused variable.
222
b84660a8
RM
223 * Makeconfig (+sysdep-includes): Define with := rather than =.
224 Use an existing include/ subdir of each sysdeps dir before it.
225
471514d3
CD
2262013-02-08 Carlos O'Donell <carlos@redhat.com>
227
228 * nscd/connection.c (register_traced_file): Comment function.
229 [HAVE_INOTIFY] (union __inev): Define.
230 [HAVE_INOTIFY] (inotify_check_files): New function.
231 [HAVE_INOTIFY] (clear_db_cache): Likewise.
232 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
233 clear_db_cache.
234 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
235
b2d3c3be
CD
2362013-02-08 Carlos O'Donell <carlos@redhat.com>
237
238 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
239 loaded if not already and that a failure is permanent.
240
b39949d2
CD
2412013-02-08 Carlos O'Donell <carlos@redhat.com>
242
ddacd1db 243 [BZ #15006]
b39949d2
CD
244 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
245 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
246
b2c9eff4
JM
2472013-02-08 Joseph Myers <joseph@codesourcery.com>
248
f3aae3f3
JM
249 [BZ #13550]
250 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
251 (CHECK_1_NULL_OK): Likewise.
252 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
253 (__fxstat): Do not use CHECK_1.
254 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
255 <bp-checks.h>.
256 (___fxstat64): Do not use CHECK_1.
257 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
258 <bp-checks.h>.
259 (__fxstatat): Do not use CHECK_1.
260 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
261 <bp-checks.h>.
262 (__fxstatat64): Do not use CHECK_1.
263 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
264 <bp-checks.h>.
265 (__fxstat): Do not use CHECK_1.
266 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
267 <bp-checks.h>.
268 (__fxstatat): Do not use CHECK_1.
269 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
270 <bp-checks.h>.
271 (__getresgid): Do not use CHECK_1.
272 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
273 <bp-checks.h>.
274 (__getresuid): Do not use CHECK_1.
275 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
276 <bp-checks.h>.
277 (__lxstat): Do not use CHECK_1.
278 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
279 <bp-checks.h>.
280 (__old_msgctl): Do not use CHECK_1.
281 (__new_msgctl): Likewise.
282 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
283 <bp-checks.h>.
284 (__new_setrlimit): Do not use CHECK_1.
285 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
286 <bp-checks.h>.
287 (__old_shmctl): Do not use CHECK_1.
288 (__new_shmctl): Likewise.
289 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
290 <bp-checks.h>.
291 (__xstat): Do not use CHECK_1.
292 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
293 (__lxstat): Do not use CHECK_1.
294 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
295 <bp-checks.h>.
296 (___lxstat64): Do not use CHECK_1.
297 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
298 (__old_msgctl): Do not use CHECK_1.
299 (__new_msgctl): Likewise.
300 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
301 <bp-checks.h>.
302 (__gettimeofday): Do not use CHECK_1.
303 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
304 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
305 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
306 <bp-checks.h>.
307 (__gettimeofday): Do not use CHECK_1.
308 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
309 (__old_shmctl): Do not use CHECK_1_NULL_OK.
310 (__new_shmctl): Do not use CHECK_1.
311 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
312 <bp-checks.h>.
313 (do_sigtimedwait): Do not use CHECK_1.
314 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
315 <bp-checks.h>.
316 (do_sigwaitinfo): Do not use CHECK_1.
317 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
318 <bp-checks.h>.
319 (msgctl): Do not use CHECK_1.
320 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
321 <bp-checks.h>.
322 (shmctl): Do not use CHECK_1.
323 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
324 (ustat): Do not use CHECK_1.
325 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
326 <bp-checks.h>.
327 (__fxstat): Do not use CHECK_1.
328 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
329 <bp-checks.h>.
330 (__fxstatat): Do not use CHECK_1.
331 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
332 <bp-checks.h>.
333 (__lxstat): Do not use CHECK_1.
334 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
335 <bp-checks.h>.
336 (__xstat): Do not use CHECK_1.
337 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
338 (__xstat): Do not use CHECK_1.
339 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
340 (___xstat64): Do not use CHECK_1.
341
b2c9eff4
JM
342 [BZ #13550]
343 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
344 definitions.
345 (CHECK_BOUNDS_HIGH): Likewise.
346 * string/strcpy.c: Do not include <bp-checks.h>.
347 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
348
f1d70dad
RM
3492013-02-07 Roland McGrath <roland@hack.frob.com>
350
351 * nscd/nscd-client.h (__nscd_drop_map_ref):
352 Add __attribute__ ((unused)).
353 * nis/nss-nisplus.h (niserr2nss): Likewise.
354
355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
356 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
357
358 * csu/libc-tls.c (init_static_tls, init_slotinfo):
359 Remove inline keyword.
360 * include/rounding-mode.h (round_away): Likewise.
361 * libio/wfileops.c (adjust_wide_data): Likewise.
362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
363 (__m128i_strloadu_tolower): Likewise.
364 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
365 (__m128i_strloadu_tolower): Likewise.
366 * time/mktime.c (ydhms_diff): Likewise.
367 * locale/elem-hash.h (elem_hash): Likewise.
368 * locale/setlocale.c (setdata): Likewise.
369 * posix/regex_internal.h (re_string_char_size_at): Likewise.
370 (re_string_wchar_at): Likewise.
371 (bitset_not, bitset_merge, bitset_mask): Likewise.
372 [!(__GNUC__ > 3)] (inline): Remove macro.
373 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
374 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
375 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
376 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
377 * string/memcmp.c (memcmp_bytes): Likewise.
378 * locale/programs/locarchive.c (compute_hashval): Likewise.
379 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
380 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
381 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
382 * nss/getent.c (print_rpc, print_protocols): Likewise.
383 (print_passwd, print_group, print_aliases): Likewise.
384 * nis/nss-nisplus.h (niserr2nss): Likewise.
385 * nscd/connections.c (restart_p): Likewise.
386 Change return type to bool.
387
eab55bfb
RM
3882013-02-05 Roland McGrath <roland@hack.frob.com>
389
7bd642f5
RM
390 * Makeconfig (all-Depend-files): Add existing
391 $(sorted-subdirs:=/Depend) files.
392 (all-subdirs): Remove nss.
393 * sysdeps/unix/inet/Subdirs: Add it here instead.
394 * hesiod/Depend: New file.
395
573c29b2
RM
396 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
397 instead of calling alloca.
398
b2e25af0
RM
399 * io/lseek.c (__lseek): Rename to __libc_lseek.
400 Define __lseek as an alias.
401
eab55bfb
RM
402 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
403
9a0d1941
CD
4042013-02-04 Carlos O'Donell <carlos@redhat.com>
405
406 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
407 else clause and remove check for non-standard endianness.
408
b83bbec4
DM
4092013-02-04 David S. Miller <davem@davemloft.net>
410
411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
412
6277fdab
JM
4132013-02-04 Joseph Myers <joseph@codesourcery.com>
414
415 [BZ #13550]
416 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
417 (__ubp_memchr): Remove prototype.
418 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
419 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
420 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
421 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
422 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
423 Remove alias.
424 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
425 (__ubp_memchr): Likewise.
426 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
427 (__ubp_memchr): Likewise.
428 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
429 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
430 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
431 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
432 CHECK_STRING.
433 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
434 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
435 (__getcwd): Do not use CHECK_STRING.
436 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
437 <bp-checks.h>.
438 (__real_chown): Do not use CHECK_STRING.
439 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
440 <bp-checks.h>.
441 (fchownat): Do not use CHECK_STRING.
442 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
443 CHECK_STRING.
444 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
445 <bp-checks.h>.
446 (__lchown): Do not use CHECK_STRING.
447 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
448 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
449 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
450 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
452 include <bp-checks.h>.
453 (truncate64): Do not use CHECK_STRING.
454 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
455 <bp-checks.h>.
456 (__real_chown): Do not use CHECK_STRING.
457 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
458 <bp-checks.h>.
459 (__lchown): Do not use CHECK_STRING.
460 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
461 <bp-checks.h>.
462 (__chown): Do not use CHECK_STRING.
463 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
464 <bp-checks.h>.
465 (truncate64): Do not use CHECK_STRING.
466 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
467 Likewise.
468 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
469 (__xmknod): Do not use CHECK_STRING.
470 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
471 <bp-checks.h>.
472 (__xmknodat): Do not use CHECK_STRING.
473 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
474 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
475
903ae060
AS
4762013-02-04 Andreas Schwab <schwab@suse.de>
477
478 [BZ #14142]
479 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
480 * include/netdb.h: Likewise for h_errno.
481 * elf/tst-stackguard1.c: Include <tls.h>.
482
542f9466
JK
4832013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
484
485 * elf/link.h (struct link_map): Extend the l_addr comment.
486 * include/link.h (struct link_map): Likewise.
487
e782a927
JM
4882013-02-01 Joseph Myers <joseph@codesourcery.com>
489
490 [BZ #13550]
491 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
492 (BOUNDED_1): Remove macro.
493 * debug/backtrace.c: Don't include <bp-checks.h>.
494 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
495 (__backtrace): Likewise.
496 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
497 <bp-checks.h>.
498 (__backtrace): Don't use BOUNDED_1.
499 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
500 <bp-checks.h>.
501 (__backtrace): Don't use BOUNDED_1.
502 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
503 (__backtrace): Don't use BOUNDED_1.
504 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
505 (shmat): Don't use BOUNDED_N.
506
8cf28c5e
JM
5072013-01-31 Joseph Myers <joseph@codesourcery.com>
508
3a7ac8a0
JM
509 [BZ #13550]
510 * sysdeps/generic/bp-start.h: Remove file.
511 * csu/libc-start.c: Don't include <bp-start.h>.
512 (LIBC_START_MAIN): Set up __environ directly instead of using
513 INIT_ARGV_and_ENVIRON.
514 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
515 <bp-start.h>.
516
f3499f95
JM
517 [BZ #13550]
518 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
519 definitions.
520 (CHECK_FCNTL): Likewise.
521 (CHECK_N_PAGES): Likewise.
522
32a45bea
JM
523 [BZ #13550]
524 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
525 definitions.
526 (CHECK_SIGSET_NULL_OK): Likewise.
527 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
528 <bp-checks.h>.
529 (sigpending): Don't use CHECK_SIGSET.
530 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
531 <bp-checks.h>.
532 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
533 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
534 <bp-checks.h>.
535 (do_sigsuspend): Don't use CHECK_SIGSET.
536 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
537 use CHECK_SIGSET.
538 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
539 (do_sigwait): Don't use CHECK_SIGSET.
540 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
541 use CHECK_SIGSET.
542 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
543 include <bp-checks.h>.
544 (sigpending): Don't use CHECK_SIGSET.
545 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
546 include <bp-checks.h>.
547 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
548 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
549 <bp-checks.h>.
550 (sigpending): Don't use CHECK_SIGSET.
551 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
552 <bp-checks.h>.
553 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
554
2e8a5c8c
JM
555 [BZ #13550]
556 * sysdeps/generic/bp-semctl.h: Remove file.
557 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
558 <bp-checks.h> and <bp-semctl.h>.
559 (__old_semctl): Don't use CHECK_SEMCTL.
560 (__new_semctl): Likewise.
561 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
562 and <bp-semctl.h>.
563 (__old_semctl): Don't use CHECK_SEMCTL.
564 (__new_semctl): Likewise.
565 * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
570 <bp-checks.h> and <bp-semctl.h>.
571 (semctl): Don't use CHECK_SEMCTL.
572
c2d54929
JM
573 [BZ #13550]
574 * Makerules (elide-bp-thunks): Remove variable.
575 (elide-routines.oS): Don't use $(elide-bp-thunks).
576 (elide-routines.os): Likewise.
577 (elide-routines.o): Likewise.
578 (elide-routines.op): Likewise.
579 (elide-routines.og): Likewise.
580 (objects): Don't use $(bp-thunks).
581 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
582 include.
583 (common-generated): Do not add s-proto-bp.d.
584 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
585 (int): Likewise.
586 (typ): Likewise.
587 Do not generate makefile rules for bounded-pointer thunks.
588 * sysdeps/generic/bp-thunks.h: Remove file.
589 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
590 * sysdeps/unix/s-proto-bp.S: Likewise.
591
8cf28c5e
JM
592 [BZ #15062]
593 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
594 parts of result separately when argument is not close to line from
595 -i to i and one part of argument is small.
596 * math/k_casinhf.c (__kernel_casinhf): Likewise.
597 * math/k_casinhl.c (__kernel_casinhl): Likewise.
598 * math/libm-test.inc (cacos_test): Add more tests.
599 (casin_test): Likewise.
600 (casinh_test): Likewise.
601 * sysdeps/i386/fpu/libm-test-ulps: Update.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603
c4e33b8d
DM
6042013-01-31 David S. Miller <davem@davemloft.net>
605
606 * po/de.po: Update from translation team.
607
3b60b421
MK
6082013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
609
610 * time/tzfile.c: Include stdint.h for SIZE_MAX.
611
bb931195
TS
6122013-01-25 Thomas Schwinge <thomas@codesourcery.com>
613
b5a5da23
TS
614 * configure.in (_AC_PROG_CC_C89): New definition.
615 * configure: Regenerate.
616
bb931195
TS
617 * configure.in (AC_PROG_CPP): New definition.
618 * configure: Regenerate.
619
8c53a12c
JM
6202013-01-23 Joseph Myers <joseph@codesourcery.com>
621
622 * debug/tst-backtrace.h: New file.
623 * debug/tst-backtrace2.c: Include tst-backtrace.h.
624 (ret): Remove variable.
625 (x): Likewise.
626 (FAIL): Remove macro.
627 (NO_INLINE): Likewise.
628 (fn1): Use match function instead of strstr.
629 * debug/tst-backtrace3.c: Include tst-backtrace.h.
630 (ret): Remove variable.
631 (x): Likewise.
632 (FAIL): Remove macro.
633 (NO_INLINE): Likewise.
634 (fn): Use match function instead of strstr.
635 * debug/tst-backtrace4.c: Include tst-backtrace.h.
636 (ret): Remove variable.
637 (x): Likewise.
638 (FAIL): Remove macro.
639 (NO_INLINE): Likewise.
640 (handle_signal): Use match function instead of strstr.
641 * debug/tst-backtrace5.c: Include tst-backtrace.h.
642 (ret): Remove variable.
643 (x): Likewise.
644 (FAIL): Remove macro.
645 (NO_INLINE): Likewise.
646 (handle_signal): Use match function instead of strstr.
647
4858fa2a
RM
6482013-01-23 Roland McGrath <roland@hack.frob.com>
649
650 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
651
bae8e7f5
DM
6522013-01-23 David S. Miller <davem@davemloft.net>
653
654 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
655 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
656 argument of CAS if possible.
657 * sysdeps/sparc/sparc64/bits/atomic.h
658 (__arch_compare_and_exchange_val_32_acq): Likewise.
659 (__arch_compare_and_exchange_val_64_acq): Likewise.
660
9cbbc4ae
PT
6612013-01-23 Pino Toscano <toscano.pino@tiscali.it>
662
663 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
664 * sysdeps/posix/ulimit.c: ... this.
92a601b8 665 Include <limits.h>.
67b3f58c 666 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 667
5655a0b5
AC
6682013-01-23 Adam Conrad <adconrad@0c3.net>
669
670 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
671 (LDFLAGS-tst-array5): Likewise.
672
052aff95
JM
6732013-01-23 Joseph Myers <joseph@codesourcery.com>
674
675 [BZ #15036]
676 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
677 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
678 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
679 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
680
7c1e01aa
DM
6812013-01-21 David S. Miller <davem@davemloft.net>
682
683 * sysdeps/sparc/backtrace.c: New file.
684 * sysdeps/sparc/sparc32/backtrace.h: New file.
685 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
686 * sysdeps/sparc/sparc64/backtrace.h: New file.
687 * sysdeps/sparc/sparc64/backtrace.c: Delete.
688 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
689 -funwind-tables.
690
ab087e0a
AS
6912013-01-21 Andreas Schwab <schwab@suse.de>
692
693 [BZ #15020]
694 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
695 closed its stdout.
696
ed689c2f
AS
6972013-01-20 Andreas Schwab <schwab@linux-m68k.org>
698
699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
700 "mpa2.h".
701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
702
31d470ac
JM
7032013-01-18 Joseph Myers <joseph@codesourcery.com>
704 Mark Mitchell <mark@codesourcery.com>
705 Tom de Vries <tom@codesourcery.com>
706 Paul Pluzhnikov <ppluzhnikov@google.com>
707
708 * debug/tst-backtrace2.c: New file.
709 * debug/tst-backtrace3.c: Likewise.
710 * debug/tst-backtrace4.c: Likewise.
711 * debug/tst-backtrace5.c: Likewise.
712 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
713 (CFLAGS-tst-backtrace3.c): Likewise.
714 (CFLAGS-tst-backtrace4.c): Likewise.
715 (CFLAGS-tst-backtrace5.c): Likewise.
716 (LDFLAGS-tst-backtrace2): Likewise.
717 (LDFLAGS-tst-backtrace3): Likewise.
718 (LDFLAGS-tst-backtrace4): Likewise.
719 (LDFLAGS-tst-backtrace5): Likewise.
720 (tests): Add new tests tst-backtrace2, tst-backtrace3,
721 tst-backtrace4 and tst-backtrace5.
722
90567f30 7232013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
724 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
725
726 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
727 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
728 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
729 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
731 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
732 "+r" and remove output regs list as redundant. Add explicit inline
733 asm to specify register of return val to work around compiler codegen
734 bug. Remove (int) cast on return value. Add return type parameter to
735 use in macro so that this macro does not truncate return value for
736 64-bit values.
737 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
738 pass to INTERNAL_VSYSCALL_NCS.
739 (INLINE_VSYSCALL): Add 'long int' as return type to
740 INTERNAL_VSYSCALL_NCS macro invocation.
741 (INTERNAL_VSYSCALL): Add 'long int' as return type to
742 INTERNAL_VSYSCALL_NCS macro invocation.
743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
744
d3b9ea61
SP
7452013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
746
0b57daeb
SP
747 [BZ #14496]
748 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
749 Fix application of SIMD FP exception mask.
750
caa99d06
SP
751 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
752 mp_no from a power of two.
753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
754 __mpexp_twomm1. Use __pow_mp.
755
d3b9ea61
SP
756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
757 multiplication.
758
1dbaee3c
DM
7592013-01-17 David S. Miller <davem@davemloft.net>
760
761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
762
728d7b43
JM
7632013-01-17 Joseph Myers <joseph@codesourcery.com>
764
765 [BZ #15023]
766 * include/complex.h: Condition contents on [!_COMPLEX_H].
767 (__kernel_casinhf): New prototype.
768 (__kernel_casinh): Likewise.
769 (__kernel_casinhl): Likewise.
770 * math/Makefile (libm_calls): Add k_casinh.
771 * math/k_casinh.c: New file.
772 * math/k_casinhf.c: Likewise.
773 * math/k_casinhl.c: Likewise.
774 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
775 finite nonzero arguments.
776 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
777 finite nonzero arguments.
778 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
779 finite nonzero arguments.
780 * math/s_casinh.c: Do not include <float.h>.
781 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
782 * math/s_casinhf.c: Do not include <float.h>.
783 (__casinhf): Move code for finite nonzero arguments to
784 k_casinhf.c.
785 * math/s_casinhl.c: Do not include <float.h>.
786 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
787 redefine.
788 (__casinhl): Move code for finite nonzero arguments to
789 k_casinhl.c.
790 * math/libm-test.inc (cacos_test): Add more tests.
791 * sysdeps/i386/fpu/libm-test-ulps: Update.
792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
793
2a26ef3a
PT
7942013-01-17 Pino Toscano <toscano.pino@tiscali.it>
795
796 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
797 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
798 [!HAVE_MREMAP]: Remove [defined linux] case.
799 * malloc/arena.c: Do not include <malloc-sysdep.h>.
800
a897655d
SP
8012013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
802
803 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
804
881ebe89 8052013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
806
807 * elf/elf.h (R_386_SIZE32): New relocation.
808 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
809 R_386_SIZE32.
810 (elf_machine_rela): Likewise.
811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
812 R_X86_64_SIZE64 and R_X86_64_SIZE32.
813
59981e9b
JM
8142013-01-17 Joseph Myers <joseph@codesourcery.com>
815
816 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
817 (FP_FAST_FMA): Do not define.
818 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
819 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
820 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
821 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
822 !_SOFT_FLOAT]: Likewise.
823 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
824 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
825 value.
826 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
827 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
829 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
830 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
831 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
832 file.
833
cfa8054f
AS
8342013-01-16 Andreas Schwab <schwab@suse.de>
835
836 [BZ #14327]
837 * include/stdlib.h (__mktemp): Add declaration.
838 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
839 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
840
dd930cc5
SP
8412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
842
881ebe89
SP
843 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
844 definitions.
845 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
846 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
847 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
848 definitions here.
849 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
850 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
851 definitions.
852 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
853 and ONE.
854 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
855 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
856 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
857 definitions.
858 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
859 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
860 definitions.
861 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 862
dd930cc5
SP
863 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
864
c19a9f89
DM
8652013-01-15 David S. Miller <davem@davemloft.net>
866
1aa61767
DM
867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
868 trunc{,f} to libm-sysdep_routes.
869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
871 file.
872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
874 file.
875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
876 file.
877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
879 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
880 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
881 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
882 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
883 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
884 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
885
c42d5e98
DM
886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
887 nearbyint{,f} to libm-sysdep_routes.
888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
890 New file.
891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
892 file.
893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
894 New file.
895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
896 file.
897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
900 file.
901 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
902 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
903 file.
904 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
905 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
906 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
907
c19a9f89
DM
908 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
909 libc_feholdexcept and libc_fesetenv.
910
357679d2
MF
9112013-01-15 Mike Frysinger <vapier@gentoo.org>
912
913 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
914
65a82e3d
DM
9152013-01-14 David S. Miller <davem@davemloft.net>
916
8b954ab9
DM
917 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
918 (SPARC_ASM_VIS2_IFUNC): Likewise.
919 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
921 use of 'siam' instruction.
922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
923 Likewise.
924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
925 Likewise.
926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
927 Likewise.
928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
933 file.
934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
935 file.
936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
937 file.
938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
939 file.
940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
945 new VIS2 routines.
946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
949 Likewise.
950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
955 routines to libm-sysdep_routines.
956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
957
65a82e3d
DM
958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
959 fdim/fdimf to libm-sysdep_routines.
960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
961 file.
962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
964 file.
965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
968 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
969 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
970 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
971 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
972
e34ab705
SP
9732013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
974
2a91b573
SP
975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
976 to optimize copies.
977
1066a534
SP
978 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
981
e34ab705
SP
982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
983 local variable MPTWO.
984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
985 Likewise.
986
aba5e596
MF
9872013-01-13 Mike Frysinger <vapier@gentoo.org>
988
989 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
990 GLOB_NOESCAPE.
991
e557e9e5
MF
9922013-01-13 Mike Frysinger <vapier@gentoo.org>
993
994 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
995
0428cec9
MF
9962013-01-13 Mike Frysinger <vapier@gentoo.org>
997
998 * manual/pattern.texi (glob_t): Document gl_flags.
999 (glob64_t): Likewise.
1000
8794a964
DM
10012013-01-11 David S. Miller <davem@davemloft.net>
1002
66438c3f
RM
1003 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1004 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1005 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1006 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1007 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1008 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1009 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1010 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1011 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1012 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1013 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1014 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1015 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1016
4ae4244d
DM
1017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1018 sparc V9 rather than using V8 code.
1019 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1020 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1021
8794a964
DM
1022 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1023 Move to...
1024 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1025 Here.
1026
6270516e
RM
10272013-01-11 Roland McGrath <roland@hack.frob.com>
1028
1029 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1030 not in the main loop.
1031 * configure: Regenerated.
1032
6a57d931
JM
10332013-01-11 Joseph Myers <joseph@codesourcery.com>
1034
1035 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1036 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1037 to just #else.
1038 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1039 [!__GLIBC_HAVE_LONG_LONG] case.
1040 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1041 condition to just #else.
1042 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1043 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1044 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1045 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1046 unconditional.
1047 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1048 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1049 #elif condition to just #else.
1050 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1051 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1052 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1053 #elif condition to just #else.
1054
0e8529e9
SE
10552013-01-11 Steve Ellcey <sellcey@mips.com>
1056
1057 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1058 (EF_MIPS_ARCH_64): Fix value.
1059 (EF_MIPS_ARCH_32R2): New.
1060 (EF_MIPS_ARCH_64R2): New.
1061
740b3dbe
L
10622013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * Makeconfig (+link-pie-before-libc): New.
1065 (+link-pie-after-libc): Likewise.
1066 (+link-pie-tests): Likewise.
1067 (+link-pie): Rewritten.
1068 (link-before-libc): Remove $(config-LDFLAGS).
1069 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1070 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1071 (config-LDFLAGS): Renamed to ...
1072 (rtld-LDFLAGS): This.
1073 (rtld-tests-LDFLAGS): New macro.
1074 (link-libc-rpath-link): Likewise.
1075 (link-libc-tests-rpath-link): Likewise.
1076 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1077 (link-libc): Prepand $(link-libc-rpath-link).
1078 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1079 (test-program-prefix): New macro.
1080 (test-via-rtld-prefix): Likewise.
1081 (test-program-cmd): Likewise.
1082 (host-test-program-cmd): Likewise.
1083 * Makefile ($(common-objpfx)testrun.sh): Replace
1084 $(run-program-prefix) with $(test-program-prefix).
1085 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1086 $(rtld-LDFLAGS).
1087 ($(common-objpfx)shlib.lds): Likewise.
1088 (build-module-helper): Likewise.
1089 ($(common-objpfx)format.lds): Likewise.
1090 * Rules (binaries-pie-tests): New.
1091 (binaries-pie-notests): Likewise.
1092 (binaries-pie): Rewritten.
1093 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1094 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1095 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1096 (make-test-out): Replace $(host-built-program-cmd) with
1097 $(host-test-program-cmd).
1098 * config.make.in (build-hardcoded-path-in-tests): New variable.
1099 * configure.in (--enable-hardcoded-path-in-tests): New configure
1100 option.
1101 (hardcoded_path_in_tests): New AC_SUBST.
1102 * configure: Regenerated.
1103 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1104 $(built-program-cmd) with $(test-program-cmd).
1105 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1106 (test_program_cmd): This.
1107 * elf/Makefile ($(objpfx)order.out): Run test with
1108 $(test-program-prefix).
1109 ($(objpfx)order2.out): Likewise.
1110 ($(objpfx)tst-initorder.out): Likewise.
1111 ($(objpfx)tst-initorder2.out): Likewise.
1112 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1113 $(test-program-cmd).
1114 ($(objpfx)tst-array1-static.out): Likewise.
1115 ($(objpfx)tst-array2.out): Likewise.
1116 ($(objpfx)tst-array3.out): Likewise.
1117 ($(objpfx)tst-array4.out): Likewise.
1118 ($(objpfx)tst-array5.out): Likewise.
1119 ($(objpfx)tst-array5-static.out): Likewise.
1120 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1121 $(test-program-cmd).
1122 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1123 $(run-program-prefix) with $(test-program-prefix).
1124 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1125 (test_program_prefix): This.
1126 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1127 $(run-program-prefix) with $(test-program-prefix).
1128 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1129 (test_program_prefix): This.
1130 * iconvdata/tst-tables.sh: Likewise.
1131 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1132 $(run-program-prefix) with $(test-program-prefix).
1133 ($(objpfx)tst-translit.out): Likewise.
1134 ($(objpfx)tst-gettext2.out): Likewise.
1135 ($(objpfx)tst-gettext4.out): Likewise.
1136 ($(objpfx)tst-gettext6.out): Likewise.
1137 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1138 (test_program_prefix): This.
1139 * intl/tst-gettext2.sh: Likewise.
1140 * intl/tst-gettext4.sh Likewise.
1141 * intl/tst-gettext6.sh: Likewise.
1142 * intl/tst-translit.sh: Likewise.
1143 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1144 with $(test-program-cmd).
1145 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1146 $(run-program-prefix) with $(test-program-prefix).
1147 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1148 (test_program_prefix): This.
1149 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1150 $(run-program-prefix) with $(test-program-prefix).
1151 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1152 (test_program_prefix): This.
1153 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1154 * posix/Makefile ($(objpfx)globtest.out): Replace
1155 $(run-via-rtld-prefix) and $(test-wrapper) with
1156 $(test-program-prefix) and $(test-via-rtld-prefix).
1157 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1158 $(test-program-prefix).
1159 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1160 $(host-test-program-cmd).
1161 (tst-spawn-ARGS): Likewise.
1162 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1163 $(test-program-prefix).
1164 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1165 (test_via_rtld_prefix): This.
1166 (test_wrapper): Renamed to ...
1167 (test_program_prefix): This.
1168 (run_program_prefix): Replaced by test_program_prefix.
1169 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1170 (test_program_prefix): This.
1171 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1172 with $(host-test-program-cmd).
1173 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1174 $(run-program-prefix) with $(test-program-prefix).
1175 ($(objpfx)tst-printf.out): Likewise.
1176 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1177 $(test-program-cmd).
1178 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1179 (test_program_prefix): This.
1180 * stdio-common/tst-unbputc.sh: Likewise.
1181 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1182 $(run-program-prefix) with $(test-program-prefix).
1183 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1184 (test_program_prefix): This.
1185 * string/Makefile ($(objpfx)tst-svc.out): Replace
1186 $(built-program-cmd) with $(test-program-cmd).
1187
c6fe55cf
AJ
11882013-01-11 Andreas Jaeger <aj@suse.de>
1189
1190 [BZ #15003]
1191 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1192 value. Sync with Linux 3.7.
1193
9e6919c8
DM
11942013-01-10 David S. Miller <davem@davemloft.net>
1195
1196 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1197 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1198 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1199
1c9f1a02
RM
12002013-01-10 Roland McGrath <roland@hack.frob.com>
1201
1202 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1203 never set.
1204 * configure: Regenerated.
1205
b9de2dde
DM
12062013-01-10 David S. Miller <davem@davemloft.net>
1207
1208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1209 sparc V9 rather than using V8 code.
1210 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1211 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1212
e7f68ef4
RM
12132013-01-10 Roland McGrath <roland@hack.frob.com>
1214
1215 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1216 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1217 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1218 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1219 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1220 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1221 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1222 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1223 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1224 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1225 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1226 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1227 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1228 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1229 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1230 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1231 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1232 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1233 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1234 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1235 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1236 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1237 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1238 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1239 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1240 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1241 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1242
5a47cc9c
DM
12432013-01-10 David S. Miller <davem@davemloft.net>
1244
1245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1246
4cf8f209
L
12472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1248
1249 * posix/Makefile (tests-static): New variable.
1250 (tests): Add $(tests-static).
1251 (tst-exec-static-ARGS): New variable.
1252 (tst-spawn-static-ARGS): Likewise.
1253 * posix/tst-exec-static.c: New file.
1254 * posix/tst-spawn-static.c: Likewise.
1255 * posix/tst-exec.c: Support run directly.
1256 * posix/tst-spawn.c: Likewise.
1257
fed0faa1
JM
12582013-01-10 Joseph Myers <joseph@codesourcery.com>
1259
828beb13
JM
1260 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1261 long.
1262 * math/bits/mathcalls.h (llrint): Likewise.
1263 (llround): Likewise.
1264 * stdlib/stdlib.h (struct drand48_data): Likewise.
1265 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1266 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1267 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1268 Likewise.
1269 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1270 Likewise.
1271 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1272 (elf_greg_t): Likewise.
1273 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1274 (__jmp_buf): Likewise.
1275 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1276 definitions.
1277 (llrint): Likewise, for all definitions.
1278 (llrintl): Likewise.
1279
fed0faa1
JM
1280 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1281 Remove [__GNUC__] condition.
1282 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1283 condition to just [__USE_ISOC99].
1284 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1285
1a20cb20
L
12862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 [BZ #14200]
1289 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1290 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1291 defined.
1292 (_POSIX_V6_ILP32_OFF32): Likewise.
1293 (_XBS5_ILP32_OFF32): Likewise.
1294 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1295 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1296
751b85f7
SP
12972013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1298
7490eb81
SP
1299 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1300
751b85f7
SP
1301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1302 doubles __mpexp_twomm1. Adjust usage.
1303 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1304 Remove.
1305
988197f0
AS
13062013-01-10 Andreas Schwab <schwab@suse.de>
1307
1308 [BZ #14964]
1309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1310 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1311
e83d7298
DM
13122013-01-09 David S. Miller <davem@davemloft.net>
1313
034ed64b 1314 [BZ #15003]
e83d7298
DM
1315 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1316 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1317 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1318 TCP_FASTOPEN): Define.
1319 (tcp_repair_opt): New structure.
1320 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1321 enum values.
1322 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1323 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1324 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1325 (tcp_cookie_transactions): New structure.
1326
d5e0b9bd
AB
13272013-01-09 Anton Blanchard <anton@samba.org>
1328
1329 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1330 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1331 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1332 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1333
0c07e3ea
JM
13342013-01-09 Joseph Myers <joseph@codesourcery.com>
1335
1336 * include/features.h (__USE_ANSI): Remove.
1337
232f7002
RM
13382013-01-09 Roland McGrath <roland@hack.frob.com>
1339
ad98e30c
RM
1340 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1341
232f7002
RM
1342 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1343
950c99ca
SP
13442013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1345
b5792741
SP
1346 * sysdeps/s390/fpu/libm-test-ulps: Update.
1347
47cf2278
SP
1348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1349
950c99ca
SP
1350 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1351 (__acr): Likewise.
1352 (__cpy): Likewise.
1353 (norm): Likewise.
1354 (denorm): Likewise.
1355 (__mp_dbl): Likewise.
1356 (__dbl_mp): Likewise.
1357 (add_magnitudes): Likewise.
1358 (sub_magnitudes): Likewise.
1359 (__add): Likewise.
1360 (__sub): Likewise.
1361 (__mul): Likewise.
1362 (__inv): Likewise.
1363 (__dvd): Likewise.
1364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1365 (__acr): Likewise.
1366 (__cpy): Likewise.
1367 (norm): Likewise.
1368 (denorm): Likewise.
1369 (__mp_dbl): Likewise.
1370 (__dbl_mp): Likewise.
1371 (add_magnitudes): Likewise.
1372 (sub_magnitudes): Likewise.
1373 (__add): Likewise.
1374 (__sub): Likewise.
1375 (__mul): Likewise.
1376 (__inv): Likewise.
1377 (__dvd): Likewise.
1378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1379 (__acr): Likewise.
1380 (__cpy): Likewise.
1381 (norm): Likewise.
1382 (denorm): Likewise.
1383 (__mp_dbl): Likewise.
1384 (__dbl_mp): Likewise.
1385 (add_magnitudes): Likewise.
1386 (sub_magnitudes): Likewise.
1387 (__add): Likewise.
1388 (__sub): Likewise.
1389 (__mul): Likewise.
1390 (__inv): Likewise.
1391 (__dvd): Likewise.
1392
eede9df9
JM
13932013-01-08 Joseph Myers <joseph@codesourcery.com>
1394
1395 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1396 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1397 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1398 2 && __USE_EXTERN_INLINES]: Likewise.
1399
c40ea3d9
AJ
14002013-01-08 Andreas Jaeger <aj@suse.de>
1401
1402 [BZ# 14985]
1403 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1404 Remove.
1405 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1406 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1407
2ccdea26
AB
14082013-01-07 Anton Blanchard <anton@samba.org>
1409
1410 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1411 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1412 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1413 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1414 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1415 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1416 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1417 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1419 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1420 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1421 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1422 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1423 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1424 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1425 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1428 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1429 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1430 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1431 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1433 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1434 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1435 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1436 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1437 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1438 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1439 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1440 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1442 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1443 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1444 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1445 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1446 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1448 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1449 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1450 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1451 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1453
a9708fed
JM
14542013-01-07 Joseph Myers <joseph@codesourcery.com>
1455
375607b9
JM
1456 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1457 (__MALLOC_PMT): Likewise.
1458 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1459 [__GNUC__], only on [_LIBC].
1460 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1461 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1462 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1463 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1464 forward declaration.
1465 (realloc_hook_ini): Likewise.
1466 (memalign_hook_ini): Likewise.
1467 (__libc_memalign): Do not use __MALLOC_PMT in variable
1468 declaration.
1469 (__libc_valloc): Likewise.
1470 (__libc_pvalloc): Likewise.
1471 (__libc_calloc): Likewise.
1472 (__posix_memalign): Likewise.
1473
a9708fed
JM
1474 [BZ #14996]
1475 * math/s_casinh.c: Include <float.h>.
1476 (__casinh): Do not do computation with squaring and square root
1477 for large arguments.
1478 * math/s_casinhf.c: Include <float.h>.
1479 (__casinhf): Do not do computation with squaring and square root
1480 for large arguments.
1481 * math/s_casinhl.c: Include <float.h>.
1482 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1483 (__casinhl): Do not do computation with squaring and square root
1484 for large arguments.
1485 * math/libm-test.inc (casin_test): Add more tests.
1486 (casinh_test): Likewise.
1487 * sysdeps/i386/fpu/libm-test-ulps: Update.
1488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1489
afec409a
L
14902013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1491
1492 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1493 (__x86_64_raw_data_cache_size): Likewise.
1494 (__x86_64_data_cache_size_half): Likewise.
1495 (__x86_64_raw_data_cache_size_half): Likewise.
1496 (__x86_64_shared_cache_size): Likewise.
1497 (__x86_64_raw_shared_cache_size): Likewise.
1498 (__x86_64_shared_cache_size_half): Likewise.
1499 (__x86_64_raw_shared_cache_size_half): Likewise.
1500 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1501 to ...
1502 (__x86_data_cache_size): This.
1503 (__x86_64_raw_data_cache_size): Renamed to ...
1504 (__x86_raw_data_cache_size): This.
1505 (__x86_64_data_cache_size_half): Renamed to ...
1506 (__x86_data_cache_size_half): This.
1507 (__x86_64_raw_data_cache_size_half): Renamed to ...
1508 (__x86_raw_data_cache_size_half): This.
1509 (__x86_64_shared_cache_size): Renamed to ...
1510 (__x86_shared_cache_size): This.
1511 (__x86_64_raw_shared_cache_size): Renamed to ...
1512 (__x86_raw_shared_cache_size): This.
1513 (__x86_64_shared_cache_size_half): Renamed to ...
1514 (__x86_shared_cache_size_half): This.
1515 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1516 (__x86_raw_shared_cache_size_half): This.
1517 * sysdeps/x86_64/memcpy.S: Updated.
1518 * sysdeps/x86_64/memset.S: Likewise.
1519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1522
0b3986d0
DM
15232013-01-04 David S. Miller <davem@davemloft.net>
1524
1525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1526
e47686e9
AS
15272013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1528
d643bac1
AS
1529 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1530 1 to avoid redefinition warning.
1531 (__USE_GNU): Don't define.
1532 (init_signaling_nan): Protoize.
1533
e47686e9
AS
1534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1535
b18decba
SP
15362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1537
fffb407f
SP
1538 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1540 (__cpymn): Likewise.
1541 (norm): Remove commented code.
1542 (denorm): Likewise.
1543 (__mp_dbl): Likewise.
1544 (__inv): Likewise.
1545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1546 (__cpymn): Likewise.
1547 (norm): Remove commented code.
1548 (denorm): Likewise.
1549 (__mp_dbl): Likewise.
1550 (__inv): Likewise.
1551
b18decba
SP
1552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1553 mp_no value for 1.0 and 2.0.
1554 (norm): Use RADIXI instead of radixi.d.
1555 (denorm): Likewise.
1556 (__mul): Use 0.0 instead of zero.d.
1557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1558 mp_no value for 1.0 and 2.0.
1559 (norm): Use RADIXI instead of radixi.d.
1560 (denorm): Likewise.
1561 (__mul): Use 0.0 instead of zero.d.
1562
cdc1c96f
JM
15632013-01-04 Joseph Myers <joseph@codesourcery.com>
1564
1565 [BZ #14994]
1566 * math/s_casinh.c (__casinh): Reduce finite argument to first
1567 quadrant then set signs of results at the end.
1568 * math/s_casinhf.c (__casinhf): Likewise.
1569 * math/s_casinhl.c (__casinhl): Likewise.
1570 * math/libm-test.inc (casin_test): Add more tests.
1571 (casinh_test): Likewise.
1572 * sysdeps/i386/fpu/libm-test-ulps: Update.
1573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1574
302913e1
SP
15752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1576
6420d207
SP
1577 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1578
a9e48ab4
SP
1579 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1580
b7837264
SP
1581 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1582 declarations.
1583 (denorm): Likewise.
1584 (__mp_dbl): Likewise.
1585 (__inv): Likewise.
1586
f8af25d2
SP
1587 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1588 and adjust the header comment.
1589
302913e1
SP
1590 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1591 variable name from declaration.
1592
5d7dd1ca
L
15932013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1596 Initialize COMMON_CPUID_INDEX_7 element.
1597 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1598 (CPUID_RTM): Likewise.
1599 (HAS_RTM): Likewise.
1600 (COMMON_CPUID_INDEX_7): New enum.
1601
2f5f40f4
AS
16022013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1603
1604 [BZ #14981]
1605 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1606 size is zero, record memory as freed.
1607
4056f4a0
AJ
16082013-01-03 Andreas Jaeger <aj@suse.de>
1609
1610 * po/ia.po: Add new Interlingua translation.
1611
ab15736f 16122012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1613
1614 * locale/programs/localedef.c: Fix description of '--posix' flag.
1615
568035b7
JM
16162013-01-02 Joseph Myers <joseph@codesourcery.com>
1617
e6898b8d
JM
1618 * NEWS: Update dates in second copyright notice.
1619 * README: Update copyright dates in example.
1620 * manual/libc.texinfo: Update copyright dates.
1621 * scripts/test-installation.pl: Update copyright date in --version
1622 output.
1623
0e2f9562
JM
1624 * hurd/ctty-input.c: Fix copyright notice formatting.
1625 * hurd/ctty-output.c: Likewise.
1626 * hurd/dtable.c: Likewise.
1627 * hurd/hurd-raise.c: Likewise.
1628 * hurd/hurdprio.c: Likewise.
1629 * hurd/msgportdemux.c: Likewise.
1630 * misc/sys/file.h: Likewise.
1631 * misc/sys/ioctl.h: Likewise.
1632 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1633 * sysdeps/mach/hurd/chdir.c: Likewise.
1634 * sysdeps/mach/hurd/fchdir.c: Likewise.
1635 * sysdeps/mach/hurd/rename.c: Likewise.
1636 * sysdeps/mach/hurd/rmdir.c: Likewise.
1637 * sysdeps/mach/hurd/seekdir.c: Likewise.
1638 * sysdeps/mach/hurd/setsid.c: Likewise.
1639 * sysdeps/posix/wait3.c: Likewise.
1640
568035b7
JM
1641 * All files with FSF copyright notices: Update copyright dates
1642 using scripts/update-copyrights.
1643 * intl/plural.c: Regenerated.
1644 * locale/programs/charmap-kw.h: Likewise.
1645 * locale/programs/locfile-kw.h: Likewise.
1646
da08f647
SP
16472013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1648
0f5477af
SP
1649 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1650 four values.
1651
44e0d4c2
SP
1652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1653 calculation loop and add branch prediction.
1654
4d55b4e5
SP
1655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1656 check access beyond bounds of m1np.
1657
da08f647
SP
1658 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1659 MPTWO.
1660 (__inv): Remove local variable MPTWO to use the global
1661 constant.
1662 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1664 variable MPTWO.
1665 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1666 MP3HALFS static const.
1667
8e051029
DM
16682013-01-01 David S. Miller <davem@davemloft.net>
1669
1670 * po/ca.po: Update from translation team.
1671
f4cf5f2d
JM
16722013-01-01 Joseph Myers <joseph@codesourcery.com>
1673
1674 * scripts/update-copyrights: New file.
1675 * Makeconfig: Reformat copyright notice.
1676 * ctype/ctype.h: Likewise.
1677 * debug/swprintf_chk.c: Likewise.
1678 * elf/dl-cache.c: Likewise.
1679 * elf/dl-debug.c: Likewise.
1680 * elf/dl-object.c: Likewise.
1681 * grp/initgroups.c: Likewise.
1682 * hurd/Makefile: Likewise.
1683 * hurd/hurd/signal.h: Likewise.
1684 * hurd/hurdfault.c: Likewise.
1685 * hurd/hurdioctl.c: Likewise.
1686 * hurd/hurdlookup.c: Likewise.
1687 * hurd/intr-msg.c: Likewise.
1688 * iconv/gconv_open.c: Likewise.
1689 * libio/swprintf.c: Likewise.
1690 * locale/lc-ctype.c: Likewise.
1691 * locale/nl_langinfo.c: Likewise.
1692 * mach/Machrules: Likewise.
1693 * mach/Makefile: Likewise.
1694 * malloc/obstack.h: Likewise.
1695 * manual/Makefile: Likewise.
1696 * manual/tsort.awk: Likewise.
1697 * misc/bits/stab.def: Likewise.
1698 * nis/nis_print_group_entry.c: Likewise.
1699 * nis/nis_table.c: Likewise.
1700 * nis/nss_compat/compat-pwd.c: Likewise.
1701 * nis/nss_compat/compat-spwd.c: Likewise.
1702 * po/Makefile: Likewise.
1703 * posix/fnmatch.c: Likewise.
1704 * posix/regex.h: Likewise.
1705 * resolv/Makefile: Likewise.
1706 * resolv/nss_dns/dns-network.c: Likewise.
1707 * resolv/res_hconf.c: Likewise.
1708 * scripts/gen-sorted.awk: Likewise.
1709 * soft-fp/soft-fp.h: Likewise.
1710 * stdio-common/printf.h: Likewise.
1711 * stdlib/monetary.h: Likewise.
1712 * stdlib/random.c: Likewise.
1713 * stdlib/random_r.c: Likewise.
1714 * sysdeps/generic/Makefile: Likewise.
1715 * sysdeps/gnu/Makefile: Likewise.
1716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1744 * sysdeps/mach/hurd/errnos.awk: Likewise.
1745 * sysdeps/mach/hurd/fork.c: Likewise.
1746 * sysdeps/mach/hurd/getcwd.c: Likewise.
1747 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1748 * sysdeps/mach/hurd/mmap.c: Likewise.
1749 * sysdeps/mach/hurd/utimes.c: Likewise.
1750 * sysdeps/mach/hurd/xmknod.c: Likewise.
1751 * sysdeps/posix/profil.c: Likewise.
1752 * sysdeps/posix/readdir_r.c: Likewise.
1753 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1754 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1755 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1756 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1758 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1759 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1760 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1762 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1763 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1764 * sysdeps/pthread/lio_listio.c: Likewise.
1765 * sysdeps/sparc/dl-procinfo.h: Likewise.
1766 * sysdeps/unix/i386/sysdep.S: Likewise.
1767 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1768 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1769 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1770 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1772 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1773 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1774 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1775 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1776 * sysdeps/wordsize-32/divdi3.c: Likewise.
1777 * time/sys/time.h: Likewise.
1778 * wcsmbs/Makefile: Likewise.
1779
0549fbba
DM
17802013-01-01 David S. Miller <davem@davemloft.net>
1781
a141f1a7
DM
1782 * po/fr.po: Update from translation team.
1783
0549fbba
DM
1784 * catgets/gencat.c: Update copyright year.
1785 * csu/version.c: Likewise.
1786 * debug/catchsegv.sh: Likewise.
1787 * debug/pcprofiledump.c: Likewise.
1788 * debug/xtrace.sh: Likewise.
1789 * elf/ldconfig.c: Likewise.
1790 * elf/ldd.bash.in: Likewise.
1791 * elf/pldd.c: Likewise.
1792 * elf/sotruss.ksh: Likewise.
1793 * elf/sprof.c: Likewise.
1794 * iconv/iconv_prog.c: Likewise.
1795 * iconv/iconvconfig.c: Likewise.
1796 * locale/programs/locale.c: Likewise.
1797 * locale/programs/localedef.c: Likewise.
1798 * login/programs/pt_chown.c: Likewise.
1799 * malloc/memusage.sh: Likewise.
1800 * malloc/memusagestat.c: Likewise.
1801 * malloc/mtrace.pl: Likewise.
1802 * nscd/nscd.c: Likewise.
1803 * nss/getent.c: Likewise.
1804 * nss/makedb.c: Likewise.
1805 * posix/getconf.c: Likewise.
1806
18ea052c
SP
18072012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1808
1809 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1810 numbers.
1811
9c89fca6
MF
18122012-12-30 Mike Frysinger <vapier@gentoo.org>
1813
1814 * math/bits/mathcalls.h (modf): Use __nonnull.
1815
085ec079
SP
18162012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1817
1818 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1819 (split): Use macro CN instead of the bare value.
1820 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1821 could be used.
1822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1823 instead of the bare value.
1824 (power1): Likewise.
1825
6d9f97e1
SP
18262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1827
d63f73be
SP
1828 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1829 __ATAN_TWOM.
1830 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1831
6d9f97e1
SP
1832 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1833 their values.
1834 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1835 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1836 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1837 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1838
4c4febf5
AJ
18392012-12-28 Andreas Jaeger <aj@suse.de>
1840
af5843ef
AJ
1841 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1842 values are from Linux 3.7.
1843
4c4febf5
AJ
1844 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1845 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1846
99136f82
SP
18472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1848
2f216c3c 1849 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1850 TRUE case.
1851
99136f82
SP
1852 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1853 (norm): Likewise.
1854 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1855 variables with preprocessor constants.
1856 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1857 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1858 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1859
7fffbdff
BH
18602012-12-27 Bruno Haible <bruno@clisp.org>
1861
1862 [BZ #14317]
1863 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1864 only if needed.
1865
b76eb5f0
SP
18662012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1867
31a7fe5c
SP
1868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1869 and use variable directly.
1870 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1871
b76eb5f0
SP
1872 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1873 MPONE.
1874 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1876 variable MPONE.
1877 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1879 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1880 include directive. Remove local variable MPONE.
1881 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1882 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1884
2c8bfe7d
DM
18852012-12-25 David S. Miller <davem@davemloft.net>
1886
1887 * version.h (RELEASE): Set to "development".
1888 (VERSION): Set to "2.17.90".
1889 * NEWS: Add 2.18 section.
1890
147d03b0
DM
18912012-12-21 David S. Miller <davem@davemloft.net>
1892
1893 * po/hr.po: Update from translation team.
1894
a8ebb2b9
AK
18952012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1896
1897 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1898
95b4f1b6
SE
18992012-12-19 Steve Ellcey <sellcey@mips.com>
1900
b2d94007 1901 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1902
cedb2a90
MS
19032012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1904
1905 * manual/contrib.texi (Contributors): Spelling correction.
1906
bbf527d6
DM
19072012-12-15 David S. Miller <davem@davemloft.net>
1908
1909 * po/ru.po: Update from translation team.
1910
bc38c906
DM
19112012-12-13 David S. Miller <davem@davemloft.net>
1912
85429b1a
DM
1913 * NEWS: Mention IFUNC testsuite enhancements.
1914
d283e353
DM
1915 * po/pl.po: Update from translation team.
1916 * po/bg.po: Likewise.
1917
bc38c906
DM
1918 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1919 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1920
a181b0d7
DM
19212012-12-11 David S. Miller <davem@davemloft.net>
1922
4641d57e
DM
1923 * po/sv.po: Update from translation team.
1924
f7bc6495
DM
1925 * po/vi.po: Update from translation team.
1926
6fc9048f
DM
1927 * po/cs.po: Update from translation team.
1928
a181b0d7
DM
1929 * po/de.po: Update from translation team.
1930 * po/eo.po: Likewise.
1931 * po/nl.po: Likewise.
1932
f70bfe80
SP
19332012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1934
3c8b4190
SP
1935 [BZ #14246]
1936 * manual/argp.texi (Argp Helper Functions): Move node to follow
1937 Argp Parsing State.
1938
f70bfe80
SP
1939 [BZ #14872]
1940 * manual/conf.texi (Limits on File System Capacity): Mention if
1941 terminating null is included in the max size.
1942
188f0adf
AJ
19432012-12-10 Andreas Jaeger <aj@suse.de>
1944
1945 * po/cs.po: Update from translation team.
1946
56e7d3ad
SP
19472012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1948
1949 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1950 void pointer and cast to uintptr_t.
1951 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1952 path.
1953 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1954 * sysdeps/s390/s390-64/memset.S: Likewise.
1955
76f2d2ea 19562012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1957
1958 [BZ #14833]
1959 * menual/message.texi (Message Translation): Fix typos.
1960 (Helper programs for gettext): Likewise.
1961
67cbf9a2
AS
19622012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1963
1964 [BZ #14898]
1965 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1966 Change to -1.
1967
682d0e9a
DM
19682012-12-07 David S. Miller <davem@davemloft.net>
1969
1970 * po/libc.pot: Update.
1971
573cd484
RH
19722012-12-07 Richard Henderson <rth@redhat.com>
1973
7e9da188 1974 [BZ #10114]
573cd484
RH
1975 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1976 normal/normal case to before the switch.
1977 (_FP_DIV): Likewise.
1978
e933a943
MF
19792012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1980 Mike Frysinger <vapier@gentoo.org>
1981
1982 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1983 check for __NR_fadvise64_64.
1984
82123268
CM
19852012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1986
1987 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1988 0, not just to plain "0" as a statement.
1989 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1990 with cw.
1991
d9814526
JM
19922012-12-06 Joseph Myers <joseph@codesourcery.com>
1993
1994 * NEWS: Use sourceware.org in Bugzilla URL.
1995
7728c574
SP
19962012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1997
f16946dd
SP
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1999 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2000
5704bbcb
SP
2001 * stdio-common/tst-put-error.c (do_test): Add newline to the
2002 padded test to ensure flush.
2003
17aa0516
JL
20042012-12-05 Jeff Law <law@redhat.com>
2005
2006 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2007
363313b5
JM
20082012-12-05 Joseph Myers <joseph@codesourcery.com>
2009
effbd42a
JM
2010 * README: Don't refer to ports add-on as distributed separately.
2011 Mention AArch64 in list of systems supported in the ports add-on.
2012
87600365
JM
2013 * LICENSES: Add more non-FSF copyright and license notices.
2014
a0d7066a
JM
2015 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2016 ((unused)).
2017
66ca5a5b
JM
2018 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2019
363313b5
JM
2020 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2021 10000 as width of padded output.
2022
b37984ad
JM
20232012-12-04 Joseph Myers <joseph@codesourcery.com>
2024
9003570a
JM
2025 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2026
b37984ad
JM
2027 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2028 variable LX with __attribute__ ((unused)).
2029 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2030 Likewise.
2031 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2033 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2034 with __attribute__ ((unused)).
2035
c8df52ec
DM
20362012-12-04 David S. Miller <davem@abraco.davemloft.net>
2037
2038 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2039
b3b099af
JM
20402012-12-04 Joseph Myers <joseph@codesourcery.com>
2041
c33aa6e3
JM
2042 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2043 (CFLAGS-nldbl-acos.c): New variable.
2044 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2045 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2046 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2047 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2048 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2049 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2050 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2051 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2052 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2053 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2054 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2055 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2056 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2057 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2058 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2059 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2060 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2061 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2062 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2063 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2064 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2065 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2066 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2067 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2068 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2069 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2070 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2071 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2072 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2073 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2074 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2075 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2076 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2077 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2078 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2079 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2080 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2081 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2082 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2083 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2084 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2085 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2086 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2087 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2088 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2089 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2090 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2091 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2092 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2093 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2094 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2095 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2096 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2097 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2098 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2099 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2100 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2101 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2102 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2103 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2104 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2105 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2106 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2107 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2108 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2109 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2110 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2111 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2112 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2113 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2114 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2115 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2116 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2117 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2118 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2119 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2120 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2121 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2122 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2123 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2124 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2125 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2126 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2127 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2128 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2129 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2130 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2131 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2132 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2133 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2134 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2135 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2136 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2137 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2138 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2139 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2140 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2141
20f0018d
JM
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2143 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2144
b3b099af
JM
2145 [BZ #14914]
2146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2147 whole low double instead of just low 47 bits when splitting values
2148 into two parts.
2149
029264d1
AM
21502012-12-03 Allan McRae <allan@archlinux.org>
2151
2152 * manual/stdio.texi (Predefined Printf Handlers): Remove
2153 @hsep and @vsep usage.
2154
c9d6789e
MF
21552012-12-03 Mike Frysinger <vapier@gentoo.org>
2156
2157 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2158 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2159
4b7634a5
JL
21602012-12-03 Jeff Law <law@redhat.com>
2161
2162 * time/sys/time.h (settimeofday): Do not mark TV argument
2163 as __nonnull.
2164
eb6cbd24
MF
21652012-12-01 Mike Frysinger <vapier@gentoo.org>
2166
2167 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2168 when currently writing and seek to current position when not.
2169 * libio/Makefile (tests): Remove bug-fclose1.
2170 * libio/bug-fclose1.c: Delete.
2171
f638872a
JM
21722012-12-01 Joseph Myers <joseph@codesourcery.com>
2173
2174 * manual/arith.texi (feenableexcept): Fix typo.
2175 (fedisableexcept): Likewise.
2176
48085d14
RM
21772012-11-30 Roland McGrath <roland@hack.frob.com>
2178
2179 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2180 second, differently-typed declaration, rather than a cast.
2181
1a538b9f
SP
21822012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2183
2184 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2185 * include/rpc/svc.h: ... here.
2186
d07f2ff1 21872012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2188
2189 [BZ #13013]
2190 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2191 depending n and resplen2 to catch cases where answer
2192 equals answerp2.
2193
c93ec1f0
CD
21942012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2195
2196 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2197 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2198
37db69de
MF
21992012-11-29 Mike Frysinger <vapier@gentoo.org>
2200
2201 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2202
e10c4e4f
RM
22032012-11-29 Roland McGrath <roland@hack.frob.com>
2204
2205 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2206
2af1b328
JL
22072012-11-28 Jeff Law <law@redhat.com>
2208
2209 [BZ #13761]
2210 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2211 dataset_temporary. Track alloca usage into alloca_used.
2212 If dataset is large allocate and release it via malloc/free.
2213
111db5b1
FW
22142012-06-04 Florian Weimer <fweimer@redhat.com>
2215
f06cc227 2216 [BZ #14197]
111db5b1
FW
2217 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2218
dd694abd
DM
22192012-11-28 David S. Miller <davem@davemloft.net>
2220
2221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2222
9984dd01
JM
22232012-11-28 Joseph Myers <joseph@codesourcery.com>
2224
2225 [BZ #14803]
2226 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2227 of pi/2 rounded to nearest to 64 bits.
2228 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2229 nearest to 64 bits.
2230 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2231 bits.
2232
14bc93a9
JL
22332012-11-28 Jeff Law <law@redhat.com>
2234 Martin Osvald <mosvald@redhat.com>
2235
2236 [BZ #14889]
2237 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2238 * sunrpc/svc.c: Include time.h.
2239 (__svc_accept_failed): New function.
2240 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2241 any reason other than EINTR, call __svc_accept_failed.
2242 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2243 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2244
e3c6aa3a
AS
22452012-11-28 Andreas Schwab <schwab@suse.de>
2246
2247 * scripts/abilist.awk: Also handle indirect functions in .opd
2248 section.
2249
1bead169
JM
22502012-11-28 Joseph Myers <joseph@codesourcery.com>
2251
2252 [BZ #13881]
2253 * sysdeps/x86/fpu/powl_helper.c: New file.
2254 * sysdeps/x86/fpu/Makefile: Likewise.
2255 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2256 (p3): New object.
2257 (__ieee754_powl): Use __powl_helper for finite arguments except
2258 integer exponents below 8.
2259 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2260 (p3): New object.
2261 (__ieee754_powl): Use __powl_helper for finite arguments except
2262 integer exponents below 8.
2263 * math/libm-test.inc (pow_test): Add more tests and enable some
2264 previously disabled tests.
2265 * sysdeps/i386/fpu/libm-test-ulps: Update.
2266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2267
0817d63d
SP
22682012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2269 Carlos O'Donell <carlos_odonell@mentor.com>
2270
2271 * nss/makedb.c (is_prime): Assert that input is odd and greater
2272 than 4. Note that fact in a comment too.
2273 (next_prime): Add 4 to input.
2274
de2fd463
SP
22752012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2276
2277 [BZ #11741]
2278 * libio/Makefile (tests): Add test case tst-fwrite-error.
2279 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2280 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2281 * libio/tst-fwrite-error.c: New test case.
2282
c515fb51
L
22832012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2284
2285 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2286 before casting to void *.
2287 * include/libc-internal.h (__pointer_type): New macro.
2288 (__integer_if_pointer_type_sub): Likewise.
2289 (__integer_if_pointer_type): Likewise.
2290 (cast_to_integer): Likewise.
2291 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2292 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2293 before casting to atomic64_t.
2294 (atomic_exchange_acq): Likewise.
2295 (__arch_exchange_and_add_body): Likewise.
2296 (__arch_add_body): Likewise.
2297 (atomic_add_negative): Likewise.
2298 (atomic_add_zero): Likewise.
2299
4cf77aa9
JM
23002012-11-26 Joseph Myers <joseph@codesourcery.com>
2301
2302 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2303 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2304 (add_fdes): Likewise.
2305 (linear_search_fdes): Likewise.
2306 (binary_search_unencoded_fdes): Likewise.
2307
d260b3b4
AS
23082012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2309
2310 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2311
67060746
AC
23122012-11-24 Adam Conrad <adconrad@0c3.net>
2313
2314 * configure.in: Autodetect C++ header directories.
2315 * configure: Regenerated.
2316
800938a1
MF
23172012-11-23 Mike Frysinger <vapier@gentoo.org>
2318
2319 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2320
4e6e34e6
AS
23212012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2322
2323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2324
7c7feb47
JM
23252012-11-22 Joseph Myers <joseph@codesourcery.com>
2326
7184dcdf
JM
2327 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2328 LDBL_MANT_DIG == 106]: Disable some tests.
2329 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2330 Likewise.
2331 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2332 Likewise.
2333
0a42601f
JM
2334 [BZ #14871]
2335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2336 input for small inputs. Return +/- pi/2 for large inputs.
2337 * math/libm-test.inc (atan_test): Add more tests.
2338
79c9b9fe
JM
2339 * sysdeps/generic/unwind-dw2-fde-glibc.c
2340 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2341 __attribute__ ((unused)).
2342
c60d3bf2
JM
2343 [BZ #14645]
2344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2345 x * y if x and y are nonzero and z is zero.
2346
ef1e0867
JM
2347 [BZ #14811]
2348 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2349 nonzero exponents with absolute value below 0x1p-117 to +/-
2350 0x1p-117.
2351
1468ded3
JM
2352 [BZ #14869]
2353 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2354 up arguments below 2**-450, not just those below 2**-500.
2355 * math/libm-test.inc (hypot_test): Add another test.
2356
8e27e3cc
JM
2357 [BZ #14868]
2358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2359 Return a+b for ratio over 2**120, not 2**60.
2360 * math/libm-test.inc (hypot_test): Add another test.
2361
c9c0279b
JM
2362 * math/libm-test.inc (clog_test): Use
2363 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2364 (clog10_test): Likewise.
2365
7c7feb47
JM
2366 [BZ #6778]
2367 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2368
fff1530e
AS
23692012-11-22 Andreas Schwab <schwab@suse.de>
2370
2371 * sysdeps/i386/fpu/libm-test-ulps: Update.
2372
94558d30
PT
23732012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2374
2375 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2376 printf output with newline.
2377
7e1be741
L
23782012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2379
6bfea974
L
2380 [BZ #14865]
2381 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2382 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2383 -z nodlopen, -z initfirst and -z execstack support.
2384 * configure: Regenerated.
2385
7e1be741
L
2386 * elf/elf.h (DF_1_NODIRECT): New macro.
2387 (DF_1_IGNMULDEF): Likewise.
2388 (DF_1_NOKSYMS): Likewise.
2389 (DF_1_NOHDR): Likewise.
2390 (DF_1_EDITED): Likewise.
2391 (DF_1_NORELOC): Likewise.
2392 (DF_1_SYMINTPOSE): Likewise.
2393 (DF_1_GLOBAUDIT): Likewise.
2394 (DF_1_SINGLETON): Likewise.
2395 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2396 DT_1_SUPPORTED_MASK bits.
2397 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2398
105ce2ce
CD
23992012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2400
2401 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2402
123be9de
TS
24032012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2404
d072f3f7
TS
2405 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2406 macro.
2407
123be9de
TS
2408 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2409 (sendmmsg): Move declarations...
2410 * socket/sys/socket.h: ... here.
2411 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2412 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2413 include it from...
2414 * socket/recvmmsg.c: ... this new file.
2415 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2416 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2417 definition of __sendmmsg hidden.
2418 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2419 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2420 Move ENOSYS stub into and include it from...
2421 * socket/sendmmsg.c: ... this new file.
2422 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2423 (sysdep_routines): Move recvmmsg and sendmmsg...
2424 * socket/Makefile (routines): ... here.
2425 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2426 (GLIBC_PRIVATE): Add __sendmmsg.
2427 * include/sys/socket.h (__sendmmsg): Add declarations.
2428 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2429 sendmmsg.
2430
cf9a5d18
JM
24312012-11-20 Joseph Myers <joseph@codesourcery.com>
2432
2433 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2434 variable I1 with __attribute__ ((unused)).
2435 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2436
ecd4caf9
JM
24372012-11-19 Joseph Myers <joseph@codesourcery.com>
2438
be14d48f
JM
2439 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2440 DUMMY variables with __attribute__ ((unused)).
2441
ecd4caf9
JM
2442 * bits/byteswap.h: Include <bits/types.h>.
2443 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2444
986cab95
PT
24452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2446
2447 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2448 string_t. Do not manually set errno.
2449 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2450 length with __strnlen. Make sure to both set errno and return it on
2451 failure.
2452
6d33cc9d
DM
24532012-11-19 David S. Miller <davem@davemloft.net>
2454
2455 With help from Joseph Myers.
2456 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2457 very large arguments properly.
2458 * math/libm-test.inc (atan_test): New tests.
2459 (atan2_test): New tests.
2460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2462
ee663277
JM
24632012-11-19 Joseph Myers <joseph@codesourcery.com>
2464
877f2d8e
JM
2465 [BZ #14856]
2466 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2467 Define to 3.
2468
116fc08a
JM
2469 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2470 [POSIX] (EADDRNOTAVAIL): Likewise.
2471 [POSIX] (EAFNOSUPPORT): Likewise.
2472 [POSIX] (EALREADY): Likewise.
2473 [POSIX] (ECONNABORTED): Likewise.
2474 [POSIX] (ECONNREFUSED): Likewise.
2475 [POSIX] (ECONNRESET): Likewise.
2476 [POSIX] (EDESTADDRREQ): Likewise.
2477 [POSIX] (EDQUOT): Likewise.
2478 [POSIX] (EHOSTUNREACH): Likewise.
2479 [POSIX] (EIDRM): Likewise.
2480 [POSIX] (EISCONN): Likewise.
2481 [POSIX] (ELOOP): Likewise.
2482 [POSIX] (EMULTIHOP): Likewise.
2483 [POSIX] (ENETDOWN): Likewise.
2484 [POSIX] (ENETUNREACH): Likewise.
2485 [POSIX] (ENOBUFS): Likewise.
2486 [POSIX] (ENODATA): Likewise.
2487 [POSIX] (ENOLINK): Likewise.
2488 [POSIX] (ENOMSG): Likewise.
2489 [POSIX] (ENOPROTOOPT): Likewise.
2490 [POSIX] (ENOSR): Likewise.
2491 [POSIX] (ENOSTR): Likewise.
2492 [POSIX] (ENOTCONN): Likewise.
2493 [POSIX] (ENOTSOCK): Likewise.
2494 [POSIX] (EOPNOTSUPP): Likewise.
2495 [POSIX] (EOVERFLOW): Likewise.
2496 [POSIX] (EPROTO): Likewise.
2497 [POSIX] (EPROTONOSUPPORT): Likewise.
2498 [POSIX] (EPROTOTYPE): Likewise.
2499 [POSIX] (ESTALE): Likewise.
2500 [POSIX] (ETIME): Likewise.
2501 [POSIX] (ETXTBSY): Likewise.
2502 [POSIX] (EWOULDBLOCK): Likewise.
2503 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2504 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2505 [POSIX] (SEEK_CUR): Likewise.
2506 [POSIX] (SEEK_END): Likewise.
2507 [POSIX || UNIX98] (mode_t): Do not require.
2508 [POSIX] (off_t): Likewise.
2509 [POSIX] (pid_t): Likewise.
2510 [POSIX] (sys/stat.h): Do not allow header.
2511 [POSIX] (unistd.h): Likewise.
2512 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2513 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2514 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2515 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2516 require.
2517 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2518 sigevent): Specify elements.
2519 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2520 entry.
2521 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2522 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2523
a483863f
JM
2524 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2525 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2526 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2527 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2528 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2529 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2530 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2531 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2532 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2533 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2534 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2535 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2536 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2537 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2538 Likewise.
2539 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2540 Likewise.
2541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2542 Likewise.
2543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2544 Likewise.
2545 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2546 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2547 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2548 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2549 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2550 Specify lower bound on value.
2551 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2552 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2553 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2554 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2555 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2556 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2557 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2558 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2559 value.
2560 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2561 as optional.
2562 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2563 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2564 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2565 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2566 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2567 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2568 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2569 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2570 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2571 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2572 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2573 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2574 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2575 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2576 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2577 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2578 entry.
2579 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2580 optional.
2581 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2582 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2583 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2584 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2585 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2586 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2587 Likewise.
2588 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2589 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2590 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2591 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2592 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2593 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2594 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2595 as optional.
2596 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2597 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2599 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2600 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2601 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2602 specify as optional.
2603 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2604 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2605 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2606 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2607 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2608 [XPG3] (NL_LANGMAX): Likewise.
2609 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2610 [POSIX || XPG3] (NL_NMAX): Likewise.
2611 [POSIX || XPG3] (NL_SETMAX): Likewise.
2612 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2613 [XPG3] (NZERO): Likewise.
2614 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2615 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2616 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2617 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2618 (REG_ERANGE): Expect.
2619 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2620 optional-constant.
2621 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2622 Use (void) in prototype.
2623 [POSIX] (*_t): Allow.
2624 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2625 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2626 (WRDE_BADVAL): Expect.
2627
5ba924e3
JM
2628 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2629 expect.
2630 [XPG3 || XPG4] (O_RSYNC): Likewise.
2631 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2632 Likewise.
2633 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2634 [XPG3 || XPG4] (sigqueue): Likewise.
2635 [XPG3 || XPG4] (sigtimedwait): Likewise.
2636 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2637 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2638 [XPG3 || XPG4] (vsnprintf): Likewise.
2639 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2640 Likewise.
2641 [XPG3 || XPG4] (blksize_t): Likewise.
2642 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2643 Likewise.
2644 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2645 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2646 [XPG3 || XPG4] (struct itimerspec): Likewise.
2647 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2648 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2649 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2650 [XPG3 || XPG4] (clockid_t): Likewise.
2651 [XPG3 || XPG4] (timer_t): Likewise.
2652 [XPG3 || XPG4] (clock_getres): Likewise.
2653 [XPG3 || XPG4] (clock_gettime): Likewise.
2654 [XPG3 || XPG4] (clock_settime): Likewise.
2655 [XPG3 || XPG4] (nanosleep): Likewise.
2656 [XPG3 || XPG4] (timer_create): Likewise.
2657 [XPG3 || XPG4] (timer_delete): Likewise.
2658 [XPG3 || XPG4] (timer_gettime): Likewise.
2659 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2660 [XPG3 || XPG4] (timer_settime): Likewise.
2661 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2662 [XPG3 || XPG4] (getlogin_r): Likewise.
2663 [XPG3 || XPG4] (pread): Likewise.
2664 [XPG3 || XPG4] (pthread_atfork): Likewise.
2665 [XPG3 || XPG4] (pwrite): Likewise.
2666
ee663277
JM
2667 [BZ #14835]
2668 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2669 <bits/siginfo.h>.
2670
942caa16
PT
26712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2672
e19af380
PT
2673 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2674 finalizing MALLSTREAM.
2675
942caa16
PT
2676 * sysdeps/mach/hurd/syncfs.c: New file.
2677
cfde9b46
SP
26782012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2679
2680 [BZ #14719]
2681 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2682 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2683 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2684 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2685 (_nss_dns_gethostbyname4_r): Likewise.
2686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2687 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2688
f6da27e5
PH
26892012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2690
2691 [BZ #13763]
2692 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2693
6665d4a2
SM
26942012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2695
1f51ee92
SM
2696 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2697 * elf/cache.c (print_entry): Print ",AArch64" for
2698 FLAG_AARCH64_LIB64
2699
6665d4a2
SM
2700 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2701 * elf/cache.c (print_entry): Print ",hard-float" for
2702 FLAG_ARM_LIBHF.
2703
05b227bd
DM
27042012-11-18 David S. Miller <davem@davemloft.net>
2705
2706 With help from Joseph Myers.
2707 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2708 cutoff to 2**-13.
2709 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2710 cutoff to 2**-25.
2711 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2712 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2713 small.
2714 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2715 * math/libm-test.inc (y0_test): New tests.
2716 (y1_test): New tests.
2717 * sysdeps/i386/fpu/libm-test-ulps: Update.
2718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2720
786b0b67
AS
27212012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2722
2723 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2724 64-bit targets.
2725 * configure: Regenerated.
2726
8e18b86d
DM
27272012-11-17 David S. Miller <davem@davemloft.net>
2728
2729 [BZ #14811]
2730 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2731 nonzero exponents with absolute value below 0x1p-128 to +/-
2732 0x1p-128.
2733
531f1ae0
JM
27342012-11-17 Joseph Myers <joseph@codesourcery.com>
2735
12df29e2
JM
2736 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2737
150dc1a0
JM
2738 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2739
531f1ae0
JM
2740 * posix/getconf-speclist.c: New file.
2741 * posix/posix-envs.def: Likewise.
2742 * posix/confstr.c (START_ENV_GROUP): New macro.
2743 (END_ENV_GROUP): Likewise.
2744 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2745 (KNOWN_PRESENT_ENV_STRING): Likewise.
2746 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2747 (UNKNOWN_ENVIRONMENT): Likewise.
2748 (confstr): Include posix-envs.def instead of handling
2749 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2750 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2751 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2752 (END_ENV_GROUP): Likewise.
2753 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2754 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2755 (UNKNOWN_ENVIRONMENT): Likewise.
2756 (__sysconf): Include posix-envs.def instead of handling associated
2757 cases directly here.
2758 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2759 preprocessing getconf-speclist.c rather than running getconf or
2760 generating empty file.
2761
a93f9cbc
PT
27622012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2763
2764 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2765
d64d9f87
AL
27662012-11-16 Andrej Lajovic <natrij@gmail.com>
2767
2768 [BZ #14672]
2769 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2770
447885eb
DM
27712012-11-16 David S. Miller <davem@davemloft.net>
2772
2773 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2774 smaller than LDBL_EPSILON/2.0L, just return xm1.
2775
bcbf9830
L
27762012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 * elf/tst-array1.c (init): Set constructor priority to 1000.
2779 (fini): Set destructor priority to 1000.
2780 * elf/tst-array2dep.c: Likewise.
2781
2b766585
SP
27822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2783
2784 [BZ #11741]
2785 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2786 (_IO_new_file_xsputn): Also return EOF if none of the input
2787 data was written when overflow failed.
2788 * libio/iopadn.c (_IO_padn): Likewise.
2789 * libio/iowpadn.c (_IO_wpadn): Likewise.
2790 * stdio-common/tst-put-error.c: Add copyright notice.
2791 (do_test): Add case for printing padded string.
2792 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2793 _IO_padn returned error.
2794 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2795 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2796 return EOF.
2797
b1848fde
SP
27982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2799
2800 * libio/libioP.h: Add comment note that the references to C++
2801 bits are now obsolete.
2802
2fd89785
MS
28032012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2804
2805 * math/libm-test.inc (check_complex): Use asprintf.
2806
e3ea5409
JM
28072012-11-14 Joseph Myers <joseph@codesourcery.com>
2808
2809 * debug/pcprofiledump.c (print_version): Update copyright year.
2810 * malloc/memusagestat.c (print_version): Likewise.
2811
2e64d265
L
28122012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2813
2814 [BZ #14831]
2815 * elf/Makefile (tests): Add tst-audit8.
2816 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2817 ($(objpfx)tst-audit8.out): New target.
2818 (tst-audit8-ENV): New variable.
2819 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2820 audit if l_reloc_result is NULL.
2821 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2822 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2823 * elf/tst-audit8.c: New file.
2824
c485e4d2
MS
28252012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2826
2827 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2828 * misc/Makefile (CFLAGS-select.c): Define.
2829 * posix/Makefile (CFLAGS-pause.c): Define.
2830
3a0d900a
DM
28312012-11-13 David S. Miller <davem@davemloft.net>
2832
2833 * crypt/Makefile: Move test targets after toplevel Rules
2834 inclusion. Grab any necessary sysdep routines when linking.
2835 * crypt/md5.c (md5_process_block): Remove define, we will always
2836 name it __md5_process_block.
2837 (md5_finish_ctx): Update md5_process_block call.
2838 (md5_stream): Likewise.
2839 (md5_process_bytes): Likewise.
2840 (md5_process_block): Rename to __md5_process_block and move to ...
2841 * crypt/md5-block.c: ... here.
2842 * crypt/sha256.c (sha256_process_block): Move to ...
2843 * crypt/sha256-block.c: ... here.
2844 * crypt/sha512.c (sha512_process_block): Move to ...
2845 * crypt/sha512-block.c: ... here.
2846 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2847 path.
2848 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2849 * sysdeps/sparc/sparc64/multiarch/Makefile
2850 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2851 crypt subdir.
2852 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2853 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2854 multiarch changes.
2855 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2856 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2857 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2858 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2859 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2860 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2861 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2862 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2863 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2864 file.
2865 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2866 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2867 file.
2868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2869
8ca89318
JM
28702012-11-13 Joseph Myers <joseph@codesourcery.com>
2871
e27d476a
JM
2872 * timezone/tzselect.ksh: Update from tzcode git revision
2873 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2874 * timezone/zdump.c: Likewise.
2875 * timezone/zic.c: Likewise.
2876 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2877 in TZVERSION setting, not $(PKGVERSION).
2878 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2879 REPORT_BUGS_TO settings.
2880
8ca89318
JM
2881 [BZ #14838]
2882 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2883 macro.
2884
47594329
MS
28852012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2886
2887 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2888 detection to immediately after _FP_ROUND().
2889 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2890 bits are 0.
2891
640ac3f1
DM
28922012-11-11 David S. Miller <davem@davemloft.net>
2893
2894 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2895 inttypes.h
2896 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2897 __close rather than their public counterparts.
2898
3d2577bb
JM
28992012-11-10 Joseph Myers <joseph@codesourcery.com>
2900
2901 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2902 file.
2903 [UNIX98] (sem_timedwait): Do not expect.
2904 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2905 [XPG4 || UNIX98] (sockatmark): Do not expect.
2906 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2907 (clock_getcpuclockid): Do not expect.
2908 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2909 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2910 Do not expect.
2911 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2912 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2913 [UNIX98] (vwscanf): Likewise.
2914 [UNIX98] (vswscanf): Likewise.
2915
fb1ae1ee
JM
29162012-11-09 Joseph Myers <joseph@codesourcery.com>
2917
9ec6f8bd
JM
2918 * timezone/version.h: Remove file.
2919 * timezone/README: Do not refer to version.h.
2920 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2921 $(objpfx)version.h.
2922 ($(objpfx)zdump.o): Likewise.
c3f81911 2923 ($(objpfx)version.h): New target.
9ec6f8bd 2924
0aa8f8a1
JM
2925 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2926 2012i.
2927 * timezone/README: Don't mention modification to tzselect.ksh.
2928 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2929 work on unmodified tzselect.ksh. Substitute version numbers in
2930 tzselect.ksh.
2931
4e87147f
JM
2932 * Makefile (format-me): Remove.
2933 (INSTALL): Adjust indentation. Use commands directly instead of
2934 using $(format-me).
2935
8b748aed
JM
2936 * aclocal.m4 (ACX_PKGVERSION): New macro.
2937 (ACX_BUGURL): Likewise.
2938 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2939 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2940 (REPORT_BUGS_TO): Likewise.
2941 * configure: Regenerated.
2942 * config.h.in (PKGVERSION): New macro.
2943 (REPORT_BUGS_TO): Likewise.
2944 * config.make.in (PKGVERSION): New variable.
2945 (PKGVERSION_TEXI): Likewise.
2946 (REPORT_BUGS_TO): Likewise.
2947 (REPORT_BUGS_TEXI): Likewise.
2948 * Makefile (format-me): Use -I$(common-objpfx)manual.
2949 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2950 ($(common-objpfx)manual/%): New target.
2951 (manual/%): Remove target.
2952 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2953 (print_version): Use PKGVERSION.
2954 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2955 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2956 and REPORT_BUGS_TO.
2957 ($(objpfx)xtrace): Likewise.
2958 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2959 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2960 (print_version): Use PKGVERSION.
2961 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2962 (do_version): Use PKGVERSION.
2963 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2964 REPORT_BUGS_TO.
2965 (common-ldd-rewrite): Likewise.
2966 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2967 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2968 (print_version): Use PKGVERSION.
2969 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2970 * elf/pldd.c (argp_program_bug_address): Remove variable.
2971 (more_help): New function.
2972 (argp): Use more_help.
2973 (print_version): Use PKGVERSION.
2974 * elf/sln.c (main): Use PKGVERSION.
2975 (usage): Use REPORT_BUGS_TO.
2976 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2977 (top level): Use PKGVERSION.
2978 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2979 (print_version): Use PKGVERSION.
2980 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2981 (print_version): Use PKGVERSION.
2982 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2983 (print_version): Use PKGVERSION.
2984 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2985 (print_version): Use PKGVERSION.
2986 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2987 (print_version): Use PKGVERSION.
2988 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2989 (print_version): Use PKGVERSION.
2990 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2991 and BUGURL.
2992 ($(objpfx)memusage): Likewise.
2993 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2994 (do_version): Use PKGVERSION.
2995 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2996 (print_version): Use PKGVERSION.
2997 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2998 ($PKGVERSION): New variable.
2999 ($REPORT_BUGS_TO): Likewise.
3000 (usage): Use $REPORT_BUGS_TO.
3001 (top level): Use $PKGVERSION.
3002 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3003 ($(objpfx)pkgvers.texi): New rule.
3004 ($(objpfx)stamp-pkgvers): Likewise.
3005 * manual/install.texi: Include pkgvers.texi.
3006 (--with-pkgversion): Document new configure option.
3007 (--with-bugurl): Likewise.
3008 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3009 than necessarily for this particular distribution. Use
3010 REPORT_BUGS_TO for where to report bugs.
3011 * INSTALL: Regenerated.
3012 * manual/libc.texinfo: Include pkgvers.texi.
3013 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3014 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3015 (print_version): Use PKGVERSION.
3016 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3017 (print_version): Use PKGVERSION.
3018 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3019 (print_version): Use PKGVERSION.
3020 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3021 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3022 macro.
3023 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3024 (print_version): Use PKGVERSION.
3025 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3026 (print_version): Use PKGVERSION.
3027 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3028 and PKGVERSION.
3029
92e4b6a9
JM
3030 * timezone/checktab.awk: Update from tzcode 2012i.
3031 * timezone/ialloc.c: Likewise.
3032 * timezone/private.h: Likewise.
3033 * timezone/scheck.c: Likewise.
3034 * timezone/tzfile.h: Likewise.
3035 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3036 (TZVERSION): Hardcode tzcode version number.
3037 * timezone/zdump.c: Update from tzcode 2012i.
3038 * timezone/zic.c: Likewise.
3039 * timezone/version.h: New file.
3040 * timezone/README: Describe version.h. Update upstream location.
3041
9bde902c
JM
3042 [BZ #14824]
3043 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3044 (mktemp): Enable declaration.
3045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3049 Likewise.
3050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3051 Likewise.
3052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3053 Likewise.
3054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3055 Likewise.
3056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3057 Likewise.
3058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3059 Likewise.
3060
fb1ae1ee
JM
3061 [BZ #14821]
3062 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3063 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3064 for copies of such integer values.
3065 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3066 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3067
2c1adbcb
AJ
30682012-11-09 Andreas Jaeger <aj@suse.de>
3069
3070 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3071 definitions and declarations that are provided by
3072 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3073
d0f8457e
AK
30742012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3075
3a235abb 3076 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3077 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3078 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3079 definition.
3080
57241e26
MS
30812012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3082
3083 * elf/elf.h: Update comment before AArch64 relocations.
3084
60e8270d
DM
30852012-11-07 David S. Miller <davem@davemloft.net>
3086
3087 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3089 (__start_context): Declare.
3090 (__makecontext_ret): Delete.
3091 (__makecontext): Hook up __start_context instead of
3092 __makecontext_ret.
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3094 (sysdep_routines): Add __start_context when in stdlib.
3095
0fbb0fbc
JM
30962012-11-07 Joseph Myers <joseph@codesourcery.com>
3097
3098 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3099 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3100 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3101 hardcoded "nm".
3102 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3103 (READELF): New variable. Use it instead of hardcoded "readelf".
3104
eb48db7e
L
31052012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3108 * sysdeps/x86/Makefile: Here.
3109 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3110 * sysdeps/x86/tst-xmmymm.sh: This.
3111
05bcf62a
JM
31122012-11-07 Joseph Myers <joseph@codesourcery.com>
3113
c4b6cf53
JM
3114 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3115 expectations.
3116 [UNIX98] (pthread_barrier_t): Do not expect.
3117 [UNIX98] (pthread_barrierattr_t): Likewise.
3118 [UNIX98] (pthread_spinlock_t): Likewise.
3119 [UNIX98] (pthread_barrier_destroy): Likewise.
3120 [UNIX98] (pthread_barrier_init): Likewise.
3121 [UNIX98] (pthread_barrier_wait): Likewise.
3122 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3123 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3124 [UNIX98] (pthread_barrierattr_init): Likewise.
3125 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3126 [UNIX98] (pthread_getcpuclockid): Likewise.
3127 [UNIX98] (pthread_mutex_timedlock): Likewise.
3128 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3129 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3130 [UNIX98] (pthread_sigmask): Likewise.
3131 [UNIX98] (pthread_spin_destroy): Likewise.
3132 [UNIX98] (pthread_spin_init): Likewise.
3133 [UNIX98] (pthread_spin_lock): Likewise.
3134 [UNIX98] (pthread_spin_trylock): Likewise.
3135 [UNIX98] (pthread_spin_unlock): Likewise.
3136 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3137 Do not expect.
3138 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3139 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3140 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3141 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3142 [XPG3 || XPG4] (pthread_key_t): Likewise.
3143 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3144 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3145 [XPG3 || XPG4] (pthread_once_t): Likewise.
3146 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3147 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3148 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3149 [XPG3 || XPG4] (pthread_t): Likewise.
3150
cbe6e120
JM
3151 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3152 not expect.
3153 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3154
1b126443
JM
3155 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3156 Change function return type to int.
3157
b961a573
JM
3158 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3159 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3160 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3161 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3162 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3163 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3164 [!POSIX] (posix_madvise): Likewise.
3165 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3166 && !UNIX98].
3167 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3168 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3169 (mode_t): Likewise.
3170 (posix_mem_offset): Likewise.
3171 (posix_typed_mem_get_info): Likewise.
3172 (posix_typed_mem_open): Likewise.
3173
9e188909
JM
3174 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3175 Change condition to [XOPEN2K8].
3176
05bcf62a
JM
3177 * conform/conformtest.pl: Preprocess allow-header data with -x c
3178 instead of from stdin.
3179 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3180 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3181 [C99-based standards] (cerfc): Likewise.
3182 [C99-based standards] (cexp2): Likewise.
3183 [C99-based standards] (cexpm1): Likewise.
3184 [C99-based standards] (clog10): Likewise.
3185 [C99-based standards] (clog1p): Likewise.
3186 [C99-based standards] (clog2): Likewise.
3187 [C99-based standards] (clgamma): Likewise.
3188 [C99-based standards] (ctgamma): Likewise.
3189 [C99-based standards] (cerff): Likewise.
3190 [C99-based standards] (cerfcf): Likewise.
3191 [C99-based standards] (cexp2f): Likewise.
3192 [C99-based standards] (cexpm1f): Likewise.
3193 [C99-based standards] (clog10f): Likewise.
3194 [C99-based standards] (clog1pf): Likewise.
3195 [C99-based standards] (clog2f): Likewise.
3196 [C99-based standards] (clgammaf): Likewise.
3197 [C99-based standards] (ctgammaf): Likewise.
3198 [C99-based standards] (cerfl): Likewise.
3199 [C99-based standards] (cerfcl): Likewise.
3200 [C99-based standards] (cexp2l): Likewise.
3201 [C99-based standards] (cexpm1l): Likewise.
3202 [C99-based standards] (clog10l): Likewise.
3203 [C99-based standards] (clog1pl): Likewise.
3204 [C99-based standards] (clog2l): Likewise.
3205 [C99-based standards] (clgammal): Likewise.
3206 [C99-based standards] (ctgammal): Likewise.
3207 * conform/data/inttypes.h-data [C99-based standards]: Include
3208 stdint.h-data. Remove all expectations for stdint.h contents.
3209 [C99-based standards] (PRI*): Do not allow.
3210 [C99-based standards] (SCN*): Likewise.
3211 [C99-based standards] (*_t): Likewise.
3212 [C99-based-standards] (PRId8): Expect macro.
3213 [C99-based-standards] (PRIi8): Likewise.
3214 [C99-based-standards] (PRIo8): Likewise.
3215 [C99-based-standards] (PRIu8): Likewise.
3216 [C99-based-standards] (PRIx8): Likewise.
3217 [C99-based-standards] (PRIX8): Likewise.
3218 [C99-based-standards] (SCNd8): Likewise.
3219 [C99-based-standards] (SCNi8): Likewise.
3220 [C99-based-standards] (SCNo8): Likewise.
3221 [C99-based-standards] (SCNu8): Likewise.
3222 [C99-based-standards] (SCNx8): Likewise.
3223 [C99-based-standards] (PRIdLEAST8): Likewise.
3224 [C99-based-standards] (PRIiLEAST8): Likewise.
3225 [C99-based-standards] (PRIoLEAST8): Likewise.
3226 [C99-based-standards] (PRIuLEAST8): Likewise.
3227 [C99-based-standards] (PRIxLEAST8): Likewise.
3228 [C99-based-standards] (PRIXLEAST8): Likewise.
3229 [C99-based-standards] (SCNdLEAST8): Likewise.
3230 [C99-based-standards] (SCNiLEAST8): Likewise.
3231 [C99-based-standards] (SCNoLEAST8): Likewise.
3232 [C99-based-standards] (SCNuLEAST8): Likewise.
3233 [C99-based-standards] (SCNxLEAST8): Likewise.
3234 [C99-based-standards] (PRIdFAST8): Likewise.
3235 [C99-based-standards] (PRIiFAST8): Likewise.
3236 [C99-based-standards] (PRIoFAST8): Likewise.
3237 [C99-based-standards] (PRIuFAST8): Likewise.
3238 [C99-based-standards] (PRIxFAST8): Likewise.
3239 [C99-based-standards] (PRIXFAST8): Likewise.
3240 [C99-based-standards] (SCNdFAST8): Likewise.
3241 [C99-based-standards] (SCNiFAST8): Likewise.
3242 [C99-based-standards] (SCNoFAST8): Likewise.
3243 [C99-based-standards] (SCNuFAST8): Likewise.
3244 [C99-based-standards] (SCNxFAST8): Likewise.
3245 [C99-based-standards] (PRId16): Likewise.
3246 [C99-based-standards] (PRIi16): Likewise.
3247 [C99-based-standards] (PRIo16): Likewise.
3248 [C99-based-standards] (PRIu16): Likewise.
3249 [C99-based-standards] (PRIx16): Likewise.
3250 [C99-based-standards] (PRIX16): Likewise.
3251 [C99-based-standards] (SCNd16): Likewise.
3252 [C99-based-standards] (SCNi16): Likewise.
3253 [C99-based-standards] (SCNo16): Likewise.
3254 [C99-based-standards] (SCNu16): Likewise.
3255 [C99-based-standards] (SCNx16): Likewise.
3256 [C99-based-standards] (PRIdLEAST16): Likewise.
3257 [C99-based-standards] (PRIiLEAST16): Likewise.
3258 [C99-based-standards] (PRIoLEAST16): Likewise.
3259 [C99-based-standards] (PRIuLEAST16): Likewise.
3260 [C99-based-standards] (PRIxLEAST16): Likewise.
3261 [C99-based-standards] (PRIXLEAST16): Likewise.
3262 [C99-based-standards] (SCNdLEAST16): Likewise.
3263 [C99-based-standards] (SCNiLEAST16): Likewise.
3264 [C99-based-standards] (SCNoLEAST16): Likewise.
3265 [C99-based-standards] (SCNuLEAST16): Likewise.
3266 [C99-based-standards] (SCNxLEAST16): Likewise.
3267 [C99-based-standards] (PRIdFAST16): Likewise.
3268 [C99-based-standards] (PRIiFAST16): Likewise.
3269 [C99-based-standards] (PRIoFAST16): Likewise.
3270 [C99-based-standards] (PRIuFAST16): Likewise.
3271 [C99-based-standards] (PRIxFAST16): Likewise.
3272 [C99-based-standards] (PRIXFAST16): Likewise.
3273 [C99-based-standards] (SCNdFAST16): Likewise.
3274 [C99-based-standards] (SCNiFAST16): Likewise.
3275 [C99-based-standards] (SCNoFAST16): Likewise.
3276 [C99-based-standards] (SCNuFAST16): Likewise.
3277 [C99-based-standards] (SCNxFAST16): Likewise.
3278 [C99-based-standards] (PRId32): Likewise.
3279 [C99-based-standards] (PRIi32): Likewise.
3280 [C99-based-standards] (PRIo32): Likewise.
3281 [C99-based-standards] (PRIu32): Likewise.
3282 [C99-based-standards] (PRIx32): Likewise.
3283 [C99-based-standards] (PRIX32): Likewise.
3284 [C99-based-standards] (SCNd32): Likewise.
3285 [C99-based-standards] (SCNi32): Likewise.
3286 [C99-based-standards] (SCNo32): Likewise.
3287 [C99-based-standards] (SCNu32): Likewise.
3288 [C99-based-standards] (SCNx32): Likewise.
3289 [C99-based-standards] (PRIdLEAST32): Likewise.
3290 [C99-based-standards] (PRIiLEAST32): Likewise.
3291 [C99-based-standards] (PRIoLEAST32): Likewise.
3292 [C99-based-standards] (PRIuLEAST32): Likewise.
3293 [C99-based-standards] (PRIxLEAST32): Likewise.
3294 [C99-based-standards] (PRIXLEAST32): Likewise.
3295 [C99-based-standards] (SCNdLEAST32): Likewise.
3296 [C99-based-standards] (SCNiLEAST32): Likewise.
3297 [C99-based-standards] (SCNoLEAST32): Likewise.
3298 [C99-based-standards] (SCNuLEAST32): Likewise.
3299 [C99-based-standards] (SCNxLEAST32): Likewise.
3300 [C99-based-standards] (PRIdFAST32): Likewise.
3301 [C99-based-standards] (PRIiFAST32): Likewise.
3302 [C99-based-standards] (PRIoFAST32): Likewise.
3303 [C99-based-standards] (PRIuFAST32): Likewise.
3304 [C99-based-standards] (PRIxFAST32): Likewise.
3305 [C99-based-standards] (PRIXFAST32): Likewise.
3306 [C99-based-standards] (SCNdFAST32): Likewise.
3307 [C99-based-standards] (SCNiFAST32): Likewise.
3308 [C99-based-standards] (SCNoFAST32): Likewise.
3309 [C99-based-standards] (SCNuFAST32): Likewise.
3310 [C99-based-standards] (SCNxFAST32): Likewise.
3311 [C99-based-standards] (PRId64): Likewise.
3312 [C99-based-standards] (PRIi64): Likewise.
3313 [C99-based-standards] (PRIo64): Likewise.
3314 [C99-based-standards] (PRIu64): Likewise.
3315 [C99-based-standards] (PRIx64): Likewise.
3316 [C99-based-standards] (PRIX64): Likewise.
3317 [C99-based-standards] (SCNd64): Likewise.
3318 [C99-based-standards] (SCNi64): Likewise.
3319 [C99-based-standards] (SCNo64): Likewise.
3320 [C99-based-standards] (SCNu64): Likewise.
3321 [C99-based-standards] (SCNx64): Likewise.
3322 [C99-based-standards] (PRIdLEAST64): Likewise.
3323 [C99-based-standards] (PRIiLEAST64): Likewise.
3324 [C99-based-standards] (PRIoLEAST64): Likewise.
3325 [C99-based-standards] (PRIuLEAST64): Likewise.
3326 [C99-based-standards] (PRIxLEAST64): Likewise.
3327 [C99-based-standards] (PRIXLEAST64): Likewise.
3328 [C99-based-standards] (SCNdLEAST64): Likewise.
3329 [C99-based-standards] (SCNiLEAST64): Likewise.
3330 [C99-based-standards] (SCNoLEAST64): Likewise.
3331 [C99-based-standards] (SCNuLEAST64): Likewise.
3332 [C99-based-standards] (SCNxLEAST64): Likewise.
3333 [C99-based-standards] (PRIdFAST64): Likewise.
3334 [C99-based-standards] (PRIiFAST64): Likewise.
3335 [C99-based-standards] (PRIoFAST64): Likewise.
3336 [C99-based-standards] (PRIuFAST64): Likewise.
3337 [C99-based-standards] (PRIxFAST64): Likewise.
3338 [C99-based-standards] (PRIXFAST64): Likewise.
3339 [C99-based-standards] (SCNdFAST64): Likewise.
3340 [C99-based-standards] (SCNiFAST64): Likewise.
3341 [C99-based-standards] (SCNoFAST64): Likewise.
3342 [C99-based-standards] (SCNuFAST64): Likewise.
3343 [C99-based-standards] (SCNxFAST64): Likewise.
3344 [C99-based-standards] (PRIdMAX): Likewise.
3345 [C99-based-standards] (PRIiMAX): Likewise.
3346 [C99-based-standards] (PRIoMAX): Likewise.
3347 [C99-based-standards] (PRIuMAX): Likewise.
3348 [C99-based-standards] (PRIxMAX): Likewise.
3349 [C99-based-standards] (PRIXMAX): Likewise.
3350 [C99-based-standards] (SCNdMAX): Likewise.
3351 [C99-based-standards] (SCNiMAX): Likewise.
3352 [C99-based-standards] (SCNoMAX): Likewise.
3353 [C99-based-standards] (SCNuMAX): Likewise.
3354 [C99-based-standards] (SCNxMAX): Likewise.
3355 [C99-based-standards] (PRIdPTR): Likewise.
3356 [C99-based-standards] (PRIiPTR): Likewise.
3357 [C99-based-standards] (PRIoPTR): Likewise.
3358 [C99-based-standards] (PRIuPTR): Likewise.
3359 [C99-based-standards] (PRIxPTR): Likewise.
3360 [C99-based-standards] (PRIXPTR): Likewise.
3361 [C99-based-standards] (SCNdPTR): Likewise.
3362 [C99-based-standards] (SCNiPTR): Likewise.
3363 [C99-based-standards] (SCNoPTR): Likewise.
3364 [C99-based-standards] (SCNuPTR): Likewise.
3365 [C99-based-standards] (SCNxPTR): Likewise.
3366 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3367 allow.
3368 * conform/data/stdint.h-data: Update comments to clarify
3369 requirements.
3370 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3371 type.
3372 [C99-based standards] (INT8_MAX): Likewise.
3373 [C99-based standards] (INT16_MIN): Likewise.
3374 [C99-based standards] (INT16_MAX): Likewise.
3375 [C99-based standards] (INT32_MIN): Likewise.
3376 [C99-based standards] (INT32_MAX): Likewise.
3377 [C99-based standards] (INT64_MIN): Likewise.
3378 [C99-based standards] (INT64_MAX): Likewise.
3379 [C99-based standards] (UINT8_MAX): Likewise.
3380 [C99-based standards] (UINT16_MAX): Likewise.
3381 [C99-based standards] (UINT32_MAX): Likewise.
3382 [C99-based standards] (UINT64_MAX): Likewise.
3383 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3384 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3385 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3386 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3387 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3388 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3389 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3390 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3391 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3392 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3393 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3394 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3395 [C99-based standards] (INT_FAST8_MIN): Likewise.
3396 [C99-based standards] (INT_FAST8_MAX): Likewise.
3397 [C99-based standards] (INT_FAST16_MIN): Likewise.
3398 [C99-based standards] (INT_FAST16_MAX): Likewise.
3399 [C99-based standards] (INT_FAST32_MIN): Likewise.
3400 [C99-based standards] (INT_FAST32_MAX): Likewise.
3401 [C99-based standards] (INT_FAST64_MIN): Likewise.
3402 [C99-based standards] (INT_FAST64_MAX): Likewise.
3403 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3404 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3405 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3406 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3407 [C99-based standards] (INTPTR_MIN): Likewise.
3408 [C99-based standards] (INTPTR_MAX): Likewise.
3409 [C99-based standards] (UINTPTR_MAX): Likewise.
3410 [C99-based standards] (INTMAX_MIN): Likewise.
3411 [C99-based standards] (INTMAX_MAX): Likewise.
3412 [C99-based standards] (UINTMAX_MAX): Likewise.
3413 [C99-based standards] (PTRDIFF_MIN): Likewise.
3414 [C99-based standards] (PTRDIFF_MAX): Likewise.
3415 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3416 [C99-based standards] (SIZE_MAX): Likewise.
3417 [C99-based standards] (WCHAR_MAX): Likewise.
3418 [C99-based standards] (WINT_MAX): Likewise.
3419 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3420 constraint on value.
3421 [C99-based standards] (WCHAR_MIN): Likewise.
3422 [C99-based standards] (WINT_MIN): Likewise.
3423 [C99-based standards] (*_t): Allow.
3424 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3425 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3426 Include math.h-data and complex.h-data. Remove all expectations
3427 of math.h and complex.h contents.
3428 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3429 at end of line.
3430 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3431 (struct tm): Expect tag.
3432 [C99-based-standards] (wcstof): Expect function.
3433 [C99-based-standards] (wcstold): Likewise.
3434 [C99-based-standards] (wcstoll): Likewise.
3435 [C99-based-standards] (wcstoull): Likewise.
3436 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3437 macro-int-constant. Specify type.
3438 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3439 constraint on value.
3440 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3441 Specify type.
3442 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3443 Specify value.
3444 [ISO C standards]: Do not allow headers.
3445 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3446 wcs[abcdefghijklmnopqrstuvwxyz]*.
3447 [ISO C standards] (*_t): Do not allow.
3448 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3449 Expect function.
3450 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3451 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3452 Specify type.
3453 [ISO C standards]: Do not allow headers.
3454 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3455 is[abcdefghijklmnopqrstuvwxyz]*.
3456 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3457 to[abcdefghijklmnopqrstuvwxyz]*.
3458 [ISO C standards] (*_t): Do not allow.
3459 * conform/data/stdalign.h-data: New file.
3460 * conform/data/stdbool.h-data: Likewise.
3461 * conform/data/stdnoreturn.h-data: Likewise.
3462
7514feb8
RM
34632012-11-07 Roland McGrath <roland@hack.frob.com>
3464
3465 [BZ #14815]
3466 * manual/filesys.texi (Directory Entries): Typo fix.
3467 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3468
19b2ecfc
MS
34692012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3470
3471 * elf/elf.h (EM_AARCH64): New macro.
3472 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3473 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3474 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3475 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3476 (R_AARCH64_TLSDESC): Likewise.
3477 (NT_ARM_TLS): Likewise.
3478 (NT_ARM_HW_BREAK): Likewise.
3479 (NT_ARM_HW_WATCH): Likewise.
3480
60e235ee
JM
34812012-11-07 Joseph Myers <joseph@codesourcery.com>
3482
3483 [BZ #14811]
3484 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3485 (__ieee754_powl): Saturate nonzero exponents with absolute value
3486 below 0x1p-79 to +/- 0x1p-79.
3487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3488 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3489 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3490 nonzero exponents with absolute value below 0x1p-32 to +/-
3491 0x1p-32.
3492 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3493 (__ieee754_powl): Saturate nonzero exponents with absolute value
3494 below 0x1p-79 to +/- 0x1p-79.
3495 * math/libm-test.inc (pow_test): Add more tests.
3496
0ab234b7
AK
34972012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3498
3499 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3500 _dl_s390_cap_flags with kernel. Increase string length.
3501 (_dl_s390_platforms): Add z196 and zEC12.
3502
45832f74
JM
35032012-11-07 Joseph Myers <joseph@codesourcery.com>
3504
3505 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3506 Change XOPEN21K to XOPEN2K.
3507
19218757
MK
35082012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3509
3510 * string/memmove.c: Use memcpy when possible.
3511
c5f45721
AJ
35122012-11-06 Andreas Jaeger <aj@suse.de>
3513
3514 * po/eo.po: Update from translation team.
3515
82477c28
JM
35162012-11-06 Joseph Myers <joseph@codesourcery.com>
3517
3518 [BZ #14793]
3519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3520 exponent and small x and y exponents, scale x or y up. Increase
3521 by 2 the exponent used in scaling up.
3522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3524 * math/libm-test.inc (fma_test): Add more tests.
3525 (fma_test_towardzero): Likewise.
3526 (fma_test_downward): Likewise.
3527 (fma_test_upward): Likewise.
3528
99252c8c
JM
35292012-11-05 Joseph Myers <joseph@codesourcery.com>
3530
acfa885f
JM
3531 [BZ #14805]
3532 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3533 fenv_t *.
3534
99252c8c
JM
3535 [BZ #14801]
3536 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3537 namespace for names of struct fields.
3538 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3539 fenv_t fields.
3540 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3541 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3542
d6d98dea
ST
35432012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3544
3545 [BZ #3665]
3546 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3547
e10bb107
TS
35482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3549
3550 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3551 PTR_DEMANGLE.
3552
3553 [BZ #5246]
3554 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3555 PTR_DEMANGLE.
3556
a0c2940d
JM
35572012-11-04 Joseph Myers <joseph@codesourcery.com>
3558
3559 [BZ #14797]
3560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3561 definitely overflow as x * y not x * y + z.
3562 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3564 * math/libm-test.inc (fma_test): Add more tests.
3565 (fma_test_towardzero): Likewise.
3566 (fma_test_downward): Likewise.
3567 (fma_test_upward): Likewise.
3568
b830319d
TS
35692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3570
3571 [BZ #157]
3572
3573 * include/stub-tag.h: Remove file.
3574 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3575 '#include' of it.
3576 * manual/maint.texi (Porting): Don't reference it.
3577 * Makerules ($(objpfx)stubs): Likewise.
3578 * dirent/closedir.c: Don't include <stub-tag.h>.
3579 * dirent/dirfd.c: Likewise.
3580 * dirent/fdopendir.c: Likewise.
3581 * dirent/getdents.c: Likewise.
3582 * dirent/getdents64.c: Likewise.
3583 * dirent/opendir.c: Likewise.
3584 * dirent/readdir.c: Likewise.
3585 * dirent/readdir64.c: Likewise.
3586 * dirent/readdir64_r.c: Likewise.
3587 * dirent/readdir_r.c: Likewise.
3588 * dirent/rewinddir.c: Likewise.
3589 * dirent/seekdir.c: Likewise.
3590 * dirent/telldir.c: Likewise.
3591 * gmon/profil.c: Likewise.
3592 * grp/setgroups.c: Likewise.
3593 * inet/if_index.c: Likewise.
3594 * io/access.c: Likewise.
3595 * io/chdir.c: Likewise.
3596 * io/chmod.c: Likewise.
3597 * io/chown.c: Likewise.
3598 * io/close.c: Likewise.
3599 * io/dup.c: Likewise.
3600 * io/dup2.c: Likewise.
3601 * io/dup3.c: Likewise.
3602 * io/euidaccess.c: Likewise.
3603 * io/faccessat.c: Likewise.
3604 * io/fchdir.c: Likewise.
3605 * io/fchmod.c: Likewise.
3606 * io/fchmodat.c: Likewise.
3607 * io/fchown.c: Likewise.
3608 * io/fchownat.c: Likewise.
3609 * io/fcntl.c: Likewise.
3610 * io/flock.c: Likewise.
3611 * io/fstatfs.c: Likewise.
3612 * io/fstatfs64.c: Likewise.
3613 * io/fstatvfs.c: Likewise.
3614 * io/fstatvfs64.c: Likewise.
3615 * io/futimens.c: Likewise.
3616 * io/fxstat.c: Likewise.
3617 * io/fxstat64.c: Likewise.
3618 * io/fxstatat.c: Likewise.
3619 * io/fxstatat64.c: Likewise.
3620 * io/getcwd.c: Likewise.
3621 * io/isatty.c: Likewise.
3622 * io/lchmod.c: Likewise.
3623 * io/lchown.c: Likewise.
3624 * io/link.c: Likewise.
3625 * io/linkat.c: Likewise.
3626 * io/lseek.c: Likewise.
3627 * io/lseek64.c: Likewise.
3628 * io/lxstat64.c: Likewise.
3629 * io/mkdir.c: Likewise.
3630 * io/mkdirat.c: Likewise.
3631 * io/mkfifo.c: Likewise.
3632 * io/mkfifoat.c: Likewise.
3633 * io/open.c: Likewise.
3634 * io/open64.c: Likewise.
3635 * io/openat.c: Likewise.
3636 * io/openat64.c: Likewise.
3637 * io/pipe.c: Likewise.
3638 * io/pipe2.c: Likewise.
3639 * io/poll.c: Likewise.
3640 * io/posix_fadvise.c: Likewise.
3641 * io/posix_fadvise64.c: Likewise.
3642 * io/posix_fallocate.c: Likewise.
3643 * io/posix_fallocate64.c: Likewise.
3644 * io/read.c: Likewise.
3645 * io/readlink.c: Likewise.
3646 * io/readlinkat.c: Likewise.
3647 * io/rmdir.c: Likewise.
3648 * io/sendfile.c: Likewise.
3649 * io/sendfile64.c: Likewise.
3650 * io/statfs.c: Likewise.
3651 * io/statfs64.c: Likewise.
3652 * io/statvfs.c: Likewise.
3653 * io/statvfs64.c: Likewise.
3654 * io/symlink.c: Likewise.
3655 * io/symlinkat.c: Likewise.
3656 * io/ttyname.c: Likewise.
3657 * io/ttyname_r.c: Likewise.
3658 * io/umask.c: Likewise.
3659 * io/unlink.c: Likewise.
3660 * io/unlinkat.c: Likewise.
3661 * io/utime.c: Likewise.
3662 * io/utimensat.c: Likewise.
3663 * io/write.c: Likewise.
3664 * io/xmknod.c: Likewise.
3665 * io/xmknodat.c: Likewise.
3666 * io/xstat.c: Likewise.
3667 * io/xstat64.c: Likewise.
3668 * login/getpt.c: Likewise.
3669 * login/grantpt.c: Likewise.
3670 * login/unlockpt.c: Likewise.
3671 * math/e_acoshl.c: Likewise.
3672 * math/e_acosl.c: Likewise.
3673 * math/e_asinl.c: Likewise.
3674 * math/e_atan2l.c: Likewise.
3675 * math/e_atanhl.c: Likewise.
3676 * math/e_coshl.c: Likewise.
3677 * math/e_expl.c: Likewise.
3678 * math/e_fmodl.c: Likewise.
3679 * math/e_gammal_r.c: Likewise.
3680 * math/e_hypotl.c: Likewise.
3681 * math/e_j0l.c: Likewise.
3682 * math/e_j1l.c: Likewise.
3683 * math/e_jnl.c: Likewise.
3684 * math/e_lgammal_r.c: Likewise.
3685 * math/e_log10l.c: Likewise.
3686 * math/e_log2l.c: Likewise.
3687 * math/e_logl.c: Likewise.
3688 * math/e_powl.c: Likewise.
3689 * math/e_rem_pio2l.c: Likewise.
3690 * math/e_sinhl.c: Likewise.
3691 * math/e_sqrtl.c: Likewise.
3692 * math/fclrexcpt.c: Likewise.
3693 * math/fedisblxcpt.c: Likewise.
3694 * math/feenablxcpt.c: Likewise.
3695 * math/fegetenv.c: Likewise.
3696 * math/fegetexcept.c: Likewise.
3697 * math/fegetround.c: Likewise.
3698 * math/feholdexcpt.c: Likewise.
3699 * math/fesetenv.c: Likewise.
3700 * math/fesetround.c: Likewise.
3701 * math/feupdateenv.c: Likewise.
3702 * math/fgetexcptflg.c: Likewise.
3703 * math/fraiseexcpt.c: Likewise.
3704 * math/fsetexcptflg.c: Likewise.
3705 * math/ftestexcept.c: Likewise.
3706 * math/k_cosl.c: Likewise.
3707 * math/k_rem_pio2l.c: Likewise.
3708 * math/k_sinl.c: Likewise.
3709 * math/k_tanl.c: Likewise.
3710 * math/s_asinhl.c: Likewise.
3711 * math/s_atanl.c: Likewise.
3712 * math/s_cbrtl.c: Likewise.
3713 * math/s_erfl.c: Likewise.
3714 * math/s_expm1l.c: Likewise.
3715 * math/s_log1pl.c: Likewise.
3716 * math/s_tanhl.c: Likewise.
3717 * misc/acct.c: Likewise.
3718 * misc/brk.c: Likewise.
3719 * misc/chflags.c: Likewise.
3720 * misc/chroot.c: Likewise.
3721 * misc/fchflags.c: Likewise.
3722 * misc/fgetxattr.c: Likewise.
3723 * misc/flistxattr.c: Likewise.
3724 * misc/fremovexattr.c: Likewise.
3725 * misc/fsetxattr.c: Likewise.
3726 * misc/fsync.c: Likewise.
3727 * misc/ftruncate.c: Likewise.
3728 * misc/futimes.c: Likewise.
3729 * misc/futimesat.c: Likewise.
3730 * misc/getdomain.c: Likewise.
3731 * misc/getdtsz.c: Likewise.
3732 * misc/gethostid.c: Likewise.
3733 * misc/gethostname.c: Likewise.
3734 * misc/getloadavg.c: Likewise.
3735 * misc/getpagesize.c: Likewise.
3736 * misc/getsysstats.c: Likewise.
3737 * misc/getxattr.c: Likewise.
3738 * misc/gtty.c: Likewise.
3739 * misc/ioctl.c: Likewise.
3740 * misc/lgetxattr.c: Likewise.
3741 * misc/listxattr.c: Likewise.
3742 * misc/llistxattr.c: Likewise.
3743 * misc/lremovexattr.c: Likewise.
3744 * misc/lsetxattr.c: Likewise.
3745 * misc/lutimes.c: Likewise.
3746 * misc/madvise.c: Likewise.
3747 * misc/mincore.c: Likewise.
3748 * misc/mlock.c: Likewise.
3749 * misc/mlockall.c: Likewise.
3750 * misc/mmap.c: Likewise.
3751 * misc/mprotect.c: Likewise.
3752 * misc/msync.c: Likewise.
3753 * misc/munlock.c: Likewise.
3754 * misc/munlockall.c: Likewise.
3755 * misc/munmap.c: Likewise.
3756 * misc/preadv.c: Likewise.
3757 * misc/preadv64.c: Likewise.
3758 * misc/ptrace.c: Likewise.
3759 * misc/pwritev.c: Likewise.
3760 * misc/pwritev64.c: Likewise.
3761 * misc/readv.c: Likewise.
3762 * misc/reboot.c: Likewise.
3763 * misc/remap_file_pages.c: Likewise.
3764 * misc/removexattr.c: Likewise.
3765 * misc/revoke.c: Likewise.
3766 * misc/select.c: Likewise.
3767 * misc/setdomain.c: Likewise.
3768 * misc/setegid.c: Likewise.
3769 * misc/seteuid.c: Likewise.
3770 * misc/sethostid.c: Likewise.
3771 * misc/sethostname.c: Likewise.
3772 * misc/setregid.c: Likewise.
3773 * misc/setreuid.c: Likewise.
3774 * misc/setxattr.c: Likewise.
3775 * misc/sstk.c: Likewise.
3776 * misc/stty.c: Likewise.
3777 * misc/swapoff.c: Likewise.
3778 * misc/swapon.c: Likewise.
3779 * misc/sync.c: Likewise.
3780 * misc/syncfs.c: Likewise.
3781 * misc/syscall.c: Likewise.
3782 * misc/truncate.c: Likewise.
3783 * misc/ualarm.c: Likewise.
3784 * misc/usleep.c: Likewise.
3785 * misc/ustat.c: Likewise.
3786 * misc/utimes.c: Likewise.
3787 * misc/vhangup.c: Likewise.
3788 * misc/writev.c: Likewise.
3789 * posix/_exit.c: Likewise.
3790 * posix/alarm.c: Likewise.
3791 * posix/execve.c: Likewise.
3792 * posix/fexecve.c: Likewise.
3793 * posix/fork.c: Likewise.
3794 * posix/fpathconf.c: Likewise.
3795 * posix/getaddrinfo.c: Likewise.
3796 * posix/getegid.c: Likewise.
3797 * posix/geteuid.c: Likewise.
3798 * posix/getgid.c: Likewise.
3799 * posix/getgroups.c: Likewise.
3800 * posix/getlogin.c: Likewise.
3801 * posix/getlogin_r.c: Likewise.
3802 * posix/getpgid.c: Likewise.
3803 * posix/getpid.c: Likewise.
3804 * posix/getppid.c: Likewise.
3805 * posix/getresgid.c: Likewise.
3806 * posix/getresuid.c: Likewise.
3807 * posix/getsid.c: Likewise.
3808 * posix/getuid.c: Likewise.
3809 * posix/glob64.c: Likewise.
3810 * posix/nanosleep.c: Likewise.
3811 * posix/pathconf.c: Likewise.
3812 * posix/pause.c: Likewise.
3813 * posix/posix_madvise.c: Likewise.
3814 * posix/pread.c: Likewise.
3815 * posix/pread64.c: Likewise.
3816 * posix/pwrite.c: Likewise.
3817 * posix/pwrite64.c: Likewise.
3818 * posix/sched_getaffinity.c: Likewise.
3819 * posix/sched_getp.c: Likewise.
3820 * posix/sched_gets.c: Likewise.
3821 * posix/sched_primax.c: Likewise.
3822 * posix/sched_primin.c: Likewise.
3823 * posix/sched_rr_gi.c: Likewise.
3824 * posix/sched_setaffinity.c: Likewise.
3825 * posix/sched_setp.c: Likewise.
3826 * posix/sched_sets.c: Likewise.
3827 * posix/sched_yield.c: Likewise.
3828 * posix/setgid.c: Likewise.
3829 * posix/setlogin.c: Likewise.
3830 * posix/setpgid.c: Likewise.
3831 * posix/setresgid.c: Likewise.
3832 * posix/setresuid.c: Likewise.
3833 * posix/setsid.c: Likewise.
3834 * posix/setuid.c: Likewise.
3835 * posix/sleep.c: Likewise.
3836 * posix/spawni.c: Likewise.
3837 * posix/sysconf.c: Likewise.
3838 * posix/times.c: Likewise.
3839 * posix/wait.c: Likewise.
3840 * posix/wait3.c: Likewise.
3841 * posix/wait4.c: Likewise.
3842 * posix/waitpid.c: Likewise.
3843 * resolv/gai_sigqueue.c: Likewise.
3844 * resource/getpriority.c: Likewise.
3845 * resource/getrlimit.c: Likewise.
3846 * resource/getrusage.c: Likewise.
3847 * resource/nice.c: Likewise.
3848 * resource/setpriority.c: Likewise.
3849 * resource/setrlimit.c: Likewise.
3850 * resource/ulimit.c: Likewise.
3851 * rt/aio_cancel.c: Likewise.
3852 * rt/aio_fsync.c: Likewise.
3853 * rt/aio_read.c: Likewise.
3854 * rt/aio_sigqueue.c: Likewise.
3855 * rt/aio_suspend.c: Likewise.
3856 * rt/aio_write.c: Likewise.
3857 * rt/clock_getres.c: Likewise.
3858 * rt/clock_gettime.c: Likewise.
3859 * rt/clock_nanosleep.c: Likewise.
3860 * rt/clock_settime.c: Likewise.
3861 * rt/lio_listio.c: Likewise.
3862 * rt/mq_close.c: Likewise.
3863 * rt/mq_getattr.c: Likewise.
3864 * rt/mq_notify.c: Likewise.
3865 * rt/mq_open.c: Likewise.
3866 * rt/mq_receive.c: Likewise.
3867 * rt/mq_send.c: Likewise.
3868 * rt/mq_setattr.c: Likewise.
3869 * rt/mq_timedreceive.c: Likewise.
3870 * rt/mq_timedsend.c: Likewise.
3871 * rt/mq_unlink.c: Likewise.
3872 * rt/shm_open.c: Likewise.
3873 * rt/shm_unlink.c: Likewise.
3874 * rt/timer_create.c: Likewise.
3875 * rt/timer_delete.c: Likewise.
3876 * rt/timer_getoverr.c: Likewise.
3877 * rt/timer_gettime.c: Likewise.
3878 * rt/timer_settime.c: Likewise.
3879 * setjmp/__longjmp.c: Likewise.
3880 * setjmp/setjmp.c: Likewise.
3881 * signal/kill.c: Likewise.
3882 * signal/killpg.c: Likewise.
3883 * signal/raise.c: Likewise.
3884 * signal/sigaction.c: Likewise.
3885 * signal/sigaltstack.c: Likewise.
3886 * signal/sigblock.c: Likewise.
3887 * signal/sigignore.c: Likewise.
3888 * signal/sigintr.c: Likewise.
3889 * signal/signal.c: Likewise.
3890 * signal/sigpause.c: Likewise.
3891 * signal/sigpending.c: Likewise.
3892 * signal/sigqueue.c: Likewise.
3893 * signal/sigreturn.c: Likewise.
3894 * signal/sigset.c: Likewise.
3895 * signal/sigsetmask.c: Likewise.
3896 * signal/sigstack.c: Likewise.
3897 * signal/sigsuspend.c: Likewise.
3898 * signal/sigtimedwait.c: Likewise.
3899 * signal/sigvec.c: Likewise.
3900 * signal/sigwait.c: Likewise.
3901 * signal/sigwaitinfo.c: Likewise.
3902 * signal/sysv_signal.c: Likewise.
3903 * socket/accept.c: Likewise.
3904 * socket/accept4.c: Likewise.
3905 * socket/bind.c: Likewise.
3906 * socket/connect.c: Likewise.
3907 * socket/getpeername.c: Likewise.
3908 * socket/getsockname.c: Likewise.
3909 * socket/getsockopt.c: Likewise.
3910 * socket/isfdtype.c: Likewise.
3911 * socket/listen.c: Likewise.
3912 * socket/recv.c: Likewise.
3913 * socket/recvfrom.c: Likewise.
3914 * socket/recvmsg.c: Likewise.
3915 * socket/send.c: Likewise.
3916 * socket/sendmsg.c: Likewise.
3917 * socket/sendto.c: Likewise.
3918 * socket/setsockopt.c: Likewise.
3919 * socket/shutdown.c: Likewise.
3920 * socket/sockatmark.c: Likewise.
3921 * socket/socket.c: Likewise.
3922 * socket/socketpair.c: Likewise.
3923 * stdio-common/ctermid.c: Likewise.
3924 * stdio-common/cuserid.c: Likewise.
3925 * stdio-common/remove.c: Likewise.
3926 * stdio-common/rename.c: Likewise.
3927 * stdio-common/renameat.c: Likewise.
3928 * stdio-common/tempname.c: Likewise.
3929 * stdlib/getcontext.c: Likewise.
3930 * stdlib/makecontext.c: Likewise.
3931 * stdlib/setcontext.c: Likewise.
3932 * stdlib/swapcontext.c: Likewise.
3933 * stdlib/system.c: Likewise.
3934 * streams/fattach.c: Likewise.
3935 * streams/fdetach.c: Likewise.
3936 * streams/getmsg.c: Likewise.
3937 * streams/getpmsg.c: Likewise.
3938 * streams/putmsg.c: Likewise.
3939 * streams/putpmsg.c: Likewise.
3940 * sysdeps/unix/bsd/getpt.c: Likewise.
3941 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3942 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3943 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3945 Likewise.
3946 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3947 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3948 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3949 * sysvipc/msgctl.c: Likewise.
3950 * sysvipc/msgget.c: Likewise.
3951 * sysvipc/msgrcv.c: Likewise.
3952 * sysvipc/msgsnd.c: Likewise.
3953 * sysvipc/semctl.c: Likewise.
3954 * sysvipc/semget.c: Likewise.
3955 * sysvipc/semop.c: Likewise.
3956 * sysvipc/semtimedop.c: Likewise.
3957 * sysvipc/shmat.c: Likewise.
3958 * sysvipc/shmctl.c: Likewise.
3959 * sysvipc/shmdt.c: Likewise.
3960 * sysvipc/shmget.c: Likewise.
3961 * termios/tcdrain.c: Likewise.
3962 * termios/tcflow.c: Likewise.
3963 * termios/tcflush.c: Likewise.
3964 * termios/tcgetattr.c: Likewise.
3965 * termios/tcgetpgrp.c: Likewise.
3966 * termios/tcsendbrk.c: Likewise.
3967 * termios/tcsetattr.c: Likewise.
3968 * termios/tcsetpgrp.c: Likewise.
3969 * time/adjtime.c: Likewise.
3970 * time/clock.c: Likewise.
3971 * time/getitimer.c: Likewise.
3972 * time/gettimeofday.c: Likewise.
3973 * time/setitimer.c: Likewise.
3974 * time/settimeofday.c: Likewise.
3975 * time/stime.c: Likewise.
3976 * time/time.c: Likewise.
3977
39782012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3979
a20492cf
PT
3980 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3981 /usr/old/bin.
3982
72e182e3
PT
3983 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3984 instead of spaces.
3985 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3986
fbeafede
JM
39872012-11-03 Joseph Myers <joseph@codesourcery.com>
3988
5b5b04d6
JM
3989 [BZ #14796]
3990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3991 FE_TONEAREST before applying Dekker multiplication and Knuth
3992 addition. Clear inexact exceptions and check for exact zero
3993 results afterwards.
3994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3995 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3997 * math/libm-test.inc (fma_test): Add more tests.
3998 (fma_test_towardzero): Likewise.
3999 (fma_test_downward): Likewise.
4000 (fma_test_upward): Likewise.
4001 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4002 function.
4003 (libc_fesetround): New macro.
4004 (libc_fesetroundf): Likewise.
4005 (libc_fesetroundl): Likewise.
4006 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4007 function.
4008 (libc_fesetround_387): Likewise.
4009 (libc_fesetroundf): New macro.
4010 (libc_fesetround): Likewise.
4011 (libc_fesetroundl): Likewise.
4012 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4013 function.
4014 (libc_fesetroundf): New macro.
4015 (libc_fesetround): Likewise.
4016 (libc_fesetroundl): Likewise.
4017 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4018 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4019 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4020 libm_hidden_ver.
4021 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4022 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4023 libm_hidden_def.
4024 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4025 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4026 libm_hidden_ver.
4027 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4028 libm_hidden_def.
4029
fbeafede
JM
4030 [BZ #3439]
4031 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4032 integer constant usable in #if and use that to give value to enum
4033 constant.
4034 (FE_DIVBYZERO): Likewise.
4035 (FE_UNDERFLOW): Likewise.
4036 (FE_OVERFLOW): Likewise.
4037 (FE_INVALID): Likewise.
4038 (FE_INVALID_SNAN): Likewise.
4039 (FE_INVALID_ISI): Likewise.
4040 (FE_INVALID_IDI): Likewise.
4041 (FE_INVALID_ZDZ): Likewise.
4042 (FE_INVALID_IMZ): Likewise.
4043 (FE_INVALID_COMPARE): Likewise.
4044 (FE_INVALID_SOFTWARE): Likewise.
4045 (FE_INVALID_SQRT): Likewise.
4046 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4047 (FE_TONEAREST): Likewise.
4048 (FE_TOWARDZERO): Likewise.
4049 (FE_UPWARD): Likewise.
4050 (FE_DOWNWARD): Likewise.
4051 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4052 (FE_DIVBYZERO): Likewise.
4053 (FE_OVERFLOW): Likewise.
4054 (FE_UNDERFLOW): Likewise.
4055 (FE_INEXACT): Likewise.
4056 (FE_TONEAREST): Likewise.
4057 (FE_DOWNWARD): Likewise.
4058 (FE_UPWARD): Likewise.
4059 (FE_TOWARDZERO): Likewise.
4060 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4061 (FE_UNDERFLOW): Likewise.
4062 (FE_OVERFLOW): Likewise.
4063 (FE_DIVBYZERO): Likewise.
4064 (FE_INVALID): Likewise.
4065 (FE_TONEAREST): Likewise.
4066 (FE_TOWARDZERO): Likewise.
4067 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4068 (FE_OVERFLOW): Likewise.
4069 (FE_UNDERFLOW): Likewise.
4070 (FE_DIVBYZERO): Likewise.
4071 (FE_INEXACT): Likewise.
4072 (FE_TONEAREST): Likewise.
4073 (FE_TOWARDZERO): Likewise.
4074 (FE_UPWARD): Likewise.
4075 (FE_DOWNWARD): Likewise.
4076 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4077 (FE_DIVBYZERO): Likewise.
4078 (FE_OVERFLOW): Likewise.
4079 (FE_UNDERFLOW): Likewise.
4080 (FE_INEXACT): Likewise.
4081 (FE_TONEAREST): Likewise.
4082 (FE_DOWNWARD): Likewise.
4083 (FE_UPWARD): Likewise.
4084 (FE_TOWARDZERO): Likewise.
4085
105ca950
CM
40862012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4087
4088 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4089
a542b389
AS
40902012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4091
4092 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4093 commands. Quote $PWD.
4094 (blacklist_exports): Don't use remove_newlines. Replace "declare
4095 -x" by "export".
4096 (remove_newlines): Remove.
4097
f62c8abc
L
40982012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4101 * stdlib/stdlib.h (atof): Moved to ...
4102 * include/bits/stdlib-float.h: Here. New file.
4103 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4104 * stdlib/bits/stdlib-float.h: New file.
4105 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4106 -mno-sse -mno-mmx.
4107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4108 <xmmintrin.h>.
4109
0155d5b2
JM
41102012-11-02 Joseph Myers <joseph@codesourcery.com>
4111
a68d0680
JM
4112 * conform/conformtest.pl (@headers): Add fenv.h.
4113 * conform/data/fenv.h-data: New file.
4114 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4115 include of <math/fenv.h>.
4116
caf7f573
JM
4117 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4118 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4119 && !UNIX98]. Enables tests for XOPEN2K8.
4120 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4121 POSIX2008]: Likewise.
4122
6c073ad6
JM
4123 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4124 (struct rusage): Do not expect type or its members.
4125
0155d5b2
JM
4126 [BZ #3439]
4127 * math/math.h (FP_NAN): Define macro to integer constant usable in
4128 #if and use that to give value to enum constant.
4129 (FP_INFINITE): Likewise.
4130 (FP_ZERO): Likewise.
4131 (FP_SUBNORMAL): Likewise.
4132 (FP_NORMAL): Likewise.
4133
b5dcacb4
AS
41342012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4135
4136 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4137 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4138 arguments.
4139
f7934be8
RM
41402012-11-02 Roland McGrath <roland@hack.frob.com>
4141
4142 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4143 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4144 autoconf-time if not.
4145 * configure.in: Remove AC_PREREQ.
4146
d7d08bde
TMQMF
41472012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4148
4149 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4150 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4151 of the internal implementation.
4152
dcdae19a
JM
41532012-11-02 Joseph Myers <joseph@codesourcery.com>
4154
4155 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4156 except include of <misc/sys/syslog.h>.
4157
d6cffd3e
AS
41582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4159
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4161 function returns with a NULL context exit with zero.
4162
b3563932
TMQMF
41632012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4164
4165 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4166
b288a93d
L
41672012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4168
4169 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4170 (run_program_cmd): This.
4171 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4172 (tst_langinfo): New variable. Use it.
4173
a2421a68
SAS
41742012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4175
4176 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4177 floating point opcodes.
4178
6f796e1b
TS
41792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4180
7402596b
TS
4181 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4182 variable.
4183
d0d4f868
TS
4184 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4185
6f796e1b
TS
4186 * sysdeps/mach/hurd/powerpc: Remove directory.
4187 * sysdeps/mach/powerpc: Likewise.
4188
4da224a2
AS
41892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4190
4191 * scripts/check-local-headers.sh: Ignore c++ headers.
4192
341dd673
TS
41932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4194
4195 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4196 __libc_cleanup_region_start argument.
4197
473611b2
JM
41982012-11-01 Joseph Myers <joseph@codesourcery.com>
4199
4200 [BZ #14784]
4201 [BZ #14785]
4202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4203 x * y using scaling, not as x * y + z.
4204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4206 * math/libm-test.inc (fma_test): Add more tests.
4207 (fma_test_towardzero): Likewise.
4208 (fma_test_downward): Likewise.
4209 (fma_test_upward): Likewise.
4210
4078da3d
TS
42112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4212
4213 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4214
903252aa
JM
42152012-10-31 Joseph Myers <joseph@codesourcery.com>
4216
4217 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4218 New variable.
4219
cbc818d0
TS
42202012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4221
4222 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4223
5a03cb1e
AS
42242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4225
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4227 Fix sort order.
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4229 Likewise.
4230
90aff2ff
TMQMF
42312012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4232
4233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4234 Fix the order of the list for glibc 2.17.
4235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4236 Likewise.
4237
1818fcb7
AS
42382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4239
4240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4241
ef82f4da
JM
42422012-10-31 Joseph Myers <joseph@codesourcery.com>
4243
16a0e2ec
JM
4244 [BZ #14610]
4245 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4246 for low part of x being zero before using __atanl (y).
4247 * math/libm-test.inc (atan2_test): Add another test.
4248
0eb69512
JM
4249 * manual/install.texi (Configuring and compiling): Document
4250 general use of test-wrapper and test-wrapper-env.
4251 * INSTALL: Regenerated.
4252
ef82f4da
JM
4253 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4254 (__fma): Do not extract and scale down low bits on after-rounding
4255 systems when result rounded to normal precision would have normal
4256 exponent.
4257 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4258 (__fmal): Do not extract and scale down low bits on after-rounding
4259 systems when result rounded to normal precision would have normal
4260 exponent.
4261 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4262 (__fmal): 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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4266 macro.
4267 (fma_test): Add more tests.
4268 (fma_test_towardzero): Likewise.
4269 (fma_test_downward): Likewise.
4270 (fma_test_upward): Likewise.
4271
954ef0d9
L
42722012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 * sysdeps/i386/tininess.h: Renamed to ...
4275 * sysdeps/x86/tininess.h: This.
4276 * sysdeps/x86_64/tininess.h: Removed.
4277
df61ffb2
JM
42782012-10-30 Joseph Myers <joseph@codesourcery.com>
4279
4280 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4281 input. Use $(build-program-cmd).
4282 ($(objpfx)tst-array1-static.out): Likewise.
4283 ($(objpfx)tst-array2.out): Likewise.
4284 ($(objpfx)tst-array3.out): Likewise.
4285 ($(objpfx)tst-array4.out): Likewise.
4286 ($(objpfx)tst-array5.out): Likewise.
4287 ($(objpfx)tst-array5-static.out): Likewise.
4288
01767843
CM
42892012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4290
47cc1490
CM
4291 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4292 if defined.
4293
01767843
CM
4294 * nss/nsswitch.h (nss_interface_function): Provide new
4295 macro for use with NSS functions.
4296 * grp/initgroups.c: Use new macro.
4297 * nss/getXXbyYY.c: Likewise.
4298 * nss/getXXbyYY_r.c: Likewise.
4299 * nss/getXXent.c: Likewise.
4300 * nss/getXXent_r.c: Likewise.
4301 * sysdeps/posix/getaddrinfo.c: Likewise.
4302
8321aa97
AJ
43032012-10-30 Andreas Jaeger <aj@suse.de>
4304
4305 * po/ru.po: Update Russion translation from translation project.
4306
2a27fd6d
JM
43072012-10-30 Joseph Myers <joseph@codesourcery.com>
4308
8627a232
JM
4309 [BZ #14152]
4310 [BZ #14783]
4311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4312 result and shift together with sticky bit instead of replicating
4313 round-to-nearest rounding.
4314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4316 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4317 missing underflow exceptions.
4318 (fma_test_towardzero): Add more tests.
4319 (fma_test_downward): Likewise.
4320 (fma_test_upward): Likewise.
4321
2a27fd6d
JM
4322 [BZ #14047]
4323 * sysdeps/generic/tininess.h: New file.
4324 * sysdeps/i386/tininess.h: Likewise.
4325 * sysdeps/sh/tininess.h: Likewise.
4326 * sysdeps/x86_64/tininess.h: Likewise.
4327 * stdlib/tst-strtod-underflow.c: Likewise.
4328 * stdlib/tst-tininess.c: Likewise.
4329 * stdlib/strtod_l.c: Include <tininess.h>.
4330 (round_and_return): Do not set errno for exact underflow cases.
4331 Force an underflow exception when setting errno for underflow.
4332 Determine underflow based on rounding to normal precision if
4333 TININESS_AFTER_ROUNDING.
4334 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4335 ERANGE for exact underflow cases.
4336 * stdlib/Makefile (tests): Add tst-tininess and
4337 tst-strtod-underflow.
4338 ($(objpfx)tst-tininess): Use $(link-libm).
4339 ($(objpfx)tst-strtod-underflow): Likewise.
4340
e7170363
AJ
43412012-10-30 Andreas Jaeger <aj@suse.de>
4342
e5088dc6
AJ
4343 [BZ#14767]
4344 * elf/Makefile (tests): Remove conditional for have-initfini-array
4345 since this is now always required and the variable does not exist
4346 anymore.
4347 (tests-static): Likewise.
4348 (modules-names): Likewise.
4349
e7170363 4350 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4351
4352 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4353 merged with constructor/destructor.
4354 (init_array): Likewise.
4355 * elf/tst-array2dep.c (fini_array): Likewise.
4356 (init_array): Likewise.
4357
60457d8a
MF
43582012-10-29 Mike Frysinger <vapier@gentoo.org>
4359
4360 * manual/message.texi: Delete @cartouche tags.
4361
8bece752
PT
43622012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4363
94ce799f
PT
4364 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4365 EOPNOTSUPP.
4366 * sysdeps/mach/hurd/fsync.c: Likewise.
4367
8bece752
PT
4368 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4369 [_POSIX_REALTIME_SIGNALS]: Change condition to
4370 [_POSIX_REALTIME_SIGNALS > 0].
4371
86ebe6b1
AJ
43722012-10-27 Andreas Jaeger <aj@suse.de>
4373
4374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4375 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4377 [__WORDSIZE != 64]: Likewise.
4378
54399c08
L
43792012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4380
4381 * iconvdata/tst-table.sh: Remove ${SHELL}.
4382 * iconvdata/tst-tables.sh: Likewise.
4383
e2211bed
DM
43842012-10-25 David S. Miller <davem@davemloft.net>
4385
4386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4387 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4388 of strtoull.
4389
f303f97c
DM
4390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4391 ifunc-impl-list.c
4392 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4393 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4394 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4395 file.
4396
1e9d84cd
RM
43972012-10-25 Roland McGrath <roland@hack.frob.com>
4398
4399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4400 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4401 __getdirentries.
4402
df381762
JM
44032012-10-25 Joseph Myers <joseph@codesourcery.com>
4404 Jim Blandy <jimb@codesourcery.com>
4405
4406 * scripts/cross-test-ssh.sh: New file.
4407 * manual/install.texi (Configuring and compiling): Document use of
4408 cross-test-ssh.sh.
4409 * INSTALL: Regenerated.
4410
bff64913
PT
44112012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4412
4413 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4414 EOPNOTSUPP.
4415
25fe8932
JM
44162012-10-25 Joseph Myers <joseph@codesourcery.com>
4417
4418 * Makeconfig (run-program-prefix): Fix comment.
4419
cc1290d0
JM
44202012-10-24 Joseph Myers <joseph@codesourcery.com>
4421 Jim Blandy <jimb@codesourcery.com>
4422
4423 * Makeconfig (test-wrapper): New variable,
4424 (test-wrapper-env): Likewise.
4425 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4426 (run-built-tests): Define to yes.
4427 (run-program-prefix): Use $(test-wrapper).
4428 (built-program-cmd): Likewise.
4429 * Rules (make-test-out): Use $(test-wrapper-env) and
4430 $(host-built-program-cmd).
4431 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4432 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4433 tst-pathopt.sh.
4434 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4435 $(test-wrapper-env) to tst-rtld-load-self.sh.
4436 ($(objpfx)order2.out): Use $(test-wrapper).
4437 ($(objpfx)tst-initorder.out): Likewise.
4438 ($(objpfx)tst-initorder2.out): Likewise.
4439 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4440 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4441 (test_wrapper_env): New variable. Use it to run ld.so.
4442 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4443 Use it to run ld.so.
4444 (test_wrapper_env): Likewise.
4445 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4446 $(test-wrapper) to run-iconv-test.sh.
4447 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4448 (ICONV): Use $test_wrapper.
4449 * posix/Makefile ($(objpfx)globtest.out): Pass
4450 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4451 globtest.sh, not $(run-program-prefix).
4452 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4453 (test_wrapper): Likewise.
4454 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4455 set together with run_via_rtld_prefix.
4456 (run_program_prefix): Define in terms of test_wrapper and
4457 run_via_rtld_prefix.
4458
6e6249d0
RM
44592012-10-24 Roland McGrath <roland@hack.frob.com>
4460
4461 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4462 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4463 Targets removed.
4464
4465 [BZ #14743]
4466 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4467 Declare __clock_getres, __clock_gettime, __clock_settime,
4468 __clock_nanosleep, and __clock_getcpuclockid.
4469 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4470 Remove librt_hidden_def (clock_gettime).
4471 * sysdeps/unix/clock_gettime.c: Likewise.
4472 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4474 * rt/clock_getres.c: Define __clock_getres as an alias.
4475 * sysdeps/posix/clock_getres.c: Likewise.
4476 * rt/clock_settime.c: Define __clock_settime as an alias.
4477 * sysdeps/unix/clock_settime.c: Likewise.
4478 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4479 * sysdeps/unix/clock_nanosleep.c: Likewise.
4480 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4481 * rt/clock-compat.c: New file.
4482 * rt/Makefile (librt-routines): Add clock-compat and move
4483 $(clock-routines) to ...
4484 (routines): ... here, new variable.
4485 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4486 Don't add get_clockfreq here.
4487 * rt/Versions (libc: GLIBC_2.17): New version set.
4488 Add clock_* symbols here.
4489 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4490 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4491 (GLIBC_2.17): Add clock_* symbols.
4492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4496 Likewise.
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4498 Likewise.
4499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4503 * NEWS: Mention the move.
4504
4505 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4506 Use __open, __read, __close rather than their public counterparts.
4507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4508 (__get_clockfreq_via_cpuinfo): Likewise.
4509 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4510 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4511
4512 * config.h.in (HAVE_IFUNC): New #undef.
4513 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4514 was successful.
4515 * configure: Regenerated.
4516
0cae3f4b
MF
45172012-10-24 Mike Frysinger <vapier@gentoo.org>
4518
4519 * configure.in: Move READELF check to start of file.
4520 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4521 libc_cv_asm_gnu_indirect_function in the process.
4522 * configure: Regenerated.
4523
8175a253
MF
45242012-10-24 Mike Frysinger <vapier@gentoo.org>
4525
4526 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4527 send the output to /dev/null.
4528 (libc_cv_cc_with_libunwind): Likewise.
4529 (libc_cv_as_noexecstack): Likewise.
4530 * configure: Regenerate.
4531
0708a7d1
JM
45322012-10-24 Joseph Myers <joseph@codesourcery.com>
4533
10b40d85
JM
4534 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4535
0708a7d1
JM
4536 * posix/globtest.sh (TMPDIR): Do not set.
4537 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4538 (testout): Likewise.
4539
9fddec1a
AJ
45402012-10-24 Andreas Jaeger <aj@suse.de>
4541
3a8db22f
AJ
4542 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4543 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4544 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4545 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4546 posix_fadvise64, posix_fallocate64.
4547
9fddec1a
AJ
4548 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4549 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4550 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4551 Likewise.
4552 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4553 Likewise.
4554 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4555
4556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4557 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4558 <bits/fcntl-linux.h>.
4559 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4560
4561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4562 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4563 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4564 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4565 [__WORDSIZE != 64]: Likewise.
4566
ebfd1bbd
JM
45672012-10-23 Joseph Myers <joseph@codesourcery.com>
4568
03ac099f
JM
4569 * Makeconfig (run-built-tests): New variable.
4570 * Rules [$(cross-compiling) = yes]: Change condition to
4571 [$(run-built-tests) = no].
4572 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4573 to [$(run-built-tests) = yes].
4574 * elf/Makefile [$(cross-compiling) = no]: Likewise
4575 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4576 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4577 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4578 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4579 * io/Makefile [$(cross-compiling) = no]: Likewise.
4580 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4581 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4582 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4583 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4584 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4585 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4586 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4587 * string/Makefile [$(cross-compiling) = no]: Likewise.
4588
ebfd1bbd
JM
4589 * posix/Makefile ($(objpfx)globtest.out): Pass
4590 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4591 $(rtld-installed-name).
4592 * posix/globtest.sh (elf_objpfx): Remove variable.
4593 (rtld_installed_name): Likewise.
4594 (library_path): Likewise.
4595 (run_program_prefix): New variable. Use for running globtest
4596 binary.
4597
166bca24
JB
45982012-10-23 Jim Blandy <jimb@codesourcery.com>
4599 Joseph Myers <joseph@codesourcery.com>
4600
4601 * Makeconfig (host-built-program-cmd): New variable.
4602 * elf/Makefile (tst-stackguard1-ARGS): Use
4603 $(host-built-program-cmd).
4604 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4605 (tst-spawn-ARGS): Likewise.
4606 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4607
88866099
JM
46082012-10-23 Joseph Myers <joseph@codesourcery.com>
4609 Jim Blandy <jimb@codesourcery.com>
4610
4611 * Makeconfig (run-via-rtld-prefix): New variable.
4612 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4613 (built-program-cmd): Likewise.
4614
b4b4c296
AJ
46152012-10-22 Andreas Jaeger <aj@suse.de>
4616
4617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4618 __O_RSYNC if it exists, otherwise to O_SYNC.
4619
6fb54a22
JB
46202012-10-22 Jim Blandy <jimb@codesourcery.com>
4621 Joseph Myers <joseph@codesourcery.com>
4622
4623 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4624 /dev/null.
4625 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4626 from /dev/null
4627 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4628 /dev/null.
4629
481b90b9
AJ
46302012-10-22 Andreas Jaeger <aj@suse.de>
4631
2a0e2669
AJ
4632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4633 Define always.
4634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4635
76e38f9a
AJ
4636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4637 bits/fcntl-linux.h.
4638
7cd37b43
AJ
4639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4640 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4641
481b90b9
AJ
4642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4643 to __O_LARGEFILE.
4644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4645 to __O_LARGEFILE.
4646
aba75984
JB
46472012-10-21 Jim Blandy <jimb@codesourcery.com>
4648 Joseph Myers <joseph@codesourcery.com>
4649
4650 * config.make.in (NM): New variable.
4651
88d4247f
AJ
46522012-10-21 Andreas Jaeger <aj@suse.de>
4653
4654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4655 definitions and declarations that are provided by
4656 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4657
f2eed205
L
46582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4659
4660 [BZ #14683]
4661 * elf/Makefile (tests-static): Add tst-leaks1-static.
4662 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4663 ($(objpfx)tst-leaks1-static): New rule.
4664 ($(objpfx)tst-leaks1-static-mem): Likewise.
4665 (tst-leaks1-static-ENV): New macro.
4666 * elf/dl-open.c (dl_open_worker): Check the main application
4667 only if SHARED is defined.
4668 * elf/tst-leaks1-static.c: New file.
4669
335e6931
AJ
46702012-10-20 Andreas Jaeger <aj@suse.de>
4671
4672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4673 generic values for Linux.
4674 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4675 and declarations that are provided by <bits/fcntl-linux.h> and
4676 include <bits/fcntl-linux.h>.
4677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4679
ac5c94d3
RM
46802012-10-20 Roland McGrath <roland@hack.frob.com>
4681
4682 * io/fcntl.h: Move include of <bits/types.h> to the top and
4683 include it unconditionally.
4684
de54b33a
L
46852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4686
228cfb01
L
4687 * wcsmbs/Makefile (tests-ifunc): New variable.
4688 (tests): Add $(tests-ifunc).
4689 * wcsmbs/test-wcschr-ifunc.c: New file.
4690 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4691 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4692 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4693 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4694 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4695
69f07e5f
L
4696 * string/Makefile (tests-ifunc): New variable.
4697 (tests): Add $(tests-ifunc).
4698 * string/test-memccpy.c (TEST_NAME): New macro.
4699 * string/test-memchr.c (TEST_NAME): Likewise.
4700 * string/test-memcmp.c (TEST_NAME): Likewise.
4701 * string/test-memcpy.c (TEST_NAME): Likewise.
4702 * string/test-memmem.c (TEST_NAME): Likewise.
4703 * string/test-memmove.c (TEST_NAME): Likewise.
4704 * string/test-memset.c (TEST_NAME): Likewise.
4705 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4706 * string/test-stpcpy.c (TEST_NAME): Likewise.
4707 * string/test-stpncpy.c (TEST_NAME): Likewise.
4708 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4709 * string/test-strcasestr.c (TEST_NAME): Likewise.
4710 * string/test-strcat.c (TEST_NAME): Likewise.
4711 * string/test-strchr.c (TEST_NAME): Likewise.
4712 * string/test-strcmp.c(TEST_NAME): Likewise.
4713 * string/test-strcpy.c (TEST_NAME): Likewise.
4714 * string/test-strcspn.c (TEST_NAME): Likewise.
4715 * string/test-strlen.c (TEST_NAME): Likewise.
4716 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4717 * string/test-strncmp.c (TEST_NAME): Likewise.
4718 * string/test-strncpy.c (TEST_NAME): Likewise.
4719 * string/test-strnlen.c (TEST_NAME): Likewise.
4720 * string/test-strpbrk.c (TEST_NAME): Likewise.
4721 * string/test-strrchr.c (TEST_NAME): Likewise.
4722 * string/test-strspn.c (TEST_NAME): Likewise.
4723 * string/test-strstr.c (TEST_NAME): Likewise.
4724 * string/test-bcopy-ifunc.c: New file.
4725 * string/test-bzero-ifunc.c: Likewise.
4726 * string/test-memccpy-ifunc.c: Likewise.
4727 * string/test-memchr-ifunc.c: Likewise.
4728 * string/test-memcmp-ifunc.c: Likewise.
4729 * string/test-memcpy-ifunc.c: Likewise.
4730 * string/test-memmem-ifunc.c: Likewise.
4731 * string/test-memmove-ifunc.c: Likewise.
4732 * string/test-mempcpy-ifunc.c: Likewise.
4733 * string/test-memset-ifunc.c: Likewise.
4734 * string/test-rawmemchr-ifunc.c: Likewise.
4735 * string/test-stpcpy-ifunc.c: Likewise.
4736 * string/test-stpncpy-ifunc.c: Likewise.
4737 * string/test-strcasecmp-ifunc.c: Likewise.
4738 * string/test-strcasestr-ifunc.c: Likewise.
4739 * string/test-strcat-ifunc.c: Likewise.
4740 * string/test-strchr-ifunc.c: Likewise.
4741 * string/test-strchrnul-ifunc.c: Likewise.
4742 * string/test-strcmp-ifunc.c: Likewise.
4743 * string/test-strcpy-ifunc.c: Likewise.
4744 * string/test-strcspn-ifunc.c: Likewise.
4745 * string/test-strlen-ifunc.c: Likewise.
4746 * string/test-strncasecmp-ifunc.c: Likewise.
4747 * string/test-strncat-ifunc.c: Likewise.
4748 * string/test-strncmp-ifunc.c: Likewise.
4749 * string/test-strncpy-ifunc.c: Likewise.
4750 * string/test-strnlen-ifunc.c: Likewise.
4751 * string/test-strpbrk-ifunc.c: Likewise.
4752 * string/test-strrchr-ifunc.c: Likewise.
4753 * string/test-strspn-ifunc.c: Likewise.
4754 * string/test-strstr-ifunc.c: Likewise.
4755
de54b33a
L
4756 * debug/Makefile (tests-ifunc): New variable.
4757 (tests): Add $(tests-ifunc).
4758 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4759 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4760 * debug/test-stpcpy_chk-ifunc.c: New file.
4761 * debug/test-strcpy_chk-ifunc.c: Likewise.
4762
88481c16
SP
47632012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4764
4765 [BZ #13601]
4766 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4767 header is not read in.
4768
135948bd
JM
47692012-10-19 Joseph Myers <joseph@codesourcery.com>
4770
89f1c388
JM
4771 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4772 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4773 directly. Pass built executable to script as
4774 $(built-program-cmd).
4775 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4776 $testprogram without using LD_LIBRARY_PATH and $ldso.
4777
e40a0d21
JM
4778 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4779 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4780 $(rtld-installed-name).
4781 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4782 (rtld_installed_name): Likewise.
4783 (library_path): Likewise.
4784 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4785 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4786 $(run-program-prefix) to tst-tables.sh.
4787 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4788 it to run tst-table-from and tst-table-to.
4789 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4790 Pass it to tst-table.sh.
4791 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4792 $(run-program-prefix) to tst-gettext.sh.
4793 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4794 tst-translit.sh.
4795 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4796 tst-gettext2.sh.
4797 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4798 to run tst-gettext.
4799 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4800 to run tst-gettext2.
4801 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4802 to run tst-translit.
4803 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4804 $(run-program-prefix) to tst-mtrace.sh.
4805 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4806 to run tst-mtrace.
4807 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4808 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4809 $(rtld-installed-name).
4810 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4811 (rtld_installed_name): Likewise.
4812 (run_program_prefix): New variable. Use it to run wordexp-test.
4813
728e272a
JM
4814 * Makeconfig (ARCH): Remove all definitions.
4815 (machine): Likewise.
4816 [ARCH]: Remove conditional code.
4817 [!objdir]: Give error.
4818 [!objdir] (objpfx): Remove.
4819 [!objdir] (common-objpfx): Likewise.
4820 [!objdir] (common-objdir): Likewise.
4821 * configure.in (config_makefile): Remove. Hardcode Makefile in
4822 AC_CONFIG_FILES call.
4823 * configure: Regenerated.
4824
d528cdcf
JM
4825 [BZ #13888]
4826 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4827 or TMPDIR.
4828 (testout): Likewise.
4829
135948bd
JM
4830 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4831 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4832 $(rtld-installed-name).
4833 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4834 (rtld_installed_name): Likwise.
4835 (runit): Remove function.
4836 (run_getconf): New variable, Use it for running getconf binary.
4837
38c78296
L
48382012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4839
4840 [BZ #14716]
4841 * string/test-memmem.c (check_result): New function.
4842 (do_one_test): Use it.
4843 (check1): New function.
4844 (test_main): Use it.
4845
d077f65f
MT
48462012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4847
4848 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4849
ced52c71
JM
48502012-10-18 Joseph Myers <joseph@codesourcery.com>
4851
4852 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4853 (_G_LSEEK64): Likewise.
4854 (_G_MMAP64): Likewise.
4855 (_G_FSTAT64): Likewise.
4856 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4857 (_G_LSEEK64): Likewise.
4858 (_G_MMAP64): Likewise.
4859 (_G_FSTAT64): Likewise.
4860 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4861 unconditional. Call __mmap64 directly.
4862 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4863 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4864 __lseek64 directly.
4865 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4866 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4867 __mmap64 directly.
4868 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4869 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4870 __lseek64 directly.
4871 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4872 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4873 __lseek64 directly.
4874 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4875 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4876 __lseek64 directly.
4877 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4878 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4879 __fxstat64 directly.
4880 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4881 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4882 unconditional.
4883 (freopen64) [!_G_OPEN64]: Remove conditional code.
4884 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4885 unconditional.
4886 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4887 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4888 unconditional.
4889 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4890 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4891 unconditional.
4892 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4893 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4894 unconditional.
4895 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4896 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4897 unconditional.
4898 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4899 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4900 unconditional.
4901 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4902 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4903 unconditional.
4904 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4905
b741de23
SP
49062012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4907
4908 [BZ #12140]
4909 * manual/memory.texi (Malloc Tunable Parameters): Add note
4910 about free list pointers overwriting some perturb bytes.
4911 Wording suggested by Roland McGrath.
4912
f9b9d9c9
JM
49132012-10-17 Joseph Myers <joseph@codesourcery.com>
4914
4915 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4916 (lgamma_test): Likewise.
4917 (tgamma_test): Likewise.
4918
172a631a
FW
49192012-10-16 Florian Weimer <fweimer@redhat.com>
4920
4921 [BZ #14700]
4922 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4923 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4924
e9f37252
MK
49252012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4926
4927 * NEWS: Mention BZ #14716.
4928 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4929 when removing AVAILABLE1_USES_J macro.
4930
d394eb74
L
49312012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4932
4933 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4934 (__bswap_64): __uint64_t for unsigned 64-bit int.
4935
ca38dc17
AS
49362012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4937
4938 * include/string.h (memmem): Declare libc hidden alias.
4939 * string/memmem.c (memmem): Define libc hidden alias.
4940 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4941 __read, __close instead of open, read, close.
4942
9a387d1f
L
49432012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4944
ac49ecaf
L
4945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4946 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4947 global and hidden.
4948 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4949 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4950 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4951 Likewise.
4952 (__rawmemchr_sse2): Likewise.
4953 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4954 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4955 (__strchr_sse2): Likewise.
4956 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4957 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4958 (__strcasecmp_sse2): Likewise.
4959 (__strncasecmp_sse2): Likewise.
4960 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4961 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4962 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4963 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4964 (__strrchr_sse2): Likewise.
4965 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4966 ifunc-impl-list.c.
4967 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4968 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4969 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4970 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4971 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4973 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4974 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4975 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4976 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4977 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4978 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4979 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4980 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4981 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4982 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4983 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4984 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4985 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4986 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4987 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4988 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4989 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4990 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4991 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4992 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4993 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4994 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4995 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4996 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4997
b090e8ea
L
4998 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4999 global and hidden.
5000 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5001 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5002 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5003 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5004 Likewise.
5005 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5006 Likewise.
5007 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5008 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5009 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5010 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5011 ifunc-impl-list.c.
5012 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5013 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5014 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5015 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5016 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5017 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5018 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5019 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5020 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5021 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5022 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5023 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5024 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5025 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5026 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5028 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5029 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5030 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5031 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5033 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5034 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5035 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5037 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5038 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5039 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5040 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5041 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5042 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5043 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5044 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5045 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5046 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5047 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5048 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5049 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5050 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5051 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5052 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5053
11dd4af6
L
5054 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5055 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5056 * include/ifunc-impl-list.h: New file.
5057 * misc/ifunc-impl-list.c: Likewise.
5058 * misc/Makefile (routines): Add ifunc-impl-list.
5059 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5060 * string/test-string.h: Include <ifunc-impl-list.h>.
5061 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5062 impl_array): New variables.
5063 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5064 are defined.
5065 (test_init): Call __libc_ifunc_impl_list to initialize
5066 func_list if TEST_IFUNC and TEST_NAME are defined.
5067
9a387d1f
L
5068 * string/Makefile (strop-tests): Add bcopy and bzero.
5069 * string/test-bcopy.c: New file.
5070 * string/test-bzero.c: Likewise.
5071 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5072 defined.
5073 * string/test-memset.c: Support bzero test if TEST_BZERO is
5074 defined.
5075 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5076 __libc_memmove.
5077 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5078 __libc_memset.
5079 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5080 of memset.
5081
472371b9
JM
50822012-10-10 Joseph Myers <joseph@codesourcery.com>
5083
1e4a9536
JM
5084 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5085 * configure: Regenerated.
5086
d173d12e
JM
5087 * Makeconfig (+link-static-before-libc): Don't include
5088 $(link-static-libc).
5089
472371b9
JM
5090 * libio/libio.h (_IO_pos_t): Remove.
5091
89a3ad0b
AO
50922012-10-10 Alexandre Oliva <aoliva@redhat.com>
5093
5094 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5095 McGrath.
5096
e7451425
AO
50972012-10-10 Alexandre Oliva <aoliva@redhat.com>
5098
5099 * crypt/crypt-entry.c: Include fips-private.h.
5100 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5101 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5102 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5103 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5104
4ba74a35
AO
51052012-10-10 Alexandre Oliva <aoliva@redhat.com>
5106
5107 * crypt/crypt-private.h: Include stdbool.h.
5108 (_ufc_setup_salt_r): Return bool.
5109 * crypt/crypt-entry.c: Include errno.h.
5110 (__crypt_r): Return NULL with EINVAL for bad salt.
5111 * crypt/crypt_util.c (bad_for_salt): New.
5112 (_ufc_setup_salt_r): Check that salt is long enough and within
5113 the specified alphabet.
5114 * crypt/badsalttest.c: New file.
5115 * crypt/Makefile (tests): Add it.
5116 ($(objpfx)badsalttest): New.
5117
f96f1242
MK
51182012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5119
5120 * NEWS: Add entry for BZ #14602.
5121
0e8e0c1c
JM
51222012-10-09 Joseph Myers <joseph@codesourcery.com>
5123
5124 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5125 type-generic.
5126 * math/libm-test.inc: Update comment listing what functions and
5127 macros are tested.
5128 (isgreater_test): New function.
5129 (isgreaterequal_test): Likewise.
5130 (isless_test): Likewise.
5131 (islessequal_test): Likewise.
5132 (islessgreater_test): Likewise.
5133 (isunordered_test): Likewise.
5134 (main): Call the new functions.
5135
273edc5e
RM
51362012-10-09 Roland McGrath <roland@hack.frob.com>
5137
b8493de0
RM
5138 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5139 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5140 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5141 * sysdeps/i386/configure: Regenerated.
5142 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5143 * sysdeps/mach/configure: Regenerated.
5144 * sysdeps/mach/hurd/configure: Regenerated.
5145 * sysdeps/powerpc/configure: Regenerated.
5146 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5147 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5148 * sysdeps/s390/s390-32/configure: Regenerated.
5149 * sysdeps/s390/s390-64/configure: Regenerated.
5150 * sysdeps/sh/configure: Regenerated.
5151 * sysdeps/sparc/configure: Regenerated.
5152 * sysdeps/unix/sysv/linux/configure: Regenerated.
5153 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5154 * sysdeps/x86_64/configure: Regenerated.
5155
273edc5e
RM
5156 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5157 defined. Don't check if MAP is NULL.
5158
c8450f70
JM
51592012-10-09 Joseph Myers <joseph@codesourcery.com>
5160
5161 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5162 (_G_stat64): Likewise.
5163 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5164 (_G_stat64): Likewise.
5165 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5166 instead of struct _G_stat64.
5167 * libio/fileops.c (mmap_remap_check): Likewise.
5168 (decide_maybe_mmap): Likewise.
5169 (_IO_new_file_seekoff): Likewise.
5170 (_IO_file_stat): Likewise.
5171 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5172 _G_off64_t.
5173 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5174 instead of struct _G_stat64.
5175 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5176
57e605ba
MK
51772012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5178
5179 [BZ #14602]
5180 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5181 Replace with ...
5182 (CHECK_EOL): New macro.
5183 (two_way_short_needle): Check beginning of haystack for EOL. Use
5184 CHECK_EOL.
5185 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5186 Replace with CHECK_EOL.
5187 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5188 Replace with CHECK_EOL.
5189
ef1bb361
JM
51902012-10-08 Joseph Myers <joseph@codesourcery.com>
5191
5192 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5193 type-generic.
5194 * math/libm-test.inc: Update comment listing what functions and
5195 macros are tested.
5196 (finite_test): New function.
5197 (isinf_test): Likewise.
5198 (isnan_test): Likewise.
5199 (fpclassify_test): Test subnormal input.
5200 (isfinite_test): Likewise.
5201 (isnormal_test): Likewise.
5202 (main): Call the new functions.
5203
55f11534
JN
52042012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5205
5206 [BZ #14660]
5207 * Makerules (%.dynsym): Force C locale when running
5208 $(OBJDUMP) --dynamic-syms.
5209
1ab29350
AS
52102012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5211
5212 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5213 <stdint.h>.
5214
f1ecb7ef
DM
52152012-10-06 David S. Miller <davem@davemloft.net>
5216
5217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5218 upper 32-bits of the length value in %o2 since we use branch-on-register
5219 tests which consider the entire 64-bit register.
5220
5d41d91a
L
52212012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5222
5223 * string/test-strstr.c (check2): Add a test for page boundary.
5224
3baddb72
DM
52252012-10-05 David S. Miller <davem@davemloft.net>
5226
5227 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5228 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5229 file.
5230 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5231 sysdep_routines.
5232 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5233 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5234 and bzero when HWCAP_SPARC_CRYPTO is present.
5235
9cee5585
L
52362012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5237
d7e0dab9
L
5238 [BZ #14602]
5239 * string/test-strstr.c (check2): New function.
5240 (test_main): Call check2.
5241
03759f47
L
5242 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5243 and bug-strchr1.
5244 * string/bug-strcasestr1.c (do_test): Moved to ...
5245 * string/test-strcasestr.c (check1): Here. New function.
5246 (do_one_test): Break out result checking code into ...
5247 (check_result): This. New function.
5248 (do_one_test): Call check_result.
5249 (test_main): Call check1.
5250 * string/bug-strchr1.c (do_test): Moved to ...
5251 * string/test-strchr.c (check1): Here. New function.
5252 (do_one_test): Break out result checking code into ...
5253 (check_result): This. New function.
5254 (do_one_test): Call check_result.
5255 (test_main): Call check1.
5256 * string/bug-strstr1.c (main): Moved to ...
046f153e 5257 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5258 (do_one_test): Break out result checking code into ...
5259 (check_result): This. New function.
5260 (do_one_test): Call check_result.
5261 (test_main): Call check1.
5262 * string/bug-strcasestr1.c: Removed.
5263 * string/bug-strchr1.c: Likewise.
5264 * string/bug-strstr1.c: Likewise.
5265
53cea63e
L
5266 * elf/Makefile (dl-routines): Add hwcaps.
5267 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5268 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5269 (_dl_important_hwcaps): Moved to ...
5270 * elf/dl-hwcaps.c: Here. New file.
5271 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5272
9cee5585 5273 [BZ #14557]
bb859b06
L
5274 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5275 if IS_IN_rtld isn't defined.
5276
9cee5585
L
5277 * elf/dl-support.c (_dl_sysinfo_map): New.
5278 Include "get-dynamic-info.h" and "setup-vdso.h".
5279 (_dl_non_dynamic_init): Call setup_vdso.
5280 * elf/dynamic-link.h: Don't include <assert.h>.
5281 (elf_get_dynamic_info): Moved to ...
5282 * elf/get-dynamic-info.h: Here. New file.
5283 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5284 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5285 * elf/setup-vdso.h: Here. New file.
5286 * elf/rtld.c: Include "setup-vdso.h".
5287 (dl_main): Call setup_vdso.
5288
23c31b76
JM
52892012-10-05 Joseph Myers <joseph@codesourcery.com>
5290
28234b07
JM
5291 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5292 creal in comment listing functions tested. List finite, isinf,
5293 isnan, isless, islessequal, isgreater, isgreaterequal,
5294 islessgreater, isunordered, lgamma_r and pow10 as functions and
5295 macros not tested. Mention which functions not tested are aliases
5296 for other functions. Fix typo. Note that signs of NaNs are not
5297 tested.
5298
23c31b76
JM
5299 * scripts/config.guess: Update from config.git.
5300 * scripts/config.sub: Likewise.
5301
9043e228
RM
53022012-10-04 Roland McGrath <roland@hack.frob.com>
5303
5304 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5305 * misc/madvise.c (madvise): Renamed to __madvise.
5306 Make madvise a weak alias.
5307 * include/sys/mman.h: Declare __madvise.
5308 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5309 * sysdeps/unix/syscalls.list
5310 (madvise): Make __madvise the strong name, and madvise a weak alias.
5311 * sysdeps/unix/sysv/linux/syscalls.list
5312 (madvise, mmap): Remove redundant entries.
5313 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5314 * malloc/malloc.c (mtrim): Likewise.
5315 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5316
f57f8055
RM
53172012-10-03 Roland McGrath <roland@hack.frob.com>
5318
5319 * sysdeps/mach/hurd/dl-cache.c: File removed.
5320 * config.h.in (USE_LDCONFIG): New #undef.
5321 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5322 * configure: Regenerated.
5323 * elf/Makefile (dl-routines): Add dl-cache only under
5324 [$(use-ldconfig) = yes].
5325 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5326 cache on [USE_LDCONFIG].
5327 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5328 [USE_LDCONFIG].
5329 * elf/rtld.c (dl_main): Likewise.
5330
5bb0c10a
PT
53312012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5332
5333 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5334 _SC_LEVEL4_CACHE_LINESIZE.
5335
010188c6
RM
53362012-10-03 Roland McGrath <roland@hack.frob.com>
5337
5338 * sysdeps/unix/bsd/confstr.h: File removed.
5339
b6c5ec07
AO
53402012-10-02 Alexandre Oliva <aoliva@redhat.com>
5341
5342 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5343 sys/sdt-config.h.
5344
408223d4
RM
53452012-10-02 Roland McGrath <roland@hack.frob.com>
5346
5347 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5348 Make 'mapoff' field ElfW(Off) rather than off_t.
5349
bb9510dc
DL
53502012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5351
fc997c6e
DL
5352 * nscd/Makefile: Remove nscd-cflags and all its users.
5353 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5354 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5355
bb9510dc
DL
5356 [BZ #10631]
5357 * malloc.c (malloc_printerr): Clarify error message.
5358
05699367
L
53592012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5360
5361 [BZ #14648]
5362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5363 Set bit_FMA_Usable if FMA is supported.
5364 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5365 macro.
5366 (bit_FMA4_Usable): Updated.
5367 (index_FMA_Usable): New macro.
5368 (CPUID_FMA): Likewise
5369 (HAS_FMA): Defined with bit_FMA_Usable.
5370
51367701
RM
53712012-10-01 Roland McGrath <roland@hack.frob.com>
5372
5373 * bits/types.h (__swblk_t): Type removed.
5374 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5375 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5376 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5377 (__SWBLK_T_TYPE): Likewise.
5378 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5379 (__SWBLK_T_TYPE): Likewise.
5380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5381 (__SWBLK_T_TYPE): Likewise.
5382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5383 (__SWBLK_T_TYPE): Likewise.
5384
4d57bf63 53852012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5386 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5387
5388 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5389 (xdr_mapname): Use YPMAXMAP as maxsize.
5390 (xdr_peername): Use YPMAXPEER as maxsize.
5391 (xdr_keydat): Use YPAXRECORD as maxsize.
5392 (xdr_valdat): Use YPMAXRECORD as maxsize.
5393
93c65d43
RM
53942012-10-01 Roland McGrath <roland@hack.frob.com>
5395
497a03d6
RM
5396 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5397
93c65d43
RM
5398 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5399 * csu/init-first.c: ... here.
5400 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5401 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5402 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5403 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5404 * sysdeps/i386/init-first.c: File removed.
5405 * sysdeps/sh/init-first.c: File removed.
5406
bec749fd
JM
54072012-10-01 Joseph Myers <joseph@codesourcery.com>
5408
5409 [BZ #14645]
5410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5411 if x * y might underflow to zero and z is zero.
5412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5413 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5414 * math/libm-test.inc (min_subnorm_value): New variable.
5415 (fma_test): Add more tests.
5416 (fma_test_towardzero): Likewise.
5417 (fma_test_downward): Likewise
5418 (fma_test_upward): Likewise.
5419 (initialize): Set min_subnorm_value.
5420
8ec5b013
JM
54212012-09-29 Joseph Myers <joseph@codesourcery.com>
5422
5423 [BZ #14638]
5424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5425 0 + 0.
5426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5427 mode for addition resulting in exact zero.
5428 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5430 exact 0 + 0.
5431 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5432 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5433 * math/libm-test.inc (fma_test): Add more tests.
5434 (fma_test_towardzero): New function.
5435 (fma_test_downward): Likewise.
5436 (fma_test_upward): Likewise.
5437 (main): Call the new functions.
5438
b1fa802e
DM
54392012-09-28 David S. Miller <davem@davemloft.net>
5440
5441 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5442
d3b9fd9e
RM
54432012-09-28 Roland McGrath <roland@hack.frob.com>
5444
ea4d37b3
RM
5445 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5446 instead of SIGALRM.
5447
ac51c949
RM
5448 * sysdeps/gnu/_G_config.h: Moved to ...
5449 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5450 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5451 * sysdeps/generic/_G_config.h: ... here.
5452
28c195f7
RM
5453 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5454
848917f9
RM
5455 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5456
6bacf05b
RM
5457 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5458 Conditionalize target on [libnss_test1.so-version].
5459
91363dbb
RM
5460 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5461
cc87f7d8
RM
5462 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5463 (elfobjdir): Move out of conditionals.
5464
b1c608fe
RM
5465 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5466 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5467 (__nss_lookup_function): Conditionalize label remove_from_tree on
5468 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5469
1d9a6d96
DM
54702012-09-28 David S. Miller <davem@davemloft.net>
5471
5472 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5473 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5474 file.
5475 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5476 sysdep_routines.
5477 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5479 when HWCAP_SPARC_CRYPTO is present.
5480
72581615
PT
54812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5482
5483 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5484
715a900c
JL
54852012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5486
5487 [BZ #6530]
5488 * stdio-common/vfprintf.c (process_string_arg): Revert
5489 2000-07-22 change.
5490
54912011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5492
5493 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5494 for testcase.
5495 * stdio-common/tst-sprintf.c: Include <locale.h>
5496 (main): Test sprintf's handling of incomplete multibyte
5497 characters.
5498
9bac1d86
L
54992012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5500
5501 * elf/dl-runtime.c (VERSYMIDX): Removed.
5502 * elf/dl-version.c (VERSYMIDX): Likewise.
5503 * elf/do-rel.h (VERSYMIDX): Likewise.
5504 (VALIDX): Likewise.
5505 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5506 * elf/rtld.c (VALIDX): Likewise.
5507 (ADDRIDX): Likewise.
9bac1d86
L
5508 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5509 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5510 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5511 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5512 (VALIDX): Likewise.
5513 (ADDRIDX): Likewise.
9bac1d86 5514
b31606c0
PT
55152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5516
5517 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5518
11541177
JL
55192012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5520
5521 [BZ #11438]
5522 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5523 to global scope.
5524 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5525 addresses are in the same scope as 192.0.2/24.
5526 * posix/gai.conf: Document new scope table defaults.
5527
adb26fae
SP
55282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5529
5530 [BZ #5298]
5531 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5532 for ftell. Compute offsets from write pointers instead.
5533 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5534
4573c6b0
SP
55352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5536
5537 [BZ #14543]
5538 * libio/Makefile (tests): New test case tst-fseek.
5539 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5540 combination works in wide mode.
5541 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5542 state when the external buffer state changes.
5543
aa9bbfe6
DM
55442012-09-27 David S. Miller <davem@davemloft.net>
5545
5546 [BZ #14376]
5547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5548 pass reloc->r_addend in as the 'high' argument to
5549 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5550
784421e7
DM
5551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5552
c39bc8b8
PT
55532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5554
5555 * rt/tst-aio2.c: Include <pthread.h>.
5556 * rt/tst-aio3.c: Likewise.
5557
1ccc2399
SE
55582012-09-27 Steve Ellcey <sellcey@mips.com>
5559
5560 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5561
31ed4153
L
55622012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5563
25f5f885
L
5564 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5565 contents on [SHARED].
31ed4153 5566
b7bfe116
MP
55672012-09-26 Marek Polacek <polacek@redhat.com>
5568
5569 [BZ #14530]
5570 [BZ #13741]
5571 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5572 for C++ and GCC <4.3 as well as for non GCC compilers.
5573
43c4edba
MT
55742012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5575
5576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5577
6a1bf82f
RM
55782012-09-25 Roland McGrath <roland@hack.frob.com>
5579
5580 * Makefile.in (all, install): Declare with .PHONY.
5581 Reported by Michael Hope <michael.hope@linaro.org>.
5582
8ad11b9a
TMQMF
55832012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5584
5585 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5586 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5587 system header.
5588 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5589 Likewise.
5590 (sydep_routines): Add the new and the internal functions.
5591 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5592 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5594 (GLIBC_2.17): Add the new function.
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5596 (GLIBC_2.17): Likewise.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5598 (GLIBC_2.17): Likewise.
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5600 (GLIBC_2.17): Likewise.
5601 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5602
7e2fca8d
AM
56032012-09-25 Alan Modra <amodra@gmail.com>
5604
5605 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5606 Add release barrier before setting once_control to say
5607 initialisation is done. Add hints on lwarx. Use macro in
5608 place of isync.
5609 (clear_once_control): Add release barrier.
5610
b87c4b24
JM
56112012-09-25 Joseph Myers <joseph@codesourcery.com>
5612
d032e0d2
JM
5613 [BZ #13629]
5614 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5615 specially.
5616 * math/s_clog10.c (__clog10): Likewise.
5617 * math/s_clog10f.c (__clog10f): Likewise.
5618 * math/s_clog10l.c (__clog10l): Likewise.
5619 * math/s_clogf.c (__clogf): Likewise.
5620 * math/s_clogl.c (__clogl): Likewise.
5621 * math/Makefile (libm-calls): Add x2y2m1.
5622 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5623 (__x2y2m1): Likewise.
5624 (__x2y2m1l): Likewise.
5625 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5626 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5627 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5629 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5630 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5631 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5632 * sysdeps/i386/fpu/libm-test-ulps: Update.
5633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5634
b87c4b24
JM
5635 [BZ #14621]
5636 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5637 int as type of variable DEPTH.
5638 (glob): Use size_t instead of int as type of variables NEWCOUNT
5639 and OLD_PATHC.
5640
6d3bf199
LD
56412012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5642
22bf5c17
LD
5643 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5644 Add s_sincosf-sse2.
5645 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5646 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5647 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5648 macros for using routine as __sincosf_ia32.
5649 Use macro for function declaration and weak_alias.
5650 * sysdeps/i386/fpu/libm-test-ulps: Update.
5651
5652 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5654
5655 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5656 subnormal argument.
5657 * math/s_cexpf.c (__cexpf): Likewise.
5658 * math/s_csinf.c (__csinf): Likewise.
5659 * math/s_csinhf.c (__csinhf): Likewise.
5660 * math/s_ctanf.c (__ctanf): Likewise.
5661 * math/s_ctanhf.c (__ctanhf): Likewise.
5662 * math/s_ccosh.c (__ccoshf): Likewise.
5663 * math/s_cexp.c (__cexpl): Likewise.
5664 * math/s_csin.c (__csin): Likewise.
5665 * math/s_csinh.c (__csinh): Likewise.
5666 * math/s_ctan.c (__ctan): Likewise.
5667 * math/s_ctanh.c (ctanh): Likewise.
5668 * math/s_ccoshl.c (__ccoshl): Likewise.
5669 * math/s_cexpl.c (__cexpl): Likewise.
5670 * math/s_csinl.c (__csinl): Likewise.
5671 * math/s_csinhl.c (__csinhl): Likewise.
5672 * math/s_ctanl.c (__ctanl): Likewise.
5673 * math/s_ctanhl.c (__ctanhl): Likewise.
5674
203e5603
JM
56752012-09-25 Joseph Myers <joseph@codesourcery.com>
5676
5677 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5678 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5679 (_IO_off_t): Define to __off_t, not _G_off_t.
5680 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5681 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5682 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5683 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5684 type of __dummy and __dummy2 fields.
5685 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5686 (_G_ssize_t): Likewise.
5687 (_G_off_t): Likewise.
5688 (_G_pid_t): Likewise.
5689 (_G_uid_t): Likewise.
5690 (_G_wchar_t): Likewise.
5691 (_G_wint_t): Likewise.
5692 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5693 (_G_ssize_t): Likewise.
5694 (_G_off_t): Likewise.
5695 (_G_pid_t): Likewise.
5696 (_G_uid_t): Likewise.
5697 (_G_wchar_t): Likewise.
5698 (_G_wint_t): Likewise.
5699 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5700 (_G_ssize_t): Likewise.
5701 (_G_off_t): Likewise.
5702 (_G_pid_t): Likewise.
5703 (_G_uid_t): Likewise.
5704 (_G_wchar_t): Likewise.
5705 (_G_wint_t): Likewise.
5706
9fab36eb
SP
57072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5708
5709 * malloc/arena.c: Include malloc-sysdep.h.
5710 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5711 is sufficient to shrink the heap or an unmap is needed.
5712 * sysdeps/generic/malloc-sysdep.h: New file. Define
5713 new function check_may_shrink_heap.
5714 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5715 new function check_may_shrink_heap.
5716
2b4f00d1
SP
57172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5718
5719 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5720 comments.
5721
9a9028b1
DL
57222012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5723
57c69bef
DL
5724 * catgets/test-gencat.sh: Add "set -e".
5725 * elf/tst-pathopt.sh: Likewise.
5726 * grp/tst_fgetgrent.sh: Likewise.
5727 * iconvdata/run-iconv-test.sh: Likewise.
5728 * intl/tst-gettext.sh: Likewise.
5729 * intl/tst-gettext2.sh: Likewise.
5730 * intl/tst-gettext4.sh: Likewise.
5731 * intl/tst-gettext6.sh: Likewise.
5732 * intl/tst-translit.sh: Likewise.
5733 * io/ftwtest-sh: Likewise.
5734 * libio/test-freopen.sh: Likewise.
5735 * malloc/tst-mtrace.sh: Likewise.
5736 * posix/globtest.sh: Likewise.
5737 * posix/tst-getconf.sh: Likewise.
5738 * posix/wordexp-tst.sh: Likewise.
5739 * stdio-common/tst-printf.sh: Likewise.
5740 * stdio-common/tst-unbputc.sh: Likewise.
5741 * stdlib/tst-fmtmsg.sh: Likewise.
5742 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5743 * catgets/Makefile: Do not specify -e option when running
5744 testsuite shell scripts.
5745 * elf/Makefile: Likewise.
5746 * grp/Makefile: Likewise.
5747 * iconvdata/Makefile: Likewise.
5748 * intl/Makefile: Likewise.
5749 * io/Makefile: Likewise.
5750 * libio/Makefile: Likewise.
5751 * malloc/Makefile: Likewise.
5752 * posix/Makefile: Likewise.
5753 * stdio-common/Makefile: Likewise.
5754 * stdlib/Makefile: Likewise.
5755 * sysdeps/x86_64/Makefile: Likewise.
5756
9a9028b1
DL
5757 * io/ftwtest-sh: Add copyright header.
5758 * posix/globtest.sh: Likewise.
5759 * posix/tst-getconf.sh: Likewise.
5760 * posix/wordexp-tst.sh: Likewise.
5761 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5762
ced6f16e
L
57632012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5764
94b32c39
L
5765 [BZ #13679]
5766 * Makeconfig (+link): Defined as $(+link-static) if
5767 $(build-shared) isn't yes.
5768 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5769 isn't yes.
5770 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5771
189e935b
L
5772 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5773
ced6f16e
L
5774 [BZ #14562]
5775 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5776 new chunk size with MALLOC_ALIGN_MASK.
5777
a9f8e53a
JM
57782012-09-24 Joseph Myers <joseph@codesourcery.com>
5779
5780 [BZ #5044]
5781 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5782 <rounding-mode.h>.
5783 (__printf_fphex): Determine rounding using get_rounding_mode and
5784 round_away.
5785 * stdio-common/tst-printf-round.c (struct hex_test): New
5786 structure.
5787 (hex_tests): New variable.
5788 (test_hex_in_one_mode): New function.
5789 (do_test): Also run tests for hex float output.
5790
43153109
JM
57912012-09-21 Joseph Myers <joseph@codesourcery.com>
5792
5793 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5794 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5795 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5796 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5797 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5798 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5799 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5800 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5801
8a26625d
JM
58022012-09-20 Joseph Myers <joseph@codesourcery.com>
5803
5804 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5805 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5806 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5807 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5808
f3fd569c
DL
58092012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5810
5811 [BZ #14579]
5812 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5813 mode only.
5814 * elf/tst-rtld-load-self.sh: New test.
5815 * elf/Makefile: Run it.
5816
63bbedd4
JM
58172012-09-18 Joseph Myers <joseph@codesourcery.com>
5818
5819 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5820 (tst-writev-ENV): Remove.
5821 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5822
626f8b6a
CM
58232012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5824
5825 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5826
b7aaa4d6
JM
58272012-09-17 Joseph Myers <joseph@codesourcery.com>
5828
5829 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5830 unconditional.
5831 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5832 Likewise.
5833 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5834 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5835 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5836 Likewise.
5837
65513990
L
58382012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5839
5840 [BZ #14587]
5841 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5842 * config.make.in (have-cpp-asm-debuginfo): Removed.
5843 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5844 * configure: Regenerated.
5845
784761be
JM
58462012-09-14 Joseph Myers <joseph@codesourcery.com>
5847
5848 [BZ #5044]
5849 * stdio-common/printf_fp.c: Include <stdbool.h> and
5850 <rounding-mode.h>.
5851 (___printf_fp): Determine rounding using get_rounding_mode and
5852 round_away.
5853 * stdio-common/tst-printf-round.c: New file.
5854 * stdio-common/Makefile (tests): Add tst-printf-round.
5855 (link-libm): New variable.
5856 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5857
9503345f
L
58582012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5859
5860 [BZ #14576]
5861 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5862 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5863 Likewise.
5864 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5865 Likewise.
5866
ad35fc00
JM
58672012-09-13 Joseph Myers <joseph@codesourcery.com>
5868
5869 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5870 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5871 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5872 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5873
6c9b0f68
JM
58742012-09-12 Joseph Myers <joseph@codesourcery.com>
5875
5876 [BZ #14518]
5877 * include/rounding-mode.h: New file.
5878 * sysdeps/generic/get-rounding-mode.h: Likewise.
5879 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5880 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5881 (MAX_VALUE): New macro.
5882 (MIN_VALUE): Likewise.
5883 (overflow_value): New function.
5884 (underflow_value): Likewise.
5885 (round_and_return): Use overflow_value and underflow_value to
5886 determine return values in overflow and underflow cases. Use
5887 round_away to determine rounding depending on rounding mode.
5888 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5889 determine return values in overflow and underflow cases.
5890 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5891 (struct test_results): New structure.
5892 (struct test): Use struct test_results to store expected results
5893 for all rounding modes.
5894 (TEST): Include expected results for all rounding modes.
5895 (test_in_one_mode): New function.
5896 (do_test): Use test_in_one_mode to compute and check results.
5897 Check results for all rounding modes.
5898 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5899 $(link-libm).
5900
19fcedd5
AM
59012012-12-09 Allan McRae <allan@archlinux.org>
5902
1e9d84cd 5903 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5904
8bbfd2f1
JM
59052012-09-11 Joseph Myers <joseph@codesourcery.com>
5906
5907 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5908 (_G_int32_t): Likewise.
5909 (_G_uint16_t): Likewise.
5910 (_G_uint32_t): Likewise.
5911 (_G_HAVE_BOOL): Likewise.
5912 (_G_HAVE_ATEXIT): Likewise.
5913 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5914 (_G_HAVE_IO_FILE_OPEN): Likewise.
5915 * sysdeps/gnu/_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/mach/hurd/_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
b1dc5912
L
59322012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 * csu/libc-tls.c: Update copyright years.
5935
0e886ef9
JM
59362012-09-10 Joseph Myers <joseph@codesourcery.com>
5937
28361c5e
JM
5938 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5939 [!_G_USING_THUNKS]: Remove conditional code.
5940 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5941 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5942
0e886ef9
JM
5943 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5944 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5945 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5946 (_G_VTABLE_LABEL_PREFIX): Likewise.
5947 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5948 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5949 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5950 (_G_VTABLE_LABEL_PREFIX): Likewise.
5951 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5952 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5954 (_G_VTABLE_LABEL_PREFIX): Likewise.
5955 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5956
bcba7aa2
L
59572012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5958
5959 * libio/Makefile: Include ../Makeconfig before tests.
5960 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5961 only if $(build-shared) is yes.
5962
06585ee8
L
5963 * iconv/gconv_db.c: Update copyright years.
5964
80ccd52c
LD
59652012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5966
5967 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5968 unwind info if defined PIC. Fix special cases description.
5969 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5970
5971 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5972 DP_HI_MASK entry.
5973 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5974
691bc9c1
L
59752012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5976
3d9b46b3
L
5977 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5978
de2139a9
L
5979 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5980 is NULL.
5981
5ca78dd0
L
5982 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5983 (LDLIBS-tst-chk4): This.
5984 (LDFLAGS-tst-chk5): Renamed to ...
5985 (LDLIBS-tst-chk5): This.
5986 (LDFLAGS-tst-chk6): Renamed to ...
5987 (LDLIBS-tst-chk6): This.
5988 (LDFLAGS-tst-lfschk4): Renamed to ...
5989 (LDLIBS-tst-lfschk4): This.
5990 (LDFLAGS-tst-lfschk5): Renamed to ...
5991 (LDLIBS-tst-lfschk5): This.
5992 (LDFLAGS-tst-lfschk6): Renamed to ...
5993 (LDLIBS-tst-lfschk6): This.
5994
691bc9c1
L
5995 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5996 on $(common-objpfx)soversions.mk.
5997
65cafb1c
JM
59982012-09-07 Joseph Myers <joseph@codesourcery.com>
5999
6000 [BZ #10014]
6001 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6002 example host name.
6003
c78ab094
SP
60042012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6005
6006 * malloc/arena.c (arena_get_retry): New function that gets
6007 another arena for the caller to try its request on.
6008 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6009 current arena cannot fulfill the request.
6010 (__libc_memalign): Likewise.
6011 (__libc_memalign): Likewise.
6012 (__libc_pvalloc): Likewise.
6013 (__libc_calloc): Likewise.
6014
01f49f59
JT
60152012-09-05 John Tobey <john.tobey@gmail.com>
6016
6017 [BZ #13542]
6018 * manual/arith.texi (Operations on Complex): Fix description
6019 of carg branch cut.
6020
4c23fed5
JM
60212012-09-06 Joseph Myers <joseph@codesourcery.com>
6022
1d3c8572
JM
6023 [BZ #10014]
6024 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6025 host name.
6026
4c23fed5
JM
6027 [BZ #10038]
6028 * manual/memory.texi (Memory): Make order of menu items match
6029 order of sections.
6030
04570aaa
L
60312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6032
6033 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6034 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6035 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6036
b80af2f4
L
60372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6038
6039 * csu/libc-tls.c (static_dtv): Renamed to ...
6040 (_dl_static_dtv): This. Make it global.
6041 (_dl_initial_dtv): Removed.
6042 (__libc_setup_tls): Updated.
6043 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6044 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6045 DL_INITIAL_DTV.
6046
2abe9f15
PM
60472012-09-06 Petr Machata <pmachata@redhat.com>
6048
6049 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6050 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6051 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6052 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6053
0948c3af
L
60542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6055
6056 [BZ #14545]
6057 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6058 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6059 freeing dtv[-1].
6060
a5055ad1
L
60612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6062
6063 [BZ #14544]
6064 * Makeconfig (link-static-before-libc): Replace $(+prector)
6065 with $(+prectorT).
6066 (link-static-after-libc): Replace $(+postctor) with
6067 $(+postctorT).
6068 (link-bounded): Replace $(+prector)/$(+postctor) with
6069 $(+prectorT)/$(+postctorT).
6070 (+prectorT): New macro.
6071 (+postctorT): Likewise.
6072
ed8c2ecd
JM
60732012-09-06 Joseph Myers <joseph@codesourcery.com>
6074
6075 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6076 (round_str): Handle values above the maximum for IBM long double
6077 as inexact.
6078 * stdlib/tst-strtod-round.c (tests): Regenerated.
6079
14c996c8
AK
60802012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6081
6082 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6083 assembler flag.
6084 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6085 zarch_nohighgprs around the zarch optimized routines.
6086 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6087 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6088 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6089 for zarch.
6090
430d6ce6
DM
60912012-09-05 David S. Miller <davem@davemloft.net>
6092
6093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6094
ff04dda4
DM
6095 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6096 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6097 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6098 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6099 entries.
6100
24d4e01b
AO
61012012-09-05 Alexandre Oliva <aoliva@redhat.com>
6102
6103 * malloc/arena.c: Fold copyright years.
6104 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6105
61d58174
AO
61062012-09-05 Alexandre Oliva <aoliva@redhat.com>
6107
6108 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6109
20196a5e
AO
61102012-09-05 Alexandre Oliva <aoliva@redhat.com>
6111
6112 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6113
5c447383
AO
61142012-09-05 Alexandre Oliva <aoliva@redhat.com>
6115
6116 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6117 change internal state upon failure.
6118
fad64255
AO
61192012-09-05 Alexandre Oliva <aoliva@redhat.com>
6120
6121 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6122 * malloc/memusage.c (mmap): Likewise.
6123 (mmap64, mremap): Likewise. Adjust name in comment.
6124
1ffb8c90
SP
61252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6126
6127 * libio/fileops.c: Fix typos in comments.
6128 * libio/oldfileops.c: Likewise.
6129 * libio/wfileops.c: Likewise.
6130
6ef9cc37
SP
61312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6132
6133 [BZ #1349]
6134 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6135 (tst-malloc-usable-ENV): Set environment for test case.
6136 * malloc/hooks.c (malloc_check_get_size): New function to get
6137 requested size.
6138 * malloc/malloc.c (musable): Use malloc_check_get_size.
6139 * malloc/tst-malloc-usable.c: New test case.
6140
4d038ae3
AS
61412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6142
6143 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6144
c4e85184
AM
61452012-09-05 Allan McRae <allan@archlinux.org>
6146
b9dafc56 6147 [BZ #13966]
c4e85184
AM
6148 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6149 determine header location.
6150 * configure: Regenerated.
6151
e1343020
AS
61522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6153
6154 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6155 float format.
6156 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6157 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6158 format.
e1343020
AS
6159 (test): Regenerate.
6160
0a9f1987
DM
61612012-09-04 David S. Miller <davem@davemloft.net>
6162
6163 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6164 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6165 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6166
29237804
FW
61672012-09-04 Florian Weimer <fweimer@redhat.com>
6168
6169 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6170 failures.
6171
edb3cb88
FW
6172 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6173
60160d83
JM
61742012-09-04 Joseph Myers <joseph@codesourcery.com>
6175
6176 [BZ #9914]
6177 * libio/iogetdelim.c: Include <limits.h>.
6178 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6179 + len + 1 would overflow.
6180
bcd6c8dc
AJ
61812012-09-03 Andreas Jaeger <aj@suse.de>
6182
6183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6184 * sysdeps/i386/fpu/libm-test-ulps: Update.
6185
4ffffbd2
LD
61862012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6187
6188 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6189 Add s_sinf-sse2, s_conf-sse2.
6190
6191 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6192 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6193 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6194 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6195
6196 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6197 for using routine as __sinf_ia32.
6198 Use macro for function declaration and weak_alias.
6199 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6200 for using routine as __cosf_ia32.
6201 Use macro for function declaration and weak_alias.
6202
6203 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6204 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6205
6206 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6207 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6209
6210 * math/libm-test.inc (cos_test): Add more test cases.
6211 (sin_test): Likewise.
6212 (sincos_test): Likewise.
6213
511fa286
AK
62142012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6215
6216 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6217 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6218 hidden.
6219 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6220
5f30cfec
L
62212012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6222
6223 [BZ #14538]
6224 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6225 first element of the GOT.
6226 (elf_machine_load_address): Return the difference between
6227 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6228
0786794f
AM
62292012-09-01 Allan McRae <allan@archlinux.org>
6230
5f30cfec
L
6231 [BZ #13412]
6232 * configure.in (AWK): Require gawk version 3.0 or later.
6233 * configure: Regenerated.
0786794f 6234
26889eac
JM
62352012-09-01 Joseph Myers <joseph@codesourcery.com>
6236
6237 * sysdeps/unix/sysv/linux/kernel-features.h
6238 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6239 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6240 [__NR_clock_getres]: Make code unconditional.
6241 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6242 (clock_getcpuclockid): Remove code left unreachable by removal of
6243 conditionals.
6244 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6245 code unconditional.
6246 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6247 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6248 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6249 Make code unconditional.
6250 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6252 * sysdeps/unix/sysv/linux/clock_settime.c
6253 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6254 conditional code.
6255 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6257
d22e28b0
L
62582012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6259
6260 [BZ #14476]
6261 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6262 scripts/test-installation.pl.
6263
6264 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6265 and $ld_so_version if it is set.
6266
050af9c4
SP
62672012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6268
6269 [BZ #14516]
6270 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6271 failure if reading from procfs failed.
6272 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6273
ad845c0b
JM
62742012-08-27 Joseph Myers <joseph@codesourcery.com>
6275
6276 * sysdeps/unix/sysv/linux/kernel-features.h
6277 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6278 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6279 Remove conditional code.
6280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6281 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6282 Remove conditional code.
6283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6284 * sysdeps/unix/sysv/linux/i386/fxstat.c
6285 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6287 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6288 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6289 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6290 * sysdeps/unix/sysv/linux/i386/lxstat.c
6291 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6292 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6293 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6294 Remove conditional code.
6295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6296 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6297 Remove conditional code.
6298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6299 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6300 <kernel-features.h>.
6301 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6302 Remove.
6303 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6304 Remove conditional code.
6305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6306 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6307 Remove conditional.
6308
5dbf56af
MF
63092012-08-27 Mike Frysinger <vapier@gentoo.org>
6310
6311 [BZ #5400]
6312 * NEWS: Add fixed bug number.
6313
d6e70f43
JM
63142012-08-27 Joseph Myers <joseph@codesourcery.com>
6315
7efb4737
JM
6316 [BZ #14519]
6317 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6318 underflowing exponent in case of negative sign.
6319 * stdlib/tst-strtod-round-data: Add more tests.
6320 * stdlib/tst-strtod-round.c (tests): Regenerated.
6321
af92131a
JM
6322 [BZ #3479]
6323 * stdlib/strtod_l.c (NDIG): Remove.
6324 (HEXNDIG): Likewise.
6325 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6326 smallest representable value.
6327 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6328 lie within an exact representation of 1/2 ulp of the result.
6329 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6330 unconditionally.
6331 (TENS_P9_IDX): Define unconditionally.
6332 (TENS_P9_SIZE): Likewise.
6333 (TENS_P10_IDX): Likewise.
6334 (TENS_P10_SIZE): Likewise.
6335 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6336 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6337 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6338 entries for 10^2^13 and 10^2^14.
6339 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6340 (TENS_P13_IDX): Define.
6341 (TENS_P13_SIZE): Likewise.
6342 (TENS_P14_IDX): Likewise.
6343 (TENS_P14_SIZE): Likewise.
6344 (_fpioconst_pow10): Change array size to
6345 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6346 unconditional.
6347 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6348 1024]: Add entries for 10^2^13 and 10^2^14.
6349 [LAST_POW10 > _LAST_POW10]: Remove #error.
6350 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6351 (_fpioconst_pow10): Change array size to
6352 FPIOCONST_POW10_ARRAY_SIZE.
6353 * stdlib/gen-fpioconst.c: New file.
6354 * stdlib/gen-tst-strtod-round.c: Likewise.
6355 * stdlib/tst-strtod-round-data: Likewise.
6356 * stdlib/tst-strtod-round.c: Likewise.
6357 * stdlib/Makefile (tests): Add tst-strtod-round.
6358
d6e70f43
JM
6359 [BZ #14459]
6360 * stdlib/strtod_l.c: Include <stdint.h>.
6361 (NDEBUG): Do not define.
6362 (round_and_return): Change EXPONENT parameter to type intmax_t.
6363 Rearrange calculations to avoid internal overflow possibilities.
6364 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6365 Rearrange calculations to avoid internal overflow possibilities.
6366 Assert that number fits inside MPNSIZE limbs.
6367 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6368 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6369 calculations and add assertions to avoid internal overflow
6370 possibilities. Add casts to avoid signed/unsigned operations.
6371 * stdlib/tst-strtod-overflow.c: New file.
6372 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6373
1f529f7d
MP
63742012-08-25 Marek Polacek <polacek@redhat.com>
6375
6376 * time/time.h: Fix some typos in comments.
6377
59a629f1
RM
63782012-08-23 Roland McGrath <roland@hack.frob.com>
6379
6380 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6381 * posix/tst-rfc3484-2.c: Likewise.
6382 * posix/tst-rfc3484-3.c: Likewise.
6383
d3bafbc9
SM
63842012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6385
6386 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6387 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6388
4efcc022
JM
63892012-08-23 Joseph Myers <joseph@codesourcery.com>
6390
6391 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6392 #include of fxstatat64.c.
6393
3cc3ef96
RM
63942012-08-22 Roland McGrath <roland@hack.frob.com>
6395
f04e2132
RM
6396 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6397 * shadow/getspent_r.c: Likewise.
6398 * shadow/getspnam.c: Likewise.
6399 * shadow/getspnam_r.c: Likewise.
6400 * gshadow/getsgent.c: Likewise.
6401 * gshadow/getsgent_r.c: Likewise.
6402 * gshadow/getsgnam.c: Likewise.
6403 * gshadow/getsgnam_r.c: Likewise.
6404 * inet/getnetbyad.c: Likewise.
6405 * inet/getnetbyad_r.c: Likewise.
6406 * inet/getnetbynm.c: Likewise.
6407 * inet/getnetbynm_r.c: Likewise.
6408 * inet/getnetent.c: Likewise.
6409 * inet/getnetent_r.c: Likewise.
6410 * inet/getproto.c: Likewise.
6411 * inet/getproto_r.c: Likewise.
6412 * inet/getprtent.c: Likewise.
6413 * inet/getprtent_r.c: Likewise.
6414 * inet/getprtname.c: Likewise.
6415 * inet/getprtname_r.c: Likewise.
6416 * inet/getrpcbyname.c: Likewise.
6417 * inet/getrpcbyname_r.c: Likewise.
6418 * inet/getrpcbynumber.c: Likewise.
6419 * inet/getrpcbynumber_r.c: Likewise.
6420 * inet/getrpcent.c: Likewise.
6421 * inet/getrpcent_r.c: Likewise.
6422 * inet/getaliasent.c: Likewise.
6423 * inet/getaliasent_r.c: Likewise.
6424 * inet/getaliasname.c: Likewise.
6425 * inet/getaliasname_r.c: Likewise.
6426 * nscd/getgrgid_r.c: Likewise.
6427 * nscd/getgrnam_r.c: Likewise.
6428 * nscd/gethstbyad_r.c: Likewise.
6429 * nscd/gethstbynm3_r.c: Likewise.
6430 * nscd/getpwnam_r.c: Likewise.
6431 * nscd/getpwuid_r.c: Likewise.
6432 * nscd/getsrvbynm_r.c: Likewise.
6433 * nscd/getsrvbypt_r.c: Likewise.
6434 * nscd/gai.c: Likewise.
6435
c53d909c
RM
6436 * configure.in (build_nscd): New substituted variable, set
6437 by --disable-build-nscd and defaults to $use_nscd.
6438 * configure: Regenerated.
6439 * config.make.in (build-nscd): New substituted variable.
6440 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6441 Change conditional to require [$(build-nscd) = yes] as well.
6442 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6443
3cc3ef96
RM
6444 [BZ# 13696]
6445 * configure.in (use_nscd): New substituted variable, set by
6446 --disable-nscd. If enabled, define USE_NSCD.
6447 * configure: Regenerated.
6448 * config.h.in: Add USE_NSCD.
6449 * config.make.in (use-nscd): New substituted variable.
6450 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6451 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6452 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6453 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6454 (CFLAGS-getgrnam_r.c): Likewise.
6455 (CFLAGS-initgroups.c): Likewise.
6456 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6457 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6458 Variables removed.
6459 * inet/getnetgrent_r.c
6460 (nscd_setnetgrent): New function, broken out of ...
6461 (setnetgrent): ... here. Call it.
6462 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6463 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6464 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6465 * nscd/Makefile (routines, aux): Move definitions after include of
6466 Makeconfig. Conditionalize on [$(use-nscd) != no].
6467 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6468 Conditionalize on [USE_NSCD].
6469 (is_nscd, nscd_init_cb): Likewise.
6470 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6471 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6472 * nss/nss_db/db-init.c: Likewise.
6473 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6474 [USE_NSCD].
6475 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6476 (make_request): Use it.
6477 (cache_valid_p): New function.
6478 (__check_pf): Use it.
6479 * NEWS: Add item for --disable-nscd.
6480
07e51550
DL
64812012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6482
6483 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6484 to support sed >= 4.2.1-20-ga9bf076.
6485 * configure: Regenerated.
6486
35a5b08b
RM
64872012-08-22 Roland McGrath <roland@hack.frob.com>
6488
6489 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6490 Conditionalize whole body on [IREL].
6491
8479f23a
JL
64922012-08-22 Jeff Law <law@redhat.com>
6493
6494 [BZ #14505]
6495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6496 if the family is PF_UNSPEC.
6497
48da0b21
MF
64982012-08-22 Mike Frysinger <vapier@gentoo.org>
6499
6500 * Makerules (lib-version): Rename from V.
6501 (install-lib-nosubdir): Change V to lib-version.
6502
15d0da8c
WS
65032012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6504
6505 [BZ #14252]
6506 * powerpc32/power6/wcschr.c: New file.
6507 * powerpc32/power6/wcscpy.c: New file.
6508 * powerpc32/power6/wcsrchr.c: New file.
6509 * powerpc64/power6/wcschr.c: New file.
6510 * powerpc64/power6/wcscpy.c: New file.
6511 * powerpc64/power6/wcsrchr.c: New file.
6512
bcca0895
MK
65132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6514
6515 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6516 (two_way_short_needle): Use it.
5a4aaa33
RM
6517 * string/strstr.c (AVAILABLE1_USES_J): Define.
6518 * string/strcasestr.c: Likewise.
99677e57
MK
6519
6520 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6521 array references.
6522 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6523
400726de
MK
6524 [BZ #11607]
6525 * NEWS: Add an entry.
6526 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6527 define their defaults.
6528 (two_way_short_needle): Detect end-of-string on-the-fly.
6529 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6530 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6531 * string/bug-strcasestr1.c: New test.
6532 * string/Makefile: Run it.
6533
20a71f2c
MK
65342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6535
6536 [BZ #11607]
6537 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6538 the first character.
6539
21ad0558
RM
65402012-08-21 Roland McGrath <roland@hack.frob.com>
6541
6542 * csu/elf-init.c (__libc_csu_irel): Function removed.
6543 * csu/libc-start.c (apply_irel): New function.
6544 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6545
0e1d9911
JM
65462012-08-21 Joseph Myers <joseph@codesourcery.com>
6547
6548 * sysdeps/unix/sysv/linux/kernel-features.h
6549 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6550 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6551 <kernel-features.h>.
6552 [__NR_fadvise64_64]: Make code unconditional.
6553 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6554 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6555 !__NR_fadvise64_64)]: Likewise.
6556 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6557 !__NR_fadvise64_64))]: Likewise.
6558 [__NR_fadvise64]: Make code unconditional.
6559 [!__NR_fadvise64]: Remove conditional code.
6560 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6561 <kernel-features.h>.
6562 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6563 unconditional.
6564 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6565 conditional code.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6567 not include <kernel-features.h>.
6568 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6569 unconditional.
6570 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6571 conditional code.
6572 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6573 include <kernel-features.h>.
6574 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6575 unconditional.
6576 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6577 conditional code.
6578
14a50c9d
WS
65792012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6580
6581 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6582 slight instruction rearrangements per scrollpipe analysis.
6583 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6584
c0f4faf0
RM
65852012-08-20 Roland McGrath <roland@hack.frob.com>
6586
696da859
RM
6587 * manual/syslog.texi (syslog; vsyslog, closelog):
6588 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6589 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6590
c0f4faf0
RM
6591 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6592 DSOCAPS to match condition on defining it.
6593
348363b2
JM
65942012-08-20 Joseph Myers <joseph@codesourcery.com>
6595
a35cbf28
JM
6596 * sysdeps/unix/sysv/linux/kernel-features.h
6597 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6599 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6600 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6602 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6603 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6605 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6606 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6607
445f7ecd
JM
6608 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6609 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6610
348363b2
JM
6611 * sysdeps/unix/sysv/linux/kernel-features.h
6612 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6613 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6614 unconditional.
6615 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6616 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6617 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6618 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6619 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6620 Make code unconditional.
6621 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6622 (__mmap64) [!__NR_mmap2]: Likewise.
6623 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6624 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6625 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6626 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6627 [__NR_mmap2]: Make code unconditional.
6628 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6629 (__mmap64) [!__NR_mmap2]: Likewise.
6630
bc5bc0e5
AK
66312012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6632
6633 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6634
88d506de
AJ
66352012-08-18 Andreas Jaeger <aj@suse.de>
6636
6637 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6638
493387d2
MF
66392012-08-18 Mike Frysinger <vapier@gentoo.org>
6640
6641 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6642 * include/unistd.h (__have_sock_cloexec): Likewise.
6643 (__have_pipe2): Likewise.
6644 (__have_dup3): Likewise.
6645
a277af22
MF
66462012-08-18 Mike Frysinger <vapier@gentoo.org>
6647
6648 [BZ #9685]
6649 * include/unistd.h (__have_pipe2): Change define into an extern int.
6650 (__have_dup3): Likewise.
6651 * socket/have_sock_cloexec.c: Include fcntl.h.
6652 (__have_pipe2): New variable.
6653 (__have_dup3): Likewise.
6654
fdab8fd3
MF
66552012-08-17 Mike Frysinger <vapier@gentoo.org>
6656
6657 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6658
31035e80
MP
66592012-08-17 Marek Polacek <polacek@redhat.com>
6660
6661 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6662 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6663
3bd9e993
RM
66642012-08-17 Roland McGrath <roland@hack.frob.com>
6665
c91c505f
RM
6666 * configure.in: Add AC_SUBST for sysheaders.
6667 * configure: Regenerated.
6668 * config.make.in (sysheaders): New substituted variable.
6669
7c6f9d53
RM
6670 * sysdeps/unix/mkfifo.c: Moved ...
6671 * sysdeps/posix/mkfifo.c: ... here.
6672 * sysdeps/unix/mkfifoat.c: Moved ...
6673 * sysdeps/posix/mkfifoat.c: ... here.
6674
6675 * sysdeps/unix/utime.c: Moved ...
6676 * sysdeps/posix/utime.c: ... here.
6677
6678 * sysdeps/unix/time.c: Moved ...
6679 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6680 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6681 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6682
6683 * sysdeps/unix/nice.c: Moved ...
6684 * sysdeps/posix/nice.c: ... here.
6685
6686 * sysdeps/unix/alarm.c: Moved ...
6687 * sysdeps/posix/alarm.c: ... here.
6688
3bd9e993
RM
6689 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6690
d1f09384
JL
66912012-08-17 Jeff Law <law@redhat.com>
6692
6693 * intl/Makefile (codeset_mo): New variable.
6694 ($(codeset_mo)): New target.
6695 (tst-codeset.out): Depend on that. Remove explicit rule.
6696 (tst-gettext3.out, tst-gettext5.out): Likewise.
6697 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6698 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6699 * intl/tst-codeset.sh: Remove.
6700 * intl/tst-gettext3.sh: Likewise.
6701 * intl/tst-gettext5.sh: Likewise.
6702
2ae1ae5c
RM
67032012-08-17 Roland McGrath <roland@hack.frob.com>
6704
c31fdb83
RM
6705 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6706 * sysdeps/unix/syscalls.list: ... here.
6707
a0844057
RM
6708 * sysdeps/posix/getaddrinfo.c
6709 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6710 (gaiconf_init, gaiconf_reload): Use them.
6711 [!_STATBUF_ST_NSEC]
6712 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6713 Define using time_t rather than struct timespec.
6714
750c1f2a
RM
6715 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6716 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6717 Macros removed.
6718 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6719 [!NO_THREADS].
6720 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6721 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6722 Likewise.
6723
2ae1ae5c
RM
6724 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6725 __libc_cleanup_push argument.
6726
e66a42f5
RM
6727 * bits/param.h: New file.
6728 * misc/sys/param.h: New file.
6729 * include/sys/param.h: New file.
6730 * misc/Makefile (headers): Add bits/param.h.
6731 * sysdeps/generic/sys/param.h: File removed.
6732 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6733 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6734 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6735 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6736
b7c08a66
RM
6737 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6738 last change.
6739
b2e1c562
RM
6740 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6741 [_IO_MTSAFE_IO].
6742 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6743 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6744 New macros.
6745
c75ccd4c
RM
6746 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6747 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6748 rather than -D_IO_MTSAFE_IO conditionally.
6749 * stdio-common/Makefile (CPPFLAGS): Likewise.
6750 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6751 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6752 Use $(libio-mtsafe).
6753 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6754 of -D_IO_MTSAFE_IO.
6755 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6756 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6757 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6758 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6759 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6760 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6761 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6762 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6763 (CFLAGS-fread_u_chk.c): Likewise.
6764 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6765 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6766 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6767 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6768 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6769 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6770 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6771 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6772 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6773
6774 * libio/Makefile: Test [$(libc-reentrant) = yes]
6775 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6776
6777 * Makeconfig
6778 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6779 * sysdeps/pthread/configure: File removed.
6780 * sysdeps/pthread/Makeconfig: New file.
6781 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6782 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6783
d9195db8
GB
67842012-08-16 Gary Benson <gbenson@redhat.com>
6785
6786 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6787 unmapping the first object in a namespace.
6788
86466cd9
RM
67892012-08-16 Roland McGrath <roland@hack.frob.com>
6790
6791 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6792 (__internal_setnetgrent): ... this. Add internal_function to
6793 definition. Add libc_hidden_def.
6794 (setnetgrent): Update caller.
6795 (internal_endnetgrent): Renamed to ...
6796 (__internal_endnetgrent): ... this. Add internal_function to
6797 definition. Add libc_hidden_def.
6798 (endnetgrent): Update caller.
6799 (internal_getnetgrent_r): Renamed to ...
6800 (__internal_getnetgrent_r): ... this. Add internal_function to
6801 definition. Add libc_hidden_def.
6802 (__getnetgrent_r): Update caller.
6803 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6804
c3c8283c
JM
68052012-08-16 Joseph Myers <joseph@codesourcery.com>
6806
6807 * stdlib/longlong.h: Update from GCC.
6808
db1ee0a8
RM
68092012-08-16 Roland McGrath <roland@hack.frob.com>
6810
6811 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6812 on _QL, which is set by umul_ppmm but never used.
6813 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6814 variables, which are set by GMP macros but never used.
6815 * stdio-common/_itowa.c (_itowa): Likewise.
6816 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6817 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6818
30f69637
CD
68192012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6820
6821 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6822 struct La_sh_regs is not constant.
6823 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6824 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6825 and struct La_sparc64_regs are not constant.
6826
93a78ac4
JM
68272012-08-16 Joseph Myers <joseph@codesourcery.com>
6828
6829 * sysdeps/unix/sysv/linux/kernel-features.h
6830 (__ASSUME_POSIX_TIMERS): Remove.
6831 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6832 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6833 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6834 Make code unconditional.
6835 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6836 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6837 Make code unconditional.
6838 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6839 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6840 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6841 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6842 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6843 Make code unconditional.
6844 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6845 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6846 (__libc_missing_posix_timers): Remove.
6847
dd924cd7
RM
68482012-08-15 Roland McGrath <roland@hack.frob.com>
6849
4b4f2771
RM
6850 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6851 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6852
601c888b
RM
6853 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6854
176790a7
RM
6855 * elf/dl-sym.c: Include <stdlib.h>.
6856
329bc018
RM
6857 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6858 constants, which avoids warnings in 32-bit builds.
6859
e04e272d
RM
6860 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6861 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6862
952bf94a
RM
6863 * misc/lseek.c: File moved to ...
6864 * io/lseek.c: ... here.
6865
7c99b50a
RM
6866 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6867
dd924cd7
RM
6868 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6869 shifting LEN more than 31 bits at once.
6870
b3f479a8
LD
68712012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6872
6873 [BZ #14195]
8c4ae0d4
RM
6874 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6875 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6876 * string/test-strncasecmp.c (check1): Renamed to...
6877 (bz12205): ...this.
6878 (bz14195): Add new testcase for two empty input strings and N > 0.
6879 (test_main): Call new testcase, adapt for renamed function.
6880
9c55864e
AJ
68812012-08-15 Andreas Jaeger <aj@suse.de>
6882
6883 [BZ #14090]
6884 * crypt/md5test2.c: New test, based on test supplied by Serge
6885 Belyshev <belyshev@depni.sinp.msu.ru>.
6886 * crypt/Makefile (xtests): Add md5test-giant..
6887 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6888
02dcb6c5
PE
68892012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6890
6891 [BZ #14090]
6892 * crypt/md5.c (md5_process_block): Don't assume the buffer
6893 length is less than 2**32.
6894 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6895 length is less than 2**64.
6896
a3f95dcc
RM
68972012-08-15 Roland McGrath <roland@hack.frob.com>
6898
be75d758
RM
6899 * string/str-two-way.h: Include <sys/param.h>.
6900 (MAX): Macro removed.
6901
7312ca90
RM
6902 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6903 Move #define and #undef of memmove to just before and after
6904 including <string.h>.
6905
9a0a5486
RM
6906 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6907 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6908 and after including <string.h>. Move declarations of
6909 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6910 to before #include "string/memmove.c".
6911
67cc348d
RM
6912 * include/dirent.h: Declare __getdirentries.
6913
a3f95dcc
RM
6914 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6915 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6916
ca98e171
MF
69172012-08-14 Mike Frysinger <vapier@gentoo.org>
6918
6919 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6920 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6921 * sysdeps/i386/configure: Regenerated.
6922 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6923 STABS_CURRENT_FILE, and STABS_FUN.
6924 (END): Remove call to STABS_FUN_END.
6925 (STABS_CURRENT_FILE1): Delete.
6926 (STABS_CURRENT_FILE): Likewise.
6927 (STABS_FUN): Likewise.
6928 (STABS_FUN_END): Likewise.
6929 (STABS_FUN2): Likewise.
6930 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6931 * sysdeps/x86_64/configure: Regenerated.
6932
5908bf46
RM
69332012-08-14 Roland McGrath <roland@hack.frob.com>
6934
6935 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6936 * elf/dl-lookup.c: Likewise.
5908bf46 6937
f2c05b9e
JM
69382012-08-14 Joseph Myers <joseph@codesourcery.com>
6939
6940 * sysdeps/unix/sysv/linux/kernel-features.h
6941 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6942 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6943 unconditionally.
6944 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6945 unconditionally.
6946 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6947 condition on __ASSUME_CLONE_THREAD_FLAGS.
6948
e11f5155
AJ
69492012-08-14 Andreas Jaeger <aj@suse.de>
6950
6951 * sysdeps/i386/fpu/libm-test-ulps: Update.
6952
51a9ba86
MK
69532012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6954
2fdd4f78
AJ
6955 * include/atomic.h (atomic_exchange_and_add): Split into ...
6956 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6957 New atomic macros.
51a9ba86 6958
ba6cba9e
MT
69592012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6960
6961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6962
42443a47
JL
69632012-08-13 Jeff Law <law@redhat.com>
6964
6965 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6966 null byte in the output string.
6967
121dce05
JM
69682012-08-10 Joseph Myers <joseph@codesourcery.com>
6969
6970 * sysdeps/unix/sysv/linux/kernel-features.h
6971 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6972 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6973 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6975 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6976 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6977 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6978
bf51f568
JL
69792012-08-09 Jeff Law <law@redhat.com>
6980
6981 [BZ #13939]
6982 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6983 When avoid_arena is set, don't retry in the that arena. Pick the
6984 next one, whatever it might be.
6985 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6986 (arena_lock): Pass in new parameter to arena_get2.
6987 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6988 arena_get2.
6989 (__libc_malloc): Unify retrying after main arena failure with
6990 __libc_memalign version.
6991 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6992
f85fa270
L
69932012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6994
6995 [BZ #14166]
6996 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6997 to __redirect_strstr.
6998 (__strstr_sse42): Use typeof __redirect_strstr.
6999 (__strstr_ia32): Likewise.
7000 (__libc_strstr): New prototype.
7001 (strstr): Renamed to ...
7002 (__libc_strstr): This.
7003 (strstr): New strong alias of __libc_strstr.
7004 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7005 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7006 __redirect_time.
7007 Include <time.h>.
7008 (__libc_time): New prototype.
7009 (time_ifunc): Replace time with __libc_time.
7010 (time): New strong alias and hidden definition of __libc_time.
7011 (__GI_time): Remove strong alias.
7012 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7013 Include <stddef.h>.
7014 (memmove): Redefined to __redirect_memmove.
7015 (__memmove_sse2): Use typeof __redirect_memmove.
7016 (__memmove_ssse3): Likewise.
7017 (__memmove_ssse3_back): Likewise.
7018 (__libc_memmove): New prototype.
7019 (memmove): Renamed to ...
7020 (__libc_memmove): This.
7021 (memmove): New strong alias of __libc_memmove.
7022
33b4a91e
MS
70232012-08-08 Mark Salter <msalter@redhat.com>
7024
7025 * elf/elf.h
7026 (R_MN10300_TLS_GD): Define.
7027 (R_MN10300_TLS_LD): Likewise.
7028 (R_MN10300_TLS_LDO): Likewise.
7029 (R_MN10300_TLS_GOTIE): Likewise.
7030 (R_MN10300_TLS_IE): Likewise.
7031 (R_MN10300_TLS_LE): Likewise.
7032 (R_MN10300_TLS_DTPMOD): Likewise.
7033 (R_MN10300_TLS_DTPOFF): Likewise.
7034 (R_MN10300_TLS_TPOFF): Likewise.
7035 (R_MN10300_SYM_DIFF): Likewise.
7036 (R_MN10300_ALIGN): Likewise.
7037 (R_MN10300_NUM): Update.
7038
b36137f1
JM
70392012-08-08 Joseph Myers <joseph@codesourcery.com>
7040
7041 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7042 Remove.
7043
cdd915fd
RM
70442012-08-08 Roland McGrath <roland@hack.frob.com>
7045
a2433aac
RM
7046 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7047
cdd915fd
RM
7048 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7049 sysdeps/unix -> sysdeps/posix move.
7050 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7051
bf9b740a
AM
70522012-08-07 Allan McRae <allan@archlinux.org>
7053
7054 [BZ #14303]
7055 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7056 (SUNOS_CPP): Likewise.
7057 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7058 not found.
7059 (open_input): Call CPP using execvp.
7060
93df14ee
JM
70612012-08-07 Joseph Myers <joseph@codesourcery.com>
7062
7063 * sysdeps/unix/sysv/linux/kernel-features.h
7064 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7065 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7066 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7067 (__ASSUME_WAITID_SYSCALL): Likewise.
7068 * sysdeps/unix/sysv/linux/dl-execstack.c
7069 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7070 code unconditional.
7071 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7072 conditional code.
7073 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7074 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7075 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7076 code.
7077 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7078 unconditional.
7079 [__ASSUME_WAITID_SYSCALL]: Likewise.
7080 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7081
d34689de
RM
70822012-08-07 Roland McGrath <roland@hack.frob.com>
7083
a281decc
RM
7084 * sysdeps/unix/closedir.c: Renamed to ...
7085 * sysdeps/posix/closedir.c: ... here.
7086 * sysdeps/unix/dirfd.c: Renamed to ...
7087 * sysdeps/posix/dirfd.c: ... here.
7088 * sysdeps/unix/dirstream.h: Renamed to ...
7089 * sysdeps/posix/dirstream.h: ... here.
7090 * sysdeps/unix/fdopendir.c: Renamed to ...
7091 * sysdeps/posix/fdopendir.c: ... here.
7092 * sysdeps/unix/opendir.c: Renamed to ...
7093 * sysdeps/posix/opendir.c: ... here.
7094 * sysdeps/unix/readdir.c: Renamed to ...
7095 * sysdeps/posix/readdir.c: ... here.
7096 * sysdeps/unix/readdir_r.c: Renamed to ...
7097 * sysdeps/posix/readdir_r.c: ... here.
7098 * sysdeps/unix/rewinddir.c: Renamed to ...
7099 * sysdeps/posix/rewinddir.c: ... here.
7100 * sysdeps/unix/seekdir.c: Renamed to ...
7101 * sysdeps/posix/seekdir.c: ... here.
7102 * sysdeps/unix/telldir.c: Renamed to ...
7103 * sysdeps/posix/telldir.c: ... here.
7104 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7105 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7106 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7107 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7108
22895b47
RM
7109 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7110 * bits/fcntl.h: ... here.
7111
707a53b6
RM
7112 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7113 not 0.
7114 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7115 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7116 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7117 (struct flock): Move l_start, l_len to the beginning.
7118 Use __pid_t for l_pid.
7119 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7120 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7121 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7122 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7123 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7124 [__USE_LARGEFILE64] (struct flock64): New type.
7125 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7126
f0bd3e25
RM
7127 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7128 * bits/dirent.h: ... here.
7129
d34689de
RM
7130 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7131 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7132
6dad2c06
JM
71332012-08-07 Joseph Myers <joseph@codesourcery.com>
7134
7135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7136 Change from 2.6.0 to 2.6.16.
7137 * sysdeps/unix/sysv/linux/configure: Regenerated.
7138 * sysdeps/unix/sysv/linux/kernel-features.h
7139 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7140 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7141 version.
7142 (__ASSUME_UTIMES): Likewise.
7143 (__ASSUME_CLONE_STOPPED): Remove.
7144 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7145 architectures, not kernel version.
7146 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7147 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7148 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7149 (__ASSUME_WAITID_SYSCALL): Likewise.
7150 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7151 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7152 * README: State 2.6.16 as minimum Linux kernel version. Do not
7153 refer to older versions.
7154
03af9520
RM
71552012-08-06 Roland McGrath <roland@hack.frob.com>
7156
8e49df1d
RM
7157 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7158 Define alphasort64 as an alias.
7159 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7160 Define versionsort64 as an alias.
7161 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7162 Define scandir64 as an alias.
7163 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7164 Define scandirat64 as an alias.
7165 * dirent/alphasort64.c (alphasort64):
7166 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7167 * dirent/versionsort64.c: Likewise.
7168 * dirent/scandir64.c: Likewise.
7169 * dirent/scandirat64.c: Likewise.
7170 * sysdeps/wordsize-64/alphasort.c: File removed.
7171 * sysdeps/wordsize-64/alphasort64.c: File removed.
7172 * sysdeps/wordsize-64/scandir.c: File removed.
7173 * sysdeps/wordsize-64/scandir64.c: File removed.
7174 * sysdeps/wordsize-64/scandirat.c: File removed.
7175 * sysdeps/wordsize-64/scandirat64.c: File removed.
7176 * sysdeps/wordsize-64/versionsort.c: File removed.
7177 * sysdeps/wordsize-64/versionsort64.c: File removed.
7178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7179 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7180 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7181 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7182 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7183 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7184 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7185 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7186
7187 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7189 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7191 [defined __arch64__ || defined __sparcv9]
7192 (__INO_T_MATCHES_INO64_T): New macro.
7193 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7194 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7195 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7196 * sysdeps/unix/sysv/linux/bits/dirent.h
7197 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7198 (_DIRENT_MATCHES_DIRENT64): New macro.
7199
03af9520
RM
7200 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7201 Define lockf64 as an alias.
7202 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7203 Define fseeko64 as an alias.
7204 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7205 Define ftello64 as an alias.
7206 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7207 Define _IO_fgetpos64 and fgetpos64 as aliases.
7208 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7209 Define _IO_fsetpos64 and fsetpos64 as aliases.
7210 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7211 Conditionalize body on this.
7212 * libio/fseeko64.c: Likewise.
7213 * libio/ftello64.c: Likewise.
7214 * libio/iofgetpos64.c: Likewise.
7215 * libio/iofsetpos64.c: Likewise.
7216 * sysdeps/wordsize-64/lockf.c: File removed.
7217 * sysdeps/wordsize-64/lockf64.c: File removed.
7218 * sysdeps/wordsize-64/fseeko.c: File removed.
7219 * sysdeps/wordsize-64/fseeko64.c: File removed.
7220 * sysdeps/wordsize-64/ftello.c: File removed.
7221 * sysdeps/wordsize-64/ftello64.c: File removed.
7222 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7223 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7224 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7225 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7227 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7228 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7229 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7230 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7231 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7233 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7234 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7236
7237 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7239 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7241 [defined __arch64__ || defined __sparcv9]
7242 (__OFF_T_MATCHES_OFF64_T): New macro.
7243 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7244 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7246 (__OFF_T_MATCHES_OFF64_T): New macro.
7247
c5757acd
L
72482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7249
7250 * stdlib/secure-getenv.c (__secure_getenv): Replace
7251 GLIBC_2_16 with GLIBC_2_17.
7252
3a31811e
L
72532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7254
7255 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7256 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7257
faa2bccb
DM
72582012-08-03 David S. Miller <davem@davemloft.net>
7259
7260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7261
85fe1997
JM
72622012-08-03 Joseph Myers <joseph@codesourcery.com>
7263
7264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7265 Remove.
7266 (__ASSUME_CORRECT_SI_PID): Likewise.
7267 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7268 (__ASSUME_TMPFS_NAME): Likewise.
7269 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7270 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7271 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7272 (HAVE_AUX_SECURE): Make definition unconditional.
7273 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7274 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7275
4f75b7a0
RM
72762012-08-03 Roland McGrath <roland@hack.frob.com>
7277
7278 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7279 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7280 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7281 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7282 __eloop_threshold instead of SYMLOOP_MAX.
7283
7284 * sysdeps/generic/eloop-threshold.h: New file.
7285 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7286 of MAXSYMLINKS.
7287 * elf/chroot_canon.c (chroot_canon): Likewise.
7288
7aab07e4
JM
72892012-08-03 Joseph Myers <joseph@codesourcery.com>
7290
7291 [BZ #13717]
7292 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7293 Change to 2.6.0 everywhere.
7294 * sysdeps/unix/sysv/linux/configure: Regenerated.
7295 * sysdeps/unix/sysv/linux/kernel-features.h
7296 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7297 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7298 kernel versions.
7299 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7300 (__ASSUME_FUTEX_REQUEUE): Remove.
7301 (__ASSUME_STATFS64): Define unconditionally.
7302 (__ASSUME_AT_SECURE): Likewise.
7303 (__ASSUME_CORRECT_SI_PID): Likewise.
7304 (__ASSUME_TGKILL): Define without depending on kernel version for
7305 i386.
7306 (__ASSUME_UTIMES): Likewise.
7307 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7308 kernel version.
7309 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7310 (__ASSUME_TMPFS_NAME): Likewise.
7311 * README: Update reference to Linux kernel versions.
7312
b67e9372
MP
73132012-08-02 Marek Polacek <polacek@redhat.com>
7314
1f529f7d 7315 [BZ# 14150]
b67e9372
MP
7316 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7317 libc_cv_asm_type_prefix with %.
7318 * configure: Regenerated.
d2441631
RM
7319 * include/libc-symbols.h: Remove comment about
7320 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7321 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7322 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7323 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7324 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7325 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7326 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7327 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7328 * elf/tst-unique2mod1.c: Likewise.
7329 * elf/tst-unique1mod2.c: Likewise.
7330 * elf/tst-unique1mod1.c: Likewise.
7331 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7332 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7333 Replace ASM_TYPE_DIRECTIVE with .type.
7334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7335 * sysdeps/i386/sysdep.h: Likewise.
7336 * sysdeps/x86_64/sysdep.h: Likewise.
7337 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7339 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7340 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7341 * sysdeps/powerpc/powerpc32/sysdep.h:
7342 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7343 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7344 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7345 * sysdeps/i386/fpu/e_powf.S: Likewise.
7346 * sysdeps/i386/fpu/e_expl.S: Likewise.
7347 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7348 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7349 * sysdeps/i386/fpu/e_pow.S: Likewise.
7350 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7351 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7352 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7353 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7354 * sysdeps/i386/fpu/e_log2.S: Likewise.
7355 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7356 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7357 * sysdeps/i386/fpu/e_powl.S: Likewise.
7358 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7359 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7360 * sysdeps/i386/fpu/e_logl.S: Likewise.
7361 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7362 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7363 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7365 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7366 * sysdeps/i386/fpu/e_log.S: Likewise.
7367 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7368 * sysdeps/i386/fpu/e_logf.S: Likewise.
7369 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7370 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7371 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7372 * sysdeps/i386/fpu/e_log10.S: Likewise.
7373 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7375 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7376 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7377 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7378 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7379 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7380 * sysdeps/i386/i686/strtok.S: Likewise.
7381 * sysdeps/i386/i386-mcount.S: Likewise.
7382 * sysdeps/i386/strtok.S: Likewise.
7383 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7384 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7385 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7387 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7388 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7389 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7390 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7391 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7392 * sysdeps/x86_64/_mcount.S: Likewise.
7393 * sysdeps/x86_64/strtok.S: Likewise.
7394 * sysdeps/sh/_mcount.S: Likewise.
7395
2747bf9a
RM
73962012-08-01 Roland McGrath <roland@hack.frob.com>
7397
7398 * libio/iofopen.c: Include <fcntl.h>.
7399 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7400 (_IO_fopen64, fopen64): Define as aliases.
7401 * libio/iofopen64.c: Include <fcntl.h>.
7402 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7403 Conditionalize body on this.
7404 * sysdeps/wordsize-64/iofopen.c: File removed.
7405 * sysdeps/wordsize-64/iofopen64.c: File removed.
7406
3fb791b8
MP
74072012-08-01 Marek Polacek <polacek@redhat.com>
7408
7409 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7410 Use dlfcn directly instead of a variable.
7411 (binfmt-subdir): Do not define.
7412 (dlfcn): Likewise.
7413
a9f1039f
JM
74142012-08-01 Joseph Myers <joseph@codesourcery.com>
7415
23bddc06
JM
7416 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7417 Remove all definitions.
7418 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7419 <kernel-features.h>.
7420 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7421 (miss_F_GETOWN_EX): Remove all definitions.
7422 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7423 macro definition.
7424 [!__ASSUME_FCNTL64]: Remove conditional code.
7425 [__ASSUME_FCNTL64]: Make code unconditional.
7426 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7427 <kernel-features.h>.
7428 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7429 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7430 (lockf64) [__NR_fcntl64]: Make code unconditional.
7431 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7432
a9f1039f
JM
7433 * sysdeps/unix/sysv/linux/kernel-features.h
7434 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7435 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7436 Make code unconditional.
7437 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7438 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7440 [__NR_vfork]: Make code unconditional.
7441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7444 [__NR_vfork]: Make code unconditional.
7445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7447
09c0ee5f
RM
74482012-08-01 Roland McGrath <roland@hack.frob.com>
7449
48aec5b9
RM
7450 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7451 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7452
cd97c966
RM
7453 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7454 Define mkstemp64 as an alias.
3f55550c
RM
7455 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7456 Define mkstemps64 as an alias.
cd97c966
RM
7457 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7458 Define mkostemp64 as an alias.
b8625cfc
RM
7459 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7460 Define mkostemps64 as an alias.
cd97c966
RM
7461 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7462 Conditionalize body on this.
7463 * misc/mkostemp64.c: Likewise.
b8625cfc 7464 * misc/mkostemps64.c: Likewise.
3f55550c 7465 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7466 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7467 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7468 * sysdeps/wordsize-64/mkostemp.c: File removed.
7469 * sysdeps/wordsize-64/mkstemp.c: File removed.
7470 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7472 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7473 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7474
09c0ee5f
RM
7475 [BZ #14138]
7476 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7477 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7478 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7479 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7480
7481 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7482 compat_symbol macros from <shlib-compat.h> rather than the underlying
7483 default_symbol_version and symbol_version macros, so that DEFAULT
7484 lines in shlib-versions are respected.
7485 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7486
7e66ee51
FW
74872012-08-01 Florian Weimer <fweimer@redhat.com>
7488
7489 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7490 Declare with warn_unused_result.
7491 (setgid, setregid, setegid, setresgid): Likewise.
7492 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7493 Likewise.
7494 * WUR-REPORT: Remove set*id functions.
7495
d2a54255
PT
74962012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7497
7498 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7499
7ecdb005
RM
75002012-07-31 Roland McGrath <roland@hack.frob.com>
7501
789bd351
RM
7502 * include/sys/socket.h (__libc_accept, __libc_accept4):
7503 Add attribute_hidden.
7504 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7505
40ce302d
RM
7506 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7507 use of PTR_MANGLE.
7508 * inet/getnetgrent_r.c (setup): Likewise.
7509
7ecdb005
RM
7510 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7511
e2eabb2c
DM
75122012-07-31 David S. Miller <davem@davemloft.net>
7513
7514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7515
d0419dbf
JM
75162012-07-31 Joseph Myers <joseph@codesourcery.com>
7517
7518 [BZ #13629]
7519 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7520 value between 1.0 and 2.0 and smaller part has absolute value less
7521 than 1.0.
7522 * math/s_clog10.c (__clog10): Likewise.
7523 * math/s_clog10f.c (__clog10f): Likewise.
7524 * math/s_clog10l.c (__clog10l): Likewise.
7525 * math/s_clogf.c (__clogf): Likewise.
7526 * math/s_clogl.c (__clogl): Likewise.
7527 * math/libm-test.inc (clog_test): Add more tests.
7528 (clog10_test): Likewise.
7529 * sysdeps/i386/fpu/libm-test-ulps: Update.
7530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7531
2bc13872
FW
75322012-07-31 Florian Weimer <fweimer@redhat.com>
7533
7534 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7535 Exit with zero in case no suitable GID is found, and write a
7536 message to standard error.
7537
bea9b193
RM
75382012-07-30 Roland McGrath <roland@hack.frob.com>
7539
7540 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7541 rather than to 1.
7542 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7543 (MAXPATHLEN): Removed.
7544 (NOGROUP, NODEV): New macros.
7545 (setbit, clrbit, isset, isclr): New macros.
7546 (howmany, roundup, powerof2): New macros.
7547 (DEV_BSIZE): New macro.
7548
7549 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7550 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7551
7552 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7553 definition on [!__NO_LONG_DOUBLE_MATH].
7554
7555 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7556 PTR_MANGLE and PTR_DEMANGLE.
7557
7558 * socket/accept4.c (accept4): Rename to __libc_accept4.
7559 Define accept4 as a weak alias.
7560
7561 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7562 on [_DIRENT_HAVE_D_TYPE].
7563 * io/ftw.c (ftw_dir): Likewise.
7564
7565 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7566
7567 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7568
7569 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7570 Use the BSD numbers rather than the arbitrary ones we had.
7571 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7572 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7573 (SIGXCPU, SIGXFSZ): New macros.
7574 (_NSIG): Now 32.
7575
7576 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7577 initializer on [_LIBC_REENTRANT].
7578
7579 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7580 definitions inside [_POSIX_MAPPED_FILES].
7581
7582 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7583
7584 * dirent/opendir.c: Include <fcntl.h>.
7585
7586 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7587 (__libc_getspecific): Likewise.
7588 (__libc_key_create): Likewise.
7589
7590 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7591 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7592 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7593 (tmpfile64): Define as alias.
7594 * sysdeps/wordsize-64/tmpfile.c: File removed.
7595 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7598
7599 * stdio-common/vfscanf.c: Include <stdbool.h>.
7600 * nss/makedb.c: Likewise.
7601 * stdio-common/_i18n_number.h: Likewise.
7602 * argp/argp-help.c: Likewise.
7603 * posix/wordexp.c: Likewise.
7604 * sysdeps/posix/spawni.c: Likewise.
7605 * nss/nss_files/files-initgroups.c: Likewise.
7606 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7607 * nss/nss_files/files-initgroups.c: Likewise.
7608 * nss/nss_db/db-netgrp.c: Likewise.
7609 * nss/nss_db/db-initgroups.c: Likewise.
7610 * io/fchmodat.c: Include <sys/stat.h>.
7611
7612 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7613 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7614
7615 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7616 [HAVE_MMAP].
7617
7618 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7619 Add multiple inclusion protection.
7620
e5abc686
DM
76212012-07-27 David S. Miller <davem@davemloft.net>
7622
7623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7624
815e6fa3
GB
76252012-07-27 Gary Benson <gbenson@redhat.com>
7626
7627 [BZ #14298]
7628 * elf/rtld.c: Include <stap-probe.h>.
7629 (dl_main): Added static probes "init_start" and "init_complete".
7630 * elf/dl-load.c: Include <stap-probe.h>.
7631 (lose): Take new parameter "nsid".
7632 Added static probe "map_failed".
7633 (_dl_map_object_from_fd): Pass namespace id to lose.
7634 Added static probe "map_start".
7635 (open_verify): Pass namespace id to lose.
7636 * elf/dl-open.c: Include <stap-probe.h>.
7637 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7638 and "reloc_complete".
7639 * elf/dl-close.c: Include <stap-probe.h>.
7640 (_dl_close_worker): Added static probes "unmap_start" and
7641 "unmap_complete".
7642 * elf/rtld-debugger-interface.txt: New file documenting the above.
7643
9f98c16c
RM
76442012-07-26 Roland McGrath <roland@hack.frob.com>
7645
7646 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7647 rather than a string variable.
7648 * sunrpc/rpc_main.c (h_output): Likewise.
7649 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7650
f3c22df3
PT
76512012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7652
7653 * inet/check_native.c: New file.
7654
3129cfc6
JM
76552012-07-26 Joseph Myers <joseph@codesourcery.com>
7656
da865e95
JM
7657 [BZ #13629]
7658 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7659 if larger part has absolute value 1.0.
7660 * math/s_clog10.c (__clog10): Likewise.
7661 * math/s_clog10f.c (__clog10f): Likewise.
7662 * math/s_clog10l.c (__clog10l): Likewise.
7663 * math/s_clogf.c (__clogf): Likewise.
7664 * math/s_clogl.c (__clogl): Likewise.
7665 * math/libm-test.inc (clog_test): Add more tests.
7666 (clog10_test): Likewise.
7667 * sysdeps/i386/fpu/libm-test-ulps: Update.
7668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7669
3129cfc6
JM
7670 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7671 (pltexit): Likewise.
7672 (La_regs): Likewise.
7673 (La_retval): Likewise.
7674 (int_retval): Likewise.
7675 Update #error for removed macros to refer only to definitions in
7676 tst-audit.h.
7677 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7678 macro.
7679 (pltexit): Likewise.
7680 (La_regs): Likewise.
7681 (La_retval): Likewise.
7682 (int_retval): Likewise.
7683 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7684 macro.
7685 (pltexit): Likewise.
7686 (La_regs): Likewise.
7687 (La_retval): Likewise.
7688 (int_retval): Likewise.
7689 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7690 macro.
7691 (pltexit): Likewise.
7692 (La_regs): Likewise.
7693 (La_retval): Likewise.
7694 (int_retval): Likewise.
7695 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7696 macro.
7697 (pltexit): Likewise.
7698 (La_regs): Likewise.
7699 (La_retval): Likewise.
7700 (int_retval): Likewise.
7701 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7702 macro.
7703 (pltexit): Likewise.
7704 (La_regs): Likewise.
7705 (La_retval): Likewise.
7706 (int_retval): Likewise.
7707 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7708 macro.
7709 (pltexit): Likewise.
7710 (La_regs): Likewise.
7711 (La_retval): Likewise.
7712 (int_retval): Likewise.
7713 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7714 macro definitions in tst-audit.h.
7715 * sysdeps/i386/tst-audit.h: New file.
7716 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7717 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7718 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7719 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7720 * sysdeps/sh/tst-audit.h: Likewise.
7721 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7722 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7723 * sysdeps/x86_64/tst-audit.h: Likewise.
7724
bfc07087
AJ
77252012-07-26 Andreas Jaeger <aj@suse.de>
7726
b1b2aaf8
AJ
7727 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7728 ptrace.
7729
7730 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7731 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7732 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7733 PTRACE_O_MASK.
7734 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7735 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7736 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7737
bfc07087
AJ
7738 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7739 value.
7740
7741 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7742 _sigsys.
7743 (si_call_addr, si_syscall, si_arch): Define new macro.
7744 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7745 _sigsys.
7746 (si_call_addr, si_syscall, si_arch): Define new marcro.
7747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7748 _sigsys.
7749 (si_call_addr, si_syscall, si_arch): Define new macro.
7750 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7751 _sigsys.
7752 (si_call_addr, si_syscall, si_arch): Define new macro.
7753
89b4b02f
JM
77542012-07-25 Joseph Myers <joseph@codesourcery.com>
7755
7756 [BZ #13717]
7757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7758 Change to 2.4.21 where previously 2.4.1.
7759 * sysdeps/unix/sysv/linux/configure: Regenerated.
7760 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7761 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7762 Linux kernel version.
7763 (__ASSUME_STD_AUXV): Remove.
7764 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7765 kernel version.
7766 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7767 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7768 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7769 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7770 (__ASSUME_NETLINK_SUPPORT): Likewise.
7771 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7772 (__no_netlink_support): Remove conditional definition.
7773 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7774 Remove.
7775 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7776 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7777 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7778 (if_nameindex_ioctl): Remove.
7779 (if_nameindex_netlink): Do not handle __no_netlink_support.
7780 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7781 code.
7782 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7783 Remove conditional code.
7784 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7785 code.
7786 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7787 unconditional.
7788 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7789 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7790 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7791 Remove.
7792 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7793 [!__ASSUME_STD_AUXV]: Remove conditional code.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7795 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7796 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7798 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7799 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7800 code.
7801 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7804 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7805 conditional code.
7806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7808 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7809 code.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7811 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7812 conditional code.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7814 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7815 code unconditional.
7816 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7817 conditional code.
7818 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7819 unconditional.
7820 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7821 conditional code.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7823 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7824 unconditional.
7825 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7826 conditional code.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7828 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7829 code unconditional.
7830 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7831 conditional code.
7832 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7833 unconditional.
7834 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7835 conditional code.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7837 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7838 code unconditional.
7839 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7840 conditional code.
7841 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7842 unconditional.
7843 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7844 conditional code.
7845
842a39cd
AS
78462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7847
7848 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7849 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7850 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7851 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7852 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7853 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7854 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7855 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7856 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7857 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7858 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7859 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7860 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7861 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7862 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7863 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7864 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7865 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7866 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7868 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7869 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7871
84b3fd84
FW
78722012-07-25 Florian Weimer <fweimer@redhat.com>
7873
7874 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7875 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7876 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7877 Introduce __libc_secure_getenv.
0c7936d5
FW
7878 * stdlib/Versions (2.17): Add secure_getenv
7879 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7880 * stdlib/secure-getenv.c: Rename __secure_getenv to
7881 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7882 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7883 * stdlib/tst-secure-getenv.c: New.
7884 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7885 * manual/startup.texi (Environment Access): Document
7886 secure_getenv.
84b3fd84
FW
7887 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7888 __libc_secure_getenv.
7889 * inet/ruserpass.c (ruserpass): Likewise.
7890 * malloc/mtrace.c (mtrace): Likewise.
7891 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7892 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7893 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7894 * sysdeps/posix/tempname.c: Likewise. Evaluate
7895 HAVE_SECURE_GETENV.
7896 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7897 __secure_getenv to __libc_secure_getenv.
84b3fd84 7898 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7900 Likewise.
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7902 Likewise.
7903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7910
56e49b71
JM
79112012-07-25 Joseph Myers <joseph@codesourcery.com>
7912
7913 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7914 (struct La_i86_retval): Likewise.
7915 (struct La_x86_64_regs): Likewise.
7916 (struct La_x86_64_retval): Likewise.
7917 (struct La_x32_regs): Likewise.
7918 (struct La_x32_retval): Likewise.
7919 (struct La_ppc32_regs): Likewise.
7920 (struct La_ppc32_retval): Likewise.
7921 (struct La_ppc64_regs): Likewise.
7922 (struct La_ppc64_retval): Likewise.
7923 (struct La_sh_regs): Likewise.
7924 (struct La_sh_retval): Likewise.
7925 (struct La_s390_32_regs): Likewise.
7926 (struct La_s390_32_retval): Likewise.
7927 (struct La_s390_64_regs): Likewise.
7928 (struct La_s390_64_retval): Likewise.
7929 (struct La_sparc32_regs): Likewise.
7930 (struct La_sparc32_retval): Likewise.
7931 (struct La_sparc64_regs): Likewise.
7932 (struct La_sparc64_retval): Likewise.
7933 (struct audit_ifaces): Remove architecture-specific pltenter and
7934 pltexit members.
7935 * sysdeps/i386/ldsodefs.h: New file.
7936 * sysdeps/powerpc/ldsodefs.h: Likewise.
7937 * sysdeps/s390/ldsodefs.h: Likewise.
7938 * sysdeps/sh/ldsodefs.h: Likewise.
7939 * sysdeps/sparc/ldsodefs.h: Likewise.
7940 * sysdeps/x86_64/ldsodefs.h: Likewise.
7941
354691b7
MP
79422012-07-25 Marek Polacek <polacek@redhat.com>
7943
7944 [BZ #6808]
7945 * math/libm-test.inc (yn_test): Add another test.
7946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7947 to ERANGE when the result is +-Inf.
7948 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7949 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7950 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7951 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7952
bf9e2071
JM
79532012-07-24 Joseph Myers <joseph@codesourcery.com>
7954
7955 * conform/data/time.h-data (NULL): Use macro-constant. Require
7956 equal to 0.
7957 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7958 clock_t.
7959 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7960
57633811
TS
79612012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7962
7963 * configure.in <sysdeps resolving>: Correct printing
7964 Implies_before.
7965 * configure: Regenerate.
7966
c23c33b0
TS
79672012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7968
7969 * math/w_ilogb.c: Include <limits.h>.
7970 * math/w_ilogbl.c: Likewise.
7971
b5982523
JM
79722012-07-20 Joseph Myers <joseph@codesourcery.com>
7973
7974 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7975 va_copy. Document allowing for unavailable va_copy only as
7976 pre-C99 compatibility.
7977 * manual/string.texi (Copying and Concatenation): Use va_copy
7978 instead of __va_copy in concat example.
7979
ac4ea442
PT
79802012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7981
7982 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7983 (__sendto): Use create_address_port. Initialize APORT and deallocate
7984 it if not null.
7985
f98eafbd
PT
7986 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7987 with O_NOLINK passed to __file_name_lookup.
7988
898c7aab
PT
7989 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7990 with O_NOLINK passed to __file_name_lookup.
7991
0ced335a
PT
7992 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7993 negative N or less than NGIDS.
7994
b3404dbd
PT
7995 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7996 type to string_t. Set ERANGE as errno and return it if NAME is not big
7997 enough. Use memcpy instead of strncpy.
7998
0f48659e
JM
79992012-07-20 Joseph Myers <joseph@codesourcery.com>
8000
8001 * elf/Makefile (check-data): Remove.
8002 (localplt.data): New vpath directive.
8003 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8004 instead of $(check-data).
8005 * scripts/data/localplt-generic.data: Move to ...
8006 * sysdeps/generic/localplt.data: ... here.
8007 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8008 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8009 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8011 ... here.
8012 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8014 ... here.
8015 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8017 ... here.
8018 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8020 ... here.
8021 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8023 ... here.
8024 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8026 ... here.
8027
d37cbdaa
AZ
80282012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8029
8030 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8031 PPC32 and PPC64 files.
8032 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8033 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8034
46f85fc2
AK
80352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8036
8037 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8038 __makecontext_ret to ...
8039 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8040 ... here and call exit if uc_link is NULL. New file.
8041 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8042 __makecontext_ret.S.
8043 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8044 __makecontext_ret to ...
8045 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8046 ... here and call exit if uc_link is NULL. New file.
8047 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8048 __makecontext_ret.S.
8049
08f43f9b
AK
80502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8051
8052 * elf/elf.h (R_390_IRELATIVE): New definition.
8053 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8054 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8055 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8056 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8057 (elf_machine_lazy_rel): Likewise.
8058 * sysdeps/s390/dl-irel.h: New file.
8059 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8060 * sysdeps/s390/s390-64/memset.S: New asm code.
8061 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8062 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8063 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8064 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8065 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8066 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8067 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8068 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8069 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8070 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8071 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8072 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8073 * sysdeps/s390/s390-32/memset.S: New asm code.
8074 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8075
3b05db33
MP
80762012-07-17 Marek Polacek <polacek@redhat.com>
8077
8078 [BZ #14349]
8079 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8080 * sysdeps/s390/s390-64/configure.in: Likewise.
8081 * sysdeps/sparc/configure.in: Likewise.
8082 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8083 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8084 * sysdeps/i386/configure.in: Likewise.
8085 * sysdeps/x86_64/configure.in: Likewise.
8086 * sysdeps/sh/configure.in: Likewise.
8087 * sysdeps/s390/s390-32/configure: Regenerated.
8088 * sysdeps/s390/s390-64/configure: Likewise.
8089 * sysdeps/x86_64/configure: Likewise.
8090 * sysdeps/sh/configure: Likewise.
8091 * sysdeps/powerpc/powerpc64/configure: Likewise.
8092 * sysdeps/powerpc/powerpc32/configure: Likewise.
8093 * sysdeps/sparc/configure: Likwise.
8094 * sysdeps/i386/configure: Likewise.
8095
a66877c6
MP
8096 * elf/dl-open.c: Comment fixes.
8097
cfc82fd8
JM
80982012-07-17 Joseph Myers <joseph@codesourcery.com>
8099
bd29910a
JM
8100 * Makefile [CXX] (check-data): Remove.
8101 [CXX] (c++-types.data): New vpath directive.
8102 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8103 vpath. Do not allow for C++ type data being missing.
8104 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8105 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8106 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8107 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8108 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8109 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8110 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8112 ... here.
8113 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8115 ... here.
8116 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8118 ... here.
8119 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8121 ... here.
8122 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8124 ... here.
8125 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8127 ... here.
8128 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8130 ... here.
8131 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8133
cfc82fd8
JM
8134 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8135 definitions to architecture-specific files.
8136 (TLS_IE): Likewise.
8137 (TLS_LD): Likewise.
8138 (TLS_GD): Likewise.
8139 * sysdeps/i386/tls-macros.h: New file.
8140 * sysdeps/powerpc/tls-macros.h: Likewise.
8141 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8142 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8143 * sysdeps/sh/tls-macros.h: Likewise.
8144 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8145 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8146 * sysdeps/x86_64/tls-macros.h: Likewise.
8147
f7db3170
TS
81482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8149
07cbfc23
TS
8150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8151 zero value for regular exit case.
8152
f7db3170
TS
8153 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8154 (__start_context): Preserve zero value for regular exit case.
8155
dc97c227
TS
81562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8157 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8158
8159 * manual/setjmp.texi (setcontext): Clarify normal process
8160 termination when uc_link is the null pointer.
8161 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8162 exit call.
8163
d0cd7d02
AS
81642012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8165
8166 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8167 preprocessor. Test for each exception mask separately.
8168
dd318934
AJ
81692012-07-16 Andreas Jaeger <aj@suse.de>
8170
8171 * po/ru.po: Update from translation team.
8172
8048311a
JM
81732012-07-15 Joseph Myers <joseph@codesourcery.com>
8174
8175 * conform/data/string.h-data (NULL): Use macro-constant. Require
8176 equal to 0.
8177 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8178 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8179 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8180 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8182
b637d46e
AJ
81832012-07-13 Andreas Jaeger <aj@suse.de>
8184
8185 * po/fr.po: Update from translation team.
8186
541428fe
MP
81872012-07-12 Marek Polacek <polacek@redhat.com>
8188
8189 [BZ #14173]
8190 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8191 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8192 loop condition.
8193
ec332e94
JM
81942012-07-12 Joseph Myers <joseph@codesourcery.com>
8195
8196 [BZ #13717]
8197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8198 Change to 2.4.1 where previously 2.4.0.
8199 * sysdeps/unix/sysv/linux/configure: Regenerated.
8200 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8201 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8202 version.
8203 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8204 (__ASSUME_AT_CLKTCK): Remove.
8205 (__ASSUME_AT_PAGESIZE): Likewise.
8206 (__ASSUME_AT_XID): Likewise.
8207 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8208 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8209 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8210 unconditionally.
8211 (HAVE_AUX_PAGESIZE): Likewise.
8212 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8213 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8214 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8215
7b6e99be
JB
82162012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8217
8218 [BZ #14307]
8219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8220 the temporary buffer used to invoke __gethostbyname2_r,
8221 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8222 host_data / struct gaih_addrtuple.
8223 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8224 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8225 header file nss/nsswitch.h.
8226 * nss/nsswitch.h (global scope): Add definition of implementation
8227 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8228 resolv/nss_dns/dns-host.c).
8229
608404eb
AJ
82302012-07-11 Andreas Jaeger <aj@suse.de>
8231
8232 * po/fr.po: Update from translation team.
8233
71220aca
AJ
8234 * po/sv.po: Update from translation team
8235 * po/fr.po: Another update from translation team.
8236
28cfe843
AZ
82372012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8238
8239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8240 for subnormals or multiply small sinh result by itself.
8241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8243
6b90f981
DM
82442012-07-11 David S. Miller <davem@davemloft.net>
8245
8246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8247
c6825772
AS
82482012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8249
8250 [BZ #14347]
8251 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8252 (INTERNAL_MARK): Shift it here.
8253
7b8e0d49
MP
82542012-07-10 Marek Polacek <polacek@redhat.com>
8255
8256 [BZ #14151]
8257 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8258 libc_cv_asm_global_directive with .globl.
8259 * configure: Regenerated.
8260 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8261 with .globl.
8262 * sysdeps/i386/configure: Regenerated.
8263 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8264 with .globl.
8265 * sysdeps/x86_64/configure: Regenerated.
8266 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8267 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8268 * elf/tst-unique2mod2.c: Likewise.
8269 * elf/tst-unique2mod1.c: Likewise.
8270 * elf/tst-unique1mod2.c: Likewise.
8271 * elf/tst-unique1mod1.c: Likewise.
8272 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8273 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8275 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8276 * sysdeps/mach/sysdep.h: Likewise.
8277 * sysdeps/i386/sysdep.h: Likewise.
8278 * sysdeps/i386/i386-mcount.S: Likewise.
8279 * sysdeps/x86_64/_mcount.S: Likewise.
8280 * sysdeps/x86_64/sysdep.h: Likewise.
8281 * sysdeps/sh/_mcount.S: Likewise.
8282 * sysdeps/sh/sysdep.h: Likewise.
8283 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8284 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8285 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8286 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8287 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8288 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8289 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8290 * locale/localeinfo.h: Likewise.
8291 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8292 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8293
6c55cda3
RM
82942012-07-09 Roland McGrath <roland@hack.frob.com>
8295
8296 [BZ #14336]
8297 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8298 system".
8299 * manual/message.texi (The Uniforum approach): Likewise.
8300 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8301 (glibc iconv Implementation): Likewise.
8302
638a572e
JM
83032012-07-09 Joseph Myers <joseph@codesourcery.com>
8304
8305 [BZ #14337]
8306 * math/s_clog.c (__clog): Avoid scaling a value down where that
8307 could result in underflow.
8308 * math/s_clog10.c (__clog10): Likewise.
8309 * math/s_clog10f.c (__clog10f): Likewise.
8310 * math/s_clog10l.c (__clog10l): Likewise.
8311 * math/s_clogf.c (__clogf): Likewise.
8312 * math/s_clogl.c (__clogl): Likewise.
8313 * math/libm-test.inc (clog_test): Add more tests.
8314 (clog10_test): Likewise.
8315 * sysdeps/i386/fpu/libm-test-ulps: Update.
8316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8317
261f4859
AS
83182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8319
0abaf3e4
AS
8320 [BZ #14283]
8321 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8322 by 7 not 8 to examine high bit of fractional part.
8323
261f4859
AS
8324 [BZ #14042]
8325 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8326 for call to __mcount_internal.
8327 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8328 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8329 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8330
f17ac40d
JM
83312012-07-06 Joseph Myers <joseph@codesourcery.com>
8332
9ad63c23
JM
8333 [BZ #14154]
8334 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8335 approximation for values within 0x1p-13f of an odd multiple of
8336 pi/4.
8337 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8338 exception. Add more tests.
8339 * sysdeps/i386/fpu/libm-test-ulps: Update.
8340
f17ac40d
JM
8341 [BZ #6778]
8342 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8343 inputs and return -1 for them. Do not check for +Inf in case not
8344 reachable for +Inf.
8345 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8346 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8347 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8348 and return -1 for them. Do not check for +Inf in case not
8349 reachable for +Inf.
8350 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8351 define.
8352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8353 and return -1 for them. Do not check for +Inf in case not
8354 reachable for +Inf.
8355 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8356 spurious underflow.
8357 * sysdeps/i386/fpu/libm-test-ulps: Update.
8358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8359
fb21f89b
MF
83602012-07-06 Mike Frysinger <vapier@gentoo.org>
8361
8362 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8363
cdfe2c5e
JM
83642012-07-05 Joseph Myers <joseph@codesourcery.com>
8365
8366 [BZ #14157]
8367 [BZ #14331]
8368 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8369 could result in spurious underflow. Scale down values above
8370 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8371 * math/s_csqrtf.c (__csqrtf): Likewise.
8372 * math/s_csqrtl.c (__csqrtl): Likewise.
8373 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8374 spurious underflow.
8375 * sysdeps/i386/fpu/libm-test-ulps: Update.
8376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8377
70d35b67
AS
83782012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8379
704bc459
AS
8380 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8381 xopen-msg.sed.
8382 * catgets/xopen-msg.awk: New file.
8383 * catgets/xopen-msg.sed: Removed.
8384
70d35b67
AS
8385 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8386 po2text.sed.
8387 * intl/po2test.awk: New file.
8388 * intl/po2test.sed: Removed.
8389
ca61cf32
JM
83902012-07-04 Joseph Myers <joseph@codesourcery.com>
8391
8392 [BZ #14328]
8393 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8394 or multiply small sinh result by itself.
8395 * math/s_ctanf.c (__ctanf): Likewise.
8396 * math/s_ctanh.c (__ctanh): Likewise.
8397 * math/s_ctanhf.c (__ctanhf): Likewise.
8398 * math/s_ctanhl.c (__ctanhl): Likewise.
8399 * math/s_ctanl.c (__ctanl): Likewise.
8400 * math/libm-test.inc (ctan_test_tonearest): New function.
8401 (ctan_test_towardzero): Likewise.
8402 (ctan_test_downward): Likewise.
8403 (ctan_test_upward): Likewise.
8404 (ctanh_test_tonearest): Likewise.
8405 (ctanh_test_towardzero): Likewise.
8406 (ctanh_test_downward): Likewise.
8407 (ctanh_test_upward): Likewise.
8408 (main): Call these new functions.
8409 * sysdeps/i386/fpu/libm-test-ulps: Update.
8410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8411
ca48a46a
MF
84122012-07-03 Mike Frysinger <vapier@gentoo.org>
8413
8414 * .gitignore: Delete /ports entry.
8415
9d63d37d
AJ
84162012-07-03 Andreas Jaeger <aj@suse.de>
8417
8418 * po/bg.po: Update from translation team.
8419 * po/cs.po: Likewise.
8420 * po/de.po: Likewise.
8421 * po/hr.po: Likewise.
8422 * po/nl.pl: Likewise.
8423 * po/pl.po: Likewise.
8424 * po/vi.po: Likewise.
8425
370ca3d2
JM
84262012-07-03 Joseph Myers <joseph@codesourcery.com>
8427
95f5a9a8
JM
8428 * Makeconfig [!+link] (+link-before-libc): New variable.
8429 [!+link] (+link-after-libc): Likewise.
8430 [!+link] (+link-tests): Likewise.
8431 [!+link] (+link): Define in terms of $(+link-before-libc) and
8432 $(+link-after-libc).
8433 [!+link-static] (+link-static-before-libc): New variable.
8434 [!+link-static] (+link-static-after-libc): Likewise.
8435 [!+link-static] (+link-static-tests): Likewise.
8436 [!+link-static] (+link-static): Define in terms of
8437 $(+link-static-before-libc) and $(+link-static-after-libc).
8438 [build-shared] (link-libc-before-gnulib): New variable.
8439 [build-shared] (link-libc-tests): Likewise.
8440 [build-shared] (link-libc): Define in terms of
8441 $(link-libc-before-gnulib).
8442 [!build-shared] (link-libc-tests): New variable.
8443 (link-libc-static-tests): New variable.
8444 [!gnulib] (gnulib-arch): New variable.
8445 [!gnulib] (gnulib-tests): Likewise.
8446 [!gnulib] (static-gnulib-arch): Likewise.
8447 [!gnulib] (static-gnulib-tests): Likewise.
8448 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8449 Define with "=" instead of ":=".
8450 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8451 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8452 * Rules (binaries-all-notests): New variable.
8453 (binaries-all-tests): Likewise.
8454 (binaries-static-notests): Likewise.
8455 (binaries-static-tests): Likewise.
8456 (binaries-all): Define using $(binaries-all-notests) and
8457 $(binaries-all-tests).
8458 (binaries-static): Define using $(binaries-static-notests) and
8459 $(binaries-static-tests).
8460 (binaries-shared-tests): New variable.
8461 (binaries-shared-notests): Likewise.
8462 (binaries-shared): Remove variable.
8463 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8464 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8465 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8466 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8467 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8468 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8469 * elf/Makefile (sln-modules): New variable.
8470 (extra-objs): Add $(sln-modules:=.o).
8471 (ldconfig-modules): Add static-stubs.
8472 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8473 * elf/static-stubs.c: New file.
8474
7a845b2c
JM
8475 [BZ #14283]
8476 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8477 by 7 not 8 to examine high bit of fractional part. Use volatile
8478 variables when splitting into final array of floats if
8479 __FLT_EVAL_METHOD__ != 0.
8480 * math/libm-test.inc (cos_test): Add another test.
8481 (sin_test): Likewise.
8482 * sysdeps/i386/fpu/libm-test-ulps: Update.
8483
e2283f38
JM
8484 [BZ #14273]
8485 * math/libm-test.inc (cosh_test): Add more tests.
8486
370ca3d2
JM
8487 * version.h (RELEASE): Set to "development".
8488 (VERSION): Set to "2.16.90".
8489
ee9247c3
CD
84902012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8491
8492 * NEWS: Update copyright. Remove last-updated date.
8493 Mention math library bug fixes and timezone data changes.
8494 * README: Mention GNU/Hurd, x32, and HPPA support status.
8495
4648c381
TS
84962012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8497
8498 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8499
aac78a43
AJ
85002012-06-27 Andreas Jaeger <aj@suse.de>
8501
8502 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8503
ed3dbfad
AJ
85042012-06-25 Andreas Jaeger <aj@suse.de>
8505
8506 * sysdeps/s390/fpu/libm-test-ulps: Update.
8507
4d0ee855
AS
85082012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8509 Thomas Schwinge <thomas@codesourcery.com>
8510
8511 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8512 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8514 fanotify_mark.
8515
af1bce34
TS
85162012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8517
a9fa33ba
TS
8518 * sysdeps/mach/start.c: Remove file.
8519 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8520 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8521 * sysdeps/sh/init-first.c: Likewise.
8522
58f902b8
TS
8523 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8524 registers for frame unwinding purposes, add CFI directives.
8525 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8526 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8527 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8528 Likewise.
8529
1518f58b
TS
8530 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8531 __fortify_fail returning.
8532 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8533
db9b5059
TS
8534 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8535 sysdeps/sh/____longjmp_chk.S.
8536 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8537 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8538 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8539 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8540
967705fe
TS
8541 * sysdeps/sh/abort-instr.h: New file.
8542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8543 process in case exit returns.
8544
a9def8c4
TS
8545 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8546 initialize the GOT register before use.
8547
2a649725
TS
8548 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8549 calculation of ARGC > 4.
8550
af1bce34
TS
8551 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8552 meaningful names to some local labels.
8553
d230f50a
KK
85542012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8555 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8556
8557 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8558 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8559 (__arch_compare_and_exchange_val_16_acq): Likewise.
8560 (__arch_compare_and_exchange_val_32_acq): Likewise.
8561 (atomic_exchange_and_add): Fix gUSA sequence.
8562 (atomic_add): Likewise.
8563 (atomic_add_negative): Likewise.
8564 (atomic_add_zero): Likewise.
8565 (atomic_bit_test_set): Likewise.
8566
0479b305
AS
85672012-06-22 Andreas Schwab <schwab@redhat.com>
8568
8569 [BZ #13579]
8570 * include/link.h (struct link_map): Add l_free_initfini.
8571 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8572 l_initfini.
8573 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8574 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8575 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8576 set.
8577
0e3933b9
CD
85782012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8579
8580 * configure.in: Use AC_LANG_SOURCE.
8581 * configure: Regenerate.
8582
4248b1b1
RM
85832012-06-22 Roland McGrath <roland@hack.frob.com>
8584
8585 * configure.in (libc_cv_localstatedir): New substituted variable.
8586 * configure: Regenerated.
8587 * config.make.in (localstatedir): New variable, substituted from
8588 libc_cv_localstatedir.
8589 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8590 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8591 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8592 * sysdeps/gnu/configure: Regenerated.
8593
006dd861
JL
85942012-06-21 Jeff Law <law@redhat.com>
8595
8596 [BZ #14277]
8597 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8598 free. Simplify list management for _LIBC case.
8599
79662d42
JM
86002012-06-21 Joseph Myers <joseph@codesourcery.com>
8601
b7abb4bf
JM
8602 [BZ #14273]
8603 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8604 Clear sign bit of 64-bit integer value before comparing against
8605 overflow value.
8606
79662d42
JM
8607 * sysdeps/mach/configure: Regenerated.
8608
1f150908
L
86092012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8610
8611 [BZ #14278]
8612 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8613
28363bbf
JL
86142012-06-21 Jeff Law <law@redhat.com>
8615
8616 [BZ #13882]
8617 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8618 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8620 * elf/dl-open.c (dl_open_worker): Likewise.
8621
09615db4
CD
86222012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8623
8624 * scripts/list-sources.sh: Scan PORTS for translations.
8625 * po/libc.pot: Regenerated.
8626
2174c6dd
AJ
86272012-06-21 Andreas Jaeger <aj@suse.de>
8628
8629 [BZ #12194]
8630 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8631 warning.
8632 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8633 * bits/byteswap-16.h (__bswap_16): Likewise.
8634 * bits/byteswap.h (__bswap_constant_16): Likewise.
8635
3ee947b1
L
86362012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8637
8638 [BZ #14117]
a2f34833
L
8639 * sysdeps/i386/fpu_control.h: Removed.
8640 * sysdeps/x86_64/fpu_control.h: Moved to ...
8641 * sysdeps/x86/fpu_control.h: Here.
8642
3ee947b1
L
8643 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8644 (_FPU_SETCW): Likewise.
8645
ed1825f8
L
86462012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8647
25f1282a
L
8648 [BZ #14117]
8649 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8650 * sysdeps/x86/fpu/bits/mathinline.h: This.
8651 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8652
ed1825f8
L
8653 [BZ #14050]
8654 [BZ #14117]
8655 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8656 functions if __x86_64__ is defined.
8657
36d54b74
CLT
86582012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8659
8660 * string/endian.h: Add !__ASSEMBLER__ condition for including
8661 conversion interfaces.
8662
10285c21
JM
86632012-06-15 Joseph Myers <joseph@codesourcery.com>
8664
8665 [BZ #14241]
8666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8667 of ABS(x) in calculating zero to negative powers other than odd
8668 integers.
8669 * math/libm-test.inc (pow_test): Add more tests.
8670
06c5abbd
AJ
86712012-06-15 Andreas Jaeger <aj@suse.de>
8672
8673 * manual/contrib.texi (Contributors): Update entry of Liubov
8674 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8675 Machado Filho.
8676
a3aeac40
CH
86772012-06-15 Cyril Hrubis <metan@ucw.cz>
8678
8679 * string/string.h: Add __wur to GNU version of strerror_r.
8680
49bdf4c1
L
86812012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8682
8683 [BZ #14229]
8684 * string/Makefile (tests): Add tst-strtok_r.
8685 * string/tst-strtok_r.c: New file.
8686 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8687 RAX_LP/RDX_LP on SAVE_PTR.
8688
834f9b8d
RM
86892012-06-14 Roland McGrath <roland@hack.frob.com>
8690
8691 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8692
75fa1921
JM
86932012-06-14 Joseph Myers <joseph@codesourcery.com>
8694
8695 * libm_test.inc (csqrt_test): Allow more spurious underflow
8696 exceptions.
8697 (j0_test): Likewise.
8698 (j1_test): Likewise.
8699 (y0_test): Likewise.
8700 (y1_test): Likewise.
8701
771766df
CD
87022012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8703
8704 * po/Makefile (libc.pot): Use UTF-8 charset.
8705
ceb9e56b
PP
87062012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8707
8708 [BZ #14210]
8709 Suppress sign-conversion warning from FD_SET.
8710 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8711 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8712 not unsigned long int.
8713 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8714
ddb28975
L
87152012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8716
8717 [BZ #14050]
8718 [BZ #14117]
8719 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8720 __extern_always_inline instead of __extern_inline.
8721 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8722 (__signbit): Likewise.
8723 (__signbitl): Support C++ namespace.
8724 (lrintf): New inline function.
8725 (lrint): Likewise.
8726 (llrintf): Likewise.
8727 (llrint): Likewise.
8728 (fmaxf): Likewise.
8729 (fmax): Likewise.
8730 (fminf): Likewise.
8731 (fmin): Likewise.
8732 (rint): Likewise.
8733 (rintf): Likewise.
8734 (ceil): Likewise.
8735 (ceilf): Likewise.
8736 (floor): Likewise.
8737 (floorf): Likewise.
8738 (nearbyint): Likewise.
8739 (nearbyintf): Likewise.
8740
d7b4fb26
TS
87412012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8742
8743 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8744 non-default versions.
8745
eb55f5c2
RM
87462012-06-11 Roland McGrath <roland@hack.frob.com>
8747
8748 [BZ #14218]
8749 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8750
366af02c
TS
87512012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8752
99ff6e5c
TS
8753 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8754 (FE_UPWARD, FE_DOWNWARD): Don't define.
8755 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8756 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8757
366af02c
TS
8758 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8759 reading it.
8760 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8761 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8762
793ea851
KK
87632012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8764
8765 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8767 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8768 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8769
a728a38f
L
87702012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8771
8772 [BZ #14117]
c08010c7
L
8773 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8774 * sysdeps/i386/fpu/Implies: New file.
8775 * sysdeps/x86_64/fpu/Implies: Likewise.
8776 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8777 * sysdeps/x86/fpu/bits/fenv.h: This.
8778
a728a38f
L
8779 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8780 __SSE_MATH__.
8781
6e230d11
SP
87822012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8783
8784 [BZ #14134]
8785 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8786 character 0xffff that matches the last element of the
8787 conversion table.
8788
1b671feb
AZ
87892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8790
8791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8792 fmodl commit.
8793
6043738b
AZ
87942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8795
8796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8797 values higher than 25.6283.
8798
34ae0b32
AZ
87992012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8800
8801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8802 subnormal exponent extraction and add some __builtin_expect.
8803 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8804 Fix for subnormal mantissa calculation.
8805
1214ec8f
MF
88062012-06-04 Mike Frysinger <vapier@gentoo.org>
8807
8808 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8809 cpu2 is -1 and errno is not ENOSYS.
8810
f3d1f93c
L
88112012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8812
8813 [BZ #14117]
0e4a3cd7
L
8814 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8815 * sysdeps/x86/bits/string.h: This.
8816 * sysdeps/x86_64/bits/string.h: Removed.
8817
6704c645
L
8818 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8819 if not compiling for x86-64, but compiling for >= i486.
8820
48495318
L
8821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8822 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8823
14adcbfc
L
8824 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8825 New macro from Linux kernel 3.4.0.
8826 (FP_XSTATE_MAGIC2): Likewise.
8827 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8828 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8829 (struct _fpx_sw_bytes): New struct.
8830 (struct _xsave_hdr): Likewise.
8831 (struct _ymmh_state): Likewise.
8832 (struct _xstate): Likewise.
8833
68e408ab
L
8834 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8835 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8836 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8837 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8838 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8839 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8840
f3d1f93c
L
8841 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8842 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8843 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8844 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8845 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8846 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8847
d9dc34cd
TMQMF
88482012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8849
8850 [BZ #13743]
8851 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8852 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8853 (sysdep_headers): Include sys/platform/ppc.h.
8854 * sysdeps/powerpc/test-gettimebase.c: Test for
8855 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8856 * manual/Makefile (appendices): Include platform.texi.
8857 * manual/contrib.texi (Contributors): Update @node pointers.
8858 * manual/maint.texi (Maintenance): Likewise.
8859 (Platform): New node.
8860 * manual/platform.texi: New file. Document the new features.
8861
4af3879c
SP
88622012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8863 Jakub Jelinek <jakub@redhat.com>
8864
8865 [BZ #14188]
8866 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8867 where __builtin_expect is unavailable.
8868
2fd6ff13
DM
88692012-06-03 David S. Miller <davem@davemloft.net>
8870
8871 * stdlib/longlong.h: Updated from GCC.
8872
173f7220
AS
88732012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8874
8875 [BZ #14042]
8876 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8877 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8878 __mcount_internal.
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8880 (GLIBC_2.16): Likewise.
8881
f34a1c6f
L
88822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8883
8884 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8885
88a4576f
JM
88862012-06-01 Joseph Myers <joseph@codesourcery.com>
8887
ea32bcdd
JM
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8889 (default-abi): New variable.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8891 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8892 variable.
8893 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8894 Likewise.
8895 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8896 Likewise.
8897 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8898 Likewise.
8899
88a4576f
JM
8900 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8901 definition. Document in comment.
8902
402fe938
DM
89032012-06-01 David S. Miller <davem@davemloft.net>
8904
8905 * stdlib/longlong.h: Updated from GCC.
8906
3553723f
L
89072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8908
8909 [BZ #14117]
3bd872c4
L
8910 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8911 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8912 sys/debugreg.h sys/io.h here.
8913 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8914 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8915 sys/io.h.
8916 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8917 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8918 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8919 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8920 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8921 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8922
3553723f
L
8923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8924 Define only if __x86_64__ is defined.
8925
4842e4fe
JM
89262012-06-01 Joseph Myers <joseph@codesourcery.com>
8927
c5bfe3d5
JM
8928 [BZ #14048]
8929 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8930 Use int64_t for variable i.
8931 * math/libm-test.inc (fmod_test): Add more tests.
8932
4842e4fe
JM
8933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8934 z computation is not scheduled after fetestexcept.
8935 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8936 Use math_force_eval instead of asm to ensure calculation scheduled
8937 before exception test.
8938 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8939 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8940
efb73488
AJ
89412012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8942
8943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8944 computation is not scheduled after fetestexcept.
8945
29bcce7c
L
89462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8947
8948 [BZ #14117]
8949 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8950 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8951
73a68f94
AZ
89522012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8953
8954 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8955 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8956
67b6df78
L
89572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8958
edf2933a 8959 [BZ #14117]
ebc64a18
L
8960 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8961 <bits/wordsize.h>.
8962 (__WCHAR_MIN): Support __WORDSIZE == 64.
8963 (__WCHAR_MAX): Likewise.
8964
edf2933a
L
8965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8966 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8967
57c6cf40
L
8968 [BZ #14183]
8969 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8970 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8971
67b6df78 8972 [BZ #14117]
8eb6281e
L
8973 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8974 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8975
aac639f4
L
8976 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8977 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8978
67b6df78
L
8979 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8980 Defined to 1 if __x86_64__ isn't defined.
8981 (_STAT_VER_LINUX_OLD): New.
8982 (st_atime): Remove duplicate.
8983 (st_mtime): Likewise.
8984 (st_ctime): Likewise.
8985
1c2cfe81
DM
89862012-05-31 David S. Miller <davem@davemloft.net>
8987
8988 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8989 entries.
8990
5be8418c
AS
89912012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8992
e7725326
AS
8993 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8994 gen-libm-test.pl.
8995
5be8418c
AS
8996 [BZ #14132]
8997 * elf/dl-reloc.c: Include <_itoa.h>.
8998 (_dl_reloc_bad_type): Remove use of INTUSE.
8999 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9000 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9001 * stdio-common/psiginfo.c (psiginfo): Likewise.
9002 * stdio-common/psignal.c (psignal): Likewise.
9003 * string/strsignal.c (strsignal): Likewise.
9004 * include/signal.h (_sys_siglist): Declare hidden proto.
9005 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9006 INTVARDEF with libc_hidden_data_def.
9007 * stdio-common/itoa-udigits.c: Likewise.
9008 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9009 (_itoa_lower_digits_internal): Remove declaration.
9010 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9011 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9012 (_sys_sigabbrev_internal): Remove aliases.
9013 (_sys_siglist): Define hidden alias.
9014
507352f1
MT
90152012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9016
9017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9018 bits/sysctl.h.
9019
42bbb1c3
L
90202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9021
9022 [BZ #14117]
6bd784b6
L
9023 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9024 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9025
8bca20f0
L
9026 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9027 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9028 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9029 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9030 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9031 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9032
f9e890a9
L
9033 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9034 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9035 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9036
471101a1
L
9037 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9038 with __addr.
9039 (insw): Likewise.
9040 (insl): Likewise.
9041 (outsb): Likewise.
9042 (outsw): Likewise.
9043 (outsl): Likewise.
9044
6451c862
L
9045 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9046 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9047 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9048
a254b8c9
L
9049 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9050 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9051 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9052 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9053 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9054 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9055
b8dfdd92
L
9056 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9057 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9058
578cd270
L
9059 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9060 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9061
de662f5f
L
9062 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9064 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9065
25653439
L
9066 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9067 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9068 to ...
9069 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9070
6bad24a0
L
9071 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9072 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9073 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9074
42bbb1c3
L
9075 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9076 for x86-64.
9077 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9078
2d10d547
JM
90792012-05-31 Joseph Myers <joseph@codesourcery.com>
9080
9081 * math/math.h (M_El): Use two more decimal places.
9082 (M_LOG2El): Likewise.
9083 (M_LOG10El): Likewise.
9084 (M_LN2l): Likewise.
9085 (M_LN10l): Likewise.
9086 (M_PIl): Likewise.
9087 (M_PI_2l): Likewise.
9088 (M_PI_4l): Likewise.
9089 (M_1_PIl): Likewise.
9090 (M_2_PIl): Likewise.
9091 (M_2_SQRTPIl): Likewise.
9092 (M_SQRT2l): Likewise.
9093 (M_SQRT1_2l): Likewise.
9094
f230c29b
DM
90952012-05-31 David S. Miller <davem@davemloft.net>
9096
9097 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9098 values between float registers.
9099 * sysdeps/sparc/sparc64/memset.S: Likewise.
9100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9101
fed806c3
MF
91022012-05-31 Mike Frysinger <vapier@gentoo.org>
9103
9104 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9105 -D_FORTIFY_SOURCE=1.
9106 (CPPFLAGS-tst-longjmp_chk.c): Define.
9107 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9108 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9109 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9110 CFLAGS-tst-wchar-h.c.
9111
30917259
MP
91122012-05-31 Marek Polacek <polacek@redhat.com>
9113
9114 [BZ #14132]
9115 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9116 __endmntent_internal): Remove declaration.
9117 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9118 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9119 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9120
1c58d5dc
DM
91212012-05-30 David S. Miller <davem@davemloft.net>
9122
9123 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9124 (___Q_simulate_exceptions): Use real FP ops rather than writing
9125 into the %fsr.
9126 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9127 Likewise.
9128
7dc00e0d
L
91292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 [BZ #14117]
0bd53985
L
9132 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9133 * sysdeps/x86/bits/xtitypes.h: This.
9134
3a257e66
L
9135 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9136 * sysdeps/x86/bits/wordsize.h: This.
9137
62f62904
L
9138 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9139 * sysdeps/x86/bits/huge_vall.h: This.
9140
404fe9d9
L
9141 * sysdeps/i386/bits/select.h: Removed.
9142 * sysdeps/x86_64/bits/select.h: Renamed to ...
9143 * sysdeps/x86/bits/select.h: This.
9144
d48d0446
L
9145 * sysdeps/i386/bits/setjmp.h: Removed.
9146 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9147 * sysdeps/x86/bits/setjmp.h: This.
9148
7dc00e0d
L
9149 * sysdeps/i386/bits/mathdef.h: Removed.
9150 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9151 * sysdeps/x86/bits/mathdef.h: This.
9152
03277f8f
AS
91532012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9154
9155 [BZ #14132]
9156 * include/sys/socket.h (__connect_internal)
9157 (__libc_sa_len_internal): Remove declaration.
9158 (__connect, __libc_sa_len): Declare hidden_proto.
9159 (SA_LEN): Remove use of INTUSE.
9160 * socket/connect.c: Add libc_hidden_def.
9161 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9162 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9163 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9164 alias.
9165 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9166 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9167 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9168 of adding _internal alias.
9169
13764867
L
91702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 [BZ #14117]
6bd97696
L
9173 * sysdeps/i386/bits/link.h: Removed.
9174 * sysdeps/i386/bits/linkmap.h: Likewise.
9175 * sysdeps/x86_64/bits/link.h: Renamed to ...
9176 * sysdeps/x86/bits/link.h: This.
9177 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9178 * sysdeps/x86/bits/linkmap.h: This.
9179
f726f0bb
L
9180 * sysdeps/i386/bits/endian.h: Removed.
9181 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9182 * sysdeps/x86/bits/endian.h: This.
9183
13764867
L
9184 * sysdeps/i386/bits/byteswap.h: Removed.
9185 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9186 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9187 * sysdeps/x86/bits/byteswap.h: This.
9188 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9189 * sysdeps/x86/bits/byteswap-16.h: This.
9190 * sysdeps/i386/Implies: Add x86.
9191 * sysdeps/x86_64/Implies: Likewise.
9192
ae251b0b
DM
91932012-05-30 David S. Miller <davem@davemloft.net>
9194
9195 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9196 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9197 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9198 (FP_TRAPPING_EXCEPTIONS): Define.
9199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9200 (FP_TRAPPING_EXCEPTIONS): Define.
9201 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9202 subnormals only when inexact has been signalled or underflow
9203 exceptions are enabled.
9204 (_FP_PACK_CANONICAL): Likewise.
9205
d5c90867
L
92062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 [BZ #14183]
9209 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9210 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9211
63f1549e
RH
92122012-05-30 Richard Henderson <rth@twiddle.net>
9213
8d8f2279
RH
9214 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9215 with #ifndef NOT_IN_libc.
9216
63f1549e
RH
9217 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9218 marked to avoid plt entry.
9219
0ab0291b
L
92202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9221
9222 [BZ #14112]
9223 * Makeconfig (default-abi): New macro.
9224 (abi-includes): Likewise.
9225 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9226 $(abi-$(default-abi)-lib-soname) for soname if defined.
9227 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9228 abi-variants.
9229 * Makefile (installed-stubs): Likewise.
9230 * include/stubs-biarch.h: Removed.
9231 * scripts/lib-names.awk: Only handle one library at a time.
9232 * scripts/soversions.awk: Remove WORDSIZE support.
9233 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9234 entries.
9235 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9236 Removed.
9237 (syscall-list-default-condition): Likewise.
9238 (syscall-list-default-condition): Likewise.
9239 (syscall-list-includes): Likewise.
9240 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9241 syscall-list-* with abi-*. Handle undefined abi-variants.
9242 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9243 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9244 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9245 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9246 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9247 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9248 Removed.
9249 (syscall-list-32-options): Likewise.
9250 (syscall-list-32-condition): Likewise.
9251 (syscall-list-64-options): Likewise.
9252 (syscall-list-64-condition): Likewise.
9253 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9254 macro.
9255 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9256 Renamed to ...
9257 (abi-*): This.
9258 (abi-64-ld-soname): New macro.
9259 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9260 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9261 Renamed to ...
9262 (abi-*): This.
9263 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9264 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9265
4da0431d
JM
92662012-05-30 Joseph Myers <joseph@codesourcery.com>
9267
3a85279c
JM
9268 * sysdeps/unix/sysv/linux/kernel-features.h
9269 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9270 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9271 include <kernel-features.h>.
9272 [!__NR_ftruncate64]: Remove conditional code.
9273 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9274 [__NR_ftruncate64]: Make code unconditional.
9275 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9276 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9277 include <kernel-features.h>.
9278 [!__NR_ftruncate64]: Remove conditional code.
9279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9280 [__NR_ftruncate64]: Make code unconditional.
9281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9283 include <kernel-features.h>.
9284 [!__NR_ftruncate64]: Remove conditional code.
9285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9286 [__NR_ftruncate64]: Make code unconditional.
9287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9289 include <kernel-features.h>.
9290 [!__NR_ftruncate64]: Remove conditional code.
9291 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9292 [__NR_ftruncate64]: Make code unconditional.
9293 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9294
4da0431d
JM
9295 * configure.in (libc_cv_fpie): Weaken to a compile test using
9296 LIBC_TRY_CC_OPTION.
9297 * configure: Regenerated.
9298
11ef492c
AK
92992012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9300
9301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9305 Refreshed.
9306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9312 Refreshed.
9313
d66ef399
DM
93142012-05-27 David S. Miller <davem@davemloft.net>
9315
9316 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9317 (___Q_zero): New.
9318 (__Q_simulate_exceptions): Return void. Change to simulate
9319 exceptions by writing into the %fsr.
9320 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9321 (__Qp_handle_exceptions): Likewise.
9322 (numbers): Delete.
9323 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9324 __Qp_handle_exceptions.
9325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9326 __Qp_handle_exceptions.
9327 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9328 as unused and give dummy FP_RND_NEAREST initializer.
9329 (FP_INHIBIT_RESULTS): Define.
9330 (___Q_simulate_exceptions): Update declaration.
9331 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9332 formatting.
9333 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9334 as unused and give dummy FP_RND_NEAREST initializer.
9335 (__Qp_handle_exceptions): Update declaration.
9336 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9337 formatting.
9338
04fb54b5
TS
93392012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9340
9341 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9342 the temporary FPU control word.
9343 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9344 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9345 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9346 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9347 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9348 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9349 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9350 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9351 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9352 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9353 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9354
3f99608f
KK
93552012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9356
9357 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9358 fields.
9359
65a4de4e
CLT
93602012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9361
9362 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9363 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9364 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9365 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9366 Likewise.
9367 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9368 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9369 Likewise.
9370
15749d40
UD
93712012-05-27 Ulrich Drepper <drepper@gmail.com>
9372
9373 * po/h.po: Update from translation team.
9374
25dbcb27
AS
93752012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9376
3d3f8e55
AS
9377 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9378
25dbcb27
AS
9379 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9380 handling of denormals.
9381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9382 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9384 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9385 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9386 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9388 Likewise.
9389
7ad47a80 93902012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9391
9392 [BZ #14152]
9393 * math/libm-test.inc (fma_test): Don't always expect underflow
9394 exception.
9395
9c6ea9fa
SP
93962012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9397
9398 [BZ #12416]
9399 * elf/tst-execstack.c: Include stackinfo.h.
9400 (do_test): Adjust test case to ensure that pthread_getattr_np
9401 behaviour remains the same after marking stack executable.
9402
a8239222
JM
94032012-05-25 Joseph Myers <joseph@codesourcery.com>
9404
9405 * sysdeps/unix/sysv/linux/kernel-features.h
9406 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9407 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9408 kernel-features.h.
9409 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9410 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9411 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9412 kernel-features.h.
9413 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9414 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9415
918b5606
L
94162012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9417
9418 * configure.in: Define the default includes to being none.
9419 * configure: Regenerated.
9420
3a097cc7
RM
94212012-05-25 Roland McGrath <roland@hack.frob.com>
9422
8422c9a5
RM
9423 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9424 * sysdeps/x86_64/setjmp.S: Likewise.
9425 * sysdeps/i386/bsd-setjmp.S: Likewise.
9426 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9427 * sysdeps/i386/setjmp.S: Likewise.
9428 * sysdeps/i386/__longjmp.S: Likewise.
9429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9430 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9431
3a097cc7
RM
9432 * include/stap-probe.h: New file.
9433 * configure.in: Handle --enable-systemtap.
9434 * configure: Regenerated.
9435 * config.h.in (USE_STAP_PROBE): New #undef.
9436 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9437 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9438 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9439
21708942
JM
94402012-05-25 Joseph Myers <joseph@codesourcery.com>
9441
9442 [BZ #13717]
9443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9444 to 2.4.0 where earlier.
9445 * sysdeps/unix/sysv/linux/configure: Regenerated.
9446 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9447 <kernel-features.h>.
9448 [__ASSUME_32BITUIDS]: Make code unconditional.
9449 [!__ASSUME_32BITUIDS]: Remove conditional code.
9450 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9451 <kernel-features.h>.
9452 [__ASSUME_32BITUIDS]: Make code unconditional.
9453 [!__ASSUME_32BITUIDS]: Remove conditional code.
9454 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9455 [__ASSUME_32BITUIDS]: Make code unconditional.
9456 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9457 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9458 <kernel-features.h>.
9459 [__ASSUME_32BITUIDS]: Make code unconditional.
9460 [!__ASSUME_32BITUIDS]: Remove conditional code.
9461 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9462 <kernel-features.h>.
9463 [__ASSUME_32BITUIDS]: Make code unconditional.
9464 [!__ASSUME_32BITUIDS]: Remove conditional code.
9465 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
9498 <kernel-features.h>.
9499 [__NR_setresgid] (__setresgid): Do not declare.
9500 [__ASSUME_32BITUIDS]: Make code unconditional.
9501 [!__ASSUME_32BITUIDS]: Remove conditional code.
9502 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9503 <kernel-features.h>.
9504 [__NR_setresuid] (__setresuid): Do not declare.
9505 [__ASSUME_32BITUIDS]: Make code unconditional.
9506 [!__ASSUME_32BITUIDS]: Remove conditional code.
9507 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9508 <kernel-features.h>.
9509 [__ASSUME_32BITUIDS]: Make code unconditional.
9510 [!__ASSUME_32BITUIDS]: Remove conditional code.
9511 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9512 <kernel-features.h>.
9513 [__ASSUME_32BITUIDS]: Make code unconditional.
9514 [!__ASSUME_32BITUIDS]: Remove conditional code.
9515 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
9548 (__ASSUME_SETRESUID_SYSCALL): Remove.
9549 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9550 (__ASSUME_32BITUIDS): Likewise.
9551 (__ASSUME_LDT_WORKS): Likewise.
9552 (__ASSUME_O_DIRECTORY): Likewise.
9553 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9554 architecture but not kernel version.
9555 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9556 (__ASSUME_MMAP2_SYSCALL): Likewise.
9557 (__ASSUME_STAT64_SYSCALL): Likewise.
9558 (__ASSUME_IPC64): Likewise.
9559 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9560 <kernel-features.h>.
9561 [__ASSUME_32BITUIDS]: Make code unconditional.
9562 [!__ASSUME_32BITUIDS]: Remove conditional code.
9563 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9564 <kernel-features.h>.
9565 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9566 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9567 132096]: Remove conditional code.
9568 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9569 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9570 <kernel-features.h>.
9571 [__ASSUME_32BITUIDS]: Make code unconditional.
9572 [!__ASSUME_32BITUIDS]: Remove conditional code.
9573 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9574 <kernel-features.h>.
9575 [__ASSUME_32BITUIDS]: Make code unconditional.
9576 [!__ASSUME_32BITUIDS]: Remove conditional code.
9577 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9578 <kernel-features.h>.
9579 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9580 unconditional.
9581 (__setresgid): Do not declare.
9582 [__ASSUME_32BITUIDS]: Make code unconditional.
9583 [!__ASSUME_32BITUIDS]: Remove conditional code.
9584 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9585 <kernel-features.h>.
9586 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9587 unconditional.
9588 (__setresuid): Do not declare.
9589 [__ASSUME_32BITUIDS]: Make code unconditional.
9590 [!__ASSUME_32BITUIDS]: Remove conditional code.
9591 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9592 <kernel-features.h>.
9593 [__ASSUME_32BITUIDS]: Make code unconditional.
9594 [!__ASSUME_32BITUIDS]: Remove conditional code.
9595 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9596 <kernel-features.h>.
9597 [__ASSUME_32BITUIDS]: Make code unconditional.
9598 [!__ASSUME_32BITUIDS]: Remove conditional code.
9599
a386f1cc
RH
96002012-05-25 Richard Henderson <rth@twiddle.net>
9601
9602 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9603 dl_hwcap to ifunc resolver.
9604 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9605 elf_ifunc_invoke.
9606 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9607 dl_hwcap to ifunc resolver.
9608 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9609
b6550497
JM
96102012-05-24 Joseph Myers <joseph@codesourcery.com>
9611
9612 [BZ #14153]
9613 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9614 for |x| <= 2**-26, not 2**-57.
9615 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9616 exception.
9617
b0bc23a1
JL
96182012-05-24 Jeff Law <law@redhat.com>
9619
9620 * stdio-common/Makefile (tests): Add bug25.
9621 * stdio-common/bug25.c: New test.
9622
347c92e9
L
96232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9624
9625 [BZ #13576]
9626 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9627 multiple of MALLOC_ALIGNMENT in size.
9628 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9629
6bcc8b3f
JM
96302012-05-24 Joseph Myers <joseph@codesourcery.com>
9631
9632 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9633 Require >= 256.
9634 (FILENAME_MAX): Use macro-int-constant.
9635 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9636 (_IOFBF): Use macro-int-constant.
9637 (_IOLBF): Likewise.
9638 (_IONBF): Likewise.
9639 (SEEK_CUR): Likewise.
9640 (SEEK_END): Likewise.
9641 (SEEK_SET): Likewise.
9642 (TMP_MAX): Likewise.
9643 (EOF): Use macro-int-constant. Require < 0.
9644 (NULL): Use macro-constant. Require == 0.
9645 (stdin): Require type to be FILE *.
9646 (stdout): Likewise.
9647 (stderr): Likewise.
9648 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9649 macro-int-constant.
9650 (EXIT_SUCCESS): Likewise.
9651 (NULL): Use macro-constant. Require == 0.
9652 (RAND_MAX): Use macro-int-constant.
9653 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9654 [C99-based standards] (strtof): Require function.
9655 [C99-based standards] (strtold): Likewise.
9656 [C99-based standards] (strtoll): Likewise.
9657 [C99-based standards] (strtoull): Likewise.
9658 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9659 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9660 [ISO || ISO99 || ISO11] (math.h): Likewise.
9661 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9662 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9664
d18ea0c5
AS
96652012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9666
9667 [BZ #14132]
56d25bb8
AS
9668 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9669 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9670 * intl/dgettext.c (DCGETTEXT): Likewise.
9671 * intl/gettext.c (DCGETTEXT): Likewise.
9672 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9673 * posix/regex_internal.h (gettext): Likewise.
9674 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9675 Remove declaration.
9676 * include/argz.h (__argz_count_internal)
9677 (__argz_stringify_internal): Remove declaration.
9678 (__argz_count, __argz_stringify): Declare hidden proto.
9679 * intl/dcgettext.c: Remove use of INTDEF.
9680 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9681 * string/argz-stringify.c: Likewise.
9682 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9683 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9684 Declare hidden proto.
d18ea0c5
AS
9685 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9686 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9687 Declare hidden proto.
9688 * include/stdio.h (__asprintf_internal): Don't declare.
9689 (__asprintf): Don't define as macro. Declare hidden proto.
9690 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9691 (__fsetlocking): Declare hidden proto.
9692 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9693 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9694 hidden proto.
9695 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9696 (_IO_setlinebuf): Remove use of INTUSE.
9697 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9698 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9699 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9700 Remove declaration.
9701 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9702 (_IO_do_flush): Remove use of INTUSE.
9703 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9704 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9705 (_IO_adjust_column, _IO_least_wmarker)
9706 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9707 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9708 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9709 (_IO_default_doallocate, _IO_wdefault_doallocate)
9710 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9711 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9712 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9713 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9714 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9715 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9716 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9717 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9718 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9719 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9720 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9721 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9722 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9723 proto.
9724 (_IO_flush_all_internal, _IO_adjust_column_internal)
9725 (_IO_default_uflow_internal, _IO_default_finish_internal)
9726 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9727 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9728 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9729 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9730 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9731 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9732 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9733 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9734 (_IO_file_close_internal, _IO_file_close_it_internal)
9735 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9736 (_IO_file_init_internal, _IO_file_attach_internal)
9737 (_IO_file_fopen_internal, _IO_file_read_internal)
9738 (_IO_file_sync_internal, _IO_file_seek_internal)
9739 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9740 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9741 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9742 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9743 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9744 (_IO_list_all_internal, _IO_link_in_internal)
9745 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9746 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9747 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9748 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9749 (_IO_do_write_internal, _IO_padn_internal)
9750 (_IO_getline_info_internal, _IO_getline_internal)
9751 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9752 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9753 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9754 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9755 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9756 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9757 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9758 with libc_hidden_ver, remove use of INTUSE.
9759 * libio/genops.c: Likewise.
9760 * libio/freopen.c: Likewise.
9761 * libio/freopen64.c: Likewise.
9762 * libio/iofclose.c: Likewise.
9763 * libio/iofdopen.c: Likewise.
9764 * libio/iofflush.c: Likewise.
9765 * libio/iofflush_u.c: Likewise.
9766 * libio/iofgets.c: Likewise.
9767 * libio/iofgets_u.c: Likewise.
9768 * libio/iofopen.c: Likewise.
9769 * libio/iofopncook.c: Likewise.
9770 * libio/iofread.c: Likewise.
9771 * libio/iofread_u.c: Likewise.
9772 * libio/ioftell.c: Likewise.
9773 * libio/iofwrite.c: Likewise.
9774 * libio/iogetline.c: Likewise.
9775 * libio/iogets.c: Likewise.
9776 * libio/iogetwline.c: Likewise.
9777 * libio/iopadn.c: Likewise.
9778 * libio/iopopen.c: Likewise.
9779 * libio/ioseekoff.c: Likewise.
9780 * libio/ioseekpos.c: Likewise.
9781 * libio/iosetbuffer.c: Likewise.
9782 * libio/iosetvbuf.c: Likewise.
9783 * libio/ioungetc.c: Likewise.
9784 * libio/ioungetwc.c: Likewise.
9785 * libio/iovdprintf.c: Likewise.
9786 * libio/iovsprintf.c: Likewise.
9787 * libio/iovsscanf.c: Likewise.
9788 * libio/memstream.c: Likewise.
9789 * libio/obprintf.c: Likewise.
9790 * libio/oldfileops.c: Likewise.
9791 * libio/oldiofclose.c: Likewise.
9792 * libio/oldiofdopen.c: Likewise.
9793 * libio/oldiofopen.c: Likewise.
9794 * libio/oldiopopen.c: Likewise.
9795 * libio/oldstdfiles.c: Likewise.
9796 * libio/putc.c: Likewise.
9797 * libio/setbuf.c: Likewise.
9798 * libio/setlinebuf.c: Likewise.
9799 * libio/stdfiles.c: Likewise.
9800 * libio/strops.c: Likewise.
9801 * libio/vasprintf.c: Likewise.
9802 * libio/vscanf.c: Likewise.
9803 * libio/vsnprintf.c: Likewise.
9804 * libio/vswprintf.c: Likewise.
9805 * libio/wfiledoalloc.c: Likewise.
9806 * libio/wfileops.c: Likewise.
9807 * libio/wgenops.c: Likewise.
9808 * libio/wmemstream.c: Likewise.
9809 * libio/wstrops.c: Likewise.
9810 * libio/__fpurge.c: Likewise.
9811 * libio/__fsetlocking.c: Likewise.
9812 * assert/assert.c: Likewise.
9813 * debug/fgets_chk.c: Likewise.
9814 * debug/fgets_u_chk.c: Likewise.
9815 * debug/fread_chk.c: Likewise.
9816 * debug/fread_u_chk.c: Likewise.
9817 * debug/gets_chk.c: Likewise.
9818 * debug/obprintf_chk.c: Likewise.
9819 * debug/vasprintf_chk.c: Likewise.
9820 * debug/vdprintf_chk.c: Likewise.
9821 * debug/vsnprintf_chk.c: Likewise.
9822 * debug/vsprintf_chk.c: Likewise.
9823 * malloc/mtrace.c: Likewise.
9824 * misc/error.c: Likewise.
9825 * misc/syslog.c: Likewise.
9826 * stdio-common/asprintf.c: Likewise.
9827 * stdio-common/fxprintf.c: Likewise.
9828 * stdio-common/getw.c: Likewise.
9829 * stdio-common/isoc99_fscanf.c: Likewise.
9830 * stdio-common/isoc99_scanf.c: Likewise.
9831 * stdio-common/isoc99_vfscanf.c: Likewise.
9832 * stdio-common/isoc99_vscanf.c: Likewise.
9833 * stdio-common/isoc99_vsscanf.c: Likewise.
9834 * stdio-common/printf-prs.c: Likewise.
9835 * stdio-common/printf_fp.c: Likewise.
9836 * stdio-common/printf_fphex.c: Likewise.
9837 * stdio-common/printf_size.c: Likewise.
9838 * stdio-common/putw.c: Likewise.
9839 * stdio-common/scanf.c: Likewise.
9840 * stdio-common/sprintf.c: Likewise.
9841 * stdio-common/tmpfile.c: Likewise.
9842 * stdio-common/vfprintf.c: Likewise.
9843 * stdio-common/vfscanf.c: Likewise.
9844 * stdlib/strfmon_l.c: Likewise.
9845 * sunrpc/openchild.c: Likewise.
9846 * sunrpc/xdr_stdio.c: Likewise.
9847 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9848 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9849
d6c33fda
RM
98502012-05-24 Roland McGrath <roland@hack.frob.com>
9851
c1487492
RM
9852 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9853
9854 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9855 in the third column, to generate for the shared library an IFUNC
9856 that uses _dl_vdso_vsym.
9857 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9858 * Makeconfig (object-suffixes-noshared): New variable.
9859
9860 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9861 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9862 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9863 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9864
d6c33fda
RM
9865 [BZ #14132]
9866 * include/sys/time.h (__gettimeofday): Remove macro.
9867 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9868 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9869 Remove INTDEF.
9870 (__gettimeofday): Add libc_hidden_def.
9871 (gettimeofday): Add libc_hidden_weak.
9872 * sysdeps/mach/gettimeofday.c: Likewise.
9873 * sysdeps/posix/gettimeofday.c: Likewise.
9874 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9875 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9877 (__gettimeofday_internal): Remove strong_alias.
9878 (__gettimeofday): Add libc_hidden_def.
9879 (gettimeofday): Add libc_hidden_weak.
9880 * sysdeps/unix/syscalls.list (gettimeofday):
9881 Remove __gettimeofday_internal alias.
9882
b5a2bbe6
L
98832012-05-24 Daniel Jacobowitz <drow@false.org>
9884 H.J. Lu <hongjiu.lu@intel.com>
9885
9886 [BZ #12495]
9887 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9888 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9889 (largebin_index_32_big): New.
9890 (largebin_index): Use it for 16-byte alignment.
9891 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9892 correction with front_misalign.
9893
cfba4fda
L
98942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9895
7f907421
L
9896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9898 Likewise.
9899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9900 Likewise.
9901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9902 Likewise.
9903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9904 Likewise.
9905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9906 Likewise.
9907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9908 Likewise.
9909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9910 Likewise.
9911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9912 Likewise.
9913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9914 Likewise.
9915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9916 Likewise.
9917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9918 Likewise.
9919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9920 Likewise.
9921
cfba4fda
L
9922 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9923 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9924
80bad0cc
JM
99252012-05-24 Joseph Myers <joseph@codesourcery.com>
9926
7a25eb06
JM
9927 [BZ #10846]
9928 [BZ #14036]
9929 * math/libm-test.inc (exp_test): Add test from bug 14036.
9930 (pow_test): Add test from bug 10846.
9931
795405f9
JM
9932 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9933 and other flags.
9934 (special_function): Do not include flags in test name.
9935 (parse_args): Likewise.
9936 * sysdeps/i386/fpu/libm-test-ulps: Update.
9937 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9938 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9939 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9941
80bad0cc
JM
9942 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9943 exceptions.
9944 * math/libm-test.inc ("Philosophy"): Update comment about
9945 exception testing.
9946 (UNDERFLOW_EXCEPTION): New macro.
9947 (UNDERFLOW_EXCEPTION_OK): Likewise.
9948 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9949 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9950 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9951 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9952 (INVALID_EXCEPTION_OK): Update value.
9953 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9954 (OVERFLOW_EXCEPTION_OK): Likewise.
9955 (IGNORE_ZERO_INF_SIGN): Likewise.
9956 (test_exceptions): Handle underflow exceptions.
9957 (acos_test): Update for underflow exception expectations.
9958 (cexp_test): Likewise.
9959 (clog_test): Likewise.
9960 (clog10_test): Likewise.
9961 (csqrt_test): Likewise.
9962 (ctan_test): Likewise.
9963 (ctanh_test): Likewise.
9964 (exp_test): Likewise.
9965 (exp10_test): Likewise.
9966 (exp2_test): Likewise.
9967 (expm1_test): Likewise.
9968 (fma_test): Likewise.
9969 (j0_test): Likewise.
9970 (jn_test): Likewise.
9971 (nexttoward_test): Likewise.
9972 (pow_test): Likewise.
9973 (scalbn_test): Likewise.
9974 (scalbln_test): Likewise.
9975 (tan_test): Likewise.
9976 (y1_test): Likewise.
9977 * sysdeps/i386/fpu/libm-test-ulps: Update.
9978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9979
9e0e3d0b
DM
99802012-05-23 David S. Miller <davem@davemloft.net>
9981
9982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9983 (__libc_sigaction): Remove unused local variables.
9984
ccd0a08f
L
99852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9988
62bdf9a6
PE
99892012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9990
f8591f80
PE
9991 mktime: avoid signed integer overflow
9992 * time/mktime.c (__mktime_internal): Do not mishandle the case
9993 where diff == INT_MIN.
9994
94c7d826
PE
9995 mktime: simplify computation of average
9996 * time/mktime.c (ranged_convert): Use new time_t_avg function
9997 instead of rolling our own (probably-slower) code.
9998
ce73d683
PE
9999 mktime: do not assume signed right shift propagates sign bit
10000 * time/mktime.c (isdst_differ): New static function.
10001 (__mktime_internal): No need to normalize tm_isdst now.
10002 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10003 tm_isdst values.
10004
72a22e59
PE
10005 mktime: merge another wrapv change from gnulib
10006 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10007 from some compilers.
10008
68605433
PE
10009 mktime: remove incorrect attempt at unusual arithmetics
10010 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10011 The code didn't really work on such machines anyway.
10012 (TYPE_MINIMUM): Assume two's complement.
10013 (twos_complement_arithmetic): Verify that long_int and time_t
10014 are two's complement (or unsigned, in the latter case).
10015
03cf7fe3
PE
10016 mktime: check signed shifts on long_int and time_t, too
10017 * time/mktime.c (SHR): Check that shifts work as desired
10018 on the types long_int and time_t too, as SHR is used on
10019 such types.
10020
f04dfbc2
PE
10021 mktime: do not assume 'long' is wide enough
10022 * time/mktime.c (verify): Move decl up.
10023 (long_int): New type.
10024 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10025 to remove assumption in the code that 'long' is wide enough to
10026 store year values. This assumption is not true on x32 and on
10027 some non-glibc platforms.
10028
62bdf9a6
PE
10029 mktime: merge wrapv change from gnulib
10030 * time/mktime.c (WRAPV): New macro.
10031 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10032 (guess_time_tm, __mktime_internal): Do not assume that signed
10033 integer overflow wraps around; modern compilers generate code
10034 where this assumption is no longer valid.
10035
5e292e4f
L
100362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10037
10038 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10039 Replace "jmp L(pseudo_end)" with "ret".
10040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10041 Likewise.
10042
8caf8c87
AJ
100432012-05-23 Andreas Jaeger <aj@suse.de>
10044
10045 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10046 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10047
1a09dc56
AJ
100482012-05-23 Andreas Jaeger <aj@suse.de>
10049 Maximilian Attems <max@stro.at>
10050
10051 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10052 New macros.
10053
1c87aba0
L
100542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10055
10056 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10057 code so that pseudo_end is just ret and the stack pointer is
10058 correct also for static library in error case.
10059
40e45bd5
JM
100602012-05-23 Joseph Myers <joseph@codesourcery.com>
10061
c2670533
JM
10062 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10063 move to syscalls.list.
10064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10068
40e45bd5
JM
10069 * manual/install.texi (Running make install): Do not mention Linux
10070 kernel version for which pt_chown is not needed.
10071 (Linux): Do not mention problems with nscd with 2.0 kernels.
10072 * INSTALL: Regenerated.
10073
be08eda5
AJ
100742012-05-23 Andreas Jaeger <aj@suse.de>
10075
10076 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10077 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10078 macro.
10079 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10080 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10081 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10082 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10083 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10084 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10086 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10087 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10089 * sysdeps/unix/sysv/linux/bits/in.h
10090 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10091
a6a056bb
RM
100922012-05-22 Roland McGrath <roland@hack.frob.com>
10093
10094 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10095 (PREPARE_VERSION): Just use assert instead, it will be elided
10096 under [NDEBUG] anyway.
10097
c9009328
L
100982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 * sysdeps/unix/sysv/linux/Makefile: Include
10101 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10102 (sysdep_routines): Remove sysctl.
c9009328
L
10103 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10104 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10105 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10106 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10107 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10108
73338355
AJ
101092012-05-22 Andreas Jaeger <aj@suse.de>
10110
10111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10112 that pseudo_end is just ret and the stack pointer is correct also
10113 for static library in error case.
10114
d44638b0
PP
101152012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10116
10117 [BZ #14122]
10118 * nss/nsswitch.c (defconfig_entries): New variable.
10119 (__nss_database_lookup): Don't leak defconfig entries.
10120 (nss_parse_service_list): Don't leak on error paths.
10121 (free_database_entries): New function.
10122 (free_defconfig): New function.
10123 (free_mem): Move common code to free_database_entries.
10124
31a39bd8
L
101252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10126
da0331a8
L
10127 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10128 Add arch_prctl.
10129 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10130
31a39bd8
L
10131 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10132 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10134 New macro.
10135 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10136 (INTERNAL_SYSCALL_TYPES): Likewise.
10137 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10138 (LOAD_REGS_TYPES_[1-6]): Likewise.
10139 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10140 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10141
45470df3
AZ
101422012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10143
10144 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10145 copysignl for GLIBC_2_0.
10146 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10147 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10149 logbl for GLIBC_2_0.
10150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10151 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10152
98a61bcb
L
101532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10154
a4f6e481
L
10155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10156 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10157
f63d5db6
L
10158 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10159 Use "neg %eax".
10160
98a61bcb
L
10161 * time/mktime.c: Update copyright years.
10162
95770f14
PE
101632012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10164
6226efbd
PE
10165 mktime: merge comment-quoting-style change from gnulib
10166 * time/mktime.c: Quote 'like this' in comments.
10167 The GNU coding standards suggest that we no longer quote `like this',
10168 as "`" and "'" are typically rendered asymmetrically nowadays.
10169 The typical gnulib style is to quote 'like this' when quoting
10170 code, and "like this" when quoting English.
10171
b99e4f78
PE
10172 * time/mktime.c (compile-command): Add "-I.".
10173
643e01e6
PE
10174 mktime: merge mktime-internal.h change from gnulib
10175 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10176
2554247d
PE
10177 mktime: merge time_r change from gnulib
10178 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10179
826dd0ab
PE
10180 mktime: merge DEBUG change from gnulib
10181 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10182 case system <time.h> has a #define.
10183
bd83aabe
PE
10184 mktime: merge <sys/types.h> change from gnulib
10185 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10186 since <time.t> is now guaranteed to define time_t.
10187
95770f14
PE
10188 mktime: merge HAVE_CONFIG_H change from gnulib
10189 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10190
5e1a27a9
L
101912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10192
0e44a77e
L
10193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10194 Use "neg %eax".
10195
5e1a27a9
L
10196 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10197 __rlim_t cast.
10198 (struct rusage): Use anonymous union to pad each field to
10199 __syscall_slong_t.
10200
46259bec
DM
102012012-05-21 David S. Miller <davem@davemloft.net>
10202
10203 * Makefules (o-iterator): Remove .s cases.
10204 (compile-command.s): Delete.
10205 (COMPILE.s): Delete.
10206 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10207
59f0c22e
JM
102082012-05-21 Joseph Myers <joseph@codesourcery.com>
10209
10210 * configure.in (libc_cv_predef_stack_protector): Only consider
10211 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10212 * configure: Regenerated.
10213
20c07380
L
102142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10215
bbb3154b
L
10216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10217 New macro. Use R*LP on int and pointer.
10218 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10219 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10220 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10221 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10222
20c07380
L
10223 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10224 [__WORDSIZE_TIME64_COMPAT32] instead of
10225 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10226 (struct utmp): Likewise.
10227 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10228 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10229 Renamed to ...
10230 (__WORDSIZE_TIME64_COMPAT32): This.
10231 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10232 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10233 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10234 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10235 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10236 (__WORDSIZE_TIME64_COMPAT32): New macro.
10237
d8d1017e
AJ
102382012-05-21 Andreas Jaeger <aj@suse.de>
10239
10240 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10241 only if [SHARED]. Add prototype for __wcschr_ia32.
10242
6c7fb145
RM
102432012-05-21 Roland McGrath <roland@hack.frob.com>
10244
10245 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10246 of %rbp unmolested in the jmp_buf while mangling the low bits.
10247 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10248 unmolested high bits of %rbp while demangling the low bits.
10249 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10250
66274218
AJ
102512012-05-21 Andreas Jaeger <aj@suse.de>
10252
07c58f8f
AJ
10253 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10254 * sunrpc/svc_simple.c: Use it for registerrpc.
10255 * sunrpc/xcrypt.c: Use it for passwd2des.
10256
66274218
AJ
10257 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10258
61f65140
L
102592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10260
10261 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10262 Don't define if [__SYSCALL_WORDSIZE != 32].
10263 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10264 New macro.
10265
5fefb436
AJ
102662012-05-21 Bruno Haible <bruno@clisp.org>
10267 Andreas Jaeger <aj@suse.de>
10268
10269 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10270 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10271 inptr and inend for must_buffer_ch.
10272 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10273 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10274 * stdio-common/Makefile (tests): Remove bug15.
10275 (bug15-ENV): Remove macro.
10276 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10277 anymore.
10278
d8e272ab
AJ
102792012-05-19 Andreas Jaeger <aj@suse.de>
10280 Roland McGrath <roland@hack.frob.com>
10281
10282 * manual/contrib.texi: Completely rewritten. It contains now an
10283 alphabetical list of contributors and their contributions.
10284
4a56a162
RH
102852012-05-21 Richard Henderson <rth@twiddle.net>
10286
10287 * misc/getauxval.c (__getauxval): Use unsigned long int.
10288 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10289 (getauxval): Use unsigned long int.
10290
d024d23c
L
102912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10292
10293 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10294
cbc00a03
RM
102952012-05-21 Roland McGrath <roland@hack.frob.com>
10296
10297 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10298 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10299 __alignof__ (long double).
10300
478143fa
AZ
103012012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10302
10303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10304
c7683a6d
RH
103052012-05-20 Richard Henderson <rth@twiddle.net>
10306
10307 * misc/getauxval.c: New file.
10308 * misc/sys/auxv.h: New file.
10309 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10310 (routines): Add getauxval.
10311 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10312 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10313 * elf/dl-sysdep.c (_dl_auxv): Remove.
10314 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10315 * elf/dl-support.c (_dl_auxv): New variable.
10316 (_dl_aux_init): Initialize it.
10317 * manual/startup.texi (Auxiliary Vector): New node.
10318 * sysdeps/generic/bits/hwcap.h: New file.
10319 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10320 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10321 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10322 * sysdeps/sparc/sysdep.h: ... here. Include it.
10323 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10324 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10326 Update.
c7683a6d
RH
10327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10335
a6f1845d
AZ
103362012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10337
10338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10339
cbcbe830
DM
103402012-05-19 David S. Miller <davem@davemloft.net>
10341
10342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10343
e0b16cc2
JM
103442012-05-19 Joseph Myers <joseph@codesourcery.com>
10345
10346 [BZ #14123]
10347 * math/s_ccosh.c: Include <float.h>
10348 (__ccosh): Avoid internal overflow calculating sinh and cosh
10349 values before multiplying by sin and cos values.
10350 * math/s_ccoshf.c: Likewise.
10351 * math/s_ccoshl.c: Likewise.
10352 * math/s_csin.c: Likewise.
10353 * math/s_csinf.c: Likewise.
10354 * math/s_csinl.c: Likewise.
10355 * math/s_csinh.c: Likewise.
10356 * math/s_csinhf.c: Likewise.
10357 * math/s_csinhl.c: Likewise.
10358 * math/libm-test.inc (ccos_test): Add more tests.
10359 (ccosh_test): Likewise.
10360 (csin_test): Likewise.
10361 (csinh_test): Likewise.
10362 * sysdeps/i386/fpu/libm-test-ulps: Update.
10363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10364
6ad13e08
L
103652012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10366
f66f0ce8
L
10367 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10368 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10369
6ad13e08
L
10370 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10371
b1d072a7
JM
103722012-05-19 Joseph Myers <joseph@codesourcery.com>
10373
10374 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10375 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10376 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10377 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10378 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10379 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10380 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10381 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10382 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10383 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10384 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10385 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10386 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10387 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10388 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10389 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10390 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10391 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10392 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10393 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10394 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10395 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10396 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10397 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10398 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10399 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10400 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10401 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10402 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10403 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10404 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10405
9eae47cb
AJ
104062012-05-18 Andreas Jaeger <aj@suse.de>
10407
10408 * csu/.gitignore: Delete.
10409
bb07f69f
L
104102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10411
10412 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10413 (timex): Use __syscall_slong_t.
10414
e6bdb741
AJ
104152012-05-18 Andreas Jaeger <aj@suse.de>
10416 Carlos O'Donell <carlos_odonell@mentor.com>
10417
10418 * manual/install.texi (Configuring and compiling): Update
10419 description about files modified in the source directory.
d6c33fda 10420 * INSTALL: Regenerated.
e6bdb741 10421
1b74487e
L
104222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10423
10424 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10425 value. Use "or" to set return value to -1.
10426 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10427 negate return value.
10428
a88b64b9
TMQMF
104292012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10430
10431 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10432 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10433 failure if the compiler has Graphite support disabled.
10434 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10435 Likewise.
10436 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10437 CFLAGS-memmove.c): Likewise.
10438 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10439 Likewise.
10440
3707636e
L
104412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10442
610b8622
L
10443 * sysdeps/x86_64/x32/_itoa.h: New file.
10444
7cd195df
L
10445 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10446 getdents system call only if kernel and user dirents have the
10447 same d_ino and d_off.
10448
94b07d20
L
10449 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10450 LLONG_MAX != LONG_MAX.
10451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10452 (_fitoa_word): Likewise.
10453
18298070
L
10454 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10455 years.
10456 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10457 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10458 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10459
553c7ea4
L
10460 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10461 include <bits/wordsize.h>. Check __x86_64__ instead of
10462 __WORDSIZE.
10463 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10464 if __x86_64__ is defined. Use anonymous union on fpstate.
10465
3707636e
L
10466 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10467 anonymous union.
10468
b53ef01a
AS
104692012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10470
37fb1dc0
AS
10471 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10472 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10473 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10474 Refer to _rtld_local_ro instead of _rtld_global_ro.
10475 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10476 Likewise.
10477 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10478 Likewise.
10479 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10480 Likewise.
10481 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10482 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10483 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10484
b53ef01a
AS
10485 * sysdeps/powerpc/powerpc32/dl-machine.c
10486 (__elf_machine_runtime_setup) [PROF]: Don't reference
10487 _dl_prof_resolve.
10488
7a185db2
AJ
104892012-05-18 Andreas Jaeger <aj@suse.de>
10490
10491 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10492 function only available for GCCs before 3.4 since GCC 3.4
10493 introduced a builtin.
10494 (lrint): Likewise.
10495 (llrintf): Likewise.
10496 (llrint): Likewise.
10497 (fmaxf): Likewise.
10498 (fmax): Likewise.
10499 (fminf): Likewise.
10500 (fmin): Likewise.
10501 (rint): Likewise.
10502 (rintf): Likewise.
10503 (nearbyint): Likewise.
10504 (nearbyintf): Likewise.
10505 (ceil): Likewise.
10506 (ceilf): Likewise.
10507 (floor): Likewise.
10508 (floorf): Likewise.
10509
3e5aef87
L
105102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10511
428bd707
L
10512 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10513 on both fields and cast pointer to __syscall_ulong_t.
10514
3e5aef87
L
10515 * bits/types.h (__fsword_t): New type.
10516 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10517 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10519 (__FSWORD_T_TYPE): Likewise.
10520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10521 (__FSWORD_T_TYPE): Likewise.
10522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10523 (__FSWORD_T_TYPE): Likewise.
10524 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10525 (__FSWORD_T_TYPE): Likewise.
10526 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10527 __SWORD_TYPE with __fsword_t.
10528 (statfs64): Likewise.
10529
1ba7c3dc
DM
105302012-05-17 David S. Miller <davem@davemloft.net>
10531
10532 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10533
59910343
AJ
105342012-05-17 Andreas Jaeger <aj@suse.de>
10535
10536 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10537 warning.
10538
2e4c1e9e
L
105392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10540
10541 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10542
de7f5ce7
AJ
105432012-05-17 Andreas Jaeger <aj@suse.de>
10544
10545 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10546 when it is used.
10547
286abc3d
CM
105482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10549
10550 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10551
477cc68e
L
105522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10553
10554 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10555 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10556
1a0994f5
CD
105572012-05-17 Andreas Jaeger <aj@suse.de>
10558 Carlos O'Donell <carlos_odonell@mentor.com>
10559
10560 [BZ #14059]
10561 * sysdeps/x86_64/multiarch/init-arch.h
10562 (bit_YMM_Usable): Rename to...
10563 (bit_AVX_Usable): ... this.
10564 (bit_FMA4_Usable): New macro.
10565 (bit_XMM_state): New macro.
10566 (bit_YMM_state): New macro.
10567 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10568 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10569 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10570 (CPUID_OSXSAVE): New macro.
10571 (CPUID_AVX): New macro.
10572 (CPUID_FMA4): New macro.
10573 (index_YMM_Usable): Rename to...
10574 (index_AVX_Usable): ... this.
10575 (HAS_AVX): Use HAS_ARCH_FEATURE.
10576 (HAS_FMA4): Likewise.
10577 (HAS_YMM_USABLE): Remove.
10578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10579 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10580 are present.
10581 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10582 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10583 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10584 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10585 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10586
0af797de
CM
105872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10588
10589 * math/libm-test.c: Support platforms without multiple rounding modes.
10590 * math/bug-nextafter.c: Support platforms without FP exceptions.
10591 * math/bug-nexttoward.c: Likewise.
10592 * math/test-fenv.c: Likewise.
10593 * math/test-misc.c: Likewise.
10594 * stdlib/bug-getcontext.c: Likewise.
10595
e39745ff
AJ
105962012-05-17 Andreas Jaeger <aj@suse.de>
10597
10598 * manual/examples/search.c (critter_cmp): Change signature to
10599 avoid warnings.
10600 * manual/string.texi (Collation Functions): Likewise.
10601
48970aba
L
106022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 * bits/types.h: Fold copyright years.
10605 * bits/typesizes.h: Likewise.
10606 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10607 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10610 * time/time.h: Likewise.
10611
bedee953
PP
106122012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10613
10614 [BZ #208]
10615 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10616 in instead of returning them. Return void.
10617 (__libc_mallinfo): Accumulate over all arenas.
10618 (__malloc_stats): Adjust for change in int_mallinfo interface.
10619
61653dfb
RM
106202012-05-16 Roland McGrath <roland@hack.frob.com>
10621
30b99d79
RM
10622 [BZ #10375]
10623 * configure.in (NM): Add AC_CHECK_TOOL for it.
10624 (libc_extra_cflags): New substituted variable.
10625 Check for -fstack-protector being used implicitly.
10626 * configure: Regenerated.
10627 * config.make.in (config-extra-cflags): New variable,
10628 gets @libc_extra_cflags@.
10629 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10630
61653dfb
RM
10631 [BZ #10375]
10632 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10633 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10634 * configure: Regenerated.
10635 * config.make.in (CPPUNDEFS): New substituted variable.
10636 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10637 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10638 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10639
661768bb
L
106402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10641
10642 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10643 (mq_attr): Use __syscall_slong_t.
10644
d4261567
L
106452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10646
10647 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10648 Check __x86_64__ instead of __WORDSIZE.
10649 (_STAT_VER_LINUX): Likewise.
10650 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10651 __syscall_ulong_t and __syscall_slong_t.
10652 (stat64): Likewise.
10653
cf3ff365
L
106542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10655
10656 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10657
76cf3e4d
L
106582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10659
10660 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10661
a637753a
L
106622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10663
10664 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10665 __syscall_ulong_t.
10666
d5e05119
L
10667 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10668 include <bits/wordsize.h>. Check __x86_64__ instead of
10669 __WORDSIZE.
10670 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10671 defined.
10672 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10673
f62ee380
L
10674 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10675 include <bits/wordsize.h>. Check __x86_64__ instead of
10676 __WORDSIZE.
10677 (user_regs_struct): Use "__extension__ unsigned long long"
10678 instead of "unsigned long" if __x86_64__ is defined.
10679 (user): Likewise. Pad after pointer field if __ILP32__ is
10680 defined.
10681
4e124ced
JM
106822012-05-16 Joseph Myers <joseph@codesourcery.com>
10683
6a3951a0
JM
10684 * configure.in (makeinfo): Require version 4.5 or later. Allow
10685 versions 5 to 9.
10686 * configure: Regenerated.
10687 * manual/install.texi (texinfo): Increase version requirement to
10688 4.5 or later.
10689 * INSTALL: Regenerated.
10690
4e124ced
JM
10691 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10692
953ca31a
L
106932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10694
10695 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10696
617aca05
L
10697 * sysdeps/x86_64/x32/ffs.c: New file.
10698
5762f7ae
L
10699 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10700 __syscall_ulong_t.
10701 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10702 defined. Use __syscall_ulong_t.
10703 (shminfo): Use __syscall_ulong_t.
10704 (shm_info): Likewise.
10705
a26b6856
L
10706 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10707 __syscall_ulong_t.
10708
cb2b9ef7
L
10709 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10710 <bits/wordsize.h>.
10711 (msgqnum_t): Use __syscall_ulong_t.
10712 (msglen_t): Likewise.
10713 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10714 __syscall_ulong_t.
10715
34683bb0
L
10716 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10717 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10718
84a68786
L
10719 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10720
48baa5f1
L
10721 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10722 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10723
180be88b
L
10724 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10725 __syscall_slong_t.
10726
5e90c8ad
L
10727 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10728 include <bits/wordsize.h>. Check __x86_64__ instead of
10729 __WORDSIZE.
10730
23dfb58b
L
10731 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10732 "unsigned long long int" if __x86_64__ is defined.
10733 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10734
ce5d54b0
L
10735 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10736 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10737 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10738
13dc9eac
L
10739 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10740 <stdint.h>.
10741 (GET_PC): Cast to uintptr_t first.
10742 (GET_FRAME): Likewise.
10743 (GET_STACK): Likewise.
10744
a7895d15
L
10745 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10746 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10751 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10752 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10753 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10754 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10755 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10756 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10757 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10758 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10759 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10760 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10761 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10762 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10764 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10766 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10767 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10768 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10769 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10772 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10773 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10774
656416c9
AS
107752012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10776
5bd66283
AS
10777 * Makerules (+depfiles): Also collect depfiles from .oS in
10778 $(extra-objs).
10779 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10780 .oS, $(libnldbl-routines)).
10781
656416c9
AS
10782 * Makerules (native-compile-mkdep-flags): Define.
10783 * sunrpc/Makefile (extra-objs): Add $(addprefix
10784 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10785 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10786 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10787 calling $(make-target-directory).
10788
a46f2169
L
107892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10790
10791 * bits/types.h (__snseconds_t): Removed.
10792 * time/time.h (struct timespec): Replace __snseconds_t with
10793 __syscall_slong_t.
10794 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10795 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10796 Likewise.
10797 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10798 (__SNSECONDS_T_TYPE): Likewise.
10799 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10800 (__SNSECONDS_T_TYPE): Likewise.
10801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10802 (__SNSECONDS_T_TYPE): Likewise.
10803
6af6528b
L
108042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10805
10806 * sysdeps/mach/hurd/bits/typesizes.h
10807 (__SYSCALL_SLONG_TYPE): New macro.
10808 (__SYSCALL_ULONG_TYPE): Likewise.
10809
de986b56
L
108102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10811
10812 * bits/types.h (__syscall_slong_t): New type.
10813 (__syscall_ulong_t): Likewise.
10814
10815 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10816 (__SYSCALL_ULONG_TYPE): Likewise.
10817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10818 (__SYSCALL_SLONG_TYPE): Likewise.
10819 (__SYSCALL_ULONG_TYPE): Likewise.
10820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10821 (__SYSCALL_SLONG_TYPE): Likewise.
10822 (__SYSCALL_ULONG_TYPE): Likewise.
10823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10824 (__SYSCALL_SLONG_TYPE): Likewise.
10825 (__SYSCALL_ULONG_TYPE): Likewise.
10826
85736dc7
L
108272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10828
10829 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10830 Add sigaltstack-offsets.sym.
10831 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10832 <sigaltstack-offsets.h>.
10833 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10834 longjmp_msg pointer.
10835 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10836 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10837 signal stack.
10838 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10839
cc03b296
JM
108402012-05-15 Joseph Myers <joseph@codesourcery.com>
10841
a9538892
JM
10842 * elf/stackguard-macros.h: Remove file.
10843 * sysdeps/generic/stackguard-macros.h: New file.
10844 * sysdeps/i386/stackguard-macros.h: Likewise.
10845 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10846 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10847 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10848 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10849 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10850 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10851 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10852 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10853 <elf/stackguard-macros.h>.
10854
cc03b296
JM
10855 [BZ #14109]
10856 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10857 __aligned__ in attribute.
10858 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10859 (gregset_t): Likewise.
10860
93171016
L
108612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10862
10863 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10864 * sysdeps/x86_64/64/Implies-after: Here. New file.
10865 * sysdeps/x86_64/x32/Implies-after: New file.
10866
d86813a0
L
108672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10868
10869 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10870 and access return value for _dl_profile_fixup. Use R10_LP to
10871 load frame size.
10872
2953ec75
L
108732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10874
10875 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10876
3b550e9e
L
108772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10878
10879 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10880 * sysdeps/x86_64/x32/sysdep.h: New file.
10881
eda41706
L
108822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10883
10884 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10885 * sysdeps/x86_64/setjmp.S: Likewise.
10886
9ea01d93
AZ
108872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10888
10889 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10890 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10891 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10892 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10893 remove unused global constant.
10894
02a91938
CM
108952012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10896
10897 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10898 include of <not-cancel.h>.
10899
6540185f
RM
109002012-05-15 Roland McGrath <roland@hack.frob.com>
10901
10902 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10903
509072a0
AJ
109042012-05-15 Jeff Law <law@redhat.com>
10905 Andreas Jaeger <aj@suse.de>
10906
10907 [BZ #13594]
10908 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10909 out from...
10910 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10911 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10912 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10913 code changing __hst_map_handle.map.
10914
ba75122d
RM
109152012-05-15 Roland McGrath <roland@hack.frob.com>
10916
10917 * configure.in (sysnames): Look for Implies-before and Implies-after
10918 files.
10919 * configure: Regenerated.
10920
890d8bd8
L
109212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10922
10923 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10924 8-byte data alignment with LP_SIZE alignment.
10925
f6ee6623
L
109262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10927
10928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10929 into R10_LP.
10930
ea2626f6
L
109312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10932
10933 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10934
085f715e
L
109352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10936
10937 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10938 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10939 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10940 Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10942
be8498fc
L
109432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10944
10945 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10946 (stackinfo_sub_sp): Likewise.
10947
70bc83b9
L
109482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10949
10950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10951 RAX_LP.
10952
9bc0b730
L
109532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10954
10955 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10956 into R*_LP.
10957
6d2850e7
L
109582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10959
10960 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10961 sizes into R*_LP.
10962
3cb84561
L
109632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10964
10965 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10966
54e2ed81
L
109672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10968
10969 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10970 into R11_LP and load __x86_64_shared_cache_size_half into
10971 R8_LP.
10972
8a17f349
L
109732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10974
10975 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10976 R8_LP.
10977
777b1eea
AZ
109782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10979
10980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10981 logb for POWER7.
10982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10983 logbf for POWER7.
10984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10985 logbl for POWER7.
10986 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10987 powerpc32/power7/fpu/s_logb.c via #include.
10988 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10989 powerpc32/power7/fpu/s_logbf.c via #include.
10990 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10991 powerpc32/power7/fpu/s_logbl.c via #include.
10992
d20d4ac2
JM
109932012-05-15 Joseph Myers <joseph@codesourcery.com>
10994
10995 * README.libm: Remove file.
10996
6cdef1ab
L
109972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10998
10999 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11000 count for x32. Use R*_LP and omit operand-size suffix.
11001
0b254d8f
L
110022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11003
11004 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11005 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11006 * sysdeps/x86_64/x32/shlib-versions: New file.
11007
ceb809dc
RM
110082012-05-14 Roland McGrath <roland@hack.frob.com>
11009
11010 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11011 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11012 Use _dl_fatal_printf instead.
11013
37f1abd4
JM
110142012-05-14 Joseph Myers <joseph@codesourcery.com>
11015
11016 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11017 set if not set by the user. Do not allow for being unset.
11018 * sysdeps/unix/sysv/linux/configure: Regenerated.
11019
11de3a33
L
110202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11021
11022 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11023 the `q' suffix from lea and replace .quad with ASM_ADDR.
11024
e02f153a
L
110252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11026
11027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11028 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11029 instead of $17.
11030 (PTR_DEMANGLE): Likewise.
11031
520ae0fd
L
110322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11033
11034 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11035 (LP_OP): Likewise.
11036 (ASM_ADDR): Likewise.
11037 (RAX_LP): Likewise.
11038 (RBP_LP): Likewise.
11039 (RBX_LP): Likewise.
11040 (RCX_LP): Likewise.
11041 (RDI_LP): Likewise.
11042 (RSI_LP): Likewise.
11043 (RSP_LP): Likewise.
11044 (R8_LP): Likewise.
11045 (R9_LP): Likewise.
11046 (R10_LP): Likewise.
11047 (R10_LP): Likewise.
11048 (R11_LP): Likewise.
11049 (R12_LP): Likewise.
11050 (R13_LP): Likewise.
11051 (R14_LP): Likewise.
11052 (R15_LP): Likewise.
11053
b985be81
L
110542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11055
11056 * sysdeps/x86_64/x32/dl-machine.h: New file.
11057
6a4888ff
AJ
110582012-05-14 Andreas Jaeger <aj@suse.de>
11059
11060 * manual/Makefile (subdir): Remove export of subdir.
11061 (all): Remove target.
11062 (.PHONY): Remove all from list.
11063 (mkinstalldirs): Remove.
11064 (.PHONY): Remove installdirs from list.
11065 ($(inst_infodir)/libc.info): Use make-target-directory.
11066 (installdirs): Remove.
11067 (subdir_%): Remove.
11068 (glibc-targets): Remove.
11069 (lib): Remove.
11070 (stubs): Remove.
11071 ($(objpfx)stubs ../po/manual.pot): Remove.
11072 ($(objpfx)stamp%): Remove.
11073 (make-target-directory): Remove.
11074 (subdir_install): Remove.
11075 (routines): Remove.
11076 (aux): Remove.
11077 (sources): Remove.
11078 (objects): Remove.
11079 (headers): Remove.
11080
11081 [BZ #13750]
11082 * manual/.gitignore: Remove, it's not needed anymore.
11083 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11084 all files in it.
11085 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11086 directory.
11087 (texis): Renamed to $(objpfx)texis.
11088 (texis-path): New, contains path to generated files.
11089 (chapters.%): Use texis-path for complete path, add extra argument
11090 libc-texinfo.sh.
11091 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11092 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11093 (summary,texi, stamp-summary): Use complete path of
11094 files. Generate files in build dir.
11095 (dir-add.texi): Build in build dir.
11096 (libm-err.texi,stamp-libm-err): Likewise.
11097 (version.texi, stamp-version): Likewise.
11098 (.%c.texi): Likewise.
11099 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11100 (mostlyclean): Remove target.
11101 (realclean): Remove target.
11102 (generated): Add new variable with contents from mostlyclean and
11103 realclean, remove entries duplicated in common-mostlyclean, add
11104 stamp-libm-err and stamp-version.
11105 (generated-dirs): Add libc directory.
11106 ($(inst_infodir)/libc.info): Install files from build dir.
11107
11108 * manual/install.texi (Configuring and compiling): Adjust since
11109 the info files are not part of the tar ball anymore.
11110
7ac77294
AJ
111112012-05-14 Andreas Jaeger <aj@suse.de>
11112
11113 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11114 variable.
11115
ffb7875d
JM
111162012-05-14 Joseph Myers <joseph@codesourcery.com>
11117
11118 [BZ #13717]
11119 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11120 to 2.2.0 where earlier.
11121 * sysdeps/unix/sysv/linux/configure: Regenerated.
11122 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11123 Remove conditional code.
11124 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11125 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11126 Remove conditional code.
11127 [!__NR_lchown]: Likewise.
11128 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11129 [__NR_lchown]: Likewise.
11130 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11131 comment referencing __ASSUME_LCHOWN_SYSCALL.
11132 * sysdeps/unix/sysv/linux/i386/sigaction.c
11133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11135 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11136 Remove conditional code.
11137 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11138 (__protocol_available): Remove #if 0 code.
11139 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11140 conditional code.
11141 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11142 * sysdeps/unix/sysv/linux/kernel-features.h
11143 (__ASSUME_GETCWD_SYSCALL): Don't define.
11144 (__ASSUME_REALTIME_SIGNALS): Likewise.
11145 (__ASSUME_PREAD_SYSCALL): Likewise.
11146 (__ASSUME_PWRITE_SYSCALL): Likewise.
11147 (__ASSUME_POLL_SYSCALL): Likewise.
11148 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11149 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11150 non-SPARC.
11151 (__ASSUME_SIOCGIFNAME): Don't define.
11152 (__ASSUME_MSG_NOSIGNAL): Likewise.
11153 (__ASSUME_SENDFILE): Define unconditionally.
11154 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11155 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11156 conditional code.
11157 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11158 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11159 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11160 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11161 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11162 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11163 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11165 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11168 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11171 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11174 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11177 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11180 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11188 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11189 Remove conditional code.
11190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11191 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11192 Remove conditional code.
11193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11194 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11195 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11196 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11197 Remove conditional code.
11198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11199 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11200 Remove conditional code.
11201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11202 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11203 Remove conditional code.
11204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11205 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11206 Remove conditional code.
11207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11208 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11209 Remove conditional code.
11210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11211 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11212 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11214 * sysdeps/unix/sysv/linux/sigaction.c
11215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11217 * sysdeps/unix/sysv/linux/sigpending.c
11218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11220 * sysdeps/unix/sysv/linux/sigprocmask.c
11221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11223 * sysdeps/unix/sysv/linux/sigsuspend.c
11224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11226 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11227 (__libc_missing_rt_sigs): Remove.
11228 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11229 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11230 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11231 Remove conditional code.
11232 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11233 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11234 return 1.
11235 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11236 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11237 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11238 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11239
1bfb7291
AJ
112402012-05-14 Andreas Jaeger <aj@suse.de>
11241
caae5a81
AJ
11242 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11243 it's not used in glibc.
11244 (__coshm1): Likewise.
11245 (__acosh1p): Likewise.
11246 (__sgn): Likewise.
11247
1bfb7291
AJ
11248 * manual/string.texi (Copying and Concatenation): Add missing
11249 variable in concat example.
11250 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11251
c044d724
L
112522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11253
144c5467 11254 [BZ #14103]
c044d724
L
11255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11256 __builtin_clzl with __builtin_clzll.
11257
2523c62b
L
112582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11259
11260 [BZ #14104]
11261 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11262 libc_freeres_ptr.
11263
d7bb4c42
LD
112642012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11265
11266 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11267 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11268 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11269 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11270
9dc4e1fb
MF
112712012-05-14 Mike Frysinger <vapier@gentoo.org>
11272
11273 * NEWS: Update ia64 info.
11274
c7df0112
AS
112752012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11276
11277 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11278 used as bcopy.
11279
dc70356c
TS
112802012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11281
11282 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11283 * sysdeps/unix/syscalls.list (dup3): Likewise.
11284 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11285 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11286
9fb1a21f
L
112872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11288
11289 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11290 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11291
4822a2a5
L
112922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11293
11294 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11295 thread pointer.
11296 (TLS_IE): Use mov/add instead of movq/addq to load thread
11297 pointer.
11298 (TLS_GD_PREFIX): New.
11299 (TLS_GD): Use it.
11300
842b81d6
DM
113012012-05-11 David S. Miller <davem@davemloft.net>
11302
11303 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11304 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11305 (_FPU_SETCW): Likewise.
11306
1cf463cd
L
113072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11310 is 32-byte aligned.
11311
60cc4a18
AS
113122012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11313
11314 [BZ #11837]
11315 * iconvdata/gb18030.c: Update tables.
11316 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11317 characters specially.
11318 (BODY for TO_LOOP): Add encoding of missing ranges.
11319
febb44a4
TS
113202012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11321
11322 [BZ #13673]
11323 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11324 * sysdeps/mach/hurd/dup3.c: Likewise.
11325 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11326 * sysdeps/powerpc/memmove.c:: Likewise.
11327
0a10fb9e
L
113282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11329
11330 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11331 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11332
df8a552f
L
113332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11334
11335 * elf/elf.h (R_X86_64_RELATIVE64): New.
11336 (R_X86_64_NUM): Updated.
11337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11338 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11339 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11340 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11341 tst-quad1pie tst-quad2pie
11342 (modules-names): Add tst-quadmod1 tst-quadmod2.
11343 ($(objpfx)tst-quad1): New dependency.
11344 ($(objpfx)tst-quad2): Likewise.
11345 ($(objpfx)tst-quad1pie): Likewise.
11346 ($(objpfx)tst-quad2pie): Likewise.
11347 * sysdeps/x86_64/tst-quad1.c: New file.
11348 * sysdeps/x86_64/tst-quad1pie.c: New file.
11349 * sysdeps/x86_64/tst-quad2.c: Likewise.
11350 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11351 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11352 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11353 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11354 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11355
f34d6f84
ST
113562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11357
f42d41d1
ST
11358 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11359 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11360 * streams/stropts.h (t_scalar_t): Define type.
11361
3c3571fc
ST
11362 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11363 (_PATH_PRESERVE): Set to "/var/lib".
11364 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11365
61f06bd3
ST
11366 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11367 instead of int.
11368
918d4d71
ST
11369 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11370 if __dir_mkfile succeeded.
11371
f34d6f84
ST
11372 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11373 checking for _hurd_dtablesize. Unlock it right after having
11374 finished _hurd_dtable allocation.
11375
10589b4a
TS
113762012-05-10 Thomas Schwinge <thomas@schwinge.name>
11377
674cdbc7
TS
11378 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11379 * sysdeps/mach/hurd/configure: Regenerated.
11380 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11381 special-casing to...
11382 * sysdeps/gnu/configure.in: ... this new file.
11383 * sysdeps/unix/sysv/linux/configure: Regenerated.
11384 * sysdeps/gnu/configure: New generated file.
11385
8e41b99f
TS
11386 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11387 for Linux: use nsec instead of usec, as well as:
11388 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11389 members of type struct timespec.
11390 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11391 New macros.
11392 (struct stat64): Likewise.
11393 (_STATBUF_ST_NSEC): New macro.
11394 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11395
10589b4a
TS
11396 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11397 __strtoul_internal rather than strtoul.
11398
63643c85
PT
113992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11400
11401 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11402 and reject them.
11403
3faebe6a
ST
114042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11405
11406 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11407 which preserves existing values.
11408 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11409
c6474b07
PT
114102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11411
11412 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11413 TIMEOUT values. Return EINVAL for NFDS values either negative or
11414 greater than FD_SETSIZE.
11415
1043890b
ST
114162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11417
11418 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11419 allocated, call __vm_protect to finish enabling the existing space, and
11420 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11421 allocate the remainder.
11422
37ed8b9b
PT
114232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11424
11425 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11426 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11427
db653660
ST
114282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11429
37ed8b9b
PT
11430 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11431 sysdeps/mach/hurd/readlink.c.
b29d4053 11432
db653660
ST
11433 * posix/tst-sysconf.c (posix_options): Only use
11434 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11435 _POSIX_SYNCHRONIZED_IO when they are defined
11436 * sysdeps/mach/hurd/bits/posix_opt.h:
11437 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11438 (_XOPEN_REALTIME): Undefine macro.
11439 (_XOPEN_REALTIME_THREADS): Undefine macro.
11440 (_XOPEN_SHM): Undefine macro.
11441 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11442 macro to -1.
11443 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11444 macro to -1.
11445 (_POSIX_ASYNC_IO): Undefine macro.
11446 (_POSIX_PRIORITIZED_IO): Undefine macro.
11447 (_POSIX_SPIN_LOCKS): Define macro to -1.
11448
ee16e894
ST
11449 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11450 SA_NODEFER, SA_RESETHAND.
11451 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11452 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11453 F_DUPFD_CLOEXEC.
11454
6103ae3b
TS
114552012-05-10 Thomas Schwinge <thomas@schwinge.name>
11456
11457 * elf/Makefile (pldd-modules): Define unconditionally.
11458
80b4e5f3
TS
114592012-05-10 Thomas Schwinge <thomas@schwinge.name>
11460
11461 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11462
edadcbd6
ST
114632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11464
11465 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11466 Return ENOENT when name is empty.
11467 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11468
80694780
TS
114692012-05-10 Thomas Schwinge <thomas@schwinge.name>
11470
1792c087
TS
11471 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11472
80694780
TS
11473 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11474
6b645f0d
ST
114752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11476
80694780
TS
11477 Fix mlock in all cases except non-readable pages.
11478 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11479 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11480
6b645f0d
ST
11481 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11482 (__mkdir): When path is `/', just fail with EEXIST.
11483 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11484
e468f8a3
TS
114852012-05-10 Thomas Schwinge <thomas@schwinge.name>
11486
11487 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11488 <sys/uio.h> (for writev).
11489 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11490 and <sys/param.h> (for MIN).
11491
a4186cff
PT
114922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11493
11494 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11495 REQUESTED_TIME. Properly set the remaining time and return EINTR
11496 if interrupted.
11497
510bbf14
TS
114982012-05-10 Thomas Schwinge <thomas@schwinge.name>
11499
11500 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11501 Depend on against $(link-rpcuserlibs).
11502
5d5722e8
ST
115032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11504
a4186cff
PT
11505 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11506 (__libc_stack_end): Do not use attribute_relro.
11507 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11508 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11509 to libthread-provided value.
a4186cff
PT
11510 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11511 attribute_relro.
5d5722e8 11512
37233df9
TS
115132012-05-10 Thomas Schwinge <thomas@schwinge.name>
11514
be971a2b
TS
11515 [BZ #3748]
11516 * bits/libc-lock.h (__libc_once_get): New macro.
11517 * sysdeps/mach/bits/libc-lock.h: Likewise.
11518 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11520 instead of using implementation details.
11521
37233df9
TS
11522 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11523 * libio/freopen.c: Likewise.
11524 * libio/freopen64.c: Likewise.
11525 * misc/syslog.c: Likewise.
11526 * nscd/connections.c: Likewise.
11527 * nscd/netgroupcache.c: Likewise.
11528 * sysdeps/posix/getcwd.c: Likewise.
11529
38de94a5
RM
115302012-05-10 Roland McGrath <roland@hack.frob.com>
11531
11532 * math/w_ilogbf.c: Add #include <limits.h>.
11533
67530489
ST
115342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11535
a4186cff 11536 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11537 path instead of returning without unlocking.
11538
67530489
ST
11539 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11540 immediate-write ioctls.
11541 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11542
5aa3a74a
TS
115432012-05-10 Thomas Schwinge <thomas@schwinge.name>
11544
18bad2ae
TS
11545 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11546 __builtin_frame_address instead of making assumptions about the
11547 location of the return address relative to DATA. Force early load of
11548 the return address.
11549 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11550 __builtin_frame_address.
11551
5aa3a74a
TS
11552 dup3 for GNU Hurd.
11553 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11554 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11555 implement dup3 and do some further code clean-ups.
11556 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11557 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11558
ecd0de9a
ST
115592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11560
cd9fa985
ST
11561 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11562
a4186cff
PT
11563 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11564 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11565 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11566 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11567 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11568 d->port.lock.
802ca5a5 11569
a4186cff
PT
11570 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11571 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11572 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11573
bcf55240
TS
115742012-05-10 Thomas Schwinge <thomas@schwinge.name>
11575
6960eb42
TS
11576 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11577 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11578 definitions.
11579
eb43375f
TS
11580 accept4 for GNU Hurd.
11581 * include/sys/socket.h (__libc_accept4): New prototype.
11582 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11583 to implement __libc_accept4.
11584 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11585 __libc_accept4.
11586 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11587
bcf55240
TS
11588 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11589 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11590 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11591 signal-defines.sym.
11592
6178c55b
ST
115932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11594
a4186cff 11595 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11596
6f080c2f
TS
115972012-05-10 Thomas Schwinge <thomas@schwinge.name>
11598
11599 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11600 assertion on O_CLOEXEC flag.
11601 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11602 * hurd/intern-fd.c: Likewise.
11603 * hurd/port2fd.c: Likewise.
11604
bcfe3a54
ST
116052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11606
11607 [BZ #3906]
11608 * bits/in.h (IPV6_PKTINFO): Define new macro.
11609 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11610
89c9aa49
AZ
116112012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612
11613 [BZ #13954]
11614 [BZ #13955]
11615 [BZ #13956]
11616 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11618 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11619 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11620 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11621 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11622 * math/libm-test.inc (logb_test) : Additional logb tests.
11623
021db4be
AJ
116242012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11625 Andreas Jaeger <aj@suse.de>
11626
11627 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11628 * configure: Regenerated.
11629 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11630 * config.make.in (link-obsolete-rpc): New substituted variable.
11631 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11632 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11633 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11634 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11635 so that libc.a contains the symbols.
11636 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11637 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11638 * sunrpc/auth_none.c: Likewise.
11639 * sunrpc/auth_unix.c: Likewise.
11640 * sunrpc/authdes_prot.c: Likewise.
11641 * sunrpc/authuxprot.c: Likewise.
11642 * sunrpc/clnt_gen.c: Likewise.
11643 * sunrpc/clnt_perr.c: Likewise.
11644 * sunrpc/clnt_raw.c: Likewise.
11645 * sunrpc/clnt_simp.c: Likewise.
11646 * sunrpc/clnt_tcp.c: Likewise.
11647 * sunrpc/clnt_udp.c: Likewise.
11648 * sunrpc/clnt_unix.c: Likewise.
11649 * sunrpc/des_crypt.c: Likewise.
11650 * sunrpc/des_soft.c: Likewise.
11651 * sunrpc/get_myaddr.c: Likewise.
11652 * sunrpc/key_call.c: Likewise.
11653 * sunrpc/key_prot.c: Likewise.
11654 * sunrpc/netname.c: Likewise.
11655 * sunrpc/pm_getmaps.c: Likewise.
11656 * sunrpc/pm_getport.c: Likewise.
11657 * sunrpc/pmap_clnt.c: Likewise.
11658 * sunrpc/pmap_prot.c: Likewise.
11659 * sunrpc/pmap_prot2.c: Likewise.
11660 * sunrpc/pmap_rmt.c: Likewise.
11661 * sunrpc/publickey.c: Likewise.
11662 * sunrpc/rpc_cmsg.c: Likewise.
11663 * sunrpc/rpc_common.c: Likewise.
11664 * sunrpc/rpc_dtable.c: Likewise.
11665 * sunrpc/rpc_prot.c: Likewise.
11666 * sunrpc/rpc_thread.c: Likewise.
11667 * sunrpc/rtime.c: Likewise.
11668 * sunrpc/svc.c: Likewise.
11669 * sunrpc/svc_auth.c: Likewise.
11670 * sunrpc/svc_raw.c: Likewise.
11671 * sunrpc/svc_run.c: Likewise.
11672 * sunrpc/svc_tcp.c: Likewise.
11673 * sunrpc/svc_udp.c: Likewise.
11674 * sunrpc/svc_unix.c: Likewise.
11675 * sunrpc/svcauth_des.c: Likewise.
11676 * sunrpc/xcrypt.c: Likewise.
11677 * sunrpc/xdr.c: Likewise.
11678 * sunrpc/xdr_array.c: Likewise.
11679 * sunrpc/xdr_float.c: Likewise.
11680 * sunrpc/xdr_intXX_t.c: Likewise.
11681 * sunrpc/xdr_mem.c: Likewise.
11682 * sunrpc/xdr_rec.c: Likewise.
11683 * sunrpc/xdr_ref.c: Likewise.
11684 * sunrpc/xdr_sizeof.c: Likewise.
11685 * sunrpc/xdr_stdio.c: Likewise.
11686
b5c086a2
RM
116872012-05-10 Roland McGrath <roland@hack.frob.com>
11688
11689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11690 change. Update copyright years.
11691
6d74dd09
JM
116922012-05-10 Joseph Myers <joseph@codesourcery.com>
11693
11694 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11695
28e72501
MK
116962012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11697 Joseph Myers <joseph@codesourcery.com>
11698 Paul Pluzhnikov <ppluzhnikov@google.com>
11699
11700 [BZ #14012]
11701 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11702 requiring rpcgen.
11703 [cross-compiling] (extra-libs): Likewise.
11704 [cross-compiling] (extra-libs-others): Likewise.
11705 [cross-compiling] (librpcsvc-routines): Likewise.
11706 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11707 [cross-compiling] (omit-deps): Likewise.
11708 (sunrpc-CPPFLAGS): New variable.
11709 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11710 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11711 (cross-rpcgen-objs): New variable.
11712 (extra-objs): Append $(cross-rpcgen-objs).
11713 ($(cross-rpcgen-objs)): New rule.
11714 ($(objpfx)cross-rpcgen): Likewise.
11715 (rpcgen-cmd): Define to use $(built-program-file). Expand
11716 comment.
11717 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11718 ($(objpfx)x%.stmp): Likewise.
11719 * sunrpc/proto.h [IS_IN_build] (_): Define.
11720 [IS_IN_build] (_libc_intl_domainname): Likewise.
11721
c8c59454
L
117222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11723
11724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11725 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11726 and R_X86_64_TPOFF64.
11727
6f27cd16
JM
117282012-05-10 Joseph Myers <joseph@codesourcery.com>
11729
11730 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11731 sysdeps/unix/sysv/syscalls.list.
11732 (stime): Likewise.
11733 (utime): Likewise.
11734 * sysdeps/unix/sysv/syscalls.list: Remove file.
11735
02467e1c
PE
117362012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11737
11738 [BZ #3440]
11739 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11740 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11741 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11742 (__LC_IDENTIFICATION): Make these macros useful in #if
11743 expressions, as required by C99.
11744
da392631
AS
117452012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11746
11747 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11748 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11749 after this.
11750
8115f29b
L
117512012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11752
11753 * stdlib/longlong.h: Updated from GCC.
11754
bdd74070
AJ
117552012-05-09 Andreas Jaeger <aj@suse.de>
11756
edfe0dbe
AJ
11757 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11758 default is first entry.
11759 (run_mode): Set type.
11760 (main): Remove informal message about syslog.
11761 (options): Fix typo.
11762
bcfe3a54
ST
11763 [BZ #14053]
11764 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11765 to asm.
bcfe3a54
ST
11766 (lrint): Likewise.
11767 (llrintf): Likewise.
11768 (llrint): Likewise.
11769 (rint): Likewise.
11770 (rintf): Likewise.
11771 (nearbyint): Likewise.
11772 (nearbyintf): Likewise.
bdd74070 11773
91d8d69e
AJ
117742012-05-09 Andreas Jaeger <aj@suse.de>
11775 Pedro Alves <palves@redhat.com>
11776
11777 * nscd/nscd.c (run_mode): Use enum.
11778 (main): Cleanup coding style issue.
11779
bb90b80b
AJ
117802012-05-09 Alexandre Oliva <aoliva@redhat.com>
11781 Andreas Jaeger <aj@suse.de>
11782
bcfe3a54
ST
11783 * nscd/nscd.c (go_background): Replaced with...
11784 (run_mode): ... this.
bb90b80b 11785 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11786 (options): Add -F --foreground.
11787 (main): Implement it.
11788 (parse_opt): Parse it.
bb90b80b 11789
1a4b75a1
AJ
117902012-05-09 Andreas Jaeger <aj@suse.de>
11791
11792 [BZ #14083]
11793 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11794 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11795 -Wconversion warning.
11796 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11797 Likewise.
11798
b1cc2472
JM
117992012-05-09 Joseph Myers <joseph@codesourcery.com>
11800
11801 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11802 == 0.
11803 (LC_ALL): Use macro-int-constant.
11804 (LC_COLLATE): Likewise.
11805 (LC_CTYPE): Likewise.
11806 (LC_MESSAGES): Likewise.
11807 (LC_MONETARY): Likewise.
11808 (LC_NUMERIC): Likewise.
11809 (LC_TIME): Likewise.
11810 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11811 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11813 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11814 Specify type.
11815 [C99-based standards] (float_t): Expect type.
11816 [C99-based standards] (double_t): Expect type.
11817 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11818 type.
11819 [C99-based standards] (HUGE_VALL): Likewise.
11820 [C99-based standards] (INFINITY): Likewise.
11821 [C99-based standards] (NAN): Likewise.
11822 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11823 [C99-based standards] (FP_NAN): Likewise.
11824 [C99-based standards] (FP_NORMAL): Likewise.
11825 [C99-based standards] (FP_SUBNORMAL): Likewise.
11826 [C99-based standards] (FP_ZERO): Likewise.
11827 [C99-based standards] (FP_FAST_FMA): Use
11828 optional-macro-int-constant. Specify type. Require == 1.
11829 [C99-based standards] (FP_FAST_FMAF): Likewise.
11830 [C99-based standards] (FP_FAST_FMAL): Likewise.
11831 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11832 [C99-based standards] (FP_ILOGBNAN): Likewise.
11833 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11834 Specify type.
11835 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11836 [C99-based standards] (math_errhandling): Specify type.
11837 [ISO99 || ISO11] (signgam): Do not allow.
11838 [non-C99-based standards] (copysignf): Do not allow.
11839 [non-C99-based standards] (exp2f): Likewise.
11840 [non-C99-based standards] (log2f): Likewise.
11841 [non-C99-based standards] (modff): Allow.
11842 [non-C99-based standards] (erff): Do not allow.
11843 [non-C99-based standards] (erfcf): Likewise.
11844 [non-C99-based standards] (gammaf): Likewise.
11845 [non-C99-based standards] (hypotf): Likewise.
11846 [non-C99-based standards] (j0f): Likewise.
11847 [non-C99-based standards] (j1f): Likewise.
11848 [non-C99-based standards] (jnf): Likewise.
11849 [non-C99-based standards] (lgammaf): Likewise.
11850 [non-C99-based standards] (tgammaf): Likewise.
11851 [non-C99-based standards] (y0f): Likewise.
11852 [non-C99-based standards] (y1f): Likewise.
11853 [non-C99-based standards] (ynf): Likewise.
11854 [non-C99-based standards] (isnanf): Likewise.
11855 [non-C99-based standards] (acoshf): Likewise.
11856 [non-C99-based standards] (asinhf): Likewise.
11857 [non-C99-based standards] (atanhf): Likewise.
11858 [non-C99-based standards] (cbrtf): Likewise.
11859 [non-C99-based standards] (expm1f): Likewise.
11860 [non-C99-based standards] (ilogbf): Likewise.
11861 [non-C99-based standards] (log1pf): Likewise.
11862 [non-C99-based standards] (logbf): Likewise.
11863 [non-C99-based standards] (nextafterf): Likewise.
11864 [non-C99-based standards] (remainderf): Likewise.
11865 [non-C99-based standards] (rintf): Likewise.
11866 [non-C99-based standards] (scalbf): Likewise.
11867 [non-C99-based standards] (copysignl): Likewise.
11868 [non-C99-based standards] (exp2l): Likewise.
11869 [non-C99-based standards] (log2l): Likewise.
11870 [non-C99-based standards] (modfl): Allow.
11871 [non-C99-based standards] (erfl): Do not allow.
11872 [non-C99-based standards] (erfcl): Likewise.
11873 [non-C99-based standards] (gammal): Likewise.
11874 [non-C99-based standards] (hypotl): Likewise.
11875 [non-C99-based standards] (j0l): Likewise.
11876 [non-C99-based standards] (j1l): Likewise.
11877 [non-C99-based standards] (jnl): Likewise.
11878 [non-C99-based standards] (lgammal): Likewise.
11879 [non-C99-based standards] (tgammal): Likewise.
11880 [non-C99-based standards] (y0l): Likewise.
11881 [non-C99-based standards] (y1l): Likewise.
11882 [non-C99-based standards] (ynl): Likewise.
11883 [non-C99-based standards] (isnanl): Likewise.
11884 [non-C99-based standards] (acoshl): Likewise.
11885 [non-C99-based standards] (asinhl): Likewise.
11886 [non-C99-based standards] (atanhl): Likewise.
11887 [non-C99-based standards] (cbrtl): Likewise.
11888 [non-C99-based standards] (expm1l): Likewise.
11889 [non-C99-based standards] (ilogbl): Likewise.
11890 [non-C99-based standards] (log1pl): Likewise.
11891 [non-C99-based standards] (logbl): Likewise.
11892 [non-C99-based standards] (nextafterl): Likewise.
11893 [non-C99-based standards] (remainderl): Likewise.
11894 [non-C99-based standards] (rintl): Likewise.
11895 [non-C99-based standards] (scalbl): Likewise.
11896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11897 [non-C99-based standards] (FP_*): Do not allow.
11898 [C99-based standards] (FP_*): Change to
11899 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11900 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11901 allow.
11902 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11903 (SIG_ERR): Likewise.
11904 [X/Open-based standards] (SIG_HOLD): Likewise.
11905 (SIG_IGN): Likewise.
11906 (SIGABRT): Use macro-int-constant. Specify type. Require
11907 positive value.
11908 (SIGFPE): Likewise.
11909 (SIGILL): Likewise.
11910 (SIGINT): Likewise.
11911 (SIGSEGV): Likewise.
11912 (SIGTER): Likewise.
11913 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11914 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11915 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11916 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11917 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11918 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11919 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11920 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11921 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11922 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11923 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11924 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11925 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11926 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11927 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11928 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11929 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11930 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11931 [X/Open-based standards] (SIGTRAP): Likewise.
11932 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11933 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11934 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11935 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11936 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11937 allow.
11938
b9f1922d
IW
119392012-05-08 Ian Wienand <ianw@vmware.com>
11940
11941 [BZ #14080]
11942 * time/tzset.c (__tzset_parse_tz): Update default rules for
11943 daylight time changes in the Energy Policy Act of 2005.
11944
1db86e88
AJ
119452012-05-09 Andreas Jaeger <aj@suse.de>
11946
11947 [BZ #13983]
11948 * elf/ldconfig.c (parse_conf): Change string to make clear that
11949 ldconfig only issued a warning if ld.so.conf does not exist.
11950
dee4a4e3
DM
119512012-05-08 David S. Miller <davem@davemloft.net>
11952
ee0db190
DM
11953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11954 movxtod instead of popping the value on the stack.
11955
dee4a4e3
DM
11956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11957
6a43ec98
CD
119582012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11959
11960 * config.h.in: Add HAVE_ARM_PCS_VFP.
11961
05c2c961
RMG
119622012-05-08 Roland Mc Grath <roland@hack.frob.com>
11963
bcfe3a54
ST
11964 [BZ #13979]
11965 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11966 checking but the checks are disabled for any reason.
05c2c961 11967
4b30f61a
L
119682012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11969
11970 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11971 and ELF64_R_TYPE with ELFW(R_TYPE).
11972
eee2bc67
JM
119732012-05-08 Joseph Myers <joseph@codesourcery.com>
11974
7ea5391a
JM
11975 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11976 (ulimit): Likewise.
11977
eee2bc67
JM
11978 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11979 (settimeofday): Likewise.
11980
abb66a67
MF
119812012-05-08 Mike Frysinger <vapier@gentoo.org>
11982
11983 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11984 a struct th_u2 inside the union, and move tu_block/tu_code into
11985 a new th_u3 union of tu_block/tu_code inside of that. Move
11986 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11987 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11988 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11989 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11990 (th_stuff): Change to th_u1.tu_stuff.
11991 (th_data): Define.
11992 (th_msg): Change to th_u1.th_u2.tu_data.
11993
7f18b530
DM
119942012-05-07 David S. Miller <davem@davemloft.net>
11995
05760585
DM
11996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11997
7f18b530
DM
11998 [BZ #14074]
11999 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12000 (SETUP_PIC_REG): Use it.
12001 (SETUP_PIC_REG_LEAF): Use it.
12002
495fd99f
JM
120032012-05-07 Joseph Myers <joseph@codesourcery.com>
12004
12005 [BZ #13885]
12006 [BZ #13923]
12007 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12008 USE_AS_EXPM1L.
12009 (EXPL_FINITE): Likewise.
12010 (FLDLOG): Likewise.
12011 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12012 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12013 e_expl.S.
12014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12015 USE_AS_EXPM1L.
12016 (EXPL_FINITE): Likewise.
12017 (FLDLOG): Likewise.
12018 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12019 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12020 e_expl.S.
12021 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12022 test of -max_value argument for long double.
12023 * sysdeps/i386/fpu/libm-test-ulps: Update.
12024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12025
6693d694
DM
120262012-05-06 David S. Miller <davem@davemloft.net>
12027
12028 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12029 quad soft-float symbols whose references which are compiler
12030 generated.
12031 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12032
6c23e11c
JM
120332012-05-06 Joseph Myers <joseph@codesourcery.com>
12034
d8b82cad
JM
12035 [BZ #13884]
12036 [BZ #13914]
12037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12038 USE_AS_EXP10L.
12039 (EXPL_FINITE): Likewise.
12040 (FLDLOG): Likewise.
12041 (c0): Likewise.
12042 (c1): Likewise.
12043 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12044 Adjust comments for base varying.
12045 (__expl_finite): Change alias to EXPL_FINITE.
12046 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12047 e_expl.S.
12048 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12049 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12050 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12051 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12052 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12053 USE_AS_EXP10L.
12054 (EXPL_FINITE): Likewise.
12055 (FLDLOG): Likewise.
12056 (c0): Likewise.
12057 (c1): Likewise.
12058 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12059 Adjust comments for base varying.
12060 (__expl_finite): Change alias to EXPL_FINITE.
12061 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12062 tests for bugs.
12063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12064
6c23e11c
JM
12065 [BZ #14064]
12066 * math/libm-test.inc (check_float_internal): Correct ulp
12067 calculation for subnormal expected results.
12068
29ba805c
AJ
120692012-05-06 Andreas Jaeger <aj@suse.de>
12070
12071 * Makeconfig (+math-flags): New, set to -frounding-math.
12072 (+cflags): Add +math-flags so that all of glibc gets compiled with
12073 it.
12074
12075 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12076
7b17aeda
JM
120772012-05-05 Joseph Myers <joseph@codesourcery.com>
12078
5779f134
JM
12079 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12080 Disable one test.
12081
41498f4d
JM
12082 [BZ #13787]
12083 [BZ #13922]
12084 [BZ #14036]
12085 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12086 (__ieee754_expl): Allow for and saturate large arguments.
12087 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12088 (u_threshold): Likewise.
12089 (__exp): Call __ieee754_exp before checking for overflow and
12090 underflow.
12091 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12092 (u_threshold): Likewise.
12093 (__expf): Call __ieee754_expf before checking for overflow and
12094 underflow.
12095 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12096 (u_threshold): Likewise.
12097 (__expl): Call __ieee754_expl before checking for overflow and
12098 underflow.
12099 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12100 (__ieee754_expl): Allow for and saturate large arguments.
12101 * math/libm-test.inc (exp_test): Add another test. Do not allow
12102 missing overflow exception on overflow.
12103 (expm1_test): Do not allow missing overflow exception on overflow.
12104
6698b8bf
JM
12105 * sysdeps/i386/fpu/e_expl.c: Move to ...
12106 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12107 rather than using inline asm.
12108 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12109 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12110 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12111
7b17aeda
JM
12112 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12113 (nice): Likewise.
12114 (poll): Likewise.
12115 (signal): Likewise.
12116 (time): Likewise.
12117 (times): Likewise.
12118
f7c85819
JM
121192012-05-04 Joseph Myers <joseph@codesourcery.com>
12120
12121 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12122 sysdeps/unix/common/syscalls.list.
12123 (fchmod): Likewise.
12124 (fchown): Likewise.
12125 (ftruncate): Likewise.
12126 (getrusage): Likewise.
12127 (gettimeofday): Likewise.
12128 (setpgid): Likewise.
12129 (setregid): Likewise.
12130 (setreuid): Likewise.
12131 (sigaction): Likewise.
12132 (truncate): Likewise.
12133 (vhangup): Likewise.
12134 * sysdeps/unix/common/syscalls.list: Remove file.
12135 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12136 * sysdeps/unix/sysv/linux/Implies: Likewise.
12137
336270d0
L
121382012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12139
12140 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12142 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12143 Moved to ...
12144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12145 Here.
12146 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12147 to ...
12148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12149 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12150 to ...
12151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12152 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12153 to ...
12154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12155 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12156 to ...
12157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12158 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12159 to ...
12160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12161 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12162 to ...
12163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12164 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12165 to ...
12166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12167 Here.
12168 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12169 to ...
12170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12171 Here.
12172 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12173 to ...
12174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12175 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12176 Moved to ...
12177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12178 Here.
12179 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12180 to ...
12181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12182
d128e450
JM
121832012-05-04 Joseph Myers <joseph@codesourcery.com>
12184
fa8ee516
JM
12185 * sysdeps/unix/common/bits/dirent.h: Remove file.
12186 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12187
d128e450
JM
12188 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12189 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12190 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12191 * sysdeps/unix/bsd/isatty.c: Likewise.
12192 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12193 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12194 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12195
ff8faaf0 121962012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12197
62881be4 12198 [BZ #13563]
31dc8730
AZ
12199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12200 long double comparison inaccuracies.
12201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12203
6fef930c
AS
122042012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12205
12206 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12208
8f203e6c
JM
122092012-05-04 Joseph Myers <joseph@codesourcery.com>
12210
12211 [BZ #14049]
12212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12213 nonzero digits before rounding a hex value.
12214 * stdlib/tst-strtod.c (tests): Add another test.
12215
5197d9c2
AK
122162012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12217
12218 * sysdeps/s390/fpu/libm-test-ulps: Update.
12219
f0c1dedf
AJ
122202012-05-03 Andreas Jaeger <aj@suse.de>
12221
12222 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12223 does not get optimized out.
12224 (malloc_opt_barrier): New.
12225
a65ef2ae 122262012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12227 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12228
2b942cb7 12229 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12230 intermediate file deletion.
2b942cb7 12231 (generated): Add .symlist files.
a65ef2ae 12232
54b71e02
JM
122332012-05-03 Joseph Myers <joseph@codesourcery.com>
12234
12235 [BZ #13775]
12236 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12237 Redirect under this condition.
12238 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12239 [__USE_GNU] (__dprintf_chk): Not under this condition.
12240 [__USE_GNU] (__vdprintf_chk): Likewise.
12241 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12242 under this condition.
12243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12244 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12245 [__USE_XOPEN2K8] (vdprintf): Likewise.
12246 [__USE_GNU] (__dprintf_chk): Not under this condition.
12247 [__USE_GNU] (__vdprintf_chk): Likewise.
12248 [__USE_GNU] (dprintf): Likewise.
12249 [__USE_GNU] (vdprintf): Likewise.
12250
d3dfcc41
RM
122512012-05-03 Roland McGrath <roland@hack.frob.com>
12252
12253 * elf/Makefile (common-generated): Set this instead of generated for
12254 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12255 $(all-built-dso)-derived lists.
12256
7ac30cc5
AJ
122572012-05-03 Andreas Jaeger <aj@suse.de>
12258
0c51e550
AJ
12259 * sysdeps/i386/fpu/libm-test-ulps: Update.
12260
7ac30cc5
AJ
12261 * FAQ: Removed.
12262 * FAQ.in: Likewise.
12263 * scripts/gen-FAQ.pl: Likewise.
12264 * manual/install.texi (Installation): Point to online location of
12265 FAQ.
12266 * Makefile (files-for-dist): Remove FAQ.
12267 (FAQ): Remove.
12268
d4c2917f
AM
122692012-05-02 Allan McRae <allan@archlinux.org>
12270
12271 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12272 (LDFLAGS-reldepmod5.so): Likewise.
12273 (LDFLAGS-reldep6mod1.so): Likewise.
12274 (LDFLAGS-reldep6mod4.so): Likewise.
12275 (LDFLAGS-reldep8mod3.so): Likewise.
12276 (LDFLAGS-unload4mod1.so): Likewise.
12277 (LDFLAGS-unload4mod2.so): Likewise.
12278 (LDFLAGS-tst-initorder): Likewise.
12279 (LDFLAGS-tst-initordera2.so): Likewise.
12280 (LDFLAGS-tst-initordera3.so): Likewise.
12281 (LDFLAGS-tst-initordera4.so): Likewise.
12282 (LDFLAGS-tst-initorderb2.so): Likewise.
12283 (LDFLAGS-noload): Likewise.
12284 (LDFLAGS-next): Likewise.
12285 (LDFLAGS-order2mod1.so): Likewise.
12286 (LDFLAGS-order2mod2.so): Likewise.
12287 (LDFLAGS-tst-initorder2): Likewise.
12288 (LDFLAGS-tst-initorder2a.so): Likewise.
12289 (LDFLAGS-tst-initorder2b.so): Likewise.
12290 (LDFLAGS-tst-initorder2c.so): Likewise.
12291 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12292
d77f993f
DM
122932012-05-02 David S. Miller <davem@davemloft.net>
12294
12295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12296
171a70b4
PP
122972012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12298
12299 [BZ #14055]
12300 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12301
0be196ad
AJ
123022012-05-02 Andreas Jaeger <aj@suse.de>
12303
12304 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12305 since we manipulate rounding mode.
12306 (CPPFLAGS-test-idouble.c): Likewise.
12307 (CPPFLAGS-test-ifloat.c): Likewise.
12308 (CFLAGS-test-ldouble.c): Likewise.
12309 (CFLAGS-test-double.c): Likewise.
12310 (CFLAGS-test-float.c): Likewise.
12311 (CFLAGS-test-misc.c): Likewise.
12312 (CFLAGS-test-test-fenv.c): Likewise.
12313
4f9d04aa
AZ
123142012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12315
2b942cb7
RM
12316 [BZ #2550]
12317 [BZ #2570]
12318 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12319 comparisons to determine direction to adjust input.
4f9d04aa 12320
82a79e7d
RM
123212012-05-01 Roland McGrath <roland@hack.frob.com>
12322
f5a01ca9
RM
12323 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12324 output to the target.
12325
90fe4186
RM
12326 * scripts/localplt.awk: New file.
12327 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12328 (check-localplt-CFLAGS): Variable removed.
12329 ($(all-built-dso:=.jmprel)): New static pattern rule.
12330 (generated): Add those targets.
12331 (localplt-built-dso): New variable.
12332 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12333
12334 * elf/check-localplt.c: File removed.
12335
82397ed6
RM
12336 * scripts/check-execstack.awk: New file.
12337 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12338 (check-execstack-CFLAGS): Variable removed.
12339 ($(objpfx)check-execstack.h): Target removed.
12340 ($(objpfx)execstack-default): New target.
12341 (generated): Add that instead of check-execstack.h.
12342 ($(all-built-dso:=.phdr)): New static pattern rule.
12343 (generated): Add those targets.
12344 * elf/check-execstack.c: File removed.
12345
82a79e7d
RM
12346 * scripts/check-textrel.awk: New file.
12347 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12348 (check-textrel-CFLAGS): Variable removed.
12349 (all-built-dso): Use := to define.o
12350 ($(all-built-dso:=.dyn)): New static pattern rule.
12351 (generated): Add those targets.
12352 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12353 * config.make.in (READELF): New substituted variable.
12354 * elf/check-textrel.c: File removed.
12355
62fde54f 123562012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12357
615605c9
JM
12358 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12359 allow.
12360 * conform/data/ctype.h-data [C99-based standards] (isblank):
12361 Expect function.
12362 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12363 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12365 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12366 Specify type. Require positive value.
12367 (EILSEQ): Likewise.
12368 (ERANGE): Likewise.
12369 [ISO || POSIX] (EILSEQ): Do not expect.
12370 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12371 Specify type. Require positive value.
12372 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12373 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12374 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12375 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12376 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12377 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12380 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12383 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12384 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12385 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12386 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12387 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12388 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12390 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12391 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12392 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12393 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12394 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12395 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12396 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12397 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12398 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12399 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12400 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12401 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12402 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12403 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12404 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12405 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12406 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12407 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12408 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12409 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12410 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12411 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12412 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12413 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12414 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12415 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12416 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12417 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12418 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12419 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12420 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12421 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12422 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12423 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12424 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12425 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12426 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12427 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12428 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12429 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12430 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12431 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12432 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12433 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12434 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12435 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12436 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12437 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12438 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12439 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12440 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12441 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12442 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12443 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12444 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12445 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12446 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12447 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12448 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12449 Require >= 2.
12450 (FLT_ROUNDS): Expect as macro, not constant.
12451 (FLT_MANT_DIG): Use macro-int-constant.
12452 (DBL_MANT_DIG): Likewise.
12453 (LDBL_MANT_DIG): Likewise.
12454 (FLT_DIG): Likewise.
12455 (DBL_DIG): Likewise.
12456 (LDBL_DIG): Likewise.
12457 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12458 (DBL_MIN_EXP): Likewise.
12459 (LDBL_MIN_EXP): Likewise.
12460 (FLT_MAX_EXP): Use macro-int-constant.
12461 (DBL_MAX_EXP): Likewise.
12462 (LDBL_MAX_EXP): Likewise.
12463 (FLT_MAX_10_EXP): Likewise.
12464 (DBL_MAX_10_EXP): Likewise.
12465 (LDBL_MAX_10_EXP): Likewise.
12466 (FLT_MAX): Use macro-constant.
12467 (DBL_MAX): Likewise.
12468 (LDBL_MAX): Likewise.
12469 (FLT_EPSILON): Use macro-constant. Give upper bound.
12470 (DBL_EPSILON): Likewise.
12471 (LDBL_EPSILON): Likewise.
12472 (FLT_MIN): Likewise.
12473 (DBL_MIN): Likewise.
12474 (LDBL_MIN): Likewise.
12475 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12476 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12477 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12478 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12479 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12480 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12481 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12482 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12483 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12484 [ISO11] (FLT_TRUE_MIN): Likewise.
12485 [ISO11] (LDBL_TRUE_MIN): Likewise.
12486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12487 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12488 (SCHAR_MIN): Use macro-int-constant. Specify type.
12489 (SCHAR_MAX): Likewise.
12490 (UCHAR_MAX): Likewise.
12491 (CHAR_MIN): Likewise.
12492 (CHAR_MAX): Likewise.
12493 (MB_LEN_MAX): Use macro-int-constant.
12494 (SHRT_MIN): Use macro-int-constant. Specify type.
12495 (SHRT_MAX): Likewise.
12496 (USHRT_MAX): Likewise.
12497 (INT_MAX): Likewise.
12498 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12499 bound negative.
12500 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12501 bound with "U".
12502 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12503 bound with "L".
12504 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12505 bound negative. Suffix upper bound with "L".
12506 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12507 bound with "UL".
12508 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12509 Specify type.
12510 [C99-based standards] (LLONG_MAX): Likewise.
12511 [C99-based standards] (ULLONG_MAX): Likewise.
12512 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12513 == 0.
12514 [ISO11] (max_align_t): Require type.
12515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12516
c9140a62
JM
12517 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12518 from $CFLAGS, without defining away __attribute__ calls.
12519 (checknamespace): Use $CFLAGS_namespace.
12520
9af0bf29
JM
12521 * conform/conformtest.pl (@keywords): Only include C99 keywords
12522 for standards based on C99 or C11.
12523
343222a2
JM
12524 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12525 Disable tests.
12526 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12527 UNIX98]: Likewise.
12528
661f8cf0
JM
12529 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12530 usability of symbols in #if.
12531
ee74b9cb
JM
12532 * conform/conformtest.pl: If macro or constant types start
12533 "promoted:", expect the symbol to be of the following type
12534 promoted by the integer promotions.
62fde54f 12535
aafc49b3
JM
12536 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12537 in one place. Also handle "macro-constant".
12538
fefdf574
JM
12539 * conform/conformtest.pl: Only accept expected macro values with
12540 "==". Parse all "macro" lines in one place.
12541 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12542
f2d922fe
JM
12543 * conform/conformtest.pl: Handle braced types on "constant" lines
12544 instead of handling "typed-constant".
12545 * conform/data/signal.h-data: Use "constant" instead of
12546 "typed-constant".
12547
d22956c9
JM
12548 * conform/conformtest.pl: Handle "optional-" at start of lines in
12549 one place rather than duplicating several cases. Handle each
12550 format of "macro" line with initial "optional-".
12551
028e2e38
JM
12552 * conform/conformtest.pl: Only accept expected constant or
12553 optional-constant values with "==". Parse all "constant" lines in
12554 one place. Parse all "optional-constant" lines in one place.
12555 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12556 * conform/data/fmtmsg.h-data: Likewise.
12557 * conform/data/netinet/in.h-data: Likewise.
12558 * conform/data/tar.h-data: Likewise.
12559 * conform/data/limits.h-data: Use "==" form on "constant" and
12560 "optional-constant" lines.
12561
1b8f2850
JM
12562 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12563 Use -std=c99 for XOPEN2K.
12564 (@knownproblems): Remove.
12565 (newtoken): Don't check %isknown.
12566
a05a144b
JM
12567 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12568 Do not expect macro.
12569 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12570 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12571 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12572 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12573 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12574 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12575 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12576 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12577 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12580 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12581 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12582 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12583 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12584 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12585 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12586 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12587 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12588 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12589 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12590 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12591 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12592 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12599 [XPG3] (acosh): Likewise.
12600 [XPG3] (asinh): Likewise.
12601 [XPG3] (atanh): Likewise.
12602 [XPG3] (cbrt): Likewise.
12603 [XPG3] (expm1): Likewise.
12604 [XPG3] (ilogb): Likewise.
12605 [XPG3] (log1p): Likewise.
12606 [XPG3] (logb): Likewise.
12607 [XPG3] (nextafter): Likewise.
12608 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12609 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12610 [XPG3] (remainder): Likewise.
12611 [XPG3] (rint): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12613 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12614 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12615 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12616 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12617 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12618 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12619 [UNIX98 || XOPEN2K] (scalb): Expect.
12620 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12621 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12622 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12623 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12624 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12625 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12626 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12627 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12628 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12629 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12630 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12631 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12632 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12633 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12634 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12635 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12636 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12637 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12638 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12639 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12640 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12641 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12642 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12643 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12644 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12645 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12646 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12647 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12648 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12649 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12650 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12651 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12652 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12653 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12654 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12655 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12656 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12657 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12658 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12659 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12660 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12661 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12662 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12663 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12664 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12665 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12666 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12667 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12668 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12669 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12670 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12671 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12672 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12673 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12674 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12675 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12676 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12677 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12678 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12679 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12680 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12681 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12682 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12683 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12684 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12685 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12686 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12687 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12688 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12689 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12690 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12691 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12692 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12693 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12694 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12695 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12696 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12697 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12698 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12699 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12700 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12701 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12702 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12703 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12704 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12705 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12706 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12707 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12708 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12709 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12710 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12711 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12712 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12713 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12714 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12715 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12716 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12717 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12718 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12719 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12720 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12721 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12722 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12723 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12724 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12725 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12726 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12727 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12728 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12729 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12730 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12731 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12732 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12733 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12734 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12735 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12736 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12737 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12738 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12739 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12740 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12741 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12742 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12743 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12744 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12745 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12746 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12747 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12748 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12749 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12750 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12751 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12752 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12753 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12754 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12755 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12756 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12757
73c5ebe3
JM
12758 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12759 _XOPEN_SOURCE_EXTENDED for XPG4.
12760
39c33b6c
JM
12761 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12762
62fde54f
JM
12763 * Makeconfig (localtime): Remove variable.
12764 (inst_localtime-file): Likewise.
12765
0741d64c
AS
127662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12767
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12769 Update.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12771 Update.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12773 Update.
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12775 Update.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12777 Update.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12779 Update.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12781 Update.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12783 Update.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12785 Update.
12786
7cb029ee
JM
127872012-05-01 Joseph Myers <joseph@codesourcery.com>
12788
12789 [BZ #2550]
12790 [BZ #2570]
12791 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12792 comparisons to determine direction to adjust input.
12793 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12794 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12796 Likewise.
12797 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12798 Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12800 Likewise.
12801 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12802 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12803 Likewise.
12804 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12805 Likewise.
12806 * math/libm-test.inc (nexttoward_test): Add more tests.
12807
412bd966
AS
128082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12809
12810 [BZ #14040]
12811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12812 in version GLIBC_2.1, not GLIBC_2.0.
12813 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12814 Likewise.
12815
9568c0c2
JM
128162012-04-30 Joseph Myers <joseph@codesourcery.com>
12817
adfbc8ac
JM
12818 [BZ #13942]
12819 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12820 (1 - x) * (1 + x).
12821 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12822 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12823 * math/libm-test.inc (acos_test): Add more tests.
12824 (asin_test): Likewise.
12825 * sysdeps/i386/fpu/libm-test-ulps: Update.
12826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12827
5ba3cc69
JM
12828 [BZ #14034]
12829 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12830 of square root.
12831 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12832 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12833 * math/libm-test.inc (acos_test_tonearest): New function.
12834 (acos_test_towardzero): Likewise.
12835 (acos_test_downward): Likewise.
12836 (acos_test_upward): Likewise.
12837 (asin_test_tonearest): Likewise.
12838 (asin_test_towardzero): Likewise.
12839 (asin_test_downward): Likewise.
12840 (asin_test_upward): Likewise.
12841 (main): Call the new functions.
12842 * sysdeps/i386/fpu/libm-test-ulps: Update.
12843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12844
9568c0c2
JM
12845 [BZ #13884]
12846 [BZ #13924]
12847 * math/e_exp10.c: Include <float.h>.
12848 (__ieee754_exp10): Handle underflow here rather than multiplying
12849 large negative argument by M_LN10.
12850 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12851 of __ieee754_expf.
12852 * math/e_exp10l.c: Include <float.h>.
12853 (__ieee754_exp10l): Handle underflow here rather than multiplying
12854 large negative argument by M_LN10l.
12855 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12856 spurious overflow exception on underflow.
12857
5ac3ea17
MP
128582012-04-29 Marek Polacek <polacek@redhat.com>
12859
12860 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12861 (__fortify_function): New macro.
12862 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12863 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12864 __extern_always_inline.
12865 * libio/bits/stdio2.h: Likewise.
12866 * libio/bits/stdio.h: Likewise.
12867 * string/string.h: Likewise.
12868 * string/bits/string3.h: Likewise.
12869 * include/stdio.h: Likewise.
12870 * stdlib/bits/stdlib.h: Likewise.
12871 * stdlib/stdlib.h: Likewise.
12872 * rt/bits/mqueue2.h: Likewise.
12873 * rt/mqueue.h: Likewise.
12874 * posix/bits/unistd.h: Likewise.
12875 * posix/unistd.h: Likewise.
12876 * io/bits/poll2.h: Likewise.
12877 * io/bits/fcntl2.h: Likewise.
12878 * io/fcntl.h: Likewise.
12879 * io/sys/poll.h: Likewise.
12880 * misc/bits/syslog.h: Likewise.
12881 * misc/bits/syslog-ldbl.h: Likewise.
12882 * misc/sys/syslog.h: Likewise.
12883 * socket/bits/socket2.h: Likewise.
12884 * socket/sys/socket.h: Likewise.
12885 * debug/tst-chk1.c: Likewise.
12886 * wcsmbs/bits/wchar2.h: Likewise.
12887 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12888 * wcsmbs/wchar.h: Likewise.
12889
ecf0ebfb
AJ
128902012-04-29 Andreas Jaeger <aj@suse.de>
12891
12892 * Makerules (tests): Remove enable-check-abi protection.
12893 (check-abi-warn): Remove.
12894 (check-abi-%): Remove check-abi-warn usage.
12895
12896 * configure.in: Remove check-abi configure option.
12897 * configure: Regenerated.
12898 * config.make.in (enable-check-abi): Remove.
12899
6d5c57fa
AS
129002012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12901
24c5d07e 12902 [BZ #14033]
ded5180a
AS
12903 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12904 double functions to double *_finite functions.
12905
7e0d315d
AS
12906 [BZ #13941]
12907 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12908 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12909 LDBL_MIN_EXP.
12910 * stdio-common/Makefile (tests): Add tst-sprintf3.
12911 * stdio-common/tst-sprintf3.c: New file.
12912
6d5c57fa
AS
12913 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12914 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12915
0749ff8b
JM
129162012-04-28 Joseph Myers <joseph@codesourcery.com>
12917
12918 * conform/conformtest.pl: Remove duplicate typed-constant
12919 handling.
12920
8dbd5d7b
DM
129212012-04-28 David S. Miller <davem@davemloft.net>
12922
12923 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12924 (check-abi-%): Remove AWK script prerequisite and explicit
12925 abilist directory.
12926 (check-abi): Rewrite to just diff the symlist with the abilist.
12927 (config-tls, config-abi-config): Delete, no longer used.
12928 (update-abi-%): Remove AWK script and explicit abilist directory.
12929 (update-abi): Rewrite to simply compare and conditionally copy the
12930 symlist and the sysdep abilist file. Remove update-abi-config
12931 checks.
12932 * abilist/ld.abilist: Remove.
12933 * abilist/libBrokenLocale.abilist: Remove.
12934 * abilist/libanl.abilist: Remove.
12935 * abilist/libcrypt.abilist: Remove.
12936 * abilist/libdl.abilist: Remove.
12937 * abilist/librt.abilist: Remove.
12938 * abilist/libthread_db.abilist: Remove.
12939 * abilist/libutil.abilist: Remove.
12940 * scripts/extract-abilist.awk: Remove.
12941 * scripts/merge-abilist.awk: Remove.
12942 * sysdeps/generic/libcidn.abilist: New file.
12943 * sysdeps/generic/libnss_compat.abilist: New file.
12944 * sysdeps/generic/libnss_db.abilist: New file.
12945 * sysdeps/generic/libnss_dns.abilist: New file.
12946 * sysdeps/generic/libnss_files.abilist: New file.
12947 * sysdeps/generic/libnss_hesiod.abilist: New file.
12948 * sysdeps/generic/libnss_nis.abilist: New file.
12949 * sysdeps/generic/libnss_nisplus.abilist: New file.
12950 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12951 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12952 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12953 file.
12954 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12955 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12956 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12957 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12958 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12959 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12960 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12961 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12962 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12963 file.
12964 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12965 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12966 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12967 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12968 file.
12969 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12970 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12971 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12972 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12973 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12974 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12975 file.
12976 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12977 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12978 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12979 file.
12980 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12982 New file.
12983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12984 New file.
12985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12986 New file.
12987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12988 New file.
12989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12990 New file.
12991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12992 New file.
12993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12994 New file.
12995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12996 New file.
12997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12998 New file.
12999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13000 New file.
13001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13002 New file.
13003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13004 New file.
13005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13006 New file.
13007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13008 file.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13010 New file.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13012 New file.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13014 file.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13016 New file.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13018 New file.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13020 file.
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13022 New file.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13024 New file.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13026 New file.
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13028 New file.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13030 New file.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13032 New file.
13033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13035 file.
13036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13037 New file.
13038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13039 file.
13040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13041 file.
13042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13043 file.
13044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13045 file.
13046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13047 file.
13048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13049 New file.
13050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13051 file.
13052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13053 file.
13054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13055 New file.
13056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13057 file.
13058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13060 file.
13061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13062 New file.
13063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13064 file.
13065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13066 file.
13067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13068 file.
13069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13070 file.
13071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13072 file.
13073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13074 New file.
13075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13076 file.
13077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13078 file.
13079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13080 New file.
13081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13082 file.
13083 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13084 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13085 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13086 file.
13087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13088 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13089 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13090 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13091 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13092 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13093 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13094 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13095 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13096 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13099 file.
13100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13101 New file.
13102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13103 file.
13104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13105 file.
13106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13107 file.
13108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13109 file.
13110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13111 file.
13112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13113 New file.
13114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13115 New file.
13116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13117 file.
13118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13119 New file.
13120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13121 file.
13122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13124 file.
13125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13126 New file.
13127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13128 file.
13129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13130 file.
13131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13132 file.
13133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13134 file.
13135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13136 file.
13137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13138 New file.
13139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13140 New file.
13141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13142 file.
13143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13144 New file.
13145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13146 file.
13147
41d73a1b
JM
131482012-04-28 Joseph Myers <joseph@codesourcery.com>
13149
13150 * conform/conformtest.pl: Fix typo in handling typed-constant from
13151 allow-header.
13152
28aeeda4
JM
131532012-04-27 Joseph Myers <joseph@codesourcery.com>
13154
adae8f5e
JM
13155 * README: Cut down references to pre-2.6 Linux kernels and
13156 Linuxthreads. Update lists of configurations in libc and ports
13157 and sort alphabetically. Say "or newer" with Linux kernel version
13158 requirements.
13159
28aeeda4
JM
13160 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13161
a462cb63
RA
131622012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13163
13164 [BZ #887]
13165 * math/libm-test.inc (logb_test_downward): New test to expose
13166 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13167 rounding mode.
13168
6ad3493e
JM
131692012-04-27 Joseph Myers <joseph@codesourcery.com>
13170
13171 [BZ #14027]
13172 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13173 to be done.
13174 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13175 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13176
2ce4f015
JM
131772012-04-26 Joseph Myers <joseph@codesourcery.com>
13178
5aeb141a
JM
13179 * sysdeps/unix/i386/brk.S: Remove file.
13180 * sysdeps/unix/i386/dl-brk.S: Likewise.
13181 * sysdeps/unix/i386/pipe.S: Likewise.
13182 * sysdeps/unix/i386/sigreturn.S: Likewise.
13183 * sysdeps/unix/i386/syscall.S: Likewise.
13184 * sysdeps/unix/i386/vfork.S: Likewise.
13185 * sysdeps/unix/i386/wait.S: Likewise.
13186
7143acae
JM
13187 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13188 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13189
2ce4f015
JM
13190 * configure.in (arm*-none*): Do not allow without
13191 --enable-hacker-mode.
13192 (netbsd*): Remove case setting base_os.
13193 (386bsd*): Likewise.
13194 (freebsd*): Likewise.
13195 (bsdi*): Likewise.
13196 (osf*): Likewise.
13197 (sunos*): Likewise.
13198 (ultrix*): Likewise.
13199 (newsos*): Likewise.
13200 (dynix*): Likewise.
13201 (*bsd*): Likewise.
13202 (sysv*): Likewise.
13203 (isc*): Likewise.
13204 (esix*): Likewise.
13205 (sco*): Likewise.
13206 (minix*): Likewise.
13207 (irix4*): Likewise.
13208 (irix6*): Likewise.
13209 (solaris[2-9]*): Likewise.
13210 (none): Likewise.
13211 * configure: Regenerated.
13212
0ac229c8
AZ
132132012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13214
13215 [BZ #11521]
13216 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13217 overflow or cancellation in calculating denominator.
13218 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13220 down expression to avoid unexpected rounding in newer GCCs.
13221 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13222
33f244f4
DM
132232012-04-26 David S. Miller <davem@davemloft.net>
13224
13225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13226 long-double compat symbols.
13227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13240
cfa1f3e8
DM
132412012-04-25 David S. Miller <davem@davemloft.net>
13242
13243 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13244 HWCAP_* values only after the memory barriers have been defined.
13245 (atomic_full_barrier): Define.
13246 (atomic_read_barrier): Define.
13247 (atomic_write_barrier): Define.
13248
6e236b92
SP
132492012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13250
13251 * shlib-versions: Add libgcc_s version information.
13252 * sysdeps/generic/libgcc_s.h: Remove.
13253 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13254 libgcc_s.h.
13255 * sysdeps/gnu/unwind-resume.c: Likewise.
13256 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13257
aab39a09
DM
132582012-04-25 David S. Miller <davem@davemloft.net>
13259
13260 * sysdeps/unix/sparc/brk.S: Delete.
13261 * sysdeps/unix/sparc/dl-brk.S: Delete.
13262 * sysdeps/unix/sparc/pipe.S: Delete.
13263 * sysdeps/unix/sparc/sysdep.S: Delete.
13264 * sysdeps/unix/sparc/sysdep.h: Delete.
13265 * sysdeps/unix/sparc/vfork.S: Delete.
13266 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13267 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13269 ret_ERRVAL, r0, r1, MOVE): Define.
13270 (JUMPTARGET): Remove.
13271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13272 sysdeps/unix/sparc/sysdep.h
13273 (ENTRY, END): Remove.
13274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13275
a3cc4f48
JM
132762012-04-25 Joseph Myers <joseph@codesourcery.com>
13277
2ed8cda2
JM
13278 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13279 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13280 -DIS_IN_build.
13281
35d76d59
JM
13282 * timezone/README: Update upstream location and email address for
13283 tzcode and tzdata.
13284 * timezone/zdump.c: Update from tzcode 2012b.
13285 * timezone/zic.c: Likewise.
13286
a3cc4f48
JM
13287 * configure.in (libc_cv_as_needed): Remove test.
13288 * configure: Regenerated.
13289 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13290 conditional definition.
13291 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13292 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13293 * config.make.in (have-as-needed): Remove variable.
13294
ceab42c3
SP
132952012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13296 Paul Pluzhnikov <ppluzhnikov@google.com>
13297
13298 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13299 strings correctly.
13300
3ce2865f
CLT
133012012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13302
13303 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13304 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13305 * sysdeps/sh/strlen.S: Likewise.
13306
f37e0d68
JM
133072012-04-24 Joseph Myers <joseph@codesourcery.com>
13308
ae186e9a
JM
13309 * sysdeps/unix/fork.S: Remove file.
13310 * sysdeps/unix/i386/fork.S: Likewise.
13311 * sysdeps/unix/sparc/fork.S: Likewise.
13312
b96914af
JM
13313 * sysdeps/unix/system.c: Remove file.
13314 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13315
f37e0d68
JM
13316 * sysdeps/unix/getegid.S: Remove file.
13317 * sysdeps/unix/geteuid.S: Likewise.
13318
87ef29ca
RM
133192012-04-24 Roland McGrath <roland@hack.frob.com>
13320
83bcd236
RM
13321 * scripts/check-localplt.awk: New file.
13322 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13323 of diff.
13324 * scripts/data/localplt-generic.data: Add a comment.
13325
87ef29ca
RM
13326 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13327 NODE when __dir_mkfile failed.
13328 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13329 Reported by Ludovic Courtès <ludo@gnu.org>.
13330
e5a6e567
AJ
133312012-04-24 Andreas Jaeger <aj@suse.de>
13332
13333 * Makerules (common-clean): Also remove gen-as-const-headers
13334 files.
13335
c1820385
JM
133362012-04-24 Joseph Myers <joseph@codesourcery.com>
13337
13338 * Makerules (native-compile): Do not change working directory for
13339 build. Use $(OUTPUT_OPTION) in command.
13340 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13341
94e02fc4
AZ
133422012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13343
13344 [BZ #13886]
13345 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13346 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13347 * math/libm-test.inc (floor_test): Add more tests.
13348 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13349
3a533ca3
JM
133502012-04-24 Joseph Myers <joseph@codesourcery.com>
13351
940ab4b3
JM
13352 * sysdeps/unix/getdents.c: Remove file.
13353 * sysdeps/unix/sysv/getdents.c: Likewise.
13354 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13355
90e037bd
JM
13356 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13357 sysdeps/unix/mman/syscalls.list.
13358 (mmap): Likewise.
13359 (mprotect): Likewise.
13360 (msync): Likewise.
13361 (munmap): Likewise.
13362 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13363 * sysdeps/unix/mman/syscalls.list: Remove.
13364 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13365
3a533ca3
JM
13366 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13367 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13368 * configure: Regenerated.
13369 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13370 $(libgcc_s_suffix).
13371 * config.make.in (libgcc_s_suffix): Remove variable.
13372
1ad743de
JM
133732012-04-23 Joseph Myers <joseph@codesourcery.com>
13374
4ad451e2
JM
13375 * sysdeps/unix/sysv/gethostname.c: Move to ...
13376 * sysdeps/posix/gethostname.c: ... here.
13377
5e37ce39
JM
13378 * sysdeps/unix/execve.S: Remove file.
13379
1ad743de
JM
13380 * sysdeps/unix/_exit.S: Remove file.
13381
4e681b5b
AJ
133822012-04-23 Andreas Jaeger <aj@suse.de>
13383
13384 [BZ #13739]
13385 * manual/Makefile: Remove make dist support, there's no
13386 need for a stand-alone documentation tar ball.
13387 (TEXI2DVI): Define always, it's not in Makeconfig.
13388 (dist): Removed.
13389 (tar-it): Removed.
13390 (edition): Removed.
13391 (glibc-doc-$(edition).tar): Removed
13392 (%.Z): Removed.
13393 (%.gz): Removed.
13394 (%.uu): Removed.
13395 (ETAGS): Remove, it's in Makeconfig.
13396 (move-if-change): Remove, it's in Makeconfig.
13397
38686a03 133982012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13399
13400 [BZ #13970]
13401 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13402 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13403 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13404 (strtod_l, strtof_l, strtold_l): Remove __wur.
13405 It is not necessarily an error to ignore strtol's return value.
13406 One can reliably look at the stored endptr to decide whether
13407 the number had valid syntax.
13408
7c0616fa
AJ
134092012-04-21 Andreas Jaeger <aj@suse.de>
13410
803cb6b7 13411 [BZ #13739]
7c0616fa
AJ
13412 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13413
b0fe253f
JM
134142012-04-21 Joseph Myers <joseph@codesourcery.com>
13415
13416 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13417 * sysdeps/unix/sysv/Versions: Remove file.
13418
8280f22d
MT
134192012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13420
13421 [BZ #13927]
13422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13423
75ce411f 134242012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13425
13426 [BZ #7064]
13427 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13428 version from __vm86.
13429
097d59fa
JM
134302012-04-20 Joseph Myers <joseph@codesourcery.com>
13431
a90f3bcb
JM
13432 * sysdeps/unix/common/lxstat.c: Remove file.
13433 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13434
edc7ea78
JM
13435 * sysdeps/unix/sysv/Makefile: Remove file.
13436
cb78c221
JM
13437 * sysdeps/unix/sysv/direct.h: Remove file.
13438
efa6a45f
JM
13439 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13440 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13441 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13442 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13443 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13444 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13445 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13446
9c9f2d0c
JM
13447 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13448
4541c83b
JM
13449 * sysdeps/unix/xmknod.c: Remove file.
13450 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13451
f5d153a0
JM
13452 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13453
aa746595
JM
13454 * sysdeps/unix/sysv/i386/time.S: Remove file.
13455
cce5905e
JM
13456 * sysdeps/unix/fxstat.c: Remove file.
13457 * sysdeps/unix/xstat.c: Likewise.
13458 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13459
37fa3841
JM
13460 * sysdeps/unix/sysv/sigaction.c: Remove file.
13461
ff1962a3
JM
13462 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13463 (sysdep_headers): Remove variable.
13464 [termio.h not in sysdep_headers] (generated): Likewise.
13465 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13466 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13467 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13468 * sysdeps/unix/sysv/tcflow.c: Likewise.
13469 * sysdeps/unix/sysv/tcflush.c: Likewise.
13470 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13471 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13472 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13473 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13474 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13475
e7740d31
JM
13476 * sysdeps/unix/siglist.c: Remove file.
13477
ee06f18b
JM
13478 * sysdeps/unix/getppid.S: Remove file.
13479
097d59fa
JM
13480 * sysdeps/unix/mkdir.c: Remove file.
13481 * sysdeps/unix/rmdir.c: Likewise.
13482
ff3d51ec
AS
134832012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13484
13485 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13486 ERR_MAX value.
13487 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13488 errlist-compat value.
13489
50f81fd7
DM
134902012-04-18 David S. Miller <davem@davemloft.net>
13491
13492 * sysdeps/generic/memcopy.h (reg_char): Delete.
13493 * debug/strcat_chk.c: Use char, not reg_char.
13494 * debug/strcpy_chk.c: Likewise.
13495 * debug/strncat_chk.c: Likewise.
13496 * debug/strncpy_chk.c: Likewise.
13497 * string/memchr.c: Likewise.
13498 * string/memrchr.c: Likewise.
13499 * string/rawmemchr.c: Likewise.
13500 * string/strcat.c: Likewise.
13501 * string/strchr.c: Likewise.
13502 * string/strchrnul.c: Likewise.
13503 * string/strcmp.c: Likewise.
13504 * string/strcpy.c: Likewise.
13505 * string/strncat.c: Likewise.
13506 * string/strncmp.c: Likewise.
13507 * string/strncpy.c: Likewise.
13508
8ff41c46
WS
135092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13510
13511 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13512 __builtin_memcopy is called when src and dest ranges are known to not
13513 overlap.
13514
6b652f46
WS
135152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13516
13517 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13518 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13519 fwd_align_merge macro call.
13520 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13521 bwd_align_merge macro call.
13522 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13523
b282631e
WS
135242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13525
13526 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13527 bwd_align_merge macros.
13528 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13529 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13530 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13531
95aa737c
DM
135322012-04-18 David S. Miller <davem@davemloft.net>
13533
13534 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13535
7a99a614
AJ
135362012-04-18 Andreas Jaeger <aj@suse.de>
13537
13538 [BZ# 6794]
13539 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13540 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13541 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13542
13543 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13544 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13545 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13546
13547 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13548 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13549 Adjust for changed ldbl-128 files.
13550
13551 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13552 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13554
e5270c23
DM
135552012-04-17 David S. Miller <davem@davemloft.net>
13556
13557 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13558
fb5e92c9
AS
135592012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13560
13561 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13562 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13563 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13564 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13565 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13566 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13567
76da7265
AZ
135682012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13569
13570 [BZ #6794]
13571 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13572 * math/libm-test.inc: Add ilogb errno and exception tests.
13573 * math/w_ilogb.c: New file: ilogb wrapper.
13574 * math/w_ilogbf.c: New file: ilogbf wrapper.
13575 * math/w_ilogbl.c: New file: ilogbl wrapper.
13576 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13577 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13578 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13579 exception being thrown with 0.0 as argument.
13580 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13581 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13582 exception being thrown with 0.0 as argument.
13583 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13584 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13585 exception being thrown with 0.0 as argument.
13586 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13587 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13588 exception being thrown with 0.0 as argument.
13589 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13590 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13591 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13592 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13593 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13594 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13595 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13596 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13597 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13598
0396e69d
PB
135992012-04-17 Petr Baudis <pasky@ucw.cz>
13600
13601 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13602 with altivec.
13603
750b5926
MP
136042012-04-16 Marek Polacek <polacek@redhat.com>
13605
13606 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13607
751728a1
MP
136082012-04-16 Marek Polacek <polacek@redhat.com>
13609
13610 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13611 operands of fdivp instruction.
13612
34a27407
L
136132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13614
13615 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13616 * elf/tst-auditmod3b.c: Likewise.
13617 * elf/tst-auditmod4b.c: Likewise.
13618 * elf/tst-auditmod5b.c: Likewise.
13619 * elf/tst-auditmod6b.c: Likewise.
13620 * elf/tst-auditmod6c.c: Likewise.
13621 * elf/tst-auditmod7b.c: Likewise.
13622 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13623 * sysdeps/x86_64/preconfigure.in: Likewise.
13624 * sysdeps/x86_64/preconfigure: Regenerated.
13625
7e73e17d
L
136262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13627
13628 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13629 __ILP32__.
13630
c7a6ab72
AB
136312012-04-13 Antoine Balestrat <merkil33@gmail.com>
13632
13633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13634 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13635
a9e8e0e0
CL
136362012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13637
13638 [BZ #13973]
13639 * locale/iso-639.def: Fix gl language name. Spotted by
13640 Yaron Shahrabani.
13641
ec98af7d
RM
136422012-04-12 Roland McGrath <roland@hack.frob.com>
13643
13644 [BZ #2074]
13645 * libio/libio.h (__io_write_fn): Update comment.
13646
247c3ede
PB
136472012-04-12 Petr Baudis <pasky@ucw.cz>
13648
13649 [BZ #2074]
13650 * stdio.texi (Hook Functions): The user provided writer function
13651 is not allowed to return -1.
13652
55939d6d
DM
136532012-04-11 David S. Miller <davem@davemloft.net>
13654
13655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13656
90020f5a
MF
136572012-04-11 Mike Frysinger <vapier@gentoo.org>
13658
13659 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13660 Add a leading slash to rtkaio.
13661
288f9098
JM
136622012-04-11 Jim Meyering <meyering@redhat.com>
13663
90020f5a
MF
13664 [BZ #11959]
13665 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13666 It is not necessarily an error to ignore fwrite's return
13667 value. One can reliably use ferror to test for errors after
13668 the fact.
288f9098 13669
4be2b570
L
136702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13671
13672 * bits/types.h (__snseconds_t): New type.
13673 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13674
13675 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13677 (__SNSECONDS_T_TYPE): Likewise.
13678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13679 (__SNSECONDS_T_TYPE): Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13681 (__SNSECONDS_T_TYPE): Likewise.
13682
288f9098 136832012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13684
13685 [BZ #2636]
13686 * manual/time.texi (Processor Time): Return type of times is
13687 elapsed real time since an arbitrary point in the past.
13688 (CPU Time): Move CLK_TCK from here...
13689 (Processor Time): ...to here. Correct description.
13690 * manual/conf.texi (Constants for Sysconf): Correct description of
13691 _SC_CLK_TCK.
13692
d7dd4413
DM
136932012-04-10 David S. Miller <davem@davemloft.net>
13694
13695 [BZ #13967]
13696 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13697 where the is a gap between DT_REL(A) and DT_JMPREL.
13698
b46068fc
L
136992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13702 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13703 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13704
73d65cc3
SP
137052012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13706
13707 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13708 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13709 (dl_main): Handle --inhibit-cache.
13710 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13711 _dl_inhibit_cache.
13712 * elf/dl-load.c (_dl_map_object): Use it.
13713 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13714
bcc8d661
JM
137152012-04-09 Joseph Myers <joseph@codesourcery.com>
13716
8f9a2fae
JM
13717 [BZ #13872]
13718 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13719 (__ieee754_powl): Saturate large exponents rather than testing for
13720 overflow of y*log2(x).
13721 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13722 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13723 exceptions.
13724
bcc8d661
JM
13725 [BZ #11521]
13726 * math/s_ctan.c: Include <float.h>.
13727 (__ctan): Avoid internal overflow or cancellation in calculating
13728 denominator.
13729 * math/s_ctanf.c: Likewise.
13730 * math/s_ctanl.c: Likewise.
13731 * math/s_ctanh.c: Likewise.
13732 * math/s_ctanhf.c: Likewise.
13733 * math/s_ctanhl.c: Likewise.
13734 * math/libm-test.inc (ctan_test): Add more tests.
13735 (ctanh_test): Likewise.
13736 * sysdeps/i386/fpu/libm-test-ulps: Update.
13737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13738
823fbbb4
AJ
137392012-04-09 Andreas Jaeger <aj@suse.de>
13740
03879793
AJ
13741 [BZ #6894]
13742 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13743 is an optional BSD extension.
13744
823fbbb4
AJ
13745 [BZ #10254]
13746 * manual/stdio.texi (Opening Streams): Document additional fopen
13747 parameters.
13748
8de131cb
RM
137492012-04-09 Roland McGrath <roland@hack.frob.com>
13750
13751 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13752 %eax without telling the compiler.
13753
c0ed9d7d
CD
137542012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13755
13756 [BZ # 13963]
13757 * manual/install.texi: Use sourceware.org.
13758
c483f6b4
JM
137592012-04-09 Joseph Myers <joseph@codesourcery.com>
13760
d7dd9453
JM
13761 [BZ #13873]
13762 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13763 (__ieee754_pow): Generate overflow and underflow using huge*huge
13764 and tiny*tiny rather than just returning constant infinity or zero
13765 for large exponents.
13766 * math/libm-test.inc (pow_test): Require overflow exceptions for
13767 applicable cases of large exponents.
13768
c483f6b4
JM
13769 [BZ #706]
13770 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13771 (__ieee754_pow): Use iterative multiplication algorithm only for
13772 integer exponents with absolute value below 1024. Check for odd
13773 integer exponents when using algorithm for real exponents.
13774 * math/libm-test.inc (pow_test): Add more tests.
13775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13776
d2de7579
JM
137772012-04-08 Joseph Myers <joseph@codesourcery.com>
13778
13779 [BZ #13705]
13780 * math/libm-test.inc (exp_test): Do not allow overflow exception
13781 on underflow test.
13782
f77f1232
AJ
137832012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13784
13785 [BZ #13705]
13786 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13787 instead of __kernel_standard_f.
13788
3884932b
MF
137892012-04-08 Mike Frysinger <vapier@gentoo.org>
13790
13791 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13792 * sysdeps/x86_64/memset_chk.S: Likewise.
13793
54472e9c
AJ
137942012-04-08 Andreas Jaeger <aj@suse.de>
13795
6ab0fbfc
AJ
13796 [BZ #10153]
13797 * manual/startup.texi (Environment Access): Describe return value
13798 for putenv and setenv.
13799
61efba8c
AJ
13800 [BZ #6895]
13801 * manual/filesys.texi (Directory Entries): Add description for
13802 DT_LNK.
13803
95c3f29a
AJ
13804 [BZ #6890]
13805 * manual/filesys.texi (Directory Entries): Clarify that it's file
13806 system not operating system in the description of DT_UNKNOWN.
13807
54472e9c
AJ
13808 [BZ #6578]
13809 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13810
624254b1
SC
138112012-04-08 Stephen Compall <s11@member.fsf.org>
13812
13813 [BZ #6649]
13814 * manual/llio.texi (Opening and Closing Files): Add cross
13815 reference to explain mode argument.
13816
1e4920e0
MF
138172012-04-07 Mike Frysinger <vapier@gentoo.org>
13818
13819 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13820 * sysdeps/x86_64/memset_chk.S: Likewise.
13821
5ed848f3
DM
138222012-04-07 David S. Miller <davem@davemloft.net>
13823
13824 * elf/elf.h (R_SPARC_WDISP10): Define.
13825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13826 R_SPARC_SIZE32.
13827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13828 R_SPARC_SIZE64 and R_SPARC_H34.
13829
96154cd8
CD
138302012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13831
13832 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13833 conditions and remove no longer applicable assertion.
13834
9904dc47
L
138352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13836
13837 * bits/byteswap.h: Include <features.h>.
13838 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13839 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13840
f8887d0a
L
138412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13842
13843 * bits/byteswap.h (__bswap_16): Removed.
13844 Include <bits/byteswap-16.h> to get __bswap_16.
13845 * sysdeps/i386/bits/byteswap.h: Likewise.
13846 * sysdeps/s390/bits/byteswap.h: Likewise.
13847 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13848 * bits/byteswap-16.h: New file.
13849 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13850 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13851 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13852 * string/Makefile (headers): Add bits/byteswap-16.h.
13853
62470f60
PP
138542012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13855
13856 [BZ #13895]
13857 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13858 extra indirection.
13859 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13860 * nss/tst-nss-static.c: New.
13861
4dad7bab
RM
138622012-04-06 Robert Millan <rmh@gnu.org>
13863
13864 [BZ #6486]
13865 * manual/llio.texi (File Position Primitive): lseek
13866 refers to WHENCE when it really means OFFSET.
13867
e9142a17
AJ
138682012-04-06 Andreas Jaeger <aj@suse.de>
13869
2c040eff
AJ
13870 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13871 strncmp declarations.
13872
e9142a17
AJ
13873 * abilist/libc.abilist: Add __poll and __ppoll.
13874
ff9f1c5f
DM
138752012-04-05 David S. Miller <davem@davemloft.net>
13876
dcd2ae90
DM
13877 * scripts/check-local-headers.sh: Accept a host triplet in the
13878 path matched by the exclude regexp.
13879
993eb054
DM
13880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13881 definition.
13882 * sysdeps/powerpc/powerpc32/dl-machine.h
13883 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13884 * sysdeps/s390/s390-32/dl-machine.h
13885 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13886 * sysdeps/sparc/sparc32/dl-machine.h
13887 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13888 * sysdeps/sparc/sparc64/dl-machine.h
13889 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13890
ff9f1c5f
DM
13891 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13892 lazy binding.
48e2e132 13893 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13894 undefined symbol errors.
13895
48e2e132 13896 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13897 DT_NEEDED entries.
13898
e80d6f94
MM
138992012-04-05 Michael Matz <matz@suse.de>
13900
13901 [BZ #13592]
13902 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13903
349fa79f
AJ
139042012-04-05 Andreas Jaeger <aj@suse.de>
13905
13906 [BZ #13908]
13907 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13908 comment.
13909
f402708f
KK
139102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13911
13912 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13913 which ROUND is no valid rounding mode.
13914
2ecccfc9
KK
139152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13916
13917 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13918 read again.
13919 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13920
8a53f50f
KK
139212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13922
13923 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13924 an exception using FPU order intentionally.
13925
139262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13927
13928 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13929 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13930 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13931 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13932
d653abb7
SJ
139332012-04-05 Simon Josefsson <simon@josefsson.org>
13934
13935 [BZ #12340]
13936 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13937 EINVAL when BUFLEN is too smal.
13938
c3b1bf7d
TS
139392012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13940
13941 [BZ #13553]
13942 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13943 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13944
b1aa60f3
AJ
139452012-04-03 Andreas Jaeger <aj@suse.de>
13946
c3b1bf7d 13947 [BZ #13938]
67f60a26
AJ
13948 * manual/setjmp.texi (System V contexts): Fix sentence.
13949
b1aa60f3
AJ
13950 [BZ #13926]
13951 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13952 New macro for this case.
13953 [!__GNUC__] (__bswap_64): New inline function for this case.
13954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13955 * bits/byteswap.h: Likewise.
13956 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13957 ull, guard with __GLIBC_HAVE_LONG_LONG.
13958
13959 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13960 __GLIBC_HAVE_LONG_LONG.
13961
13962 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13963 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13964
39c59c35
TMQMF
139652012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13966
13967 [BZ #13691]
13968 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13969 inptr and inend, rather than using last_ch.
13970
135ffda8
DM
139712012-04-02 David S. Miller <davem@davemloft.net>
13972
13973 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13974 * stdio-common/printf-parse.h (read_int): Change return type to
13975 'int', return -1 on INT_MAX overflow.
13976 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13977 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13978 overflows INT_MAX. Check for overflow of in-format-string precision
13979 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13980 SIZE_MAX not INT_MAX for integer overflow test.
13981 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13982 skip the construct in the format string but do not record anything.
13983 * stdio-common/bug22.c: Adjust to test both width/prevision
13984 INT_MAX overflow as well as total length INT_MAX overflow. Check
13985 explicitly for proper errno values.
13986
228c019e
TS
139872012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13988
302cadd3
TS
13989 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13990 CHAR_MAX.
13991 * string/test-strcmp.c [! WIDE]: Likewise.
13992 * time/tst-mktime2.c: Likewise for INT_MAX.
13993 * string/test-string.h: #include <sys/param.h> for MIN.
13994
228c019e
TS
13995 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13996 * sysdeps/i386/init-first.c (init): Likewise.
13997 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13998 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13999 * sysdeps/sh/init-first.c (init): Likewise.
14000
cfa633f5
UD
140012012-04-01 Ulrich Drepper <drepper@gmail.com>
14002
14003 * po/ru.po: Update from translation team.
d1635ef8 14004 * po/vi.po: Likewise.
cfa633f5 14005
6cd0a5ea
SP
140062012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14007
14008 * resolv/nss_dns/dns-host.c: Merge copyright years.
14009
4b43400f
LD
140102012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14011
14012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14013 Optimize memcpy with prefetch if
14014 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14015 src, dst pointers have unequal 16 byte alignments.
14016
48c41d04
SP
140172012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14018
14019 [BZ #13928]
14020 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14021 from a CNAME entry and return the minimum ttl for the query.
14022 (gaih_getanswer_slice): Likewise.
14023
b8dc394d
JL
140242012-03-30 Jeff Law <law@redhat.com>
14025
14026 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14027 due to long keys.
14028 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14029 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14030
2f5a5ed0
JL
14031 * resolv/nss_dns/dns-host.c: Update copyright year.
14032
1d39e359
UD
140332012-03-30 Ulrich Drepper <drepper@gmail.com>
14034
c030f70c 14035 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14036 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14037
1d39e359
UD
14038 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14039 comments for sendmmsg.
14040
140412012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14042
14043 [BZ #13691]
14044 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14045 with only 1 character between 0x0041 and 0x01b0.
14046 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14047 * wcsmbs/tst-mbsnrtowcs.c: New file.
14048
20fde227
DM
140492012-03-29 David S. Miller <davem@davemloft.net>
14050
14051 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14052 small copies by hand.
14053
984a4237
JL
140542012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14055
14056 [BZ #13761]
14057 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14058 _nss_compat_initgroups_dyn): Fall back to malloc/free
14059 for large group memberships.
14060
18c9d62b
DM
140612012-03-28 David S. Miller <davem@davemloft.net>
14062
88d85d4f
DM
14063 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14064 that branches into memcpy.
14065 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14067 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14068 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14070 bits.
14071 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14072 implementation too.
14073 * sysdeps/sparc/mempcpy.S: New file.
14074
e5aa83e1
DM
14075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14076 the IFUNC routine in the libc case.
14077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14078
88570753
DM
14079 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14080 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14081 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14082 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14083 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14084 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14085 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14086 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14087
249d7567
DM
14088 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14089 loop to 256 bytes instead of 64 bytes and fix test signedness.
14090
18c9d62b
DM
14091 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14092 * sysdeps/sparc/sparc32/Makefile: rather than here...
14093 * sysdeps/sparc/sparc64/Makefile: and here.
14094
05f3d1f6
UD
140952012-03-28 Ulrich Drepper <drepper@gmail.com>
14096
14097 * malloc/mallocbug.c: Avoid warnings about unused variables.
14098
86ae07a8
JL
140992012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14100
14101 [BZ #13760]
14102 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14103 in the right place. Discard and retry query if response is
14104 larger than input buffer size.
14105
41bf21a1
JM
141062012-03-28 Joseph Myers <joseph@codesourcery.com>
14107
d6270972
JM
14108 [BZ #369]
14109 [BZ #2678]
14110 [BZ #3866]
14111 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14112 x for large integer exponent.
14113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14114 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14115 sign of result as needed afterwards.
14116 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14117 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14118 result for underflowing pow the same as for overflow.
14119 (__kernel_standard_l): Handle powl overflow and underflow here
14120 rather than calling __kernel_standard.
14121 * math/libm-test.inc (pow_test): Add more tests.
14122
414fca03 14123 [BZ #3868]
41bf21a1
JM
14124 [BZ #13879]
14125 [BZ #13910]
14126 [BZ #13911]
14127 [BZ #13912]
14128 [BZ #13913]
14129 [BZ #13915]
14130 [BZ #13916]
14131 [BZ #13917]
14132 [BZ #13918]
14133 [BZ #13919]
14134 [BZ #13920]
14135 [BZ #13921]
14136 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14137 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14138 (__kernel_standard_l): New function.
14139 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14140 __kernel_standard.
14141 * math/w_acosl.c (__acosl): Likewise.
14142 * math/w_asinl.c (__asinl): Likewise.
14143 * math/w_atan2l.c (__atan2l): Likewise.
14144 * math/w_atanhl.c (__atanhl): Likewise.
14145 * math/w_coshl.c (__coshl): Likewise.
14146 * math/w_exp10l.c (__exp10l): Likewise.
14147 * math/w_exp2l.c (__exp2l): Likewise.
14148 * math/w_fmodl.c (__fmodl): Likewise.
14149 * math/w_hypotl.c (__hypotl): Likewise.
14150 * math/w_j0l.c (__j0l, __y0l): Likewise.
14151 * math/w_j1l.c (__j1l, __y1l): Likewise.
14152 * math/w_jnl.c (__jnl, __ynl): Likewise.
14153 * math/w_lgammal.c (__lgammal): Likewise.
14154 * math/w_log10l.c (__log10l): Likewise.
14155 * math/w_log2l.c (__log2l): Likewise.
14156 * math/w_logl.c (__logl): Likewise.
14157 * math/w_powl.c (__powl): Likewise.
14158 * math/w_remainderl.c (__remainderl): Likewise.
14159 * math/w_scalbl.c (sysv_scalbl): Likewise.
14160 * math/w_sinhl.c (__sinhl): Likewise.
14161 * math/w_sqrtl.c (__sqrtl): Likewise.
14162 * math/w_tgammal.c (__tgammal): Likewise.
14163 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14164 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14165 * math/libm-test.inc (acos_test): Add more tests.
14166 (acosh_test): Likewise.
14167 (asin_test): Likewise.
14168 (atanh_test): Likewise.
14169 (exp_test): Likewise.
14170 (exp10_test): Likewise.
14171 (exp2_test): Likewise.
14172 (expm1_test): Likewise.
14173 (lgamma_test): Likewise.
14174 (log_test): Likewise.
14175 (log10_test): Likewise.
14176 (log1p_test): Likewise.
14177 (log2_test): Likewise.
14178 (pow_test): Do not allow some spurious overflow exceptions.
14179 (sqrt_test): Add more tests.
14180 (tgamma_test): Likewise.
14181 (y0_test): Likewise.
14182 (y1_test): Likewise.
14183 (yn_test): Likewise.
14184
dd62fda6
AB
141852012-03-27 Anton Blanchard <anton@samba.org>
14186
14187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14188 MAP_HUGETLB.
14189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14190 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14192
1e3cdfda
AJ
141932012-03-27 David S. Miller <davem@davemloft.net>
14194
b855ab85
DM
14195 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14196
1e3cdfda
AJ
14197 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14198 have-as-vis3 check.
14199
142002012-03-27 Andreas Jaeger <aj@suse.de>
14201
14202 * sysdeps/x86_64/elf/configure.in: Moved to ...
14203 * sysdeps/x86_64/configure.in: ... here.
14204 * sysdeps/x86_64/elf/start.S: Moved to ...
14205 * sysdeps/x86_64/start.S: ... here.
14206 * sysdeps/x86_64/elf/configure: Delete.
14207
14208 * sysdeps/x86_64/configure.in: Merge contents from
14209 sysdeps/i386/configure.in (without i686 check).
14210
14211 * sysdeps/i386/elf/Versions: Merge into ...
14212 * sysdeps/i386/Versions: ... this.
14213 * sysdeps/i386/elf/Versions: Delete file.
14214 * sysdeps/i386/elf/start.S: Moved to ...
14215 * sysdeps/i386/start.S: ...here.
14216 * sysdeps/i386/elf/configure.in: Merge into...
14217 * sysdeps/i386/configure.in: ...here.
14218 * sysdeps/i386/elf/configure.in: Delete file.
14219 * sysdeps/i386/elf/configure: Delete file.
14220
14221 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14222 * debug/backtracesyms.c: ... here.
14223 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14224 * debug/backtracesymsfd.c: ... here.
14225 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14226 * sysdeps/generic/ifunc-sel.h: ... here.
14227
14228 * sysdeps/unix/i386/start.c: Delete file.
14229 * sysdeps/unix/sparc/start.c: Delete file.
14230 * sysdeps/unix/start.c: Delete file.
14231
14232 * sysdeps/sh/elf/configure.in: Moved to ...
14233 * sysdeps/sh/configure.in: ... here.
14234 * sysdeps/sh/elf/start.S: Moved to ...
14235 * sysdeps/sh/start.S: ... here.
14236 * sysdeps/sh/elf/configure: Delete file.
14237
14238 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14239 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14240 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14241 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14242 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14243 * sysdeps/powerpc/powerpc64/start.S: here.
14244 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14245 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14246 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14247 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14248 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14249
14250 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14251 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14252 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14253 * sysdeps/powerpc/powerpc32/start.S: ... here.
14254 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14255 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14256 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14257
14258 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14259 * sysdeps/powerpc/ifunc-sel.h: ... here.
14260 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14261 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14262
14263 * sysdeps/sparc/elf/configure.in: Moved to ...
14264 * sysdeps/sparc/configure.in: ... here.
14265 * sysdeps/sparc/elf/configure: Delete file.
14266 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14267 * sysdeps/sparc/sparc32/start.S: ... here.
14268 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14269 * sysdeps/sparc/sparc64/start.S: ... here.
14270 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14271 * sysdeps/sparc/sparc32/Makefile: ... this.
14272 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14273 * sysdeps/sparc/sparc64/Makefile: ... this.
14274
14275 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14276 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14277 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14278 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14279 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14280 * sysdeps/s390/s390-32/setjmp.S: ... here.
14281 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14282 * sysdeps/s390/s390-32/configure.in: ... here.
14283 * sysdeps/s390/s390-32/elf/configure: Delete file.
14284 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14285 * sysdeps/s390/s390-32/start.S: ... here.
14286
14287 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14288 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14289 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14290 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14291 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14292 * sysdeps/s390/s390-64/setjmp.S: ... here.
14293 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14294 * sysdeps/s390/s390-64/configure.in: ... here
14295 * sysdeps/s390/s390-64/elf/configure: Delete file.
14296 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14297 * sysdeps/s390/s390-64/start.S: ... here.
14298 * sysdeps/s390/s390-64/elf/configure: Delete.
14299
14300 * configure.in: Remove support for elf directories in sysdeps.
14301
14302 * configure: Regenerated.
14303 * sysdeps/i386/configure: Regenerated.
14304 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14305 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14306 * sysdeps/s390/s390-32/configure: Regenerated.
14307 * sysdeps/s390/s390-64/configure: Regenerated.
14308 * sysdeps/sh/configure: Regenerated.
14309 * sysdeps/sparc/configure: Regenerated.
14310 * sysdeps/x86_64/configure: Regenerated.
14311
a3f61311
AS
143122012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14313
c876e002
AS
14314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14315
a3f61311
AS
14316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14317 denormal result into account.
14318
ac4c54f0
RM
143192012-03-25 Roland McGrath <roland@hack.frob.com>
14320
14321 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14322 Reported by Allan McRae <allan@archlinux.org>.
14323
6a9b9c02
JL
143242012-03-23 Jeff Law <law@redhat.com>
14325
14326 * nss/getnssent.c (__nss_getent): Fix typo.
14327
4c42a0c1
DM
143282012-03-23 David S. Miller <davem@davemloft.net>
14329
14330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14331
1532c7ac
L
143322012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14333
14334 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14335 to pad to uint64_t for each field.
14336 (dl_tls_index): Replace unsigned long with uint64_t.
14337
3ff42526
PP
143382012-03-23 Daniel Jacobowitz <dmj@google.com>
14339 Paul Pluzhnikov <ppluzhnikov@google.com>
14340
14341 [BZ #6528]
14342 * grp/Makefile (otherlibs): Don't set it.
14343 * inet/Makefile (otherlibs): Likewise.
14344 * login/Makefile (otherlibs): Likewise.
14345 * nscd/Makefile (otherlibs): Likewise.
14346 * posix/Makefile (otherlibs): Likewise.
14347 * pwd/Makefile (otherlibs): Likewise.
14348 * rt/Makefile (otherlibs): Likewise.
14349 * sunrpc/Makefile (otherlibs): Likewise.
14350 * nss/Makefile (otherlibs): Likewise.
14351 Add libnss_files to routines and static-only-routines.
14352 ($(objpfx)getent): Remove rule.
14353 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14354 static-only-routines.
14355
7c69cd14
JM
143562012-03-22 Joseph Myers <joseph@codesourcery.com>
14357
14358 [BZ #13892]
14359 * math/s_cexp.c: Include <float.h>.
14360 (__cexp): Handle exp result overflowing not necessarily
14361 overflowing both real and imaginary parts of result.
14362 * math/s_cexpf.c: Likewise.
14363 * math/s_cexpl.c: Likewise.
14364 * math/libm-test.inc (cexp_test): Add more tests.
14365 * sysdeps/i386/fpu/libm-test-ulps: Update.
14366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14367
81b035fe
L
143682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14369
14370 * include/link.h (ELFW): New macro.
14371 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14372 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14373
1da7940c
L
143742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14375
14376 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14377 with uint64_t.
14378
b749dbb9
L
143792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14380
14381 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14382 declaration.
14383 (struct La_x32_retval): Likewise.
14384
2ff87f3f
L
143852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 * sysdeps/x86_64/preconfigure.in: New file.
14388 * sysdeps/x86_64/preconfigure: New generated file.
14389
c0df8e69
JM
143902012-03-22 Joseph Myers <joseph@codesourcery.com>
14391
48e44791
JM
14392 [BZ #13824]
14393 * math/e_exp2l.c: Include <float.h>.
14394 (__ieee754_exp2l): Handle overflow and underflow cases
14395 separately. Only pass fractional part of argument to
14396 __ieee754_expl.
14397 * math/libm-test.inc (exp2_test): Add more tests.
14398
c0df8e69
JM
14399 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14400 negating x to take absolute value.
14401 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14402 Likewise.
14403 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14404 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14405 Likewise.
14406 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14407 computing low part if x was negated.
14408 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14409
c8e43ba7
L
144102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14411
14412 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14413 la_x32_gnu_pltexit.
14414 (pltexit): Cast int_retval to ptrdiff_t.
14415 * elf/tst-auditmod3b.c: Likewise.
14416 * elf/tst-auditmod4b.c: Likewise.
14417 * elf/tst-auditmod5b.c: Likewise.
14418 * elf/tst-auditmod6b.c: Likewise.
14419 * elf/tst-auditmod6c.c: Likewise.
14420 * elf/tst-auditmod7b.c: Likewise.
14421
14422 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14423 and x32_gnu_pltexit.
14424
14425 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14426 __ELF_NATIVE_CLASS.
14427 (La_x32_regs): New macro.
14428 (La_x32_retval): Likewise.
14429 (la_x32_gnu_pltenter): New function prototype.
14430 (la_x32_gnu_pltexit): Likewise.
14431
7998fa78
AS
144322012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14433
dcb33988
AS
14434 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14435 exponent.
14436
233fc563
AS
14437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14438
7998fa78
AS
14439 * configure.in (libc_cv_cc_nofma): Check for option to disable
14440 generation of FMA instructions.
14441 * configure: Regenerate.
14442 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14443 * sysdeps/ieee754/dbl-64/Makefile: New file.
14444 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14445 Remove brandred-fma4.
14446 (CFLAGS-brandred-fma4.c): Remove.
14447 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14449 define.
14450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14451 define.
14452
8e95c99a
L
144532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14454
14455 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14456 LLONG_MAX != LONG_MAX.
14457 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14458 (_fitoa_word): Likewise.
14459 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14460 LLONG_MAX != LONG_MAX.
14461 * stdio-common/_itowa.h: Include <_itoa.h>.
14462 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14463 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14464 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14465 only if not defined.
14466 (_ITOA_WORD_TYPE): Likewise.
14467 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14468 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14469
6f4db457
DM
144702012-03-21 David S. Miller <davem@davemloft.net>
14471
14472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14473
7785fe5a
L
144742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14475
14476 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14477 of x86_64 when setting libc_cv_slibdir, libdir and
14478 libc_cv_localedir.
14479 * sysdeps/unix/sysv/linux/configure: Regenerated.
14480
4535cd55
JM
144812012-03-21 Joseph Myers <joseph@codesourcery.com>
14482
14483 * manual/lang.texi (Old Varargs): Remove section.
14484 (How Variadic): Update menu.
14485 (va_start): Do not mention varargs.h.
14486
17228132
TS
144872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14488 Joseph Myers <joseph@codesourcery.com>
14489
14490 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14491 link test.
14492 * configure: Regenerated.
14493
8149f976
TS
144942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14495
05f3d1f6
UD
14496 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14497 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14498 conformtest.pl
8149f976 14499
1a4ac776
JM
145002012-03-21 Joseph Myers <joseph@codesourcery.com>
14501
be22ce65
JM
14502 * NOTES: Remove.
14503 * Makefile (files-for-dist): Remove NOTES.
14504 (NOTES): Remove rule.
14505 * README: Don't refer to NOTES.
14506 * manual/creature.texi: Don't include macros.texi.
14507 * manual/intro.texi (creature.texi): Remove comment referring to
14508 NOTES.
14509
40b601fb
JM
14510 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14511 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14512 * configure: Regenerated.
14513 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14514 LIBC_TRY_CC_OPTION.
14515 (libc_cv_as_i686): Likewise.
14516 (libc_cv_cc_avx): Likewise.
14517 (libc_cv_cc_sse2avx): Likewise.
14518 (libc_cv_cc_fma4): Likewise.
14519 (libc_cv_cc_novzeroupper): Likewise.
14520 * sysdeps/i386/configure: Regenerated.
14521
1a4ac776
JM
14522 [BZ #13883]
14523 * sysdeps/i386/fpu/s_cexp.S: Remove.
14524 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14525 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14526 * math/libm-test.inc (cexp_test): Add more tests.
14527 * sysdeps/i386/fpu/libm-test-ulps: Update.
14528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14529
a458e7fe
AM
145302012-03-21 Allan McRae <allan@archlinux.org>
14531
14532 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14533
0cb7efc5
JM
145342012-03-21 Joseph Myers <joseph@codesourcery.com>
14535
14536 [BZ #13871]
14537 * math/w_exp2.c: Do not include <float.h>.
14538 (o_threshold, u_threshold): Remove.
14539 (__exp2): Calculate result before checking finiteness and calling
14540 __kernel_standard.
14541 * math/w_exp2f.c: Likewise.
14542 * math/w_exp2l.c: Likewise.
14543 * math/libm-test.inc (exp2_test): Require overflow exception for
14544 1e6 input.
2460d3aa
JM
14545
14546 [BZ #3866]
14547 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14548 range of signed 64-bit integers before using fistpll. Remove
14549 checks for whether integers fit in mantissa bits.
14550 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14551 the range of signed 32-bit integers before using fistpl. Remove
14552 checks for whether integers fit in mantissa bits.
14553 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14554 (__ieee754_powl): Test for y outside the range of signed 64-bit
14555 integers before using fistpll. Reduce 64-bit values to 63-bit
14556 ones as needed.
14557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14558 divide-by-zero is raised for zero to large negative powers.
14559 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14560 (__ieee754_powl): Test for y outside the range of signed 64-bit
14561 integers before using fistpll. Reduce 64-bit values to 63-bit
14562 ones as needed.
14563 * math/libm-test.inc (pow_test): Add more tests.
14564
eb96ffb0
L
145652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14566
14567 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14568 <stdio-common/_itoa.h>.
14569 * debug/segfault.c: Likewise.
14570 * elf/dl-cache.c: Likewise.
14571 * elf/dl-minimal.c: Likewise.
14572 * elf/dl-misc.c: Likewise.
14573 * elf/dl-sysdep.c: Likewise.
14574 * elf/dl-version.c: Likewise.
14575 * elf/rtld.c: Likewise.
14576 * hurd/hurdsock.c: Likewise.
14577 * hurd/lookup-retry.c: Likewise.
14578 * malloc/malloc.c: Likewise.
14579 * malloc/mtrace.c: Likewise.
14580 * nscd/nscd_getgr_r.c: Likewise.
14581 * nscd/nscd_getpw_r.c: Likewise.
14582 * nscd/nscd_getserv_r.c: Likewise.
14583 * posix/getopt_init.c: Likewise.
14584 * posix/wordexp.c: Likewise.
14585 * stdio-common/_itoa.c: Likewise.
14586 * stdio-common/printf_fphex.c: Likewise.
14587 * stdio-common/vfprintf.c: Likewise.
14588 * string/_strerror.c: Likewise.
14589 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14590 * sysdeps/i386/i686/hp-timing.h: Likewise.
14591 * sysdeps/mach/_strerror.c: Likewise.
14592 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14593 * sysdeps/mach/hurd/sethostid.c: Likewise.
14594 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14595 * sysdeps/mach/xpg-strerror.c: Likewise.
14596 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14597 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14598 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14599 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14600 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14601 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14602 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14603 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14604 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14605 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14606 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14607 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14608 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14609 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14610 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14612 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14613 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14614 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14615 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14616 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14617
14618 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14619
14620 * stdio-common/_itoa.h: Moved to ...
14621 * sysdeps/generic/_itoa.h: Here.
14622
14623 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14624
14625 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14626 instead of "_itoa.h" and "_itowa.h".
14627 * stdio-common/vfprintf.: Likewise.
14628
d1af992d
L
146292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14630
14631 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14632 <bits/wordsize.h>.
14633 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14634 (__signbit): Likwise.
14635 (llrintf): Likwise.
14636 (llrint): Likwise.
14637
114883e0
L
146382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14639
14640 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14641 __WORDSIZE != 64.
14642
c135cc1b
JM
146432012-03-20 Joseph Myers <joseph@codesourcery.com>
14644
14645 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14646 OVERFLOW_EXCEPTION_OK.
14647 * math/libm-test.inc ("Philosophy"): Update comment about
14648 exception testing.
14649 (OVERFLOW_EXCEPTION): Define.
14650 (OVERFLOW_EXCEPTION_OK): Likewise.
14651 (INVALID_EXCEPTION_OK): Renumber.
14652 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14653 (IGNORE_ZERO_INF_SIGN): Likewise.
14654 (test_exceptions): Handle FE_OVERFLOW.
14655 (exp10_test): Expect overflow exceptions.
14656 (exp2_test): Likewise.
14657 (expm1_test): Likewise.
14658 (nextafter_test): Likewise.
14659 (pow_test): Likewise.
14660 (scalbn_test): Likewise.
14661 (scalbln_test): Likewise.
14662
95443d88
L
146632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 * sysdeps/x86_64/bits/atomic.h
14666 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14667 64bit integer.
14668 (atomic_exchange_acq): Likewise.
14669 (__arch_exchange_and_add_body): Likewise.
14670 (__arch_add_body): Likewise.
14671 (atomic_add_negative): Likewise.
14672 (atomic_add_zero): Likewise.
14673
490df6c4
L
146742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14675
c2722551 14676 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14677 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14678
5e52b189
L
146792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14680
14681 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14682 Check __x86_64__ instead of __WORDSIZE.
14683
a9879d4c
L
146842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14685
14686 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14687
5df98260
DM
146882012-03-19 David S. Miller <davem@davemloft.net>
14689
e1497744
DM
14690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14691
5df98260
DM
14692 * sysdeps/sparc/fpu/fenv_private.h: New file.
14693 * sysdeps/sparc/fpu/math_private.h: Use it.
14694 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14695 Remove.
14696 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14697 (libc_feholdexcept_setroundl): Remove.
14698 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14699 Remove.
14700 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14701 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14702
b4c35121
L
147032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14704
14705 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14706 int64_t instead of long int.
14707 (INSERT_WORDS64): Likwise.
14708
56965fd7
L
147092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14710
14711 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14712 _Unwind_GetCFA return to _Unwind_Ptr first.
14713
83d1aec8
JM
147142012-03-19 Joseph Myers <joseph@codesourcery.com>
14715
1897ad44
JM
14716 [BZ #13629]
14717 * math/s_clog.c: Include <float.h>.
14718 (__clog): Scale large or subnormal inputs.
14719 * math/s_clogf.c: Likewise.
14720 * math/s_clogl.c: Likewise.
14721 * math/s_clog10.c: Include <float.h>.
14722 (M_LOG10_2): Define.
14723 (__clog10): Scale large or subnormal inputs.
14724 * math/s_clog10f.c: Likewise.
14725 * math/s_clog10l.c: Likewise.
14726 * math/libm-test.inc (clog_test): Add more tests.
14727 (clog10_test): Likewise.
14728 * sysdeps/i386/fpu/libm-test-ulps: Update.
14729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14730
7726d6a9
JM
14731 [BZ #11451]
14732 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14733 x and y.
14734 * math/libm-test.inc (atan2_test): Add another test.
14735
83d1aec8
JM
14736 * Makerules (common-objdir-compile): Remove.
14737 * sysdeps/unix/Makefile (config-generated): Do not add
14738 $(unix-generated) to variable.
14739 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14740 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14741 Remove rule.
14742 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14743 Likewise.
14744 [generic bits/local_lim.h] (before-compile): Do not append to
14745 variable.
14746 [generic bits/local_lim.h] (common-generated): Likewise.
14747 [generic sys/param.h] (before-compile): Do not append to variable.
14748 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14749 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14750 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14751 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14752 include.
14753 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14754 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14755 [generic sys/param.h] ($(addprefix
14756 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14757 [generic sys/param.h] (common-generated): Do not append to
14758 variable.
14759 [generic sys/param.h] (sysdep_headers): Likewise.
14760 [generic bits/errno.h] (before-compile): Do not append to
14761 variable.
14762 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14763 rule.
14764 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14765 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14766 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14767 [generic bits/errno.h] (common-generated): Do not append to
14768 variable.
14769 [generic bits/ioctls.h] (before-compile): Do not append to
14770 variable.
14771 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14772 rule.
14773 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14774 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14775 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14776 rule.
14777 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14778 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14779 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14780 [generic bits/ioctls.h] (common-generated): Do not append to
14781 variable.
14782 [generic sys/syscall.h] (syscall.h): Remove variable.
14783 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14784 rule.
14785 [generic sys/syscall.h] (before-compile): Do not append to
14786 variable.
14787 [generic sys/syscall.h] (common-generated): Likewise.
14788 * sysdeps/unix/errnos-tmpl.c: Remove file.
14789 * sysdeps/unix/errnos.awk: Likewise.
14790 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14791 * sysdeps/unix/ioctls.awk: Likewise.
14792 * sysdeps/unix/mk-local_lim.c: Likewise.
14793 * sysdeps/unix/snarf-ioctls: Likewise.
14794
4851a949
RH
147952012-03-19 Richard Henderson <rth@twiddle.net>
14796
bd37f2ee
RH
14797 * sysdeps/i386/fpu/fenv_private.h: New file.
14798 * sysdeps/i386/fpu/math_private.h: Use it.
14799 (math_opt_barrier, math_force_eval): Remove.
14800 (libc_feholdexcept_setround_53bit): Remove.
14801 (libc_feupdateenv_53bit): Remove.
14802 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14803 (math_opt_barrier, math_force_eval): Remove.
14804 (libc_feholdexcept): Remove.
14805 (libc_feholdexcept_setround): Remove.
14806 (libc_fetestexcept, libc_fesetenv): Remove.
14807 (libc_feupdateenv_test): Remove.
14808 (libc_feupdateenv, libc_feholdsetround): Remove.
14809 (libc_feresetround): Remove.
14810
d0adc922
RH
14811 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14812 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14813
0fe0f1f8
RH
14814 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14815 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14816 (libc_feupdateenv_testl): New.
14817 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14818 (libc_feupdateenv_testf): New.
14819 (libc_feupdateenv): Use libc_feupdateenv_test.
14820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14821 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14822
eb92c487
RH
14823 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14824 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14825 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14826 (libc_feresetround_noex): New.
14827 (libc_feresetround_noexf): New.
14828 (libc_feresetround_noexl): New.
14829 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14830 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14831 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14832 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14833 SET_RESTORE_ROUND.
14834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14835 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14836 (__cos): Likewise.
14837 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14838 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14839 SET_RESTORE_ROUND_NOEX.
14840 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14841 SET_RESTORE_ROUND_NOEXF.
14842 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14843 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14844 (libc_feholdsetroundf): New.
14845 (libc_feresetround, libc_feresetroundf): New.
14846
7d2e8012
RH
14847 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14848 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14849 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14850
b4dabbb4
RH
14851 * sysdeps/generic/math_private.h: Include <fenv.h>.
14852 (default_libc_feholdexcept): New.
14853 (default_libc_feholdexcept_setround): New.
14854 (default_libc_fesetenv, default_libc_feupdateenv): New.
14855 (libc_feholdexcept): Only define if undefined.
14856 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14857 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14858 (libc_feholdexcept_setroundl): Likewise.
14859 (libc_feholdexcept_setround_53bit): Likewise.
14860 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14861 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14862 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14863 (libc_feupdateenv_53bit): Likewise.
14864 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14865 (libc_feholdexcept): Convert from macro to inline function.
14866 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14867 (libc_fesetenv, libc_feupdateenv): Likewise.
14868
4851a949
RH
14869 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14870 not previously defined.
14871 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14872 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14873 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14874 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14875 * sysdeps/ieee754/flt-32/math_private.h: New file.
14876 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14877 math_private.h below SET_FLOAT_WORD.
14878 (__isnan, __isinf_ns, __finite): Remove.
14879 (__isnanf, __isinf_nsf, __finitef): Remove.
14880
e79d442e
AS
148812012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14882
14883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14884
90b80344
DM
148852012-03-17 David S. Miller <davem@davemloft.net>
14886
14887 [BZ #6471]
14888 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14889 for 2.16.
14890
edc21804
DM
148912012-03-16 David S. Miller <davem@davemloft.net>
14892
77e927af
DM
14893 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14894 warnings.
14895
374976dd
DM
14896 [BZ #6471]
14897 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14898 properly.
14899 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14900 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14901 sysdep_routines when subdir is sysvipc.
14902 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14903 __getshmlba helper.
14904
edc21804
DM
14905 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14906
473c3ef3
L
149072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14908
14909 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14910 [__LP64__].
14911
eb0f39b6
L
149122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14913
14914 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14915 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14916 (__lround): Renamed to ...
14917 (__llround): This. Replace long int with long long int.
14918 Define lround functions as aliases of llround functions.
14919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14920
6b6cd74b
L
149212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14922
14923 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14924 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14925 adresses to uintptr_t. Replace "long int" and "unsigned long
14926 int" with "greg_t" on va_arg.
14927
f1a77b01
L
149282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14929
14930 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14931 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14932
14933 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14934 Move e_machine check before EI_CLASS check. Handle x32
14935 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14936 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14937 SKIP_EM_IA_64 and include
14938 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14939
14940 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14941 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14942 (add_system_dir): New macro.
14943
14944 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14945 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14946
11b90b9f
JM
149472012-03-16 Joseph Myers <joseph@codesourcery.com>
14948
c36e1d23
JM
14949 [BZ #2551]
14950 [BZ #2552]
14951 [BZ #2553]
14952 [BZ #2554]
14953 [BZ #2562]
14954 [BZ #2563]
14955 [BZ #2565]
14956 [BZ #2566]
14957 [BZ #2576]
14958 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14959 (y0): Likewise.
14960 * math/w_j0f.c (j0f): Likewise.
14961 (y0f): Likewise.
14962 * math/w_j0l.c (__j0l): Likewise.
14963 (__y0l): Likewise.
14964 * math/w_j1.c (j1): Likewise.
14965 (y1): Likewise.
14966 * math/w_j1f.c (j1f): Likewise.
14967 (y1f): Likewise.
14968 * math/w_j1l.c (__j1l): Likewise.
14969 (__y1l): Likewise.
14970 * math/w_jn.c (jn): Likewise.
14971 (yn): Likewise.
14972 * math/w_jnf.c (jnf): Likewise.
14973 (ynf): Likewise.
14974 * math/w_jnl.c (__jnl): Likewise.
14975 (__ynl): Likewise.
14976 * math/libm-test.inc (j0_test): Add more tests.
14977 (j1_test): Likewise.
14978 (jn_test): Likewise. Add trailing semicolon to existing test.
14979 (y0_test): Likewise.
14980 (y1_test): Likewise.
14981 * sysdeps/i386/fpu/libm-test-ulps: Update.
14982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14983
11b90b9f
JM
14984 [BZ #13851]
14985 [BZ #13854]
14986 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14987 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14988 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14989 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14990 (__tanl): Set errno for infinite argument.
14991 * sysdeps/i386/fpu/mptan.c: Remove.
14992 * sysdeps/i386/fpu/s_tan.S: Likewise.
14993 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14994 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14995 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14996 * math/libm-test.inc (tan_test): Add more tests and enable more
14997 tests for double and long double.
14998 * sysdeps/i386/fpu/libm-test-ulps: Update.
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15000
6a1bd2a1
JK
150012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15002
15003 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15004 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15005
10a803e0
RM
150062012-03-16 Roland McGrath <roland@hack.frob.com>
15007
15008 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15009 * configure.in: Use it for both main tree and add-ons.
15010 * configure: Regenerated.
15011
f196c7f7
L
150122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15013
15014 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15015
8848d99d
JM
150162012-03-16 Joseph Myers <joseph@codesourcery.com>
15017
96cbe7f4
JM
15018 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15019 in comment.
15020
8848d99d
JM
15021 [BZ #13851]
15022 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15023 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15027 infinite argument.
15028 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15030 != 0 for prec == 2.
15031 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15032 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15033 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15034 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15035 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15036 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15037 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15038 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15039 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15040 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15041 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15042 * math/libm-test.inc (cos_test): Add more tests and enable more
15043 tests for long double.
15044 (sin_test): Likewise.
15045 (sincos_test): Likewise.
15046 * sysdeps/i386/fpu/libm-test-ulps: Update.
15047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15048
dd7f4703
DM
150492012-03-16 David S. Miller <davem@davemloft.net>
15050
15051 * sysdeps/sparc/fpu/math_private.h: New file.
15052
006f1daa
DM
150532012-03-15 David S. Miller <davem@davemloft.net>
15054
c0c83bc8
DM
15055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15056 file.
e6a62e18 15057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15059 file.
e6a62e18
DM
15060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15066 sysdep routines.
15067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15068
88cb87d9
DM
15069 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15070 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15071
006f1daa 15072 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15074 sparc-ifunc.h
006f1daa 15075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15077 Likewise.
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15079 Likewise.
006f1daa
DM
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15084 Likewise.
006f1daa
DM
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15090 Likewise.
15091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15092 Likewise.
006f1daa
DM
15093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15117
11e0098e
AS
151182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15119
15120 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15121 scaling.
15122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15123
e85b09d0
AJ
151242012-03-15 Andreas Jaeger <aj@suse.de>
15125
15126 [BZ #13852]
15127 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15128 ieee754/flt-32 implementation for sin, cos and sincos.
15129 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15130 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15131 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15132 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15133 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15134 ieee754/flt-32 implementation for tan.
15135
15136 * math/libm-test.inc (cos_test): Enable some large input tests for
15137 float as well
15138 (sin_test): Likewise.
15139 (sincos_test): Likewise.
15140 (tan_test): Add tests for large input.
15141
15142 * sysdeps/i386/fpu/libm-test-ulps: Update.
15143
81c64153
AJ
151442012-03-15 Andreas Jaeger <aj@suse.de>
15145
15146 [BZ #13658]
15147 * math/libm-test.inc (cos_test): Add more test cases.
15148 (sin_test): Likewise.
15149 (sincos_test): Likewise.
15150
7bbfa5c6
AJ
151512012-03-15 Andreas Jaeger <aj@suse.de>
15152
15153 [BZ #13837]
15154 * math/libm-test.inc (cos_test): Add a test case for large input
15155 value.
15156 (sin_test): Likewise.
15157 (sincos_test): Likewise.
15158
151592012-03-15 Andreas Jaeger <aj@suse.de>,
15160 Joseph Myers <joseph@codesourcery.com>
15161
15162 [BZ #13658]
0671f479 15163 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15164 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15165 * sysdeps/i386/fpu/branred.c: Likewise.
15166 * sysdeps/i386/fpu/dosincos.c: Likewise.
15167 * sysdeps/i386/fpu/mpa.c: Likewise.
15168 * sysdeps/i386/fpu/s_cos.S: Likewise.
15169 * sysdeps/i386/fpu/s_sin.S: Likewise.
15170 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15171 * sysdeps/i386/fpu/sincos32.c: Likewise.
15172
15173 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15174 Define.
15175 (libc_feupdateenv_53bit): Define.
15176 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15177 Define.
15178 (libc_feupdateenv_53bit): Define.
15179
15180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15181 53 bit (without extend i386 double precision).
15182
15183 * math/libm-test.inc (sincos_test): Add tests for large input.
15184 (sin): Likewise.
15185 (cos): Likewise.
15186
15187 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15188
9cad04ea
AS
151892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15190
15191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15192
f7062b9a
DM
151932012-03-15 David S. Miller <davem@davemloft.net>
15194
15195 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15196 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15197 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15198 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15211 file.
f7062b9a 15212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15214 file.
f7062b9a 15215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15217 file.
f7062b9a 15218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15220 file.
f7062b9a
DM
15221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15223 fmin/fmax sysdep routines.
15224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15225
7bd951ff
DM
152262012-03-14 David S. Miller <davem@davemloft.net>
15227
559398ab
DM
15228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15257 routines.
15258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15259 file.
559398ab 15260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15262 file.
559398ab 15263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15265 file.
559398ab 15266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15268 file.
559398ab 15269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15271 file.
559398ab 15272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15274 file.
15275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15276 file.
15277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15278 file.
15279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15280 file.
15281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15282 New file.
15283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15284 file.
15285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15286 file.
559398ab 15287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15289 file.
559398ab 15290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15292 file.
559398ab 15293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15295 file.
559398ab 15296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15298 VIS3 routines.
559398ab
DM
15299
15300 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15301 New file.
15302
5a1c1e32
DM
15303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15304
eae47a36
DM
15305 * sysdeps/sparc/configure.in: New file.
15306 * sysdeps/sparc/configure: Generate.
15307 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15308 * configure: Regenerate.
15309 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15310 * config.make.in (have-as-vis3): New.
15311 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15312 available use -Av9d instead of -Av9a.
15313 * sysdeps/sparc/sparc64/Makefile: Likewise.
15314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15316 New file.
15317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15318 file.
15319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15320 New file.
15321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15322 file.
eae47a36
DM
15323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15328
c0c83bc8
DM
15329 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15330 fzeros/fnegs to load 0x80000000 into a float register instead of
15331 using the stack.
7bd951ff
DM
15332 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15333
bd951ccb
JM
153342012-03-14 Joseph Myers <joseph@codesourcery.com>
15335
15336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15337 bits/syscall.h.
15338 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15339 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15340 ($(inst_includedir)/bits/syscall.h): Remove rule.
15341 ($(objpfx)bits/syscall.d): Include instead of
15342 $(objpfx)syscall-list.d.
15343 (generated): Change syscall-list.h and syscall-list.d to
15344 bits/syscall.h and bits/syscall.d.
15345
bb4e6db2
RM
153462012-03-14 Roland McGrath <roland@hack.frob.com>
15347
15348 [BZ #13846]
15349 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15350
aa4a2ae1
JM
153512012-03-14 Joseph Myers <joseph@codesourcery.com>
15352
e456826d
JM
15353 [BZ #13841]
15354 * math/s_csqrt.c: Include <float.h>.
15355 (__csqrt): Scale large or subnormal inputs.
15356 * math/s_csqrtf.c: Likewise.
15357 * math/s_csqrtl.c: Likewise.
15358 * math/libm-test.inc (csqrt_test): Add more tests.
15359 * sysdeps/i386/fpu/libm-test-ulps: Update.
15360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15361
aa4a2ae1
JM
15362 [BZ #13840]
15363 * math/libm-test.inc (hypot_test): Add more tests.
15364
7c10fd35
DM
153652012-03-13 David S. Miller <davem@davemloft.net>
15366
15367 [BZ #13840]
15368 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15369 double-precision for the calculation instead of scaling.
15370
f453b98b
JM
153712012-03-13 Joseph Myers <joseph@codesourcery.com>
15372
15373 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15374 manipulate bits before adding and subtracting TWO52[sx].
15375 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15376 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15377 Likewise.
15378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15379
09a3453f
DM
153802012-03-13 David S. Miller <davem@davemloft.net>
15381
8e59da90
DM
15382 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15383 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15385 rtld-global-offsets.h
15386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15387
2a8ab7f2
DM
15388 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15389 large parameters.
15390
10f62770
DM
15391 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15392
5f0bdb18
DM
15393 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15394 'err' in the ifdef scope in which it is actually used.
15395
09a3453f
DM
15396 * nss/nss_db/db-init.c: Include string.h
15397
b4b2eb5e
DM
153982012-03-12 David S. Miller <davem@davemloft.net>
15399
98bb2f1c
DM
15400 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15401 masking out of the most significant byte of random value used.
15402 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15403 Fix coding style in previous change.
15404
b4b2eb5e
DM
15405 * sysdeps/unix/sysv/linux/kernel-features.h
15406 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15407 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15408 expression.
15409 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15410 later.
15411
6e226b09
DM
154122012-03-11 David S. Miller <davem@davemloft.net>
15413
a1bcbd40
DM
15414 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15415 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15416 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15417 for 'resultvar' otherwise things get truncated on 64-bit.
15418
cb9d6174
DM
15419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15420 Fix masking out of the most significant byte of random value used.
15421
6e226b09
DM
15422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15423
058c132d
AS
154242012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15425
15426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15427
2d2cd515
DM
154282012-03-09 David S. Miller <davem@davemloft.net>
15429
15430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15431 variables with appropriate CPP guards.
15432 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15433 frame pointer, not the stack pointer. Correct layout comments. Fix test
15434 on resulting framesize and the management of the outregs buffer for pltexit.
15435 Preserve floating point return values across _dl_call_pltexit call.
15436 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15437 framesize and the management of the outregs buffer for pltexit.
15438 Preserve floating point return values across _dl_call_pltexit
15439 call.
15440 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15441 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15442 (print_exit): Fix format string for return register value.
15443
9a07f9d0
JM
154442012-03-10 Joseph Myers <joseph@codesourcery.com>
15445
15446 * sunrpc/Makefile (others): Add rpcgen.
15447 ($(objpfx)rpcgen): Remove special build rule and dependency on
15448 libc.
15449 * sunrpc/rpcgen.c: New file.
15450
547b5e30
PE
154512012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15452
c524201a
PE
15453 [BZ #13673]
15454 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15455 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15456 * sysdeps/i386/crti.S: Likewise.
15457 * sysdeps/i386/crtn.S: Likewise.
15458 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15459 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15460 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15461 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15462 * sysdeps/sh/crti.S: Likewise.
15463 * sysdeps/sh/crtn.S: Likewise.
15464 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15465
7b6235f2
PE
15466 [BZ #13673]
15467 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15468 with URL.
15469 * locale/programs/locfile-kw.gperf: Likewise.
15470 * locale/programs/charmap-kw.h: Regenerated.
15471 * locale/programs/locfile-kw.h: Likewise.
15472
547b5e30
PE
15473 [BZ #13673]
15474 * intl/plural.y: Replace FSF snail mail address with URL.
15475 * intl/plural.c: Regenerated.
15476
5f0a5dae
RH
154772012-03-09 Richard Henderson <rth@twiddle.net>
15478
15479 * include/math_private.h: Remove file.
15480 * math/math_private.h: Move file ...
15481 * sysdeps/generic/math_private.h: ... here.
15482
b8c03620
RH
15483 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15484 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15485 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15486
4e234f5d 15487 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15488 and <math_private.h>.
15489 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15490 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15491 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15492 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15493 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15494 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15495 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15500 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15501 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15514 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15516 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15518 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15519 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15521 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15522 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15523 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15526 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15527 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15528 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15529 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15530 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15531 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15532 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15533 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15534 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15535 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15538 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15559 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15560 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15562 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15563 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15567 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15568 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15569 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15570 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15571 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15572 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15573 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15575 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15576 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15577 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15578 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15579 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15580 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15582 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15583 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15584 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15585 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15586 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15587 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15588 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15589 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15590 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15591 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15592 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15593 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15594 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15595 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15596 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15597 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15598 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15599 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15600 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15601 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15602 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15603 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15605 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15606 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15607 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15608 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15609 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15610 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15611 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15612 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15613 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15615 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15616 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15617 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15618 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15619 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15620 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15621 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15622 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15623 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15624 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15625 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15627 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15628 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15629 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15630 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15631 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15632 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15633 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15634 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15635 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15636 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15637 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15638 * sysdeps/ieee754/k_standard.c: Likewise.
15639 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15644 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15646 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15647 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15648 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15649 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15651 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15652 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15653 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15655 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15656 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15660 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15670 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15671 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15672 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15758 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15759 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15761 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15766 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15787 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15788 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15789 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15799 * sysdeps/ieee754/s_lib_version.c: Likewise.
15800 * sysdeps/ieee754/s_matherr.c: Likewise.
15801 * sysdeps/ieee754/s_signgam.c: Likewise.
15802 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15803 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15804 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15805 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15806 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15807 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15808 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15809 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15810 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15811 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15812 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15813 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15814 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15815 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15816 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15817 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15818 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15819 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15820 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15823
1991fa03
JM
158242012-03-09 Joseph Myers <joseph@codesourcery.com>
15825
15826 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15827 * sunrpc/rpc_main.c: Likewise.
15828 * sunrpc/rpc_svcout.c: Likewise.
15829
60d6f5a6
DM
158302012-03-09 David S. Miller <davem@davemloft.net>
15831
15832 * include/math_private.h: New file.
15833
4962050e
JM
158342012-03-09 Joseph Myers <joseph@codesourcery.com>
15835
02a6f887
JM
15836 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15837 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15838 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15839 from <bits/socket_type.h>.
15840 (enum __socket_type): Don't define here.
15841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15843 bits/socket_type.h.
15844
c6e013c1
JM
15845 [BZ #13566]
15846 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15847 checking __USE_GNU.
15848
4962050e
JM
15849 * Makerules ($(inst_includedir)/%.h): New rule.
15850 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15851 (install-others): Remove variable setting.
15852 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15853
38842f45
RH
158542012-03-08 Richard Henderson <rth@twiddle.net>
15855
67bb6da6
RH
15856 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15857 from macro to inline function; merge with the
15858 !__LIBC_INTERNAL_MATH_INLINES version.
15859 (__ieee754_sqrtf): Likewise.
15860
15194b4b
RH
15861 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15862 to inline function.
15863 (__rintf, __floor, __floorf): Likewise.
15864
64e21ede
RH
15865 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15866 macro to inline function.
15867 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15868
38842f45
RH
15869 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15870 not <math/math_private.h>.
15871
c64bf5fe
DM
158722012-03-08 David S. Miller <davem@davemloft.net>
15873
15874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15875 copyright year.
15876 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15877
82d86f28
TS
158782012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15879
15880 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15881 normalization.
15882 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15883 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15884
aea5d727
UD
158852012-03-08 Ulrich Drepper <drepper@gmail.com>
15886
15887 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15888 be defined individually, they must be defined as a block. Define
15889 S for printing a string instead of hidint the different by using a
15890 macro for adding the 'l'.
15891 * stdio-common/tst-fphex-wide.c: Adjust.
15892
70bca0a3
MP
158932012-03-07 Marek Polacek <polacek@redhat.com>
15894
15895 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15896
65b81130
MP
158972012-03-08 Marek Polacek <polacek@redhat.com>
15898
15899 [BZ #13806]
15900 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15901 * stdio-common/tst-fphex.c: Define a few macros to make the
15902 test reusable. Use them.
15903 * stdio-common/tst-fphex-wide.c: New file.
15904
07037eeb
JM
159052012-03-08 Joseph Myers <joseph@codesourcery.com>
15906
a7a93d50
JM
15907 [BZ #6911]
15908 * manual/macros.texi (gnusystems): New macro.
15909 (nongnusystems): Likewise.
15910 (gnulinuxhurdsystems): Likewise.
15911 (gnuhurdsystems): Likewise..
15912 (gnulinuxsystems): Likewise.
15913 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15914 variants of the GNU system, not "GNU system".
15915 * manual/conf.texi: Likewise.
15916 * manual/errno.texi: Likewise. Update example of errno macro
15917 expansion.
15918 * manual/filesys.texi: Likewise.
15919 (getumask): Document as specific to GNU/Hurd.
15920 * manual/install.texi: Likewise. Reword some references to
15921 GNU/Linux.
15922 * manual/intro.texi: Likewise.
15923 * manual/io.texi: Likewise.
15924 (File Name Portability): Detail which constraints are inapplicable
15925 to all GNU systems and which are only inapplicable to GNU/Hurd.
15926 * manual/job.texi: Likewise.
15927 * manual/llio.texi: Likewise.
15928 (O_NOCTTY): Document as present on GNU/Linux.
15929 * manual/maint.texi: Likewise.
15930 * manual/memory.texi: Likewise.
15931 * manual/pattern.texi: Likewise.
15932 * manual/pipe.texi: Likewise.
15933 * manual/process.texi: Likewise.
15934 * manual/resource.texi: Likewise.
15935 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15936 child on GNU/Hurd.
15937 * manual/setjmp.texi: Likewise.
15938 * manual/signal.texi: Likewise.
15939 * manual/startup.texi: Likewise.
15940 * manual/stdio.texi: Likewise.
15941 * manual/terminal.texi: Likewise.
15942 (ONLCR): Document as POSIX.
15943 (OXTABS): Document availability on GNU/Linux as XTABS.
15944 (ONOEOT): Document availability separately from other bits.
15945 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15946 * manual/time.texi: Likewise.
15947 * manual/users.texi: Likewise.
15948 * INSTALL: Regenerated.
15949 * sysdeps/gnu/errlist.c: Regenerated.
15950
07037eeb
JM
15951 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15952 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15953 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15954 puts.
15955 * configure: Regenerated.
15956
d1d3431a
JM
159572012-03-07 Joseph Myers <joseph@codesourcery.com>
15958
af6a1e37
JM
15959 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15960 default includes instead of AC_HEADER_CHECK.
15961 * sysdeps/i386/configure: Regenerated.
15962
d1d3431a
JM
15963 [BZ #10716]
15964 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15965 * math/s_cacoshf.c (__cacoshf): Likewise.
15966 * math/s_cacoshl.c (__cacoshl): Likewise.
15967 * math/s_casinh.c (__casinh): Set signs of result from argument.
15968 * math/s_casinhf.c (__casinhf): Likewise.
15969 * math/s_casinhl.c (__casinhl): Likewise.
15970 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15971 (casinh_test): Add more tests.
15972 * sysdeps/i386/fpu/libm-test-ulps: Update.
15973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15974
482ff4da
UD
159752012-03-07 Ulrich Drepper <drepper@gmail.com>
15976
872fda05
UD
15977 * po/zh_TW.po: Update from translation team.
15978
a4300c7a
UD
15979 * login/Makefile (distribute): Remove variable.
15980 * catgets/Makefile: Likewise.
15981 * mach/Makefile: Likewise.
15982 * malloc/Makefile: Likewise.
15983 * misc/Makefile: Likewise.
15984 * iconv/Makefile: Likewise.
15985 * nscd/Makefile: Likewise.
15986 * hurd/Makefile: Likewise.
15987 * manual/Makefile: Likewise.
15988 * locale/Makefile: Likewise.
15989 * intl/Makefile: Likewise.
15990 * conform/Makefile: Likewise.
15991 * nss/Makefile: Likewise.
15992 * time/Makefile: Likewise.
15993 * soft-fp/Makefile: Likewise.
15994 * dirent/Makefile: Likewise.
15995 * gmon/Makefile: Likewise.
15996 * po/Makefile: Likewise.
15997 * rt/Makefile: Likewise.
15998 * socket/Makefile: Likewise.
15999 * math/Makefile: Likewise.
16000 * signal/Makefile: Likewise.
16001 * debug/Makefile: Likewise.
16002 * elf/Makefile: Likewise.
16003 * timezone/Makefile: Likewise.
16004 * stdlib/Makefile: Likewise.
16005 * iconvdata/Makefile: Likewise.
16006 * sunrpc/Makefile: Likewise.
16007 * io/Makefile: Likewise.
16008 * argp/Makefile: Likewise.
16009 * inet/Makefile: Likewise.
16010 * hesiod/Makefile: Likewise.
16011 * grp/Makefile: Likewise.
16012 * csu/Makefile: Likewise.
16013 * wctype/Makefile: Likewise.
16014 * crypt/Makefile: Likewise.
16015 * libio/Makefile: Likewise.
16016 * string/Makefile: Likewise.
16017 * nis/Makefile: Likewise.
16018 * resolv/Makefile: Likewise.
16019 * stdio-common/Makefile: Likewise.
16020 * wcsmbs/Makefile: Likewise.
16021 * dlfcn/Makefile: Likewise.
16022 * posix/Makefile: Likewise.
16023
3b7c4e74 16024 [BZ #6959]
482ff4da
UD
16025 * timezone/Makefile: Don't install timezone files, just the programs
16026 and scripts.
16027
f72ed77d
UD
160282012-03-06 Ulrich Drepper <drepper@gmail.com>
16029
a000466f
UD
16030 * nss/databases.def: Add missing gshadow entry.
16031
f72ed77d
UD
16032 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16033
a53b7a4e
MP
160342012-03-06 Marek Polacek <polacek@redhat.com>
16035
16036 [BZ #13726]
16037 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16038 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16039 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16040 * stdio-common/tst-long-dbl-fphex.c: New file.
16041
e9258400
DM
160422012-03-06 David S. Miller <davem@davemloft.net>
16043
16044 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16045 (set_obp_int): New function.
16046 (get_obp_int): New function.
16047 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16049 Avoid unused variable warnings on 'val' and use builtin_expect.
16050 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16051 __builtin_expect.
e9258400
DM
16052 (INLINE_CLONE_SYSCALL): Likewise.
16053
3bd2c723
DM
160542012-03-05 David S. Miller <davem@davemloft.net>
16055
16056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16057
bbb78d03
AS
160582012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16059
884c5db4
AS
16060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16061
bbb78d03
AS
16062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16063 only for |x| >= 40.
16064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16065
1c9f702a 160662012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16067
16068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16069 Replace gettimeofday with __vdso_gettimeofday.
16070
7be16f82
RM
16071 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16072 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16073 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16074
16075 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16076 time with __vdso_time.
16077
ed58a00f
JM
160782012-03-05 Joseph Myers <joseph@codesourcery.com>
16079
16080 * manual/lang.texi (size_t): Note types to which size_t may be
16081 equivalent with the GNU C Library, but do not describe when
16082 differences between them are significant.
16083
30ee4ced
AJ
160842012-03-05 Andreas Jaeger <aj@suse.de>
16085
16086 * sysdeps/i386/fpu/libm-test-ulps: Update.
16087
b7cd39e8
JM
160882012-03-05 Joseph Myers <joseph@codesourcery.com>
16089
16090 [BZ #3976]
16091 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16092 (__ieee754_pow): Save and restore rounding mode and use
16093 round-to-nearest for main computations.
16094 * math/libm-test.inc (pow_test_tonearest): New function.
16095 (pow_test_towardzero): Likewise.
16096 (pow_test_downward): Likewise.
16097 (pow_test_upward): Likewise.
16098 (main): Call the new functions.
16099 * sysdeps/i386/fpu/libm-test-ulps: Update.
16100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16101
16102 [BZ #3976]
16103 * math/libm-test.inc (cosh_test_tonearest): New function.
16104 (cosh_test_towardzero): Likewise.
16105 (cosh_test_downward): Likewise.
16106 (cosh_test_upward): Likewise.
16107 (sinh_test_tonearest): Likewise.
16108 (sinh_test_towardzero): Likewise.
16109 (sinh_test_downward): Likewise.
16110 (sinh_test_upward): Likewise.
16111 (main): Call the new functions.
16112 * sysdeps/i386/fpu/libm-test-ulps: Update.
16113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16114
6c6a98c9
TV
161152012-03-05 Tom de Vries <tom@codesourcery.com>
16116
16117 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16118 default stack guard is set in last bytes.
16119 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16120
21bb2d2e 161212012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16122
21bb2d2e 16123 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16124
21bb2d2e
AJ
16125 [BZ #13656]
16126 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16127 possibly allocate from heap instead of stack.
16128 * stdio-common/bug-vfprintf-nargs.c: New file.
16129 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16130
c6922934
AS
161312012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16132
16133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16134
bc957d53
MP
161352012-03-03 Marek Polacek <polacek@redhat.com>
16136
16137 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16138 * math/math_private.h: Likewise.
16139 * stdlib/tst-strtod.c: Likewise.
16140 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16141 * sysdeps/x86_64/bits/atomic.h: Likewise.
16142
6358490d
DM
161432012-03-02 David S. Miller <davem@davemloft.net>
16144
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16149 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16150 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16151 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16152 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16153
01ae168d
RM
161542012-03-02 Roland McGrath <roland@hack.frob.com>
16155
d9a17c07
RM
16156 [BZ #13792]
16157 * manual/examples/README: New file, says the example source files
16158 can be used under GPL>=2.
16159 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16160 line containing just "*/".
16161 * manual/examples/add.c: Add copyright header (GPL>=2).
16162 * manual/examples/argp-ex1.c: Likewise.
16163 * manual/examples/argp-ex2.c: Likewise.
16164 * manual/examples/argp-ex3.c: Likewise.
16165 * manual/examples/argp-ex4.c: Likewise.
16166 * manual/examples/atexit.c: Likewise.
16167 * manual/examples/db.c: Likewise.
16168 * manual/examples/dir.c: Likewise.
16169 * manual/examples/dir2.c: Likewise.
16170 * manual/examples/execinfo.c: Likewise.
16171 * manual/examples/filecli.c: Likewise.
16172 * manual/examples/filesrv.c: Likewise.
16173 * manual/examples/fmtmsgexpl.c: Likewise.
16174 * manual/examples/genpass.c: Likewise.
16175 * manual/examples/inetcli.c: Likewise.
16176 * manual/examples/inetsrv.c: Likewise.
16177 * manual/examples/isockad.c: Likewise.
16178 * manual/examples/longopt.c: Likewise.
16179 * manual/examples/memopen.c: Likewise.
16180 * manual/examples/memstrm.c: Likewise.
16181 * manual/examples/mkfsock.c: Likewise.
16182 * manual/examples/mkisock.c: Likewise.
16183 * manual/examples/mygetpass.c: Likewise.
16184 * manual/examples/pipe.c: Likewise.
16185 * manual/examples/popen.c: Likewise.
16186 * manual/examples/rprintf.c: Likewise.
16187 * manual/examples/search.c: Likewise.
16188 * manual/examples/select.c: Likewise.
16189 * manual/examples/setjmp.c: Likewise.
16190 * manual/examples/sigh1.c: Likewise.
16191 * manual/examples/sigusr.c: Likewise.
16192 * manual/examples/stpcpy.c: Likewise.
16193 * manual/examples/strdupa.c: Likewise.
16194 * manual/examples/strftim.c: Likewise.
16195 * manual/examples/strncat.c: Likewise.
16196 * manual/examples/subopt.c: Likewise.
16197 * manual/examples/swapcontext.c: Likewise.
16198 * manual/examples/termios.c: Likewise.
16199 * manual/examples/testopt.c: Likewise.
16200 * manual/examples/testpass.c: Likewise.
16201 * manual/examples/timeval_subtract.c: Likewise.
16202
01ae168d
RM
16203 [BZ #13792]
16204 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16205 function to ...
16206 * manual/timeval_subtract.c.texi: ... here, new file.
16207
49efa33d
DM
162082012-03-02 David S. Miller <davem@davemloft.net>
16209
16210 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16211
28afd92d
JM
162122012-03-02 Joseph Myers <joseph@codesourcery.com>
16213
804360ed
JM
16214 [BZ #3976]
16215 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16216 (__sin): Save and restore rounding mode and use round-to-nearest
16217 for all computations.
16218 (__cos): Save and restore rounding mode and use round-to-nearest
16219 for all computations.
16220 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16221 <fenv.h>.
16222 (tan): Save and restore rounding mode and use round-to-nearest for
16223 all computations.
16224 * math/libm-test.inc (cos_test_tonearest): New function.
16225 (cos_test_towardzero): Likewise.
16226 (cos_test_downward): Likewise.
16227 (cos_test_upward): Likewise.
16228 (sin_test_tonearest): Likewise.
16229 (sin_test_towardzero): Likewise.
16230 (sin_test_downward): Likewise.
16231 (sin_test_upward): Likewise.
16232 (tan_test_tonearest): Likewise.
16233 (tan_test_towardzero): Likewise.
16234 (tan_test_downward): Likewise.
16235 (tan_test_upward): Likewise.
16236 (main): Call the new functions.
16237 * sysdeps/i386/fpu/libm-test-ulps: Update.
16238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16239
a6d06d7b
JM
16240 [BZ #10135]
16241 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16242 small n, then large n, before computing and testing k+n.
16243 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16244 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16245 Likewise.
16246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16247 Likewise.
16248 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16249 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16252 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16255 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16256 * math/libm-test.inc (scalbn_test): Add more tests.
16257 (scalbln_test): Likewise.
16258
07e12bb3
JM
16259 * manual/filesys.texi (mode_t): Describe constraints on size and
16260 signedness, not exact equivalence to a particular type.
16261 (ino_t): Likewise.
16262 (ino64_t): Likewise.
16263 (dev_t): Likewise.
16264 (nlink_t): Likewise.
16265 (blkcnt_t): Likewise.
16266 (blkcnt64_t): Likewise.
16267 * manual/llio.texi (off_t): Likewise.
16268
28afd92d
JM
16269 [BZ #3976]
16270 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16271 (__ieee754_exp): Save and restore rounding mode and use
16272 round-to-nearest for all computations.
16273 * math/libm-test.inc (exp_test_tonearest): New function.
16274 (exp_test_towardzero): Likewise.
16275 (exp_test_downward): Likewise.
16276 (exp_test_upward): Likewise.
16277 (main): Call the new functions.
16278 * sysdeps/i386/fpu/libm-test-ulps: Update.
16279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16280
b1eeb65d
CD
162812012-03-01 Chris Demetriou <cgd@google.com>
16282
16283 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16284 have predictable order.
16285
53362a4b
DM
162862012-03-01 David S. Miller <davem@davemloft.net>
16287
3c969083
DM
16288 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16289
759707de
DM
16290 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16291 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16294
dfdb8ff2
DM
16295 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16296 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16297 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16302 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16304
ead89f96
DM
16305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16306
7f66bd07
DM
16307 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16308 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16309 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16310
53362a4b
DM
16311 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16312 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16313 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16314 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16315 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16318 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16319 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16320 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16321 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16324 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16325 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16327 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16328 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16329 * sysdeps/sparc/elf/configure: Regenerated.
16330
7b1902cb
JM
163312012-03-01 Joseph Myers <joseph@codesourcery.com>
16332
bec039bc
JM
16333 * configure.in (AS, LD): Require binutils 2.20 or later.
16334 * configure: Regenerated.
16335 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16336 as required minimum version.
16337 * INSTALL: Regenerated.
16338
7b1902cb
JM
16339 [BZ #2541]
16340 [BZ #4108]
16341 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16342 before squaring exponent.
16343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16344 bottom long double and 27 bits of top long double before squaring
16345 exponent.
16346 * math/libm-test.inc (erfc_test): Add more tests.
16347 * sysdeps/i386/fpu/libm-test-ulps: Update.
16348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16350
f775c276
KT
163512012-03-01 Kai Tietz <ktietz@redhat.com>
16352
16353 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16354 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16355 containing bit-fields.
16356 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16357 * soft-fp/single.h (_FP_UNION_S): Likewise.
16358 * soft-fp/double.h (_FP_UNION_D): Likewise.
16359
5b8a4d4a
JM
163602012-02-29 Joseph Myers <joseph@codesourcery.com>
16361
0bab47b6
JM
16362 [BZ #13786]
16363 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16364 not include ../strcmp.S.
16365 [USE_AS_STRNCASECMP_L]: Likewise.
16366 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16367 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16368 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16369 (__strncasecmp_l_ia32): Define as alias to
16370 __strncasecmp_l_nonascii.
16371
0fcad3e2
JM
16372 [BZ #5794]
16373 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16374 * sysdeps/i386/fpu/libm-test-ulps: Update.
16375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16376
5b8a4d4a
JM
16377 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16379
8fdceb2e
JL
163802012-02-29 Jeff Law <law@redhat.com>
16381
16382 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16383 out of bounds read.
16384
1f393a11
MP
163852012-02-29 Marek Polacek <polacek@redhat.com>
16386
16387 [BZ #13706]
16388 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16389 * elf/Makefile: Add rules to run tst-unused-dep.out.
16390
8847f037
DM
163912012-02-28 David S. Miller <davem@davemloft.net>
16392
16393 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16394 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16396 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16397 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16398 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16399
169d7f11
JM
164002012-02-29 Joseph Myers <joseph@codesourcery.com>
16401
16402 * math/libm-test.inc (llround_test): Move one test from
16403 lround_test. Use TEST_f_L in moved test.
16404 (lround_test): Move misplaced test to llround_test. Add testcase
16405 from bug 2561.
16406
39adf059
UD
164072012-02-28 Ulrich Drepper <drepper@gmail.com>
16408
16409 * sysdeps/x86_64/fpu/e_expf.S: New file.
16410 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16411
71b5d1c5
SB
164122012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16413
16414 [BZ #13637]
16415 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16416 of remain_len that may cause incomplete multi-byte character and
16417 false match.
16418 * posix/bug-regex33.c: New file.
16419 * posix/Makefile (tests): Add bug-regex33.
16420
1f77f049
JM
164212012-02-28 Joseph Myers <joseph@codesourcery.com>
16422
16423 * manual/macros.texi: New file.
16424 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16425 * manual/libc.texinfo: Include macros.texi.
16426 * manual/creatute.texi: Likewise.
16427 * manual/install.texi: Likewise.
16428 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16429 @glibcadj{} in references to the GNU C Library.
16430 * manual/charset.texi: Likewise.
16431 * manual/conf.texi: Likewise.
16432 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16433 when not using those macros.
16434 * manual/creature.texi: Likewise.
16435 * manual/crypt.texi: Likewise.
16436 * manual/errno.texi: Likewise.
16437 * manual/filesys.texi: Likewise.
16438 * manual/header.texi: Likewise.
16439 * manual/install.texi: Likewise.
16440 * manual/intro.texi: Likewise.
16441 * manual/io.texi: Likewise.
16442 * manual/job.texi: Likewise.
16443 * manual/lang.texi: Likewise.
16444 * manual/libc.texiinfo: Likewise.
16445 * manual/llio.texi: Likewise.
16446 * manual/locale.texi: Likewise.
16447 * manual/maint.texi: Likewise.
16448 * manual/math.texi: Likewise.
16449 * manual/memory.texi: Likewise.
16450 * manual/message.texi: Likewise.
16451 * manual/nss.texi: Likewise.
16452 * manual/pattern.texi: Likewise.
16453 * manual/process.texi: Likewise.
16454 * manual/resource.texi: Likewise.
16455 * manual/search.texi: Likewise.
16456 * manual/setjmp.texi: Likewise.
16457 * manual/signal.texi: Likewise.
16458 * manual/socket.texi: Likewise.
16459 * manual/startup.texi: Likewise.
16460 * manual/stdio.texi: Likewise.
16461 * manual/string.texi: Likewise.
16462 * manual/sysinfo.texi: Likewise.
16463 * manual/syslog.texi: Likewise.
16464 * manual/terminal.texi: Likewise.
16465 * manual/time.texi: Likewise.
16466 * manual/users.texi: Likewise.
16467 * INSTALL: Regenerated.
16468 * NOTES: Regenerated.
d40c5d54 16469 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16470
450bf206
AS
164712012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16472
16473 * include/dirent.h: Include <dirstream.h> before
16474 <dirent/dirent.h>.
16475
741a235b
DM
164762012-02-28 David S. Miller <davem@davemloft.net>
16477
16478 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16479 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16480 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16481 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16482
d6b5aa58
DM
164832012-02-27 David S. Miller <davem@davemloft.net>
16484
1aff59a3
DM
16485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16487 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16488 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16489
d6b5aa58
DM
16490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16491 frame pointer instead of stack pointer relative arg slot.
16492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16495
433f48bf
CD
164962012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16497
16498 [BZ #3992]
16499 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16500
d674b76d
DM
165012012-02-27 David S. Miller <davem@davemloft.net>
16502
16503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16507 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16508 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16509 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16510 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16511
0e7727f7
JM
165122012-02-27 Joseph Myers <joseph@codesourcery.com>
16513
16514 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16515 later. Allow versions 5-9.
43be4ca2 16516 * configure: Regenerated.
0e7727f7
JM
16517 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16518 required minimum version and 4.6 as recommended version. Do not
16519 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16520 * INSTALL: Regenerated.
0e7727f7 16521
a78bc654
DM
165222012-02-27 David S. Miller <davem@davemloft.net>
16523
428d5830
DM
16524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16528 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16529 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16530 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16531 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16532
a78bc654
DM
16533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16534 manipulate bits before adding and subtracting TWO112[sx].
16535 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16536
4579f81c
RM
165372012-02-27 Roland McGrath <roland@hack.frob.com>
16538
36c8acb4
RM
16539 [BZ #13775]
16540 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16541 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16542 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16543 being in POSIX, because they are in 1003.1-2008.
16544
84ad622b
RM
16545 * rt/tst-aio.c: Include <fcntl.h>.
16546 * rt/tst-aio7.c: Likewise.
16547 * rt/tst-aio64.c: Likewise.
16548
4579f81c
RM
16549 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16550
abd923db
JM
165512012-02-27 Joseph Myers <joseph@codesourcery.com>
16552
16553 * manual/install.texi (--with-headers): Describe headers as
16554 interface headers, not private headers.
16555 (Specific advice for GNU/Linux systems): Describe use of headers
16556 from "make headers_install", not private headers from older
16557 kernels.
43be4ca2 16558 * INSTALL: Regenerated.
abd923db
JM
16559 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16560 Change to 2.6.19.
16561 * sysdeps/unix/sysv/linux/configure: Regenerated.
16562
6664049b
JM
16563 * manual/llio.texi (fclean): Remove documentation.
16564
bb8b6697
JM
16565 * manual/Makefile (libc-texi-generated): New variable. Include
16566 version.texi.
16567 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16568 $(libc-texi-generated), not duplicated list of files.
16569 (version.texi, stamp-version): New rules.
16570 (realclean): Remove $(libc-texi-generated), not individual files
16571 from that list. Do not remove dir-add.texinfo.
16572 * manual/libc.texinfo: Comment out uses of edition numbers and
16573 references to printed manual. Remove last-updated dates.
16574 (EDITION): Comment out.
16575 (ISBN): Likewise.
16576 (VERSION, UPDATED): Remove.
16577 (version.texi): Include.
16578
12e5c3b9
AS
165792012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16580
16581 * sysdeps/posix/spawni.c: Include <signal.h>.
16582 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16583 * sysdeps/pthread/aio_fsync.c: Likewise.
16584
4efeffc1 165852012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16586
ba63ba08
UD
16587 * conform/Makefile (tests): Run only when not cross-compiling and
16588 when fast-check is not defined.
16589
d94a4670
UD
16590 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16591 * conform/data/limits.h-data: Fixes for POSIX2008.
16592 * conform/run-conformtest.sh: Run all tests.
16593 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16594 headers.
16595 * include/bits/dlfcn.h: Likewise.
16596 * include/langinfo.h: Likewise.
16597 * include/monetary.h: Likewise.
16598 * include/sys/poll.h: Likewise.
16599
16600 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16601 for __USE_GNU.
16602 * posix/spawn.h: Define __need_sigset_t.
16603 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16604 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16605 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16606 to get sigevent_t only.
16607 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16608 only for __USE_GNU.
16609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16610 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16611 process_vm_writev only for __USE_GNU.
16612 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16613
16614 * conform/Makefile: For now ignore errors from run-conformtest.
16615 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16616 POSIX to avoid namespace pollution. Don't prepend headers.
16617 * conform/data/aio.h-data: Fixes for POSIX testing.
16618 * conform/data/fcntl.h-data: Likewise.
16619 * conform/data/glob.h-data: Likewise.
16620 * conform/data/grp.h-data: Likewise.
16621 * conform/data/pthread.h-data: Likewise.
16622 * conform/data/pwd.h-data: Likewise.
16623 * conform/data/signal.h-data: Likewise.
16624 * conform/data/spawn.h-data: Likewise.
16625 * conform/data/stdio.h-data: Likewise.
16626 * conform/data/stdlib.h-data: Likewise.
16627 * conform/data/stropts.h-data: Likewise.
16628 * conform/data/sys/mman.h-data: Likewise.
16629 * conform/data/sys/stat.h-data: Likewise.
16630 * conform/data/sys/types.h-data: Likewise.
16631 * conform/data/sys/wait.h-data: Likewise.
16632 * conform/data/time.h-data: Likewise.
16633 * conform/data/unistd.h-data: Likewise.
16634 * conform/data/utime.h-data: Likewise.
16635
16636 * io/sys/stat.h: fchmod was always in POSIX.
16637 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16638 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16639 * rt/aio.h: Define __need_timespec before including <time.h>.
16640 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16641 struct. Add forward declaration of pthread_attr_t and use it in
16642 sigevent.
16643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16645 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16646 always remove CLK_TCK definition.
16647
c20105c3
AS
166482012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16649
16650 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16651
7a270350
UD
166522012-02-25 Ulrich Drepper <drepper@gmail.com>
16653
31341567
UD
16654 * conform/run-conformtest.sh: New file.
16655 * conform/Makefile: Run run-conformtest for tests.
16656 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16657 support.
16658
16659 * conform/data/uchar.h-data: New file.
16660 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16661 * conform/data/arpa/inet.h-data: Likewise.
16662 * conform/data/assert.h-data: Likewise.
16663 * conform/data/complex.h-data: Likewise.
16664 * conform/data/cpio.h-data: Likewise.
16665 * conform/data/ctype.h-data: Likewise.
16666 * conform/data/dirent.h-data: Likewise.
16667 * conform/data/dlfcn.h-data: Likewise.
16668 * conform/data/errno.h-data: Likewise.
16669 * conform/data/fcntl.h-data: Likewise.
16670 * conform/data/float.h-data: Likewise.
16671 * conform/data/fmtmsg.h-data: Likewise.
16672 * conform/data/fnmatch.h-data: Likewise.
16673 * conform/data/ftw.h-data: Likewise.
16674 * conform/data/glob.h-data: Likewise.
16675 * conform/data/grp.h-data: Likewise.
16676 * conform/data/iconv.h-data: Likewise.
16677 * conform/data/inttypes.h-data: Likewise.
16678 * conform/data/langinfo.h-data: Likewise.
16679 * conform/data/libgen.h-data: Likewise.
16680 * conform/data/limits.h-data: Likewise.
16681 * conform/data/locale.h-data: Likewise.
16682 * conform/data/math.h-data: Likewise.
16683 * conform/data/monetary.h-data: Likewise.
16684 * conform/data/mqueue.h-data: Likewise.
16685 * conform/data/ndbm.h-data: Likewise.
16686 * conform/data/net/if.h-data: Likewise.
16687 * conform/data/netdb.h-data: Likewise.
16688 * conform/data/netinet/in.h-data: Likewise.
16689 * conform/data/nl_types.h-data: Likewise.
16690 * conform/data/poll.h-data: Likewise.
16691 * conform/data/pthread.h-data: Likewise.
16692 * conform/data/pwd.h-data: Likewise.
16693 * conform/data/regex.h-data: Likewise.
16694 * conform/data/sched.h-data: Likewise.
16695 * conform/data/search.h-data: Likewise.
16696 * conform/data/semaphore.h-data: Likewise.
16697 * conform/data/setjmp.h-data: Likewise.
16698 * conform/data/signal.h-data: Likewise.
16699 * conform/data/spawn.h-data: Likewise.
16700 * conform/data/stdarg.h-data: Likewise.
16701 * conform/data/stdio.h-data: Likewise.
16702 * conform/data/stdlib.h-data: Likewise.
16703 * conform/data/string.h-data: Likewise.
16704 * conform/data/strings.h-data: Likewise.
16705 * conform/data/stropts.h-data: Likewise.
16706 * conform/data/sys/ipc.h-data: Likewise.
16707 * conform/data/sys/mman.h-data: Likewise.
16708 * conform/data/sys/msg.h-data: Likewise.
16709 * conform/data/sys/resource.h-data: Likewise.
16710 * conform/data/sys/select.h-data: Likewise.
16711 * conform/data/sys/sem.h-data: Likewise.
16712 * conform/data/sys/shm.h-data: Likewise.
16713 * conform/data/sys/socket.h-data: Likewise.
16714 * conform/data/sys/stat.h-data: Likewise.
16715 * conform/data/sys/statvfs.h-data: Likewise.
16716 * conform/data/sys/time.h-data: Likewise.
16717 * conform/data/sys/timeb.h-data: Likewise.
16718 * conform/data/sys/times.h-data: Likewise.
16719 * conform/data/sys/types.h-data: Likewise.
16720 * conform/data/sys/uio.h-data: Likewise.
16721 * conform/data/sys/un.h-data: Likewise.
16722 * conform/data/sys/utsname.h-data: Likewise.
16723 * conform/data/sys/wait.h-data: Likewise.
16724 * conform/data/syslog.h-data: Likewise.
16725 * conform/data/tar.h-data: Likewise.
16726 * conform/data/termios.h-data: Likewise.
16727 * conform/data/utime.h-data: Likewise.
16728 * conform/data/utmpx.h-data: Likewise.
16729 * conform/data/varargs.h-data: Likewise.
16730 * conform/data/wchar.h-data: Likewise.
16731 * conform/data/wctype.h-data: Likewise.
16732 * conform/data/wordexp.h-data: Likewise.
16733
16734 * include/stropts.h: New file.
16735 * include/uchar.h: New file.
16736 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16737 * include/assert.h: Likewise.
16738 * include/ctype.h: Likewise.
16739 * include/dirent.h: Likewise.
16740 * include/dlfcn.h: Likewise.
16741 * include/fcntl.h: Likewise.
16742 * include/fnmatch.h: Likewise.
16743 * include/glob.h: Likewise.
16744 * include/grp.h: Likewise.
16745 * include/libio.h: Likewise.
16746 * include/locale.h: Likewise.
16747 * include/math.h: Likewise.
16748 * include/net/if.h: Likewise.
16749 * include/netdb.h: Likewise.
16750 * include/netinet/in.h: Likewise.
16751 * include/pthread.h: Likewise.
16752 * include/pwd.h: Likewise.
16753 * include/regex.h: Likewise.
16754 * include/sched.h: Likewise.
16755 * include/search.h: Likewise.
16756 * include/setjmp.h: Likewise.
16757 * include/signal.h: Likewise.
16758 * include/stdio.h: Likewise.
16759 * include/stdlib.h: Likewise.
16760 * include/string.h: Likewise.
16761 * include/sys/cdefs.h: Likewise.
16762 * include/sys/mman.h: Likewise.
16763 * include/sys/msg.h: Likewise.
16764 * include/sys/resource.h: Likewise.
16765 * include/sys/select.h: Likewise.
16766 * include/sys/socket.h: Likewise.
16767 * include/sys/stat.h: Likewise.
16768 * include/sys/statvfs.h: Likewise.
16769 * include/sys/time.h: Likewise.
16770 * include/sys/times.h: Likewise.
16771 * include/sys/uio.h: Likewise.
16772 * include/sys/utsname.h: Likewise.
16773 * include/sys/wait.h: Likewise.
16774 * include/termios.h: Likewise.
16775 * include/time.h: Likewise.
16776 * include/ulimit.h: Likewise.
16777 * include/unistd.h: Likewise.
16778 * include/utime.h: Likewise.
16779 * include/wchar.h: Likewise.
16780 * include/wctype.h: Likewise.
16781 * include/wordexp.h: Likewise.
16782
16783 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16784
7a270350
UD
16785 * time/time.h: TIME_UTC must be a macro.
16786 Make timespec_get available for ISO C11 only as well.
16787
7724defc
UD
167882012-02-24 Ulrich Drepper <drepper@gmail.com>
16789
16790 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16791 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16792
6b1d1d46
JM
167932012-02-24 Joseph Myers <joseph@codesourcery.com>
16794
16795 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16796
0f8bbd69
JM
167972012-02-24 Joseph Myers <joseph@codesourcery.com>
16798
16799 * manual/texinfo.tex: Update to version 2012-01-19.16.
16800
66ab80bc
JM
168012012-02-24 Joseph Myers <joseph@codesourcery.com>
16802
16803 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16804
74981cc5
RM
168052012-02-24 Roland McGrath <roland@hack.frob.com>
16806
ee968201
RM
16807 [BZ #13738]
16808 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16809 * manual/fdl-1.3.texi: New file.
16810 * manual/fdl-1.1.texi: File removed.
16811
74981cc5
RM
16812 [BZ #13738]
16813 * manual/libc.texinfo (FDL_VERSION): New @set.
16814 Use it for mention of FDL in cover text.
16815 (Documentation License): Use it in @include file name.
16816
7bb764bc
JM
168172012-02-22 Joseph Myers <joseph@codesourcery.com>
16818 Roland McGrath <roland@hack.frob.com>
16819
16820 [BZ #5461]
16821 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16822 not LONG_LONG_MAX and LONG_LONG_MIN.
16823 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16824 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16825 name.
16826 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16827
6cbeae47
JM
168282012-02-22 Joseph Myers <joseph@codesourcery.com>
16829
16830 [BZ #2547]
16831 [BZ #11365]
16832 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16833 manipulate bits before adding and subtracting TWO23[sx].
16834 * math/libm-test.inc (nearbyint_test): Add more tests.
16835
fe45ce09
JM
168362012-02-22 Joseph Myers <joseph@codesourcery.com>
16837
16838 [BZ #2548]
16839 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16840 bits before adding and subtracting TWO23[sx].
16841 * math/libm-test.inc (rint_test): Add more tests.
16842 (rint_test_tonearest): Likewise.
16843 (rint_test_towardzero): Likewise.
16844 (rint_test_downward): Likewise.
16845 (rint_test_upward: Likewise.
16846
ff3b3d82
JM
168472012-02-22 Joseph Myers <joseph@codesourcery.com>
16848
16849 [BZ #10110]
16850 * include/stdc-predef.h: New file. Extracted from features.h.
16851 * include/features.h: Include stdc-predef.h.
16852 * Makefile (headers): Add stdc-predef.h.
16853 * CONFORMANCE (Compiler limitations): Update.
16854
ef0aab35
JM
168552012-02-22 Joseph Myers <joseph@codesourcery.com>
16856
16857 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16858
58639409
DM
168592012-02-21 David S. Miller <davem@davemloft.net>
16860
16861 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16862 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16863
c0e70b25
DM
168642012-02-20 David S. Miller <davem@davemloft.net>
16865
16866 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16867 using a normal save/restore sequence, rather than allocating a
16868 dummy stack frame just to store a frame pointer and restore.
16869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16870
fb06851d
JM
168712012-02-21 Joseph Myers <joseph@codesourcery.com>
16872
16873 * manual/install.texi: Fix stray word in line-wrapped comment.
16874
7a8b71c3
DM
168752012-02-20 David S. Miller <davem@davemloft.net>
16876
d510c123
DM
16877 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16878 both binutils and gcc support GOTDATA.
16879
0722d7c2
DM
16880 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16881 "rd %pc" in the PIC register setup sequences.
16882
3d2b3019
DM
16883 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16884 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16885 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16886 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16887 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16889 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16892 (SYSCALL_ERROR_HANDLER): Likewise.
16893 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16894 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16896 (SYSCALL_ERROR_HANDLER): Likewise.
16897
c80098a9
DM
16898 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16899 (HAVE_GCC_GOTDATA): New.
16900 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16901 relocation support in both binutils and gcc.
16902 * sysdeps/sparc/elf/configure: Regenerate.
16903
3a2545a0
DM
16904 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16905 * sysdeps/sparc/sparc32/elf/configure: Delete.
16906 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16907 * sysdeps/sparc/sparc64/elf/configure: Delete.
16908 * sysdeps/sparc/elf/configure.in: New file.
16909 * sysdeps/sparc/elf/configure: Generate.
16910
7a8b71c3
DM
16911 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16912 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16913 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16914 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16915 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16916
f1e86fca
JM
169172012-02-21 Joseph Myers <joseph@codesourcery.com>
16918
16919 * manual/install.texi: Do not mention specific glibc version
16920 numbers.
16921 * manual/libc.texinfo (VERSION, UPDATED): Update.
16922 (@copying): Use @copyright{} and range of years.
16923
0e7dfaef
JM
169242012-02-21 Joseph Myers <joseph@codesourcery.com>
16925
16926 [BZ #13695]
16927 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16928 [crti.S not in sysdirs] (generated): Do not append.
16929 [crti.S not in sysdirs] (omit-deps): Likewise.
16930 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16931 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16932 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16933 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16934 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16935 Likewise.
16936 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16937 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16938 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16939 * csu/defs.awk: Remove file.
16940 * sysdeps/generic/initfini.c: Likewise.
16941 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16942 variable.
16943 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16944 Likewise.
16945
599af3ca
JM
169462012-02-20 Joseph Myers <joseph@codesourcery.com>
16947
16948 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16949 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16950 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16953 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16954 <bits/epoll.h>.
16955 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16956 (__EPOLL_PACKED): Define to empty if not defined by
16957 <bits/epoll.h>.
16958 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16960 bits/epoll.h.
16961
0e499750
JM
169622012-02-20 Joseph Myers <joseph@codesourcery.com>
16963
16964 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16965 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16966 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16967 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16968 <bits/timerfd.h>.
16969 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16971 bits/timerfd.h.
16972
5ad91f6e
JM
169732012-02-20 Joseph Myers <joseph@codesourcery.com>
16974
16975 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16976 in C locale.
16977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16978 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16979 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16981
06b99b02
AJ
169822012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16983
16984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16985 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16986
7638c0fd
AS
169872012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16988
16989 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16990 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16991 defined.
16992 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16993 Likewise.
16994 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16995 entry for 2.16.
16996
92221550
AJ
169972012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16998
16999 * math/w_acos.c: Use non-signaling floating-point comparisons.
17000 * math/w_acosf.c: Likewise.
17001 * math/w_acosh.c: Likewise.
17002 * math/w_acoshf.c: Likewise.
17003 * math/w_acoshl.c: Likewise.
17004 * math/w_acosl.c: Likewise.
17005 * math/w_asin.c: Likewise.
17006 * math/w_asinf.c: Likewise.
17007 * math/w_asinl.c: Likewise.
17008 * math/w_atanh.c: Likewise.
17009 * math/w_atanhf.c: Likewise.
17010 * math/w_atanhl.c: Likewise.
17011 * math/w_exp2.c: Likewise.
17012 * math/w_exp2f.c: Likewise.
17013 * math/w_exp2l.c: Likewise.
17014 * math/w_j0.c: Likewise.
17015 * math/w_j0f.c: Likewise.
17016 * math/w_j0l.c: Likewise.
17017 * math/w_j1.c: Likewise.
17018 * math/w_j1f.c: Likewise.
17019 * math/w_j1l.c: Likewise.
17020 * math/w_jn.c: Likewise.
17021 * math/w_jnf.c: Likewise.
17022 * math/w_log.c: Likewise.
17023 * math/w_log10.c: Likewise.
17024 * math/w_log10f.c: Likewise.
17025 * math/w_log10l.c: Likewise.
17026 * math/w_log2.c: Likewise.
17027 * math/w_log2f.c: Likewise.
17028 * math/w_log2l.c: Likewise.
17029 * math/w_logf.c: Likewise.
17030 * math/w_logl.c: Likewise.
17031 * math/w_sqrt.c: Likewise.
17032 * math/w_sqrtf.c: Likewise.
17033 * math/w_sqrtl.c: Likewise.
17034 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17035 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17037 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17038 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17039
ebaf36eb
JM
170402012-02-19 Joseph Myers <joseph@codesourcery.com>
17041
17042 [BZ #9739]
17043 * manual/string.texi (strnlen): Use correct parameter name in
17044 equivalent expression.
17045
71c254a6
JM
170462012-02-19 Joseph Myers <joseph@codesourcery.com>
17047
17048 [BZ #11174]
17049 * manual/users.texi (seteuid): Consistently use neweuid for
17050 argument name.
17051
16d2c631
JM
170522012-02-19 Joseph Myers <joseph@codesourcery.com>
17053
17054 [BZ #13704]
17055 * manual/nss.texi (Services in the NSS configuration): Correct
17056 list of services in example configuration file.
17057
cd837b09
NB
170582012-02-19 Nick Bowler <nbowler@draconx.ca>
17059
17060 [BZ #11322]
17061 * manual/arith.texi: Remove statements about negative zero
17062 behaving identically to zero.
17063
02c4bbad
JM
170642012-02-18 Joseph Myers <joseph@codesourcery.com>
17065
17066 [BZ #5993]
17067 * manual/install.texi: Do not document upgrading from libc5.
17068
366842e7
JM
170692012-02-18 Joseph Myers <joseph@codesourcery.com>
17070
17071 [BZ #4596]
17072 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17073
dd54084d
DM
170742012-02-18 David S. Miller <davem@davemloft.net>
17075
17076 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17077 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17078 %o7 across the call.
17079 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17080 instead.
17081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17082 SETUP_PIC_REG_LEAF.
17083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17084 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17085 * sysdeps/sparc/crtn.S: Likewise.
17086
2bcc53a3
UD
170872012-02-17 Ulrich Drepper <drepper@gmail.com>
17088
17089 * aout/Makefile: Remove.
17090
09c093b5
RK
170912012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17092
17093 [BZ #13058]
17094 * manual/examples/argp-ex1.c (main): Format definition in GNU
17095 style.
17096 * manual/examples/argp-ex2.c (main): Likewise.
17097 * manual/examples/argp-ex3.c (main): Likewise.
17098 * manual/examples/argp-ex4.c (main): Likewise.
17099 * manual/examples/longopt.c (main): Use new-style prototype
17100 definition.
17101 * manual/examples/strncat.c (main): Specify return type and use
17102 (void) for arguments.
17103 * manual/examples/subopt.c (main): Use char **argv argument.
17104
2ee633a2
JM
171052012-02-17 Joseph Myers <joseph@codesourcery.com>
17106
17107 [BZ #5077]
17108 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17109 rounding modes.
17110
0520adde
FB
171112012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17112
17113 [BZ #6907]
17114 * manual/string.texi (strchr): Change when strchrnul is
17115 recommended.
17116
3f4081cd
DGM
171172012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17118
17119 [BZ #174]
17120 * manual/locale.texi (setlocale): Document LOCPATH.
17121
d1b10e78
JM
171222012-02-17 Joseph Myers <joseph@codesourcery.com>
17123
17124 [BZ #10210]
17125 * manual/process.texi (execle): Move @dots{} before last argument.
17126
79c6869c
PB
171272012-02-17 Paul Bolle <pebolle@tiscali.nl>
17128
17129 [BZ #12047]
17130 * manual/charset.texi (Generic Charset Conversion): Fix typo
17131 (LC_TYPE -> LC_CTYPE).
17132
cc6e48bc
NB
171332012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17134
17135 [BZ #5805]
17136 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17137 (scalbnf): Likewise.
17138 (scalbnl): Likewise.
17139 (scalbln): Likewise.
17140 (scalblnf): Likewise.
17141 (scalblnl): Likewise.
17142 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17143 (vwarnx): Likewise.
17144 (verr): Likewise.
17145 (verrx): Likewise.
17146 * manual/filesys.texi (telldir): Use braces around return type.
17147 * manual/llio.texi (mmap): Add space after comma.
17148 (mmap64): Likewise.
17149 * manual/math.texi (jn): Use @var{} on parameter names.
17150 (jnf): Likewise.
17151 (jnl): Likewise.
17152 (yn): Likewise.
17153 (ynf): Likewise.
17154 (ynl): Likewise.
17155 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17156 line.
17157 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17158 "...".
17159 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17160 (sched_get_priority_max): Likewise.
17161 * manual/signal.texi (sigvec): Add space after comma.
17162 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17163 names.
17164 (if_indextoname): Likewise.
17165 (if_freenameindex): Likewise.
17166 (sendto): Use ',' instead of '.' in prototype.
17167 * manual/startup.texi (syscall): Use @dots{} instead of literal
17168 "...".
17169 * manual/stdio.texi (__fpending): Separate initial words of
17170 paragraph from @deftypefun line.
17171 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17172 "...".
17173 (vsyslog): Use @var{} on parameter names.
17174 * manual/terminal.texi (stty): Use @var{} on parameter names.
17175 * manual/users.texi (getutmp): Use @var{} on parameter names.
17176 (getutmpx): Likewise.
17177
5b23062f
JM
171782012-02-17 Joseph Myers <joseph@codesourcery.com>
17179
17180 [BZ #6884]
17181 * manual/stdio.texi (fopen): Fix typos in description of
17182 ",ccs=STRING".
17183
8dee4833
AJ
171842012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17185
17186 [BZ #4026]
17187 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17188 get clock_id definition.
17189
9078ce93
TS
171902012-02-17 Thomas Schwinge <thomas@schwinge.name>
17191
17192 [BZ #4822]
17193 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17194 (madvise): Cast every argument to void on its own.
17195
3835c55f
JM
171962012-02-17 Joseph Myers <joseph@codesourcery.com>
17197
17198 [BZ #9902]
17199 * manual/startup.texi (Exit Status): Fix typo.
17200
35c47e37
JM
172012012-02-17 Joseph Myers <joseph@codesourcery.com>
17202
17203 [BZ #10140]
17204 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17205 * manual/examples/argp-ex2.c: Likewise.
17206 * manual/examples/argp-ex3.c: Likewise.
17207
e3b69ca7
RH
172082012-02-16 Richard Henderson <rth@redhat.com>
17209
17210 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17211 * sysdeps/s390/s390-32/initfini.c: Remove.
17212 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17213 * sysdeps/s390/s390-64/initfini.c: Remove.
17214
df83af67
KK
172152012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17216
17217 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17218 compiler output for sysdeps/generic/initfini.c.
17219 * sysdeps/sh/elf/initfini.c: Remove file.
17220
f63f3380
DM
172212012-02-16 David S. Miller <davem@davemloft.net>
17222
fb59b3a4
DM
17223 [BZ #11494]
17224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17225
f63f3380
DM
17226 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17227 * sysdeps/sparc/crti.S: New file.
17228 * sysdeps/sparc/crtn.S: New file.
17229 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17230 * sysdeps/sparc/sparc64/Makefile: Likewise.
17231
df6a4a4a
MF
172322012-02-15 Mike Frysinger <vapier@gentoo.org>
17233
6dd8f3dc 17234 [BZ #3335]
df6a4a4a
MF
17235 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17236
1cac7236
RM
172372012-02-15 Roland McGrath <roland@hack.frob.com>
17238
d2c736f8
RM
17239 [BZ #4822]
17240 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17241
1cac7236
RM
17242 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17243 (write, read, close): Likewise.
17244 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17245
8e475601
JM
172462012-02-15 Joseph Myers <joseph@codesourcery.com>
17247
17248 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17249 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17250 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17251 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17252 <bits/signalfd.h>.
17253 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17255 bits/signalfd.h.
17256
ed656b40
MP
172572012-02-14 Marek Polacek <polacek@redhat.com>
17258
17259 * sysdeps/x86_64/crti.S: New file.
17260 * sysdeps/x86_64/crtn.S: New file.
17261 * sysdeps/x86_64/elf/initfini.c: Remove file.
17262
2a979d3a
JM
172632012-02-13 Joseph Myers <joseph@codesourcery.com>
17264
17265 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17266 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17267 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17268 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17269 <bits/inotify.h>.
17270 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17272 bits/inotify.h.
17273
2a418ac3
JM
172742012-02-13 Joseph Myers <joseph@codesourcery.com>
17275
17276 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17277 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17278 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17279 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17280 <bits/eventfd.h>.
17281 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17283 bits/eventfd.h.
17284
fb779be7
TS
172852012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17286
e19e83c5
RM
17287 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17288 __feraiseexcept instead of feraiseexcept.
7c35ffed 17289
fb779be7
TS
17290 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17291 nanosleep invocations.
17292 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17293 strings, and add error checking for a nanosleep invocations.
17294
59ba27a6
PE
172952012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17296
17297 Replace FSF snail mail address with URLs, as per GNU coding standards.
17298 Most of the snail mail addresses were wrong anyway, and omitting
17299 them makes the source code easier to maintain. Almost all of the
17300 changes are to license notices and to locale LC_IDENTIFICATION
17301 addresses, except for this one:
17302 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17303 not its snail mail address.
17304
57b957eb
RH
173052012-02-09 Richard Henderson <rth@twiddle.net>
17306
af850b1c
RH
17307 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17308 of kernel-features.h.
17309
57b957eb
RH
17310 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17311
6b73181a
MP
173122012-02-08 Marek Polacek <polacek@redhat.com>
17313
17314 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17315 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17316 * sysdeps/gnu/_G_config.h: Likewise.
17317 * sysdeps/generic/_G_config.h: Likewise.
17318
26ecc33a
AS
173192012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17320
6c6dbc63
AS
17321 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17322 tests.
17323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17324
e216c012
AS
17325 * sysdeps/powerpc/powerpc32/crti.S: New file.
17326 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17327 * sysdeps/powerpc/powerpc64/crti.S: New file.
17328 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17329
26ecc33a
AS
17330 * Makeconfig (have-initfini): Don't set.
17331 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17332 * configure.in (nopic_initfini): Don't substitute.
17333 * config.h.in (HAVE_INITFINI): Don't #undef.
17334 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17335 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17336
3add8e13
JM
173372012-02-08 Joseph Myers <joseph@codesourcery.com>
17338
17339 Support crti.S and crtn.S provided directly by architectures.
17340 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17341 [crti.S in sysdirs] (omit-deps): Likewise.
17342 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17343 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17344 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17345 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17346 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17347 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17348 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17349 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17350 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17351 compiler output for sysdeps/generic/initfini.c.
17352 * sysdeps/i386/elf/Makefile: Remove file.
17353 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17354
a22f12b4
MP
173552012-02-07 Marek Polacek <polacek@redhat.com>
17356
17357 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17358 * sysdeps/gnu/_G_config.h: Likewise.
17359 * sysdeps/mach/hurd/_G_config.h: Likewise.
17360
148cf100
MP
173612012-02-07 Marek Polacek <polacek@redhat.com>
17362
17363 * math/Makefile (tests): Add tst-CMPLX2.
17364 * math/tst-CMPLX2.c: New file.
17365
cfdc0dd7
AS
173662012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17367
84ba42c4
AS
17368 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17369
cfdc0dd7
AS
17370 * math/libm-test.inc (jn_test): Add missing L suffix.
17371
622c86f4
MP
173722012-02-06 Marek Polacek <polacek@redhat.com>
17373
17374 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17375 * sysdeps/i386/fpu/e_powf.S: Likewise.
17376 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17377 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17378 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17379 * sysdeps/i386/fpu/e_pow.S: Likewise.
17380 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17382 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17383 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17384 * sysdeps/i386/fpu/e_log2.S: Likewise.
17385 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17386 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17387 * sysdeps/i386/fpu/e_powl.S: Likewise.
17388 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17389 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17390 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17391 * sysdeps/i386/fpu/e_logl.S: Likewise.
17392 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17393 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17394 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17395 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17396 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17397 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17398 * sysdeps/i386/fpu/e_log.S: Likewise.
17399 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17400 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17401 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17402 * sysdeps/i386/fpu/e_logf.S: Likewise.
17403 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17404 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17405 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17406 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17407 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17408 * sysdeps/i386/fpu/e_log10.S: Likewise.
17409 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17410 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17411 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17412 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17413 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17414 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17415 * sysdeps/i386/asm-syntax.h: Likewise.
17416 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17417 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17418 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17419 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17420 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17421 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17422 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17423 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17424 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17425 * sysdeps/powerpc/sysdep.h: Likewise.
17426 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17427 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17428
d4a54ac6
JM
174292012-02-06 Joseph Myers <joseph@codesourcery.com>
17430
17431 [BZ #411]
17432 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17433
314054ea
JM
174342012-02-06 Joseph Myers <joseph@codesourcery.com>
17435
17436 * sysdeps/i386/sysdep.h: Include <features.h>.
17437 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17438 version.
17439
d8e0ca50
JM
174402012-02-05 Joseph Myers <joseph@codesourcery.com>
17441
17442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17443 Define.
17444 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17445 LOAD_PIC_REG_STR.
17446
b1da7dd9
JM
174472012-02-03 Joseph Myers <joseph@codesourcery.com>
17448
17449 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17450 (SETUP_PIC_REG): Use GET_PC_THUNK.
17451 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17452 macro.
17453
9a1d9254
JM
174542012-02-03 Joseph Myers <joseph@codesourcery.com>
17455
17456 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17457 for non-PIC compilation.
17458 (SETUP_PIC_REG): Add .p2align directive.
17459 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17460 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17461 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17462 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17463 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17464 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17466 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17467 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17468 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17469 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17470 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17471 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17472 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17473 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17474 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17475 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17476 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17477 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17478 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17481 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17482 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17483 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17485 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17487 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17488 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17489 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17490 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17491 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17492 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17493 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17494 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17495 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17496 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17497 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17498 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17499 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17500
65dc3b75
JM
175012012-02-03 Joseph Myers <joseph@codesourcery.com>
17502
17503 * math/tst-CMPLX.c: Include <stdio.h>.
17504
d55bf177
JM
175052012-01-31 Joseph Myers <joseph@codesourcery.com>
17506
17507 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17508 float.
17509 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17510 * sysdeps/sparc/bits/mathdef.h: Likewise.
17511
69db4f8f
MP
175122012-01-31 Marek Polacek <polacek@redhat.com>
17513
17514 * libio/libio.h: Don't define _PARAMS.
17515 * locale/programs/config.h: Don't define PARAMS.
17516 * stdlib/strtol_l.c: Likewise.
17517 (__strtol_l): Remove PARAMS from the prototype.
17518
41b81892
UD
175192012-01-31 Ulrich Drepper <drepper@gmail.com>
17520
3b49edc0
UD
17521 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17522 names. Just use the correct names. Remove unnecessary wrapper
17523 functions.
17524 * malloc/arena.c: Likewise.
17525 * malloc/hooks.c: Likewise.
17526
41b81892
UD
17527 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17528 ARENA_TEST says not to. Simplify test for creation of a new arena.
17529 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17530
27a25b6e
UD
175312012-01-30 Ulrich Drepper <drepper@gmail.com>
17532
17533 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17534 into tail calls.
17535 (update_get_addr): New function.
17536 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17537 GET_ADDR_MODULE parameter.
17538
c8a89e7d
JM
175392012-01-30 Joseph Myers <joseph@codesourcery.com>
17540
17541 * crypt/cert.c: Remove __STDC__ conditionals.
17542 * crypt/crypt-entry.c: Likewise.
17543 * crypt/crypt_util.c: Likewise.
17544 * libio/filedoalloc.c: Likewise.
17545 * libio/fileops.c: Likewise.
17546 * libio/genops.c: Likewise.
17547 * libio/iofclose.c: Likewise.
17548 * libio/iofdopen.c: Likewise.
17549 * libio/iofopen.c: Likewise.
17550 * libio/iofopen64.c: Likewise.
17551 * libio/iogetdelim.c: Likewise.
17552 * libio/iopopen.c: Likewise.
17553 * libio/obprintf.c: Likewise.
17554 * libio/oldfileops.c: Likewise.
17555 * libio/oldiofclose.c: Likewise.
17556 * libio/oldiofdopen.c: Likewise.
17557 * libio/oldiofopen.c: Likewise.
17558 * libio/oldiopopen.c: Likewise.
17559 * libio/wfiledoalloc.c: Likewise.
17560 * libio/wgenops.c: Likewise.
17561 * locale/programs/xmalloc.c: Likewise.
17562 * misc/syslog.c: Likewise.
17563 * stdio-common/xbug.c: Likewise.
17564 * string/memchr.c: Likewise.
17565 * string/memcmp.c: Likewise.
17566 * string/memrchr.c: Likewise.
17567 * string/rawmemchr.c: Likewise.
17568 * sysdeps/posix/getcwd.c: Likewise.
17569 * time/strftime_l.c: Likewise.
17570
3b100462
JM
175712012-01-30 Joseph Myers <joseph@codesourcery.com>
17572
17573 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17574 * config.make.in (config-cflags-sse2avx): Define.
17575 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17576 Fix typo.
17577
607998af
CM
175782012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17579
17580 * scripts/config.guess: Update from upstream config git repository.
17581 * scripts/config.sub: Likewise.
17582
3601428f
CM
175832012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17584
3ac8b282
CM
17585 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17586 (EM_NUM): Update.
17587 (R_TILEPRO_*, R_TILEGX_*): New macros.
17588
e034841e
CM
17589 * scripts/firstversions.awk: Fix bug in version range handling.
17590
540d7568
CM
17591 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17592
3601428f
CM
17593 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17594
463de862
CM
17595 * include/sys/epoll.h: New file.
17596 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17597 libc_hidden_def.
17598
73139a76
UD
175992012-01-28 Ulrich Drepper <drepper@gmail.com>
17600
96bc5b45
UD
17601 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17602 Avoid unnecessary __WORDSIZE == 64 test.
17603 (fmaxf): Use VEX format if possible.
17604 (fmax): Likewise.
17605 (fminf): Likewise.
17606 (fmin): Likewise.
17607
56f6f6a2
UD
17608 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17609 * math/math_private.h: Remove libc_fegetround* and
17610 libc_fesetround*.
17611 * sysdeps/i386/configure.in: Check for -msse2avx.
17612 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17613 also if SSE2AVX is defined.
17614 Remove libc_fegetround* and libc_fesetround*.
17615 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17616 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17618 of HAS_YMM_USABLE.
17619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17624
73139a76
UD
17625 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17626
d73f93a4
AZ
176272012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17628
17629 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17630 size is not set.
17631 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17632
6ee65ed6
UD
176332012-01-27 Ulrich Drepper <drepper@gmail.com>
17634
17635 [BZ #13618]
17636 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17637 relocation.
17638 * Makeconfig (libm): Define.
17639 * elf/Makefile: Add rules to build and run tst-relsort1.
17640 * elf/tst-relsort1.c: New file.
17641 * elf/tst-relsort1mod1.c: New file.
17642 * elf/tst-relsort1mod2.c: New file.
17643
8db21882
JM
176442012-01-27 Joseph Myers <joseph@codesourcery.com>
17645
17646 * math/s_ldexp.c: Remove __STDC__ conditionals.
17647 * math/s_ldexpf.c: Likewise.
17648 * math/s_ldexpl.c: Likewise.
17649 * math/s_nextafter.c: Likewise.
17650 * math/s_nexttowardf.c: Likewise.
17651 * math/s_significand.c: Likewise.
17652 * math/s_significandf.c: Likewise.
17653 * math/s_significandl.c: Likewise.
17654 * math/w_jnl.c: Likewise.
17655 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17656 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17657 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17658 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17659 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17662 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17674 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17675 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17676 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17677 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17679 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17680 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17681 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17682 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17683 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17684 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17685 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17686 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17687 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17688 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17689 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17690 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17691 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17692 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17693 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17694 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17695 * sysdeps/ieee754/k_standard.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17715 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17735 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17736 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17739 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17740 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17741 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17742 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17743 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17744 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17745 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17757 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17762 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17764 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17770 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17771 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17775 * sysdeps/ieee754/s_matherr.c: Likewise.
17776 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17777 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17779 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17780
965a54a4
JM
177812012-01-26 Joseph Myers <joseph@codesourcery.com>
17782
17783 * crypt/md5.h: Remove __STDC__ conditionals.
17784 * libio/libioP.h: Likewise.
17785 * locale/programs/config.h: Likewise.
17786 * sysdeps/generic/sysdep.h: Likewise.
17787 * sysdeps/i386/asm-syntax.h: Likewise.
17788 * sysdeps/s390/asm-syntax.h: Likewise.
17789 * sysdeps/unix/sysdep.h: Likewise.
17790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17792
7071ad79
JM
177932012-01-26 Joseph Myers <joseph@codesourcery.com>
17794
17795 * libio/libio.h: Remove __STDC__ conditionals.
17796 * malloc/obstack.h: Likewise.
17797 * math/complex.h: Likewise.
17798 * math/math.h: Likewise.
17799 * sysdeps/generic/_G_config.h: Likewise.
17800 * sysdeps/gnu/_G_config.h: Likewise.
17801 * sysdeps/mach/hurd/_G_config.h: Likewise.
17802 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17803 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17804 * sysdeps/sparc/bits/mathdef.h: Likewise.
17805
afc5ed09
UD
178062012-01-26 Ulrich Drepper <drepper@gmail.com>
17807
17808 [BZ #13583]
17809 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17810 Clean up HAS_* macros.
afc5ed09 17811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17812 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17813 possible.
17814 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17815 HAS_AVX.
17816 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17817 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17818 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17819 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17820 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17821
bdb6de1d
JM
178222012-01-25 Joseph Myers <joseph@codesourcery.com>
17823
17824 * elf/tst-unique3.cc (gets): Remove declaration.
17825 * elf/tst-unique3lib.cc (gets): Likewise.
17826 * elf/tst-unique3lib2.cc (gets): Likewise.
17827 * elf/tst-unique4.cc (gets): Likewise.
17828
b15549e6
UD
178292012-01-24 Ulrich Drepper <drepper@gmail.com>
17830
17831 * include/stdio.h: Add C++ protection. Add gets declarations and
17832 definitions.
17833 * debug/tst-chk1.c: Don't declare gets here.
17834 * stdio-common/tst-gets.c: Likewise.
17835
a037381f
JM
178362012-01-24 Joseph Myers <joseph@codesourcery.com>
17837
17838 * posix/glob: Remove directory.
17839
f1d4aa75
JM
178402012-01-24 Joseph Myers <joseph@codesourcery.com>
17841
17842 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17843
81c0c964
PT
178442012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17845
17846 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17847 of the non-standard EPFNOSUPPORT.
17848
0ea698ae
ST
178492011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17850
17851 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17852 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17853 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17854
d220b117
UD
178552012-01-21 Ulrich Drepper <drepper@gmail.com>
17856
17857 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17858
3e1aa84e
UD
178592012-01-20 Ulrich Drepper <drepper@gmail.com>
17860
17861 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17862 transient errors.
17863 * nscd/grpcache.c (cache_addgr): Likewise.
17864 * nscd/hstcache.c (cache_addhst): Likewise.
17865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17866 * nscd/pwdcache.c (cache_addpw): Likewise.
17867 * nscd/servicescache.c (cache_addserv): Likewise.
17868
400aa020
UD
178692012-01-16 Ulrich Drepper <drepper@gmail.com>
17870
d77e7869
UD
17871 * malloc/malloc.c: Various cleanups.
17872 * malloc/hooks.c: Likewise.
17873
400aa020
UD
17874 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17875 * stdlib/bug-fmtmsg1.c: New file.
17876
17877 * stdlib/fmtmsg.c (init): Add missing unlock.
17878 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17879
e0a309cf
MP
178802012-01-12 Marek Polacek <polacek@redhat.com>
17881
17882 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17883 and _GNU_SOURCE.
17884
929d11c7
WS
178852012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17886
17887 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17888 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17889 macro to ensure uniqueness of label name.
17890 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17891 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17892
41d0e869
UD
178932012-01-11 Ulrich Drepper <drepper@gmail.com>
17894
0cc5ed3b
UD
17895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17896
41d0e869
UD
17897 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17898 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17899 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17901
a47a831a
UD
179022012-01-10 Ulrich Drepper <drepper@gmail.com>
17903
daa891c0
UD
17904 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17905
17906 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17907 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17908 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17909
e58ef0f2
UD
17910 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17911
a47a831a 17912 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17913 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17914 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17916
17917 * math/bits/math-finite.h: Add ldexp support.
17918
a0bfc9c7
MP
179192012-01-10 Marek Polacek <polacek@redhat.com>
17920
17921 * locale/programs/localedef.h (show_archive_content): Add noreturn
17922 attribute.
17923
d6e97a1d
UD
179242012-01-09 Ulrich Drepper <drepper@gmail.com>
17925
17926 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17927
d5835c26
UD
179282012-01-08 Ulrich Drepper <drepper@gmail.com>
17929
e5f484c6
UD
17930 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17931
d5835c26
UD
17932 * io/Makefile (headers): Add bits/poll2.h.
17933
d1f741e9
WS
179342011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17935
17936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17937 typo #include statement.
17938
ec09c1c4
UD
179392012-01-08 Ulrich Drepper <drepper@gmail.com>
17940
17941 * include/sys/cdefs.h: Define __attribute_alloc_size.
17942 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17943 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17944 * elf/pldd.c: Likewise.
17945 * iconv/iconv_charmap.c: Likewise.
17946 * iconv/iconvconfig.c: Likewise.
17947 * iconv/strtab.c: Likewise.
17948 * locale/programs/locale.c: Likewise.
17949 * locale/programs/localedef.h: Likewise.
17950 * locale/programs/simple-hash.c: Likewise.
17951 * nscd/nscd.h: Likewise.
17952 * nss/makedb.c: Likewise.
17953 * sysdeps/generic/ldconfig.h: Likewise.
17954 * locale/programs/localedef.c: Remove xmalloc prototype.
17955 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17956
20b38e03
PP
179572012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17958
17959 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17960 appropriate.
17961
a0da5fe1
UD
179622012-01-08 Ulrich Drepper <drepper@gmail.com>
17963
1d5a644a 17964 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17965 * math/tst-CMPLX.c: New file.
1d5a644a 17966
8784a6db
UD
17967 * math/complex.h (CMPLXL): Fix typo.
17968
d9a216c0
UD
17969 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17970 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17971 GLIBC_2.16.
17972 * debug/tst-chk1.c: Add poll and ppoll tests.
17973 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17974 * include/sys/poll.h: Add hidden proto for ppoll.
17975 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17976 * sysdeps/mach/hurd/ppoll.c: Likewise.
17977 * io/ppoll.c: Likewise.
17978 * debug/poll_chk.c: New file.
17979 * debug/ppoll_chk.c: New file.
17980 * include/bits/poll2.h: New file.
17981 * io/bits/poll2.h: New file.
17982
ac097f5c
UD
17983 [BZ #1350]
17984 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17985
2119dcfa
UD
17986 * configure.in: static is always set to yes. Remove.
17987 * config.make.in: Don't set build-static.
17988 * Makeconfig: Remove use of build-static.
17989 * dlfcn/Makefile: Likewise.
17990 * elf/Makefile: Likewise.
17991 * math/Makefile: Likewise.
17992 * misc/Makefile: Likewise.
17993 * nptl/Makefile: Likewise.
17994 * sysdeps/mach/hurd/Makefile: Likewise.
17995
121766a9
UD
17996 * configure.in: PWD_P is not used anymore.
17997 * config.make.in: Remove PWD_P entry.
17998
51a1d39c 17999 * configure.in: Remove last remnants of RANLIB.
8720d066 18000 No need to check for signed size_t anymore.
215f4bdc
UD
18001 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18002 and IA-64.
3857022a 18003 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18004 * aclocal.m4: Likewise.
18005
d3ed7225
UD
18006 * wcsmbs/mbrtoc16.c: Implement using towc function.
18007 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18008 * wcsmbs/wcsmbsload.c: Likewise.
18009 * iconv/gconv_simple.c: Likewise.
18010 * iconv/gconv_int.h: Likewise.
18011 * iconv/gconv_builtin.h: Likewise.
18012 * iconv/iconv_prog.c: Remove CHAR16 handling.
18013
18014 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18015
18016 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18017
a0da5fe1
UD
18018 * configure.in: Remove --with-elf and --enable-bounded options.
18019 Dont set base_machine for ia64. More non-ELF conditions removed.
18020 Remove testing and setting of leading underscore information.
18021 * config.make.in (build-bounded): Set to no.
18022 * config.h.in: Remove NO_UNDERSCORES entry.
18023 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18024 them.
18025 * csu/start.c: Remove !NO_UNDERSCORE code.
18026 * locale/localeinfo.h: Likewise.
18027 * sysdeps/generic/machine-gmon.h: Likewise.
18028 * sysdeps/generic/sysdep.h: Likewise.
18029 * sysdeps/i386/sysdep.h: Likewise.
18030 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18031 * sysdeps/mach/sysdep.h: Likewise.
18032 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18033 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18034 * sysdeps/sh/sysdep.h: Likewise.
18035 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18036 * sysdeps/unix/i386/sysdep.S: Likewise.
18037 * sysdeps/unix/sparc/start.c: Likewise.
18038 * sysdeps/unix/sparc/sysdep.S: Likewise.
18039 * sysdeps/unix/sparc/sysdep.h: Likewise.
18040 * sysdeps/unix/start.c: Likewise.
18041 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18042 * sysdeps/x86_64/sysdep.h: Likewise.
18043
df78418a
UD
180442012-01-07 Ulrich Drepper <drepper@gmail.com>
18045
a784e502
UD
18046 [BZ #13553]
18047 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18048 for non-gcc.
18049 * argp/argp-fmtstream.h: Use const instead __const.
18050 * argp/argp.h: Likewise.
18051 * assert/assert.h: Likewise.
18052 * bits/fenv.h: Likewise.
18053 * bits/sched.h: Likewise.
18054 * bits/sigset.h: Likewise.
18055 * bits/sigthread.h: Likewise.
18056 * catgets/nl_types.h: Likewise.
18057 * conform/data/pthread.h-data: Likewise.
18058 * crypt/crypt-private.h: Likewise.
18059 * crypt/crypt.h: Likewise.
18060 * crypt/crypt_util.c: Likewise.
18061 * ctype/ctype.h: Likewise.
18062 * debug/execinfo.h: Likewise.
18063 * debug/mbsnrtowcs_chk.c: Likewise.
18064 * debug/mbsrtowcs_chk.c: Likewise.
18065 * debug/wcsnrtombs_chk.c: Likewise.
18066 * debug/wcsrtombs_chk.c: Likewise.
18067 * debug/wcstombs_chk.c: Likewise.
18068 * dirent/dirent.h: Likewise.
18069 * dlfcn/dlfcn.h: Likewise.
18070 * elf/neededtest4.c: Likewise.
18071 * grp/grp.h: Likewise.
18072 * gshadow/gshadow.h: Likewise.
18073 * iconv/gconv.h: Likewise.
18074 * iconv/gconv_int.h: Likewise.
18075 * iconv/gconv_simple.c: Likewise.
18076 * iconv/iconv.h: Likewise.
18077 * iconv/loop.c: Likewise.
18078 * iconv/skeleton.c: Likewise.
18079 * include/aio.h: Likewise.
18080 * include/aliases.h: Likewise.
18081 * include/argz.h: Likewise.
18082 * include/arpa/inet.h: Likewise.
18083 * include/assert.h: Likewise.
18084 * include/dirent.h: Likewise.
18085 * include/dlfcn.h: Likewise.
18086 * include/execinfo.h: Likewise.
18087 * include/fcntl.h: Likewise.
18088 * include/fenv.h: Likewise.
18089 * include/glob.h: Likewise.
18090 * include/grp.h: Likewise.
18091 * include/libintl.h: Likewise.
18092 * include/mntent.h: Likewise.
18093 * include/netdb.h: Likewise.
18094 * include/pwd.h: Likewise.
18095 * include/rpc/netdb.h: Likewise.
18096 * include/sched.h: Likewise.
18097 * include/search.h: Likewise.
18098 * include/shadow.h: Likewise.
18099 * include/signal.h: Likewise.
18100 * include/stdio.h: Likewise.
18101 * include/stdlib.h: Likewise.
18102 * include/string.h: Likewise.
18103 * include/sys/socket.h: Likewise.
18104 * include/sys/stat.h: Likewise.
18105 * include/sys/statfs.h: Likewise.
18106 * include/sys/statvfs.h: Likewise.
18107 * include/sys/syslog.h: Likewise.
18108 * include/sys/time.h: Likewise.
18109 * include/sys/uio.h: Likewise.
18110 * include/time.h: Likewise.
18111 * include/unistd.h: Likewise.
18112 * include/utmp.h: Likewise.
18113 * include/wchar.h: Likewise.
18114 * include/wctype.h: Likewise.
18115 * inet/aliases.h: Likewise.
18116 * inet/arpa/inet.h: Likewise.
18117 * inet/netinet/ether.h: Likewise.
18118 * inet/netinet/in.h: Likewise.
18119 * intl/libintl.h: Likewise.
18120 * io/bits/fcntl2.h: Likewise.
18121 * io/fcntl.h: Likewise.
18122 * io/ftw.h: Likewise.
18123 * io/sys/poll.h: Likewise.
18124 * io/sys/stat.h: Likewise.
18125 * io/sys/statfs.h: Likewise.
18126 * io/sys/statvfs.h: Likewise.
18127 * io/utime.h: Likewise.
18128 * libio/bits/stdio.h: Likewise.
18129 * libio/bits/stdio2.h: Likewise.
18130 * libio/libio.h: Likewise.
18131 * libio/libioP.h: Likewise.
18132 * libio/stdio.h: Likewise.
18133 * locale/lc-ctype.c: Likewise.
18134 * locale/locale.h: Likewise.
18135 * login/utmp.h: Likewise.
18136 * malloc/arena.c: Likewise.
18137 * malloc/malloc.c: Likewise.
18138 * malloc/malloc.h: Likewise.
18139 * malloc/mcheck.c: Likewise.
18140 * malloc/mtrace.c: Likewise.
18141 * math/bits/mathcalls.h: Likewise.
18142 * math/fenv.h: Likewise.
18143 * math/math_private.h: Likewise.
18144 * misc/bits/error.h: Likewise.
18145 * misc/bits/syslog.h: Likewise.
18146 * misc/err.h: Likewise.
18147 * misc/error.h: Likewise.
18148 * misc/fstab.h: Likewise.
18149 * misc/mntent.h: Likewise.
18150 * misc/regexp.h: Likewise.
18151 * misc/search.h: Likewise.
18152 * misc/sgtty.h: Likewise.
18153 * misc/sys/mman.h: Likewise.
18154 * misc/sys/syslog.h: Likewise.
18155 * misc/sys/uio.h: Likewise.
18156 * misc/sys/xattr.h: Likewise.
18157 * misc/ttyent.h: Likewise.
18158 * nis/rpcsvc/ypclnt.h: Likewise.
18159 * nss/nss.h: Likewise.
18160 * posix/bits/unistd.h: Likewise.
18161 * posix/fnmatch.h: Likewise.
18162 * posix/glob.h: Likewise.
18163 * posix/sched.h: Likewise.
18164 * posix/spawn.h: Likewise.
18165 * posix/sys/wait.h: Likewise.
18166 * posix/unistd.h: Likewise.
18167 * posix/wordexp.h: Likewise.
18168 * pwd/pwd.h: Likewise.
18169 * resolv/netdb.h: Likewise.
18170 * resource/sys/resource.h: Likewise.
18171 * rt/aio.h: Likewise.
18172 * rt/bits/mqueue2.h: Likewise.
18173 * rt/mqueue.h: Likewise.
18174 * shadow/shadow.h: Likewise.
18175 * signal/signal.h: Likewise.
18176 * socket/send.c: Likewise.
18177 * socket/sendto.c: Likewise.
18178 * socket/sys/socket.h: Likewise.
18179 * stdio-common/printf.h: Likewise.
18180 * stdlib/bits/stdlib.h: Likewise.
18181 * stdlib/fmtmsg.h: Likewise.
18182 * stdlib/monetary.h: Likewise.
18183 * stdlib/stdlib.h: Likewise.
18184 * stdlib/ucontext.h: Likewise.
18185 * streams/stropts.h: Likewise.
18186 * string/argz.h: Likewise.
18187 * string/bits/string2.h: Likewise.
18188 * string/string.h: Likewise.
18189 * string/strings.h: Likewise.
18190 * sunrpc/rpc/auth.h: Likewise.
18191 * sunrpc/rpc/auth_des.h: Likewise.
18192 * sunrpc/rpc/clnt.h: Likewise.
18193 * sunrpc/rpc/netdb.h: Likewise.
18194 * sunrpc/rpc/pmap_clnt.h: Likewise.
18195 * sunrpc/rpc/xdr.h: Likewise.
18196 * sysdeps/generic/inttypes.h: Likewise.
18197 * sysdeps/generic/net/if.h: Likewise.
18198 * sysdeps/generic/sys/swap.h: Likewise.
18199 * sysdeps/gnu/net/if.h: Likewise.
18200 * sysdeps/gnu/utmpx.h: Likewise.
18201 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18202 * sysdeps/i386/i486/bits/string.h: Likewise.
18203 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18204 * sysdeps/s390/bits/string.h: Likewise.
18205 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18206 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18207 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18208 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18209 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18210 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18211 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18212 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18213 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18214 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18215 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18216 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18217 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18218 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18219 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18220 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18221 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18225 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18226 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18227 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18228 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18229 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18230 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18231 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18233 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18234 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18235 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18236 * sysvipc/sys/ipc.h: Likewise.
18237 * sysvipc/sys/msg.h: Likewise.
18238 * sysvipc/sys/sem.h: Likewise.
18239 * sysvipc/sys/shm.h: Likewise.
18240 * termios/termios.h: Likewise.
18241 * time/sys/time.h: Likewise.
18242 * time/time.h: Likewise.
18243 * wcsmbs/bits/wchar2.h: Likewise.
18244 * wcsmbs/uchar.h: Likewise.
18245 * wcsmbs/wchar.h: Likewise.
18246 * wctype/wctype.h: Likewise.
18247
0269750c
UD
18248 [BZ #13551]
18249 * Makeconfig: Remove all but ELF support including AIX support.
18250 * Makerules: Likewise.
18251 * config.h.in: Likewise.
18252 * config.make.in: Likewise.
18253 * configure: Likewise.
18254 * configure.in: Likewise.
18255 * csu/Makefile: Likewise.
18256 * csu/version.c: Likewise.
18257 * debug/Makefile: Likewise.
18258 * dlfcn/Makefile: Likewise.
18259 * elf/Makefile: Likewise.
18260 * extra-lib.mk: Likewise.
18261 * iconv/Makefile: Likewise.
18262 * include/libc-symbols.h: Likewise.
18263 * include/shlib-compat.h: Likewise.
18264 * resolv/Makefile: Likewise.
18265 * resolv/res_libc.c: Likewise.
18266 * rt/Makefile: Likewise.
18267 * sysdeps/i386/asm-syntax.h: Likewise.
18268 * sysdeps/i386/sysdep.h: Likewise.
18269 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18270 * sysdeps/mach/sysdep.h: Likewise.
18271 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18272 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18273 * sysdeps/s390/asm-syntax.h: Likewise.
18274 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18276 * sysdeps/sh/sysdep.h: Likewise.
18277 * sysdeps/unix/sparc/sysdep.h: Likewise.
18278 * sysdeps/wordsize-32/divdi3.c: Likewise.
18279 * sysdeps/x86_64/sysdep.h: Likewise.
18280
00bbd29b
UD
18281 * argp/Versions: Remove _argp_unlock_xxx.
18282
18283 [BZ #13559]
18284 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18285 * abilist/libBrokenLocale.abilist: Likewise.
18286 * abilist/libanl.abilist: Likewise.
18287 * abilist/libc.abilist: Likewise.
18288 * abilist/libcrypt.abilist: Likewise.
18289 * abilist/libdl.abilist: Likewise.
18290 * abilist/libm.abilist: Likewise.
18291 * abilist/libnsl.abilist: Likewise.
18292 * abilist/libpthread.abilist: Likewise.
18293 * abilist/libresolv.abilist: Likewise.
18294 * abilist/librt.abilist: Likewise.
18295 * abilist/libthread_db.abilist: Likewise.
18296 * abilist/libutil.abilist: Likewise.
18297 * abilist/libnss_db.abilist: New file.
18298
18299 * scripts/abilist.awk: Add support for indirect functions.
18300
a2693a0e
UD
18301 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18302
3f05895f
UD
18303 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18304
ecb6fb48
UD
18305 * shlib-versions: Remove entries for ports architectures.
18306
664f8cb9
UD
18307 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18308 files in ports.
18309 * elf/stackguard-macros.h: Remove support for IA-64.
18310 * elf/tst-auditmod1.c: Likewise.
18311 * sysdeps/generic/ldsodefs.h: Likewise.
18312
7ae81d88
UD
18313 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18314 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18315 configure files.
18316
bdeba135
UD
18317 [BZ #13552]
18318 * configure.in: Remove --enable-omitfp support.
18319 * FAQ.in: Adjust.
18320 * config.make.in: Likewise.
18321 * Makeconfig: Likewise.
18322 * manual/install.texi: Likewise.
18323
d75a0a62
UD
18324 In case anyone cares, the IA-64 architecture could move to ports.
18325 * sysdeps/ia64/*: Removed.
18326 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18327 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18328
dcc9756b
UD
18329 [BZ #13555]
18330 * configure.in: Remove entries for unsupported architectures.
18331
d3761ebc 18332 [BZ #13533]
9954432e
UD
18333 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18334 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18335 routines.
18336 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18337 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18338 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18339 fall back to using wcrtomb.
18340 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18341 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18342 renaming.
18343 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18344 * wcsmbs/tst-c16c32-1.c: New file.
18345
18346 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18347 local variable.
18348
c3a87236
UD
18349 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18350
28926a1b
UD
18351 * elf/tst-unique3.cc: Add explicit declaration of gets.
18352 * elf/tst-unique3lib.cc: Likewise.
18353 * elf/tst-unique3lib2.cc: Likewise.
18354 * elf/tst-unique4.cc: Likewise.
18355
df78418a
UD
18356 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18357
8ecd6b2a
JM
183582012-01-06 Joseph Myers <joseph@codesourcery.com>
18359
18360 [BZ #13566]
18361 * assert/assert.h (static_assert): Don't define for C++.
18362 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18363 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18364
9f115170
UD
183652012-01-03 Ulrich Drepper <drepper@gmail.com>
18366
5e0d0300
UD
18367 * iconv/loop.c (single loop): Fix assertion in storing of
18368 remaining bytes.
18369
9f115170
UD
18370 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18371
81fb02b0
UD
183722012-01-01 Ulrich Drepper <drepper@gmail.com>
18373
18374 * posix/getconf.c: Update copyright year.
18375 * nss/getent.c: Likewise.
a316c1f6 18376 * nss/makedb.c: Likewise.
81fb02b0
UD
18377 * iconv/iconvconfig.c: Likewise.
18378 * iconv/iconv_prog.c: Likewise.
18379 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18380 * elf/pldd.c: Likewise.
18381 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18382 * catgets/gencat.c: Likewise.
18383 * csu/version.c: Likewise.
18384 * elf/ldd.bash.in: Likewise.
18385 * elf/sprof.c (print_version): Likewise.
18386 * locale/programs/locale.c: Likewise.
18387 * locale/programs/localedef.c: Likewise.
a316c1f6 18388 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18389 * nscd/nscd.c (print_version): Likewise.
18390 * debug/xtrace.sh: Likewise.
18391 * malloc/memusage.sh: Likewise.
18392 * malloc/mtrace.pl: Likewise.
18393 * debug/catchsegv.sh: Likewise.
18394
2ba92745
JJ
183952011-12-30 Jakub Jelinek <jakub@redhat.com>
18396
18397 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18398 pure attribute.
18399
dadebdae
UD
184002011-12-24 Ulrich Drepper <drepper@gmail.com>
18401
d3761ebc 18402 [BZ #13533]
db6af3eb
UD
18403 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18404 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18405 transformations.
18406 * iconv/gconv_int.h: Likewise.
18407 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18408 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18409 from libc for GLIBC_2.16.
18410 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18411 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18412 * wcsmbs/uchar.h: Really define mbstate_t.
18413 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18414 * wcsmbs/c16rtomb.c: New file.
18415 * wcsmbs/mbrtoc16.c: New file.
18416 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18417 for C/POSIX locale.
18418 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18419 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18420
dadebdae
UD
18421 * wcsmbs/wchar.h: Add missing __restrict.
18422
67371b56
UD
184232011-12-23 Ulrich Drepper <drepper@gmail.com>
18424
74033a25
UD
18425 [BZ #13532]
18426 * time/Makefile (routines): Add timespec_get.
18427 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18428 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18429 timespec for ISO C11.
18430 * time/timespec_get.c: New file.
18431 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18432 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18433
380d7e87
UD
18434 [BZ #13531]
18435 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18436 * stdlib/stdlib.h: Declare aligned_alloc.
18437 * Versions.def: Add GLIBC_2.16 for libc.
18438 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18439
4e9e7a35
UD
18440 [BZ 13527]
18441 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18442 ISO C11.
18443
380d7e87 18444 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18445 code.
18446
03a71829
UD
18447 [BZ #13528]
18448 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18449
839e283e
UD
18450 [BZ #13529]
18451 * assert/assert.h (static_assert): Define.
18452
ce5294e2 18453 * version.h: Update for 2.16 development version.
90fa7312 18454
8d44e150 18455 [BZ #13526]
d7809905
UD
18456 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18457 _ISOC11_SOURCE.
18458
c0da14cd
UD
18459 * version.h (RELEASE): Bump for 2.15 release.
18460 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18461
530a3249
MP
18462 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18463 Patch by Marek Polacek <mpolacek@redhat.com>.
18464
67371b56
UD
18465 * bits/byteswap.h: Protect long long constants with __extension__.
18466 * sysdeps/i386/bits/byteswap.h: Likewise.
18467 * sysdeps/ia64/bits/byteswap.h: Likewise.
18468 * sysdeps/s390/bits/byteswap.h: Likewise.
18469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18470
15db4de1
LD
184712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18472
18473 [BZ #13540]
bbe315ea
LD
18474 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18475 destination buffer.
15db4de1
LD
18476 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18477
2b2596b1
MP
184782011-12-23 Marek Polacek <polacek@redhat.com>
18479
18480 * elf/dl-addr.c (determine_info): Add inline keyword.
18481 * elf/tst-auditmod4b.c (check_avx): Likewise.
18482 * elf/tst-auditmod6b.c (check_avx): Likewise.
18483 * elf/tst-auditmod6c.c (check_avx): Likewise.
18484 * elf/tst-auditmod7b.c (check_avx): Likewise.
18485
70c6c246
UD
184862011-12-23 Ulrich Drepper <drepper@gmail.com>
18487
18488 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18489 !__SSE_MATH__.
18490
c044cf14
LD
184912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18492
15db4de1 18493 [BZ #13540]
c044cf14
LD
18494 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18495 processing for last bytes.
18496
6b13d9d9
BH
184972011-08-06 Bruno Haible <bruno@clisp.org>
18498
d455f537
BH
18499 [BZ #13061]
18500 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18501 U+0385, not to U+1FEE.
18502
6b13d9d9
BH
18503 [BZ #13062]
18504 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18505 entry for U+00A5 U+0301.
18506
db910efd
UD
185072011-12-22 Ulrich Drepper <drepper@gmail.com>
18508
27deeafc
UD
18509 [BZ #13166]
18510 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18511 buffer for the output is too small.
18512
aed9d171
UD
18513 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18514 optimization.
18515
db910efd
UD
18516 [BZ #13185]
18517 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18518 SSE flags if possible.
18519
2bd779ae
LD
185202011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18521
e7f9dac3 18522 [BZ #13540]
2bd779ae
LD
18523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18524 processing for last bytes.
18525
154bfc16
JM
185262011-12-22 Joseph Myers <joseph@codesourcery.com>
18527
18528 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18529 (syscall-list-default-options, syscall-list-default-condition)
18530 (syscall-list-includes): Define.
18531 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18532 list of ABIs and options and #if conditions for each ABI. Do not
18533 handle common syscalls between ABIs specially.
18534 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18535 Remove.
18536 (syscall-list-variants, syscall-list-32bit-options)
18537 (syscall-list-32bit-condition, syscall-list-64bit-options)
18538 (syscall-list-64bit-condition): Define.
18539 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18540 (syscall-list-variants, syscall-list-32bit-options)
18541 (syscall-list-32bit-condition, syscall-list-64bit-options)
18542 (syscall-list-64bit-condition): Define.
18543 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18544 Remove.
18545 (syscall-list-variants, syscall-list-32bit-options)
18546 (syscall-list-32bit-condition, syscall-list-64bit-options)
18547 (syscall-list-64bit-condition): Define.
18548 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18549 Remove.
18550 (syscall-list-variants, syscall-list-32bit-options)
18551 (syscall-list-32bit-condition, syscall-list-64bit-options)
18552 (syscall-list-64bit-condition): Define.
18553
21eaf3a5
UD
185542011-12-22 Ulrich Drepper <drepper@gmail.com>
18555
16c6f992
UD
18556 * locale/iso-639.def: Add brx entry.
18557
41043168
UD
18558 [BZ #13328]
18559 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18560 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18561
21eaf3a5
UD
18562 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18563 __feraiseexcept_renamed.
18564
e3a851a2
UD
185652011-12-21 Ulrich Drepper <drepper@gmail.com>
18566
4920765e
UD
18567 [BZ #13538]
18568 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18569 EPOLLET with unsigned values.
18570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18571 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18572
e3a851a2
UD
18573 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18574 to large cancellation.
18575 * math/s_cacoshf.c: Likewise.
18576 * math/s_cacoshl.c: Likewise.
18577
b27e24b8
RK
185782011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18579
18580 [BZ #13305]
aebefeee 18581 [BZ #12786]
b27e24b8
RK
18582 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18583 * math/s_cacoshf.c: Likewise.
18584 * math/s_cacoshl.c: Likewise.
18585
ee190f67
UD
185862011-12-21 Ulrich Drepper <drepper@gmail.com>
18587
18588 [BZ #13439]
18589 * iconv/gconv.h: Define __GCONV_SWAP.
18590 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18591 * iconvdata/utf-16.c: Likewise.
18592 * iconvdata/utf-32.c: Likewise.
18593
707f25df
AS
185942011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18595
18596 [BZ #13524]
18597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18598 numerator after shifting it by one limb.
18599
d2daaa1e
RÁE
186002011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18601
18602 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18603 under [__USE_EXTERN_INLINES].
18604
a4647e72
UD
186052011-12-17 Ulrich Drepper <drepper@gmail.com>
18606
18607 [BZ #13446]
18608 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18609
f0b264f1
AZ
186102011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18611
18612 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18613 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18614 optimized code.
18615 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18616 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18617 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18618 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18619 for strncasecmp/strncasecmp_l compilation.
18620 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18621 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18622
8ef4f244
MP
186232011-12-08 Marek Polacek <mpolacek@redhat.com>
18624
18625 [BZ #13484]
18626 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18627 of __asm__.
18628
97ac2654
UD
186292011-12-17 Ulrich Drepper <drepper@gmail.com>
18630
18631 [BZ #13506]
18632 * time/tzfile.c (__tzfile_read): Check values from file header.
18633
91d2a845
WS
186342011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18635
18636 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18637 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18638 * powerpc/powerpc32/dl-start.S: Likewise.
18639 * powerpc/powerpc32/elf/start.S: Likewise.
18640 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18641 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18642 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18643 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18644 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18645 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18646 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18647 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18648 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18649 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18650 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18651 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18652 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18653 * powerpc/powerpc32/memset.S: Likewise.
18654 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18655 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18656 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18657 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18658 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18659 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18660 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18661 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18662 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18663 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18664 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18665 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18666 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18667
a1267ba1
AZ
186682011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18669
18670 * math/libm-test.inc: Added more nearbyint tests.
18671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18675
ad8ac1bd
RL
186762011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18677
18678 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18679 FD_CLOEXEC.
18680
1d3e4b61
UD
186812011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18682
18683 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18684 Add wcscpy-ssse3 wcscpy-c.
18685 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18686 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18687 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18688 * sysdeps/x86_64/wcschr.S: New file.
18689 * sysdeps/x86_64/wcsrchr.S: New file.
18690 * string/test-strcmp.c: Remove checking of wcscmp function for
18691 wrong alignments.
18692 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18693 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18694 wcsrchr-sse2 wcsrchr-c.
18695 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18696 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18697 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18698 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18699 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18700 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18701 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18702 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18703 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18704 * wcsmbc/wcschr.c (WCSCHR): New macro.
18705
5b330a2d
UD
187062011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18707
18708 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18709 * wcsmbs/test-wcsrchr.c: New file.
18710 * string/test-strrchr.c: Add wcsrchr support.
18711 (WIDE): New macro.
18712 * wcsmbs/test-wcscpy.c: New file.
18713 * string/test-strcpy.c: Add wcscpy support.
18714 (WIDE): New macro.
26428b7c 18715
f039c043
UD
187162011-12-10 Ulrich Drepper <drepper@gmail.com>
18717
18718 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18719 the inner loop.
18720
850fb039
AS
187212011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18722
18723 [BZ #13472]
18724 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18725
4efbd5cb
UD
187262011-12-04 Ulrich Drepper <drepper@gmail.com>
18727
52ff5dd0 18728 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18729 Minor optimizations.
52ff5dd0 18730
4efbd5cb
UD
18731 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18732 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18733 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18734
8a426e12
UD
187352011-12-03 Ulrich Drepper <drepper@gmail.com>
18736
aff2453d
UD
18737 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18738 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18739 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18740 for gcc to avoid warnings.
18741 * inet/Makefile (tests): Add tst-checks.
18742 * inet/tst-checks.c: New file.
18743
18744 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18745 warning.
18746
18747 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18748 __wmemcmp_sse2.
18749
18750 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18751 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18752
8a426e12
UD
18753 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18754
9bea3473
UD
187552011-12-02 Ulrich Drepper <drepper@gmail.com>
18756
3a965496
UD
18757 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18758 problem.
18759
9bea3473
UD
18760 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18761
f101631b
UD
187622011-11-29 Joseph Myers <joseph@codesourcery.com>
18763
18764 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18765 conditional on GCC version.
18766 (__arch_compare_and_exchange_val_8_acq)
18767 (__arch_compare_and_exchange_val_16_acq)
18768 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18769 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18770 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18771
a98275aa
UD
187722011-12-02 Joseph Myers <joseph@codesourcery.com>
18773
18774 * sysdeps/sh/backtrace.c: New file.
18775
d4cc29a2
AS
187762011-12-02 Andreas Schwab <schwab@redhat.com>
18777
18778 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18779 parenthesis.
18780
6257af2d
AS
187812011-12-01 Andreas Schwab <schwab@redhat.com>
18782
18783 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18784 falling back to utime.
18785
b5f44c1a
AS
187862011-11-30 Andreas Schwab <schwab@redhat.com>
18787
18788 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18789 expectations for float.
18790
f3a6cc0a
AS
187912011-11-29 Andreas Schwab <schwab@redhat.com>
18792
18793 * locale/weight.h (findidx): Add parameter len.
18794 * locale/weightwc.h (findidx): Likewise.
18795 * posix/fnmatch_loop.c (FCT): Adjust caller.
18796 * posix/regcomp.c (build_equiv_class): Likewise.
18797 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18798 * posix/regexec.c (check_node_accept_bytes): Likewise.
18799 * string/strcoll_l.c (STRCOLL): Likewise.
18800 * string/strxfrm_l.c (STRXFRM): Likewise.
18801
9d65ea3a
UD
188022011-11-17 Ulrich Drepper <drepper@gmail.com>
18803
18804 * Makefile.in: Remove CVSOPT handling.
18805 * configure.in: Remove use of AC_REVISION.
18806 * iconvdata/Makefile (distribute): No need to filter out CVS.
18807 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18808 handling.
18809
5583a086
AS
188102011-11-16 Andreas Schwab <schwab@redhat.com>
18811
18812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18813 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18814 [USE_AS_STRNCASECMP_L]: Likewise.
18815 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18816 NO_TLS_DIRECT_SEG_REFS.
18817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18818 Fix argument offsets for non-PIC.
18819 [USE_AS_STRNCASECMP_L]: Likewise.
18820 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18821 NO_TLS_DIRECT_SEG_REFS.
18822
d62a8200
UD
188232011-11-15 Ulrich Drepper <drepper@gmail.com>
18824
9d65ea3a 18825 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18826 O_CLOEXEC.
18827 * locale/loadlocale.c (_nl_load_locale): Likewise.
18828
09f93bd3
AS
188292011-11-15 Andreas Schwab <schwab@redhat.com>
18830
446514f9
AS
18831 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18832 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18833 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18834 (SYSCALL_GETTIME): Set errno on error.
18835
09f93bd3
AS
18836 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18837 count references to noai6ai_cached.
18838
312be3f9
UD
188392011-11-15 Ulrich Drepper <drepper@gmail.com>
18840
18841 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18842
18843 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18844 FD_CLOEXEC for /proc/self/maps.
18845
18846 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18847 FD_CLOEXEC for /proc/meminfo.
18848
18849 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18850 gai.conf.
18851
18852 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18853 FD_CLOEXEC for given file.
18854
18855 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18856
18857 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18858 FD_CLOEXEC for /etc/hosts.
18859 (_gethtent): Likewise.
18860
18861 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18862
18863 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18864 cancellation and set FD_CLOEXEC for /etc/netgroup.
18865
18866 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18867 reading /etc/publickey.
18868
18869 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18870 allow cancellation when reading /etc/group.
18871
18872 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18873 cancellation.
18874 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18875
18876 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18877 when using data file.
18878
18879 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18880
18881 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18882 (write_nis_obj): Use "c" and "e" in fopen.
18883
18884 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18885
18886 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18887
18888 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18889
18890 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18891
18892 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18893 locale.alias.
18894
18895 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18896
18897 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18898
18899 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18900
18901 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18902 file parsing and set FD_CLOEXEC.
18903
82af0fa8
UD
189042011-11-14 Ulrich Drepper <drepper@gmail.com>
18905
18906 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18907
a5fb313c
AS
189082011-11-14 Andreas Schwab <schwab@redhat.com>
18909
18910 * malloc/arena.c (arena_get2): Don't call reused_arena when
18911 _int_new_arena failed.
18912
6abf3465
UD
189132011-11-14 Ulrich Drepper <drepper@gmail.com>
18914
18915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18916 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18917 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18919 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18921 to compile strcasecmp and strncasecmp.
18922 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18923 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18924
18925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18926
76e3966e
UD
189272011-11-13 Ulrich Drepper <drepper@gmail.com>
18928
18929 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18930 locale-defines.sym to gen-as-const-headers.
18931 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18932 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18934 to compile strcasecmp and strncasecmp.
18935 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18936 strcasecmp_l and strncasecmp_l.
18937 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18938 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18939 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18940 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18941 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18942 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18943 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18944 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18945 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18946 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18947 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18948
ab26144e
UD
189492011-11-12 Ulrich Drepper <drepper@gmail.com>
18950
7edb22ef
UD
18951 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18952 result of SYSDEP_GETTIME_CPU to retval.
18953 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18954 parameter list to macro. Remove trailing semicolon. Adjust users.
18955
9694fc44
UD
18956 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18957 variable.
18958
8ad89ef8
UD
18959 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18960 mantissa words.
18961 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18962
0c822ef9
UD
18963 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18964 from unused variable.
18965
874e0564
UD
18966 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18967 DWARF definitions.
18968 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18969 for assembling.
18970
3a2edc79
UD
18971 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18972 over namespaces.
18973
f3c2577f
UD
18974 * sunrpc/rpc_prot.c (rejected): Fix case value.
18975
294ce126
UD
18976 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18977 unsigned long long int to avoid warnings in shift.
18978
5e2b63c6
UD
18979 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18980 of use of trans.
18981 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18982 variable tmp.
18983
e7f4b08e
UD
18984 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18985 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18986 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18987
ab26144e
UD
18988 * nis/nis_table.c (nis_list): Use variable of correct type for
18989 result of __follow_path call.
18990
8a6d5255
AZ
189912011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18992
18993 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18994 of math functions ceil, trunc, floor, round, and sqrt, when
18995 avaliable on the platform.
18996 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18997 name clash.
18998 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18999 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19000 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19001
aaddc98c
MP
190022011-10-30 Marek Polacek <mpolacek@redhat.com>
19003
19004 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19005 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19006
95b7042b
RM
190072011-11-11 Roland McGrath <roland@hack.frob.com>
19008
19009 * include/unistd.h: Fix __readlink return type.
19010 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19011
57769839
UD
190122011-11-11 Ulrich Drepper <drepper@gmail.com>
19013
19014 * stdlib/ucontext.h: Undo last change for makecontext.
19015
edc5984d
AS
190162011-11-11 Andreas Schwab <schwab@redhat.com>
19017
98591e58
AS
19018 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19019
edc5984d
AS
19020 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19021 * setjmp/setjmp.h: Mark functions as non-leaf.
19022 * setjmp/bits/setjmp2.h: Likewise.
19023 * stdlib/ucontext.h: Likewise.
19024
77cdc054
AS
190252011-11-10 Andreas Schwab <schwab@redhat.com>
19026
19027 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19028 (reused_arena): Don't check arena limit.
19029 (arena_get2): Atomically check arena limit.
19030
fe72eebd
UD
190312011-11-08 Ulrich Drepper <drepper@gmail.com>
19032
5f078c32
UD
19033 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19034 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19035
fe72eebd
UD
19036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19037 instructions.
19038
ae1bc2fa
AS
190392011-11-07 Andreas Schwab <schwab@redhat.com>
19040
7583a88d
AS
19041 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19042 handler when locking.
19043
ae1bc2fa
AS
19044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19045 Fix size of allocated buffer.
19046
10fb0bfa
AS
190472011-11-04 Andreas Schwab <schwab@redhat.com>
19048
998832a4
AS
19049 [BZ #10103]
19050 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19051 declarations for long double functions.
19052 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19053
10fb0bfa
AS
19054 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19055
3d7ba52b
AS
190562011-11-03 Andreas Schwab <schwab@redhat.com>
19057
a9ae54a1
AS
19058 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19059 installed.
19060
3d7ba52b
AS
19061 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19062 is disabled.
19063
bc8db248
ST
190642011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19065
19066 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19067
45b96dd6
AS
190682011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19069
647776f6
AS
19070 * include/alloca.h (stackinfo_alloca_round): Define.
19071 (extend_alloca): Use it.
19072 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19073 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19074 here.
19075
d91a8b93
AS
19076 * scripts/check-local-headers.sh: Ignore libaudit.h.
19077
45b96dd6
AS
19078 * nscd/Makefile (extra-objs): Make recursively expanded.
19079
432d41ce
UD
190802011-11-01 Ulrich Drepper <drepper@gmail.com>
19081
34372fc6
UD
19082 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19083 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19084
fadb59f8
UD
19085 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19086 * posix/tst-rfc3484-2.c: Likewise.
19087 * posix/tst-rfc3484-3.c: Likewise.
19088
78239589
UD
19089 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19090 process_vm_writev.
19091 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19092 process_vm_writev.
19093 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19094 process_vm_writev from libc using GLIBC_2.15 version.
19095
432d41ce
UD
19096 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19097
02f9c6cf
PP
190982011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19099
19100 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19101 stack usage.
19102
3a2c0242
UD
191032011-10-31 Ulrich Drepper <drepper@gmail.com>
19104
f4ec4833
UD
19105 [BZ #13367]
19106 * nss/getent.c (initgroups_keys): Show error message in case no group
19107 names are given.
19108
3a2c0242
UD
19109 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19110 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19111 __bump_nl_timestamp.
19112 * nscd/connections (nscd_init): When host database is served open
19113 netlink socket and request notification about configuration changes.
19114 (main_loop_poll): Track netlink file descriptor and bump timestamp
19115 in case data becomes available.
19116 (main_loop_epoll): Likewise.
19117 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19118 (database_pers_head): Add extra_data fileds.
19119 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19120 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19121 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19122 Adjust caller.
19123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19124 in6ai data, call __free_in6ai.
19125 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19126 Add -DHAVE_NETLINK.
19127 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19128 interface information. Reuse previous data if netlink timestamp
19129 is not changed.
19130 (__bump_nl_timestamp): New function.
19131 (__free_in6ai): New function.
19132
636064eb
UD
191332011-10-30 Ulrich Drepper <drepper@gmail.com>
19134
19135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19136 close_not_cancel_no_status here.
19137 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19138
9beb2334
UD
191392011-10-29 Ulrich Drepper <drepper@gmail.com>
19140
6ef76f3b
UD
19141 [BZ #13276]
19142 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19143 return value.
19144
0ffc4f3e 19145 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19146 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19147 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19148
cb95113e
UD
191492011-07-03 Andreas Jaeger <aj@suse.de>
19150
19151 [BZ #10709]
19152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19153 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19154 * math/libm-test.inc (sin_test): Add test case.
19155
a1b560ff
UD
191562011-10-29 Ulrich Drepper <drepper@gmail.com>
19157
c9aaface
UD
19158 [BZ #13337]
19159 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19160 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19161
d272e7f1
UD
19162 * elf/chroot_canon.c (chroot_canon): Cleanups.
19163
1bc33071
UD
19164 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19165
1760874d
TJ
19166 [BZ #13335]
19167 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19168 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19169
51d91b18
UD
19170 * string/test-strchr.c: Make usable for strchrnul testing.
19171 * string/test-strchrnul.c: New file.
19172 * string/Makefile (strop-tests): Add strchrnul.
19173
a1b560ff 19174 * po/it.po: Update from translation team.
b611fb81 19175 * po/es.po: Likewise.
a1b560ff 19176
a5b81e1f
UD
191772011-10-28 Ulrich Drepper <drepper@gmail.com>
19178
fd52bc6d
UD
19179 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19180 the three constants needed as parameters. Drop the others.
19181 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19182 __m128i_strloadu_tolower.
52e4b9eb
UD
19183 Create and initialize variable zero and use it in all the places
19184 where _mm_setzero_si128 was used.
fd52bc6d 19185
a5b81e1f
UD
19186 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19187 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19188 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19189 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19190 anymore.
19191 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19192 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19193 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19194 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19195 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19196 __mpranred, __mptan.
19197 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19198 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19199 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19200 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19201 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19202 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19203 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19204 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19205 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19206
b4343346
AS
192072011-10-28 Andreas Schwab <schwab@redhat.com>
19208
0c92d8a8
AS
19209 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19210 redefine if SHARED.
19211 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19212
b4343346
AS
19213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19214 wide char related routines to wcsmbs subdir.
19215
3871f58f
AS
192162011-10-27 Andreas Schwab <schwab@redhat.com>
19217
19218 [BZ #13344]
19219 * misc/sys/cdefs.h (__THROWNL): Define.
19220 * posix/unistd.h: Use __THREADNL instead of __THREAD
19221 for memory synchronization functions.
19222
94d44d9f
RM
192232011-10-26 Roland McGrath <roland@hack.frob.com>
19224
21b64b15 19225 [BZ #13349]
94d44d9f
RM
19226 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19227 doesn't exist.
19228 * manual/stdio.texi (Obstack Streams): Node removed.
19229
f6ce9294
AS
192302011-10-26 Andreas Schwab <schwab@redhat.com>
19231
80479147
AS
19232 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19233 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19235
f6ce9294
AS
19236 * math/math_private.h (math_force_eval): Allow non-addressable
19237 arguments.
19238 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19239
618280a1
UD
192402011-10-25 Ulrich Drepper <drepper@gmail.com>
19241
e0016b11
UD
19242 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19243 file is not needed.
19244
19245 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19247 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19248 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19249 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19250 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19251 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19252 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19253 Add AVX variants.
19254 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19255 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19256 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19257 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19258 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19259 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19260 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19261 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19262 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19263 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19264 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19265 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19267 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19270 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19271 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19272 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19273
19274 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19275 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19276
618280a1
UD
19277 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19278 place. Use VEX encoding when compiling for AVX.
19279
37822576
AS
192802011-10-25 Andreas Schwab <schwab@redhat.com>
19281
1f1e1947
AS
19282 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19283 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19284
37822576
AS
19285 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19286
31ea014d
UD
192872011-10-25 Ulrich Drepper <drepper@gmail.com>
19288
d7826aa1 19289 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19290 useless if() expression.
d7826aa1
UD
19291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19300 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19301 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19302 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19306 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19307 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19308 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19309 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19310
31ea014d
UD
19311 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19312
16437fec
AS
193132011-10-25 Andreas Schwab <schwab@redhat.com>
19314
19315 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19316 condition.
19317 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19318
31d3cc00
UD
193192011-10-25 Ulrich Drepper <drepper@gmail.com>
19320
19321 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19322 .text section. Avoid duplicate constants.
19323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19333 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19335 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19340 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19346 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19347 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19348 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19349 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19350 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19351 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19352 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19353 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19354 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19356 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19357 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19360 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19361 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19364 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19365 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19366 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19367 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19368
58985aa9
UD
193692011-10-24 Ulrich Drepper <drepper@gmail.com>
19370
202c9deb
UD
19371 * sysdeps/x86_64/dla.h: Move to ...
19372 * sysdeps/x86_64/fpu/dla.h: ...here.
19373 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19374 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19375
af968f62
UD
19376 * config.make.in: Add have-mfma4 entry.
19377 * configure.in: Substitute libc_cv_cc_fma4.
19378 * math/Makefile (dbl-only-routines): Add sincostab.
19379 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19380 Use __sincostab not sincos.
19381 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19382 name is a macro.
19383 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19387 using __copysign.
19388 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19389 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19390 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19391 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19392 and __inv.
19393 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19394 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19395 __copysign.
19396 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19397 define aliases when function name is a macro.
19398 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19399 sysdeps/ieee754/dbl-64/sincos.tbl.
19400 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19401 fma4-enabled routines.
19402 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19403 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19404 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19405 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19406 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19407 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19409 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19410 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19411 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19412 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19413 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19414 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19415 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19416 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19417 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19418 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19419 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19420 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19422 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19423 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19425 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19429 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19430 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19431 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19432
58985aa9
UD
19433 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19434 rename.
19435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19443
a201fbcf
AS
194442011-10-24 Andreas Schwab <schwab@redhat.com>
19445
19446 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19447
fc2ee42a
LD
194482011-10-23 Ulrich Drepper <drepper@gmail.com>
19449
bb3129bd
UD
19450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19451
0275fff8
UD
19452 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19453 prediction.
19454 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19455
2fa2ae85
UD
19456 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19457 Remove unused variable magic_bits.
19458 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19459
fc2ee42a
LD
19460 * string/strnlen.c: Define and use STRNLEN macro.
19461 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19462 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19464 * wcsmbs/wcslen.c: Define and use WCSLEN.
19465 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19466 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19467 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19468 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19469 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19470 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19471 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19472
ce7dd29f
LD
194732011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19474
19475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19476 strnlen-sse2-no-bsf.
19477 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19479 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19480 Add strnlen support.
19481 (USE_AS_STRNLEN): New macro.
19482 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19483 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19484 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19485 * sysdeps/x86_64/wcslen.S: New file.
19486
979c70a3
MZ
194872011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19488
19489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19490 XMM-moves are used for copying on small sizes.
19491
2d09f82f
LD
194922011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19493
19494 * wcsmbs/Makefile (strop-tests): Add wcschr.
19495 * wcsmbs/test-wcschr.c: New file.
19496 * string/test-strchr.c: Update.
19497 Add wcschr support.
19498 (WIDE): New macro.
19499
619fccca
LD
195002011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19501
2d09f82f 19502 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19503 * wcsmbs/test-wcslen.c: New file.
19504 * string/test-strlen.c: Update.
19505 Add wcslen support.
19506 (WIDE): New macro.
19507
09f699ea
UD
195082011-10-23 Ulrich Drepper <drepper@gmail.com>
19509
19510 * po/it.po: Update from translation team.
19511
95584d3b
LD
195122011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19513
19514 * sysdeps/x86_64/wcscmp.S: Update.
19515 Fix wrong comparison semantics.
19516 wcscmp shall use signed comparison not unsigned.
19517 Don't use substraction to avoid overflow bug.
19518 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19519 * wcsmbc/wcscmp.c: Likewise.
19520 * string/test-strcmp.c: Likewise.
19521 Add new tests to check cases with negative values.
19522
c8b3296b
UD
195232011-10-23 Ulrich Drepper <drepper@gmail.com>
19524
19525 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19526 * sysdeps/x86_64/dla.h: ...here. New file.
19527 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19536
246ad57a
AS
195372011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19538
19539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19540 __ynl_finite aliases.
19541
a1a87169
UD
195422011-10-22 Ulrich Drepper <drepper@gmail.com>
19543
0d355eb7
UD
19544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19545
a1a87169
UD
19546 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19547 define DLA_FMA.
19548 [DLA_FMA] (EMULV): Use DLA_FMA.
19549 [DLA_FMA] (MUL12): Use EMULV.
19550 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19551 that are not needed.
19552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19559
ee2aafe0
AS
195602011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19561
19562 * math/s_nan.c: Undef __nan.
19563 * math/s_nanf.c: Undef __nanf.
19564 * math/s_nanl.c: Undef __nanl.
19565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19566 "math_private.h".
19567
bc62c2fb
UD
195682011-10-22 Ulrich Drepper <drepper@gmail.com>
19569
77425c63
UD
19570 * math/s_catan.c: Add branch predictions.
19571 * math/s_catanf.c: Likewise.
19572 * math/s_catanh.c: Likewise.
19573 * math/s_catanhf.c: Likewise.
19574 * math/s_catanhl.c: Likewise.
19575 * math/s_catanl.c: Likewise.
19576 * math/s_cexp.c: Likewise.
19577 * math/s_cexpf.c: Likewise.
19578 * math/s_cexpl.c: Likewise.
19579 * math/s_clog.c: Likewise.
19580 * math/s_clog10.c: Likewise.
19581 * math/s_clog10f.c: Likewise.
19582 * math/s_clog10l.c: Likewise.
19583 * math/s_clogf.c: Likewise.
19584 * math/s_clogl.c: Likewise.
19585 * math/s_csqrt.c: Likewise.
19586 * math/s_csqrtf.c: Likewise.
19587 * math/s_csqrtl.c: Likewise.
19588 * math/s_ctanf.c: Likewise.
19589 * math/s_ctanh.c: Likewise.
19590 * math/s_ctanhf.c: Likewise.
19591 * math/s_ctanhl.c: Likewise.
19592 * math/s_ctanl.c: Likewise.
19593
bc62c2fb
UD
19594 * math/math_private.h: Define __nan, __nanf, __nanl.
19595 * math/s_cacosh.c: Include <math_private.h>.
19596 * math/s_cacoshl.c: Likewise.
19597 * math/s_casinh.c: Likewise.
19598 * math/s_casinhf.c: Likewise.
19599 * math/s_casinhl.c: Likewise.
19600 * math/s_ccos.c: Rely entire on ccosh.
19601 * math/s_ccosf.c: Rely entire on ccoshf.
19602 * math/s_ccosl.c: Rely entirely on ccoshl.
19603 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19604 Remove tests for FE_INVALID.
19605 * math/s_ccoshf.c: Likewise.
19606 * math/s_ccoshl.c: Likewise.
19607 * math/s_csin.c: Likewise.
19608 * math/s_csinf.c: Likewise.
19609 * math/s_csinh.c Likewise.
19610 * math/s_csinhf.c: Likewise.
19611 * math/s_csinhl.c: Likewise.
19612 * math/s_csinl.c: Likewise.
19613 * math/s_ctan.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19615 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19617
8ec250a4
UD
196182011-10-21 Ulrich Drepper <drepper@gmail.com>
19619
c196fed8
UD
19620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19621 compilation problems.
19622
8ec250a4
UD
19623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19624 __builtin_expect.
19625
8d4f46c6
UD
196262011-10-20 Ulrich Drepper <drepper@gmail.com>
19627
ed72b654
UD
19628 * sysdeps/i386/configure.in: Test for -mfma4 option.
19629 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19630 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19631 COMMON_CPUID_INDEX_80000001.
19632 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19633 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19634 use it if FMA3 is not supported.
19635 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19636
8d4f46c6
UD
19637 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19638 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19639
d45c60c2
AS
196402011-10-20 Andreas Schwab <schwab@redhat.com>
19641
19642 [BZ #12892]
19643 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19644 it would create a cycle with a link time dependency.
19645
d9a4d2ab
UD
196462011-10-19 Ulrich Drepper <drepper@gmail.com>
19647
855d1560
UD
19648 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19649 instruction.
19650 * string/Makefile (strop-tests): Add rawmemchr.
19651 * string/test-rawmemchr.c: New file.
19652
d9a4d2ab
UD
19653 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19655 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19656 when compiling str{,n}casecmp and when AVX is available. Hook up
19657 new optimized code in initializers.
19658
8f3b1ffe
AS
196592011-10-19 Andreas Schwab <schwab@redhat.com>
19660
19661 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19662 __feraiseexcept instead of feraiseexcept.
19663
d38f1dba
UD
196642011-10-18 Ulrich Drepper <drepper@gmail.com>
19665
d9a8d0ab
UD
19666 * math/math_private.h: Define defaults for libc_fetestexcept and
19667 libc_feupdateenv.
19668 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19669 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19670 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19671 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19672 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19673 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19674 libc_fetestexcept and libc_feupdateenv.
19675
4855e3dd
UD
19676 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19677 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19678 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19679 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19680 libc_feholdexcept_setround.
19681
581d30e3
UD
19682 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19683 Add s_nearbyint-c and s_nearbyintf-c.
19684 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19685 nearbyintf inlines.
19686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19688 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19689 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19690
d38f1dba
UD
19691 * math/math_private.h: Define defaults for libc_fegetround,
19692 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19693 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19694 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19695 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19696 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19697 standard functions.
19698 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19699 Remove comments and hacks for old compiler versions.
19700 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19701 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19702 libc_feholdexceptl.
19703
caa6c9d8
AS
197042011-10-18 Andreas Schwab <schwab@redhat.com>
19705
19706 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19707 (__feraiseexcept_renamed): Add __NTH.
19708 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19709 namespace violations.
19710
97c066e6
UD
197112011-10-17 Ulrich Drepper <drepper@gmail.com>
19712
99ce7b04
UD
19713 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19714
1004d182
UD
19715 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19716
228a984d
UD
19717 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19718 recently added interfaces.
19719 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19720
c8553a6a
UD
19721 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19722 about macro parameter expansion.
19723
ed22dcf6
UD
19724 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19725 __NO_MATH_INLINES is defined. Cleanups.
19726
19727 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19728 and __floorf is target has SSE4.1.
19729 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19730 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19731 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19732 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19733
b171c137
UD
19734 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19735 name.
19736 (floorf): Likewise.
19737
97c066e6
UD
19738 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19739
629f62ef
AS
197402011-10-17 Andreas Schwab <schwab@redhat.com>
19741
49a43d80
AS
19742 * misc/sys/cdefs.h: Fix last change.
19743
629f62ef
AS
19744 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19745 database lookup.
19746
e453f6cd
UD
197472011-10-16 Ulrich Drepper <drepper@gmail.com>
19748
aa78043a
UD
19749 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19750
ad0f5cad
UD
19751 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19758 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19759 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19760 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19761 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19762 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19763 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19764 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19765 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19766 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19767 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19768 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19769 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19770 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19771 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19772 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19773
19774 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19775 ceil, ceilf, floor, floorf.
19776
19777 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19778 Perform IRELATIVE relocations last.
19779
e453f6cd
UD
19780 * elf/do-rel.h: Add another parameter nrelative, replacing the
19781 local variable with the same name. Change name of the function
19782 to end in Rel or Rela (uppercase).
19783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19784 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19785 elf_dynamic_do_##reloc function.
19786
fd5bdc09
UD
197872011-10-15 Ulrich Drepper <drepper@gmail.com>
19788
79b195b5
UD
19789 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19790 is sufficient, at least on modern CPUs.
19791
d4a28569
UD
19792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19793
b61099b5
UD
19794 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19795 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19796
bcf01e6d
UD
19797 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19798 __expl_finite.
19799 * math/bits/math-finite.h: Add entries for exp.
19800 * math/e_expl.c: Add __*_finite alias.
19801 * sysdeps/i386/fpu/e_exp.S: Likewise.
19802 * sysdeps/i386/fpu/e_expf.S: Likewise.
19803 * sysdeps/i386/fpu/e_expl.c: Likewise.
19804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19805 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19806 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19808 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19809 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19810 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19811
ba1a0d59
UD
19812 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19813 is sufficient, at least on modern CPUs.
19814
fd5bdc09
UD
19815 * ctype/ctype-info.c (__ctype_init): Define.
19816 * include/ctype.h (__ctype_init): Declare.
19817 (__ctype_b_loc): The variable is always initialized.
19818 (__ctype_toupper_loc): Likewise.
19819 (__ctype_tolower_loc): Likewise.
19820 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19821 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19822
7872cfb0
AS
198232011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19824
b468825a
AS
19825 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19826
7872cfb0
AS
19827 * configure.in: Also look in $cxxmachine/include for C++ system
19828 headers.
19829
be13f7bf
LD
198302011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19831
19832 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19833 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19834 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19835 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19836 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19837 (USE_AS_WMEMCMP): New macro.
19838 Fixing indents.
19839 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19840 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19841 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19842 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19844 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19845 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19846 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19847 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19848 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19849 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19850 (USE_AS_WMEMCMP): New macro.
19851 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19852 * sysdeps/string/test-memcmp.c: Update.
19853 Fix simple_wmemcmp.
19854 Add new tests.
19855 * wcsmbs/wmemcmp.c: Update.
19856 (WMEMCMP): New macro.
19857 Fix overflow bug.
19858
556a2007
AJ
198592011-10-12 Andreas Jaeger <aj@suse.de>
19860
19861 [BZ #13268]
19862 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19863
538faaa7
UD
198642011-10-15 Ulrich Drepper <drepper@gmail.com>
19865
ab6737ff
UD
19866 * libio/iofwide.c (do_length): Avoid warning.
19867
538faaa7
UD
19868 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19869
396a21b1
UD
198702011-10-14 Ulrich Drepper <drepper@gmail.com>
19871
cdf2901f
UD
19872 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19873
38ad40ce
UD
19874 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19875 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19876 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19877 * sysdeps/i386/i686/fpu/e_log.S: New file.
19878 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19879 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19880
396a21b1
UD
19881 * ctype/ctype.h: Add support for inlined isXXX functions when
19882 compiling C++ code.
19883
6b1f68c9
AS
198842011-10-14 Andreas Schwab <schwab@redhat.com>
19885
349290c0
AS
19886 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19887
6b1f68c9
AS
19888 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19889
f2282d42
RM
198902011-10-13 Roland McGrath <roland@hack.frob.com>
19891
19892 [BZ #13291]
19893 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19894
5298ffa8
AS
198952011-10-13 Andreas Schwab <schwab@redhat.com>
19896
714fad23
AS
19897 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19898 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19899 feraiseexcept.
19900
81dcc7fb
AS
19901 * sysdeps/x86_64/memrchr.S: Check for zero size.
19902
5298ffa8
AS
19903 * string/stratcliff.c: Add memrchr tests.
19904
951fbcec
LD
199052011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19906
19907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19908 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19909 rawmemchr-sse2 rawmemchr-sse2-bsf.
19910 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19911 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19912 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19913 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19914 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19915 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19916 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19917 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19918 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19919 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19920 * string/memrchr.c (MEMRCHR): New macro.
19921
0ac5ae23
UD
199222011-10-12 Ulrich Drepper <drepper@gmail.com>
19923
19924 Add integration with gcc's -ffinite-math-only and optimize wrapper
19925 functions in libm.
19926 * Versions.def: Define GLIBC_2.15 version for libm.
19927 * math/Makefile (headers): Add bits/math-finite.h.
19928 * math/bits/math-finite.h: New file.
19929 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19930 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19931 * math/e_acoshl.c: Add __*_finite alias.
19932 * math/e_acosl.c: Likewise.
19933 * math/e_asinl.c: Likewise.
19934 * math/e_atan2l.c: Likewise.
19935 * math/e_atanhl.c: Likewise.
19936 * math/e_coshl.c: Likewise.
19937 * math/e_exp10.c: Likewise.
19938 * math/e_exp10f.c: Likewise.
19939 * math/e_exp10l.c: Likewise.
19940 * math/e_exp2l.c: Likewise.
19941 * math/e_fmodl.c: Likewise.
19942 * math/e_gammal_r.c: Likewise.
19943 * math/e_hypotl.c: Likewise.
19944 * math/e_j0l.c: Likewise.
19945 * math/e_j1l.c: Likewise.
19946 * math/e_jnl.c: Likewise.
19947 * math/e_lgammal_r.c: Likewise.
19948 * math/e_log10l.c: Likewise.
19949 * math/e_log2l.c: Likewise.
19950 * math/e_logl.c: Likewise.
19951 * math/e_powl.c: Likewise.
19952 * math/e_sinhl.c: Likewise.
19953 * math/e_sqrtl.c: Likewise.
19954 * math/e_scalb.c: Completely rewritten and optimized.
19955 * math/e_scalbf.c: Likewise.
19956 * math/e_scalbl.c: Likewise.
19957 * math/w_acos.c: Likewise.
19958 * math/w_acosf.c: Likewise.
19959 * math/w_acosl.c: Likewise.
19960 * math/w_acosh.c: Likewise.
19961 * math/w_acoshf.c: Likewise.
19962 * math/w_acoshl.c: Likewise.
19963 * math/w_asin.c: Likewise.
19964 * math/w_asinf.c: Likewise.
19965 * math/w_asinl.c: Likewise.
19966 * math/w_atan2.c: Likewise.
19967 * math/w_atan2f.c: Likewise.
19968 * math/w_atan2l.c: Likewise.
19969 * math/w_atanh.c: Likewise.
19970 * math/w_atanhf.c: Likewise.
19971 * math/w_atanhl.c: Likewise.
19972 * math/w_exp10.c: Likewise.
19973 * math/w_exp10f.c: Likewise.
19974 * math/w_exp10l.c: Likewise.
19975 * math/w_fmod.c: Likewise.
19976 * math/w_fmodf.c: Likewise.
19977 * math/w_fmodl.c: Likewise.
19978 * math/w_j0.c: Likewise.
19979 * math/w_j0f.c: Likewise.
19980 * math/w_j0l.c: Likewise.
19981 * math/w_j1.c: Likewise.
19982 * math/w_j1f.c: Likewise.
19983 * math/w_j1l.c: Likewise.
19984 * math/w_jn.c: Likewise.
19985 * math/w_jnf.c: Likewise.
19986 * math/w_log.c: Likewise.
19987 * math/w_logf.c: Likewise.
19988 * math/w_logl.c: Likewise.
19989 * math/w_log10.c: Likewise.
19990 * math/w_log10f.c: Likewise.
19991 * math/w_log10l.c: Likewise.
19992 * math/w_log2.c: Likewise.
19993 * math/w_log2f.c: Likewise.
19994 * math/w_log2l.c: Likewise.
19995 * math/w_pow.c: Likewise.
19996 * math/w_powf.c: Likewise.
19997 * math/w_powl.c: Likewise.
19998 * math/w_remainder.c: Likewise.
19999 * math/w_remainderf.c: Likewise.
20000 * math/w_remainderl.c: Likewise.
20001 * math/w_scalb.c: Likewise.
20002 * math/w_scalbf.c: Likewise.
20003 * math/w_scalbl.c: Likewise.
20004 * math/w_sqrt.c: Likewise.
20005 * math/w_sqrtf.c: Likewise.
20006 * math/w_sqrtl.c: Likewise.
20007 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20008 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20009 used.
20010 * math/math_private.h: Declare __kernel_standard_f.
20011 * math/w_cosh.c: Remove cruft and optimize a bit.
20012 * math/w_coshf.c: Likewise.
20013 * math/w_coshl.c: Likewise.
20014 * math/w_exp2.c: Likewise.
20015 * math/w_exp2f.c: Likewise.
20016 * math/w_exp2l.c: Likewise.
20017 * math/w_hypot.c: Likewise.
20018 * math/w_hypotf.c: Likewise.
20019 * math/w_hypotl.c: Likewise.
20020 * math/w_lgamma.c: Likewise.
20021 * math/w_lgamma_r.c: Likewise.
20022 * math/w_lgammaf.c: Likewise.
20023 * math/w_lgammaf_r.c: Likewise.
20024 * math/w_lgammal.c: Likewise.
20025 * math/w_lgammal_r.c: Likewise.
20026 * math/w_sinh.c: Likewise.
20027 * math/w_sinhf.c: Likewise.
20028 * math/w_sinhl.c: Likewise.
20029 * math/w_tgamma.c: Likewise.
20030 * math/w_tgammaf.c: Likewise.
20031 * math/w_tgammal.c: Likewise.
20032 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20033 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20034 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20035 Minor optimizations. Pretty printing. Remove cruft.
20036 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20037 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20038 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20039 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20040 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20041 * sysdeps/i386/fpu/e_asin.S: Likewise.
20042 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20043 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20044 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20045 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20046 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20047 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20048 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20049 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20050 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20051 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20052 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20053 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20054 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20055 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20056 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20057 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20058 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20059 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20060 * sysdeps/i386/fpu/e_log.S: Likewise.
20061 * sysdeps/i386/fpu/e_log10.S: Likewise.
20062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20063 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20064 * sysdeps/i386/fpu/e_log2.S: Likewise.
20065 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20066 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20067 * sysdeps/i386/fpu/e_logf.S: Likewise.
20068 * sysdeps/i386/fpu/e_logl.S: Likewise.
20069 * sysdeps/i386/fpu/e_pow.S: Likewise.
20070 * sysdeps/i386/fpu/e_powf.S: Likewise.
20071 * sysdeps/i386/fpu/e_powl.S: Likewise.
20072 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20073 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20074 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20075 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20077 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20078 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20079 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20080 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20081 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20082 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20084 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20086 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20087 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20088 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20089 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20091 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20092 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20094 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20095 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20097 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20098 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20099 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20101 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20102 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20103 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20104 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20105 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20106 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20107 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20108 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20109 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20110 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20112 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20115 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20116 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20117 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20118 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20119 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20120 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20121 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20122 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20123 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20124 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20125 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20126 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20127 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20128 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20129 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20136 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20137 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20138 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20141 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20142 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20145 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20146 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20147 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20148 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20153 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20155 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20159 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20160 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20161 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20164 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20165 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20166 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20168 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20169 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20172 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20173 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20174 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20175 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20176 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20177 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20178 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20179 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20180 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20181 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20182 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20183 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20184 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20185 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20186 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20187 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20189 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20190 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20191 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20192 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20193 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20194 (__isnanf): Likewise.
20195 (__isinf_ns): Likewise.
20196 (__isinf_nsf): Likewise.
20197 (__finite): Likewise.
20198 (__finitef): Likewise.
20199 (__ieee754_sqrt): Define as macro.
20200 (__ieee754_sqrtf): Define as macro.
20201 (__ieee754_sqrtl): Define as macro.
20202 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20203 inlined copy.
20204 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20205 __FINITE_MATH_ONLY__ consistent.
20206 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20207
12cc2fcd
AS
202082011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20209
a843a204
AS
20210 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20211 of rawmemchr.
20212
12cc2fcd
AS
20213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20214
c853acd5
UD
202152011-10-09 Ulrich Drepper <drepper@gmail.com>
20216
20217 * po/ja.po: Update from translation team.
20218
c658d255
RM
202192011-10-08 Roland McGrath <roland@hack.frob.com>
20220
110946e4
RM
20221 * locale/programs/locarchive.c (prepare_address_space): New function.
20222 (create_archive, enlarge_archive, open_archive): Use it.
20223
50604220
RM
20224 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20225 inside [SHARED], where it is used.
20226
c658d255
RM
20227 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20228
20229 * nss/getent.c (netgroup_keys): Remove unused variable.
20230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20231
6a621eb7
UD
202322011-10-08 Ulrich Drepper <drepper@gmail.com>
20233
7edb55ce
UD
20234 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20235 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20238 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20239 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20240 * math/Makefile (libm-calls): Add s_isinf_ns.
20241 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20242 * math/multc3.c: Likewise.
20243 * math/s_casin.c: Likewise.
20244 * math/s_casinf.c: Likewise.
20245 * math/s_casinl.c: Likewise.
20246 * math/s_ccos.c: Likewise.
20247 * math/s_ccosf.c: Likewise.
20248 * math/s_ccosl.c: Likewise.
20249 * math/s_ctan.c: Likewise.
20250 * math/s_ctanf.c: Likewise.
20251 * math/s_ctanh.c: Likewise.
20252 * math/s_ctanhf.c: Likewise.
20253 * math/s_ctanhl.c: Likewise.
20254 * math/s_ctanl.c: Likewise.
20255 * math/w_fmod.c: Likewise.
20256 * math/w_fmodf.c: Likewise.
20257 * math/w_fmodl.c: Likewise.
20258 * math/w_remainder.c: Likewise.
20259 * math/w_remainderf.c: Likewise.
20260 * math/w_remainderl.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20262 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20263 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20265 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20266 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20267 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20268 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20269
187da0ae
UD
20270 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20271 of the number.
20272 * stdio-common/printf_fphex.c: Likewise.
20273 * stdio-common/printf_size.c: Likewise.
20274
9277c064
UD
20275 * math/e_exp10.c: Include math_private.h using <...> not "...".
20276 * math/e_exp10f.c: Likewise.
20277 * math/e_exp10l.c: Likewise.
20278 * math/e_exp2l.c: Likewise.
20279 * math/e_j0l.c: Likewise.
20280 * math/e_j1l.c: Likewise.
20281 * math/e_jnl.c: Likewise.
20282 * math/e_lgammal_r.c: Likewise.
20283 * math/e_rem_pio2l.c: Likewise.
20284 * math/e_scalb.c: Likewise.
20285 * math/e_scalbf.c: Likewise.
20286 * math/e_scalbl.c: Likewise.
20287 * math/k_cosl.c: Likewise.
20288 * math/k_sinl.c: Likewise.
20289 * math/k_tanl.c: Likewise.
20290 * math/s_cacoshf.c: Likewise.
20291 * math/s_catan.c: Likewise.
20292 * math/s_catanf.c: Likewise.
20293 * math/s_catanh.c: Likewise.
20294 * math/s_catanhf.c: Likewise.
20295 * math/s_catanhl.c: Likewise.
20296 * math/s_catanl.c: Likewise.
20297 * math/s_ccosh.c: Likewise.
20298 * math/s_ccoshf.c: Likewise.
20299 * math/s_ccoshl.c: Likewise.
20300 * math/s_cexp.c: Likewise.
20301 * math/s_cexpf.c: Likewise.
20302 * math/s_cexpl.c: Likewise.
20303 * math/s_clog.c: Likewise.
20304 * math/s_clog10.c: Likewise.
20305 * math/s_clog10f.c: Likewise.
20306 * math/s_clog10l.c: Likewise.
20307 * math/s_clogf.c: Likewise.
20308 * math/s_clogl.c: Likewise.
20309 * math/s_csin.c: Likewise.
20310 * math/s_csinf.c: Likewise.
20311 * math/s_csinh.c: Likewise.
20312 * math/s_csinhf.c: Likewise.
20313 * math/s_csinhl.c: Likewise.
20314 * math/s_csinl.c: Likewise.
20315 * math/s_csqrt.c: Likewise.
20316 * math/s_csqrtf.c: Likewise.
20317 * math/s_csqrtl.c: Likewise.
20318 * math/s_ctan.c: Likewise.
20319 * math/s_ctanf.c: Likewise.
20320 * math/s_ctanh.c: Likewise.
20321 * math/s_ctanhf.c: Likewise.
20322 * math/s_ctanhl.c: Likewise.
20323 * math/s_ctanl.c: Likewise.
20324 * math/s_ldexp.c: Likewise.
20325 * math/s_ldexpf.c: Likewise.
20326 * math/s_ldexpl.c: Likewise.
20327 * math/s_significand.c: Likewise.
20328 * math/s_significandf.c: Likewise.
20329 * math/s_significandl.c: Likewise.
20330 * math/w_acos.c: Likewise.
20331 * math/w_acosf.c: Likewise.
20332 * math/w_acosh.c: Likewise.
20333 * math/w_acoshf.c: Likewise.
20334 * math/w_acoshl.c: Likewise.
20335 * math/w_acosl.c: Likewise.
20336 * math/w_asin.c: Likewise.
20337 * math/w_asinf.c: Likewise.
20338 * math/w_asinl.c: Likewise.
20339 * math/w_atan2.c: Likewise.
20340 * math/w_atan2f.c: Likewise.
20341 * math/w_atan2l.c: Likewise.
20342 * math/w_atanh.c: Likewise.
20343 * math/w_atanhf.c: Likewise.
20344 * math/w_atanhl.c: Likewise.
20345 * math/w_cosh.c: Likewise.
20346 * math/w_coshf.c: Likewise.
20347 * math/w_coshl.c: Likewise.
20348 * math/w_dremf.c: Likewise.
20349 * math/w_exp10.c: Likewise.
20350 * math/w_exp10f.c: Likewise.
20351 * math/w_exp10l.c: Likewise.
20352 * math/w_exp2.c: Likewise.
20353 * math/w_exp2f.c: Likewise.
20354 * math/w_fmod.c: Likewise.
20355 * math/w_fmodf.c: Likewise.
20356 * math/w_fmodl.c: Likewise.
20357 * math/w_hypot.c: Likewise.
20358 * math/w_hypotf.c: Likewise.
20359 * math/w_hypotl.c: Likewise.
20360 * math/w_j0.c: Likewise.
20361 * math/w_j0f.c: Likewise.
20362 * math/w_j0l.c: Likewise.
20363 * math/w_j1.c: Likewise.
20364 * math/w_j1f.c: Likewise.
20365 * math/w_j1l.c: Likewise.
20366 * math/w_jn.c: Likewise.
20367 * math/w_jnf.c: Likewise.
20368 * math/w_jnl.c: Likewise.
20369 * math/w_lgamma.c: Likewise.
20370 * math/w_lgamma_r.c: Likewise.
20371 * math/w_lgammaf.c: Likewise.
20372 * math/w_lgammaf_r.c: Likewise.
20373 * math/w_lgammal.c: Likewise.
20374 * math/w_lgammal_r.c: Likewise.
20375 * math/w_log.c: Likewise.
20376 * math/w_log10.c: Likewise.
20377 * math/w_log10f.c: Likewise.
20378 * math/w_log10l.c: Likewise.
20379 * math/w_log2.c: Likewise.
20380 * math/w_log2f.c: Likewise.
20381 * math/w_log2l.c: Likewise.
20382 * math/w_logf.c: Likewise.
20383 * math/w_logl.c: Likewise.
20384 * math/w_pow.c: Likewise.
20385 * math/w_powf.c: Likewise.
20386 * math/w_powl.c: Likewise.
20387 * math/w_remainder.c: Likewise.
20388 * math/w_remainderf.c: Likewise.
20389 * math/w_remainderl.c: Likewise.
20390 * math/w_scalb.c: Likewise.
20391 * math/w_scalbf.c: Likewise.
20392 * math/w_scalbl.c: Likewise.
20393 * math/w_sinh.c: Likewise.
20394 * math/w_sinhf.c: Likewise.
20395 * math/w_sinhl.c: Likewise.
20396 * math/w_sqrt.c: Likewise.
20397 * math/w_sqrtf.c: Likewise.
20398 * math/w_sqrtl.c: Likewise.
20399 * math/w_tgamma.c: Likewise.
20400 * math/w_tgammaf.c: Likewise.
20401 * math/w_tgammal.c: Likewise.
20402
6a621eb7
UD
20403 * po/ja.po: Update from translation team.
20404
bf582445
AJ
204052011-09-29 Andreas Jaeger <aj@suse.de>
20406
f9efbf3a
AJ
20407 [BZ #13179]
20408 * sunrpc/netname.c (netname2host): Fix logic.
20409
bf582445
AJ
20410 [BZ #6779]
20411 [BZ #6783]
20412 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20413 correctly.
20414 * math/w_remainder.c (__remainder): Likewise.
20415 * math/w_remainderf.c (__remainderf): Likewise.
20416 * math/libm-test.inc (remainder_test): Add test cases.
20417
48693bea
AK
204182011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20419
20420 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20421 sdiv_qrnnd.
20422
42622229
LD
204232011-10-07 Ulrich Drepper <drepper@gmail.com>
20424
20425 * string/test-memcmp.c: Avoid unncessary #defines.
20426 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20427
093ecf92
LD
204282011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20429
20430 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20431 Use new sse2 version for core i3 - i7 as it's faster
20432 than sse42 version.
20433 (bit_Prefer_PMINUB_for_stringop): New.
20434 * sysdeps/x86_64/rawmemchr.S: Update.
20435 Replace with faster SSE2 version.
20436 * sysdeps/x86_64/memrchr.S: New file.
20437 * sysdeps/x86_64/memchr.S: Update.
20438 Replace with faster SSE2 version.
20439
fde56e5c
MP
204402011-09-12 Marek Polacek <mpolacek@redhat.com>
20441
20442 * elf/dl-load.c (lose): Add cast to avoid warning.
20443
21fd49a9
UD
204442011-10-07 Ulrich Drepper <drepper@gmail.com>
20445
5a06e643
UD
20446 * po/ca.po: Update from translation team.
20447
684ae515
UD
20448 * inet/getnetgrent_r.c: Hook up nscd.
20449 * nscd/Makefile (routines): Add nscd_netgroup.
20450 (nscd-modules): Add netgroupcache.
20451 (CFLAGS-netgroupcache.c): Define.
20452 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20453 (cache_search): Add const to second parameter.
20454 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20455 INNETGR.
20456 (dbs): Add netgrdb entry.
20457 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20458 (verify_persistent_db): Handle netgrdb.
20459 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20460 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20461 GETFDNETGR.
20462 (netgroup_response_header): Define.
20463 (innetgroup_response_header): Define.
20464 (datahead): Add netgroup_response_header and innetgroup_response_header
20465 elements.
20466 * nscd/nscd.conf: Add entries for netgroup cache.
20467 * nscd/nscd.h (dbtype): Add netgrdb.
20468 (_PATH_NSCD_NETGROUP_DB): Define.
20469 (netgroup_iov_disabled): Declare.
20470 (xmalloc, xcalloc, xrealloc): Move declarations here.
20471 (cache_search): Adjust prototype.
20472 Add netgroup-related prototypes.
20473 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20474 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20475 (__nscd_innetgr): Declare.
20476 * nscd/selinux.c (perms): Use access_vector_t as element type and
20477 add netgroup-related initializers.
20478 * nscd/netgroupcache.c: New file.
20479 * nscd/nscd_netgroup.c: New file.
20480 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20481 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20482 For four parameters use innetgr.
20483 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20484 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20485 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20486 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20487
21fd49a9
UD
20488 * nscd/connections.c (register_traced_file): Don't register file
20489 for disabled databases.
20490
054c0457
UD
204912011-10-06 Ulrich Drepper <drepper@gmail.com>
20492
32b63198
UD
20493 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20494
054c0457
UD
20495 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20496 from tree and freeing node.
20497
64031225
JO
204982011-09-25 Jiri Olsa <jolsa@redhat.com>
20499
20500 * nss/nsswitch.c (__nss_database_lookup): Handle
20501 nss_parse_service_list out of memory case.
20502
0490345c
JO
205032011-09-15 Jiri Olsa <jolsa@redhat.com>
20504
20505 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20506 out of memory case.
20507
3a62d00d
AS
205082011-10-04 Andreas Schwab <schwab@redhat.com>
20509
20510 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20511 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20512 pass it down.
20513 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20514 elf_machine_rela, elf_machine_lazy_rel.
20515 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20516 (ELF_DYNAMIC_DO_REL): Likewise.
20517 (ELF_DYNAMIC_DO_RELA): Likewise.
20518 (ELF_DYNAMIC_RELOCATE): Likewise.
20519 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20520 to ELF_DYNAMIC_DO_REL.
20521 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20522 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20523 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20524 elf_machine_rela.
20525 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20526 skip_ifunc, don't call ifunc function if non-zero.
20527 (elf_machine_rela): Likewise.
20528 (elf_machine_lazy_rel): Likewise.
20529 (elf_machine_lazy_rela): Likewise.
20530 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20531 (elf_machine_lazy_rel): Likewise.
20532 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20533 Likewise.
20534 (elf_machine_lazy_rel): Likewise.
20535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20536 Likewise.
20537 (elf_machine_lazy_rel): Likewise.
20538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20539 (elf_machine_lazy_rel): Likewise.
20540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20541 (elf_machine_lazy_rel): Likewise.
20542 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20543 (elf_machine_lazy_rel): Likewise.
20544 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20545 (elf_machine_lazy_rel): Likewise.
20546 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20547 (elf_machine_lazy_rel): Likewise.
20548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20549 (elf_machine_lazy_rel): Likewise.
20550
68577918
UD
205512011-09-28 Ulrich Drepper <drepper@gmail.com>
20552
20553 * nss/nss_files/files-init.c (_nss_files_init): Use static
20554 initialization for all the *_traced_file variables.
20555
68822d74
AS
205562011-09-28 Andreas Schwab <schwab@redhat.com>
20557
20558 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20559
2056100b
RM
205602011-09-27 Roland McGrath <roland@hack.frob.com>
20561
20562 [BZ #13226]
20563 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20564
32c76b63
AS
205652011-09-27 Andreas Schwab <schwab@redhat.com>
20566
20567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20568 Reread the line before reparsing it.
20569
bf972c9d
AS
205702011-09-26 Andreas Schwab <schwab@redhat.com>
20571
20572 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20573
e057a1b5
JM
205742011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20575 Maxim Kuvyrkov <maxim@codesourcery.com>
20576 Joseph Myers <joseph@codesourcery.com>
20577
20578 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20579 if needed for __stack_chk_guard.
20580
bc7e1c36
RM
205812011-09-19 Roland McGrath <roland@hack.frob.com>
20582
ecb1482f
RM
20583 * sysdeps/posix/spawni.c (script_execute): Always define it.
20584 It will be optimized away if unused.
20585 (maybe_script_execute): New function.
20586 (__spawni): Call it.
20587
bc7e1c36
RM
20588 * Makerules: Don't include tls.make.
20589 (config-tls): Always set to thread.
20590 * tls.make.c: File removed.
20591
1c3b002b
MF
205922011-09-19 Mike Frysinger <vapier@gentoo.org>
20593
20594 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20595 * config.make.in (CPPFLAGS-config): New substituted variable.
20596
2840865d
UD
205972011-09-15 Ulrich Drepper <drepper@gmail.com>
20598
88738eb6
UD
20599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20600
cbf645a6 20601 [BZ #13192]
2840865d
UD
20602 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20603 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20604
b402e91a
RM
206052011-09-15 Roland McGrath <roland@hack.frob.com>
20606
20607 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20608 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20610 (CALL_FAIL): Likewise.
20611 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20612 (CALL_FAIL): Macro removed.
20613 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20614
4c1a1f71
UD
206152011-09-15 Ulrich Drepper <drepper@gmail.com>
20616
20617 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20618 for __FINITE_MATH_ONLY__ == 1.
20619
edc121be
AS
206202011-09-15 Andreas Schwab <schwab@redhat.com>
20621
20622 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20623 __ieee754_sqrt instead of sqrt.
20624 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20625 __ieee754_sqrtf instead of sqrtf.
20626 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20627 __floorf instead of floorf.
20628 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20629 __floorf, __truncf instead of floorf, truncf.
20630
cd205654
UD
206312011-09-14 Ulrich Drepper <drepper@gmail.com>
20632
ee4d0315
UD
20633 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20634
cd205654
UD
20635 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20636 __extern_always_inline.
20637 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20638 32-bit.
20639
48b67d71
AS
206402011-09-14 Andreas Schwab <schwab@redhat.com>
20641
20642 * elf/rtld.c (dl_main): Also relocate in dependency order when
20643 doing symbol dependency testing.
20644
1ae12c75
AS
206452011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20646
20647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20648 Always define `refsym'.
20649
995a80df
AS
206502011-09-13 Andreas Schwab <schwab@redhat.com>
20651
e529793b
AS
20652 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20653 (__FD_ELT): Renamed from __FDELT.
20654 * misc/bits/select2.h (__FD_ELT): Likewise.
20655 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20656 __FD_MASK instead of __FDELT, __FDMASK.
20657 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20658 Likewise.
20659 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20660 Likewise.
20661
52d4fef8
AS
20662 * elf/Makefile (gen-ldd): Fix pattern.
20663
995a80df
AS
20664 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20665 (init_tls): Likewise.
20666
8682f8b0
UD
206672011-09-12 Ulrich Drepper <drepper@gmail.com>
20668
20669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20670
de82006d
AS
206712011-09-12 Andreas Schwab <schwab@redhat.com>
20672
a7c8e6a1
AS
20673 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20674 `struct cmsghdr *' instead of `void *'.
20675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20676 Likewise.
20677
0f31fe77
AS
206782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20679
20680 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20681 if non-absolute.
20682 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20683 ldd_rewrite_script.
0f31fe77 20684
32b4c839
UD
206852011-09-11 Ulrich Drepper <drepper@gmail.com>
20686
83cd1420
UD
20687 * configure.in: Remove --with-tls option.
20688 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20689 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20690 out in case it is missing.
20691 * sysdeps/ia64/elf/configure.in: Likewise.
20692 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20693 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20694 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20695 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20696 * sysdeps/sh/elf/configure.in: Likewise.
20697 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20698 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20699 * sysdeps/x86_64/elf/configure.in: Likewise.
20700 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20701 * sysdeps/mach/hurd/tls.h: Likewise.
20702
633f745d
UD
20703 [BZ #13067]
20704 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20705
f318beb8
UD
20706 [BZ #13090]
20707 * configure.in: Fix use of AC_INIT.
20708
32b4c839
UD
20709 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20710
3ce1f295
UD
207112011-09-10 Ulrich Drepper <drepper@gmail.com>
20712
bb016596
UD
20713 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20714 __set_errno.
8e58439c
UD
20715 * malloc/hooks.c: Likewise.
20716
aebae053 20717 [BZ #11929]
02d46fc4
UD
20718 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20719 variables statically.
20720 (narenas): Initialize.
20721 (list_lock): Initialize.
bb016596
UD
20722 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20723 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20724 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20725 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20726 Add initializers to main_arena and mp_.
20727 (malloc_state): Remove pagesize member. Change all users to use
20728 GLRO(dl_pagesize).
20729
20730 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20731 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20732 is always initialized.
20733
22a89187
UD
20734 * malloc/malloc.c: Removed unused configurations and dead code.
20735 * malloc/arena.c: Likewise.
20736 * malloc/hooks.c: Likewise.
02d46fc4 20737 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20738
d063d164
UD
20739 * include/tls.h: Removed. USE___THREAD must always be defined.
20740 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20741 * elf/dl-libc.c: Likewise.
20742 * elf/dl-tsd.c: Likewise.
20743 * include/errno.h: Likewise.
20744 * include/netdb.h: Likewise.
20745 * include/resolv.h: Likewise.
20746 * inet/herrno-loc.c: Likewise.
20747 * inet/herrno.c: Likewise.
20748 * malloc/arena.c: Likewise.
20749 * malloc/hooks.c: Likewise.
20750 * malloc/malloc.c: Likewise.
20751 * resolv/res-state.c: Likewise.
20752 * resolv/res_libc.c: Likewise.
20753 * sysdeps/i386/dl-machine.h: Likewise.
20754 * sysdeps/ia64/dl-machine.h: Likewise.
20755 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20756 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20757 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20758 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20759 * sysdeps/sh/dl-machine.h: Likewise.
20760 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20761 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20762 * sysdeps/unix/i386/sysdep.S: Likewise.
20763 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20764 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20769 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20773 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20774 * sysdeps/x86_64/dl-machine.h: Likewise.
20775 * tls.make.c: Likewise.
20776
3ce1f295
UD
20777 * configure.in: Remove --with-__thread option. Make tests for
20778 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20779 tls_model attribute fail if no support is available. Remove
20780 USE_IN_LIBIO.
20781 * Makeconfig: Adjust for dropped configure option. All features are
20782 now mandatory.
20783 * Makerules: Likewise.
20784 * Versions.def: Likewise.
20785 * argp/argp-fmtstream.c: Likewise.
20786 * argp/argp-fmtstream.h: Likewise.
20787 * argp/argp-help.c: Likewise.
20788 * assert/assert.c: Likewise.
20789 * config.h.in: Likewise.
20790 * config.make.in: Likewise.
20791 * configure: Likewise.
20792 * configure.in: Likewise.
20793 * csu/Versions: Likewise.
20794 * csu/init.c: Likewise.
20795 * elf/tst-audit2.c: Likewise.
20796 * elf/tst-tls10.c: Likewise.
20797 * elf/tst-tls10.h: Likewise.
20798 * elf/tst-tls11.c: Likewise.
20799 * elf/tst-tls12.c: Likewise.
20800 * elf/tst-tls14.c: Likewise.
20801 * elf/tst-tlsmod11.c: Likewise.
20802 * elf/tst-tlsmod12.c: Likewise.
20803 * elf/tst-tlsmod13.c: Likewise.
20804 * elf/tst-tlsmod13a.c: Likewise.
20805 * elf/tst-tlsmod14a.c: Likewise.
20806 * elf/tst-tlsmod15b.c: Likewise.
20807 * elf/tst-tlsmod16a.c: Likewise.
20808 * elf/tst-tlsmod16b.c: Likewise.
20809 * elf/tst-tlsmod7.c: Likewise.
20810 * elf/tst-tlsmod8.c: Likewise.
20811 * elf/tst-tlsmod9.c: Likewise.
20812 * gmon/gmon.c: Likewise.
20813 * grp/fgetgrent_r.c: Likewise.
20814 * grp/putgrent.c: Likewise.
20815 * hurd/fopenport.c: Likewise.
20816 * include/libc-symbols.h: Likewise.
20817 * include/tls.h: Likewise.
20818 * intl/gettextP.h: Likewise.
20819 * intl/loadinfo.h: Likewise.
20820 * locale/global-locale.c: Likewise.
20821 * locale/localeinfo.h: Likewise.
20822 * mach/devstream.c: Likewise.
20823 * malloc/arena.c: Likewise.
20824 * malloc/set-freeres.c: Likewise.
20825 * misc/err.c: Likewise.
20826 * misc/getttyent.c: Likewise.
20827 * misc/mntent_r.c: Likewise.
20828 * posix/getopt.c: Likewise.
20829 * posix/wordexp.c: Likewise.
20830 * pwd/fgetpwent_r.c: Likewise.
20831 * resolv/Versions: Likewise.
20832 * resolv/res_hconf.c: Likewise.
20833 * shadow/fgetspent_r.c: Likewise.
20834 * shadow/putspent.c: Likewise.
20835 * stdio-common/printf_fphex.c: Likewise.
20836 * stdio-common/tmpfile.c: Likewise.
20837 * stdlib/abort.c: Likewise.
20838 * stdlib/fmtmsg.c: Likewise.
20839 * sunrpc/auth_unix.c: Likewise.
20840 * sunrpc/clnt_perr.c: Likewise.
20841 * sunrpc/clnt_tcp.c: Likewise.
20842 * sunrpc/clnt_udp.c: Likewise.
20843 * sunrpc/clnt_unix.c: Likewise.
20844 * sunrpc/openchild.c: Likewise.
20845 * sunrpc/svc_simple.c: Likewise.
20846 * sunrpc/svc_tcp.c: Likewise.
20847 * sunrpc/svc_udp.c: Likewise.
20848 * sunrpc/svc_unix.c: Likewise.
20849 * sunrpc/xdr.c: Likewise.
20850 * sunrpc/xdr_array.c: Likewise.
20851 * sunrpc/xdr_rec.c: Likewise.
20852 * sunrpc/xdr_ref.c: Likewise.
20853 * sunrpc/xdr_stdio.c: Likewise.
20854
1248c1c4
PB
208552011-09-09 Ulrich Drepper <drepper@gmail.com>
20856
20857 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20858
208592011-07-03 Andreas Jaeger <aj@suse.de>
20860
20861 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20862 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20863 regenerate with gen-libm-tests.pl.
20864
208652010-05-12 Petr Baudis <pasky@suse.cz>
20866
20867 [BZ #11589]
20868 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20869 around j0() zero points by switching to j1().
20870 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20871 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20873 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20874
f22e1074
UD
208752011-09-09 Ulrich Drepper <drepper@gmail.com>
20876
f19009c1
UD
20877 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20878 instead of 0.
20879 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20880 instead of 0.
f19009c1
UD
20881 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20882 Patch in part by Pavel Roskin <proski@gnu.org>.
20883
3f8cc204
UD
20884 [BZ #13138]
20885 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20886 realloc.
20887 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20888 Free memory block if necessary.
20889
f22e1074
UD
20890 [BZ #12847]
20891 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20892 be NULL. Don't lock in this case.
20893
0a2349f9
RM
208942011-09-09 Roland McGrath <roland@hack.frob.com>
20895
20896 * elf/elf.h (ELFOSABI_GNU): New macro.
20897 (ELFOSABI_LINUX): Define to that.
20898
f3cdd467
DZ
208992011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20900
20901 * string/strncat.c (strncat): Undef the symbol in case it has been
20902 defined in bits/string.h.
20903
74718d13
UD
209042011-09-09 Ulrich Drepper <drepper@gmail.com>
20905
633e9e0f
UD
20906 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20907
0a2349f9 20908 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20909 link map.
20910
f9924780
AJ
209112011-08-17 Andreas Jaeger <aj@suse.de>
20912
20913 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20914
7f5517aa
PP
209152011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20916 Ian Lance Taylor <iant@google.com>
20917
20918 * math/libm-test.inc (lround_test): New testcase.
20919 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20920
762011fe
UD
209212011-09-08 Ulrich Drepper <drepper@gmail.com>
20922
92963737
UD
20923 * Makefile: Remove support for automatic cvs check-ins.
20924 * Makerules: Likewise.
20925 * config.make.in: Likewise.
20926 * configure.in: Likewise.
20927 * intl/Makefile: Likewise.
20928 * locale/Makefile: Likewise.
20929 * po/Makefile: Likewise.
20930 * posix/Makefile: Likewise.
20931 * sysdeps/gnu/Makefile: Likewise.
20932 * sysdeps/mach/hurd/Makefile: Likewise.
20933 * sysdeps/sparc/sparc32/Makefile: Likewise.
20934
b0727fd8
JS
20935 [BZ #13118]
20936 * posix/Makefile (bug-regex32-ENV): Define.
20937 Patch by John Stanley <jpsinthemix@verizon.net>.
20938
a0f33f99
UD
20939 * misc/Makefile (headers): Add bits/select2.h.
20940 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20941 * misc/bits/select2.h: New file.
20942 * include/bits/select2.h: New file.
20943 * debug/Makefile (routines): Add fdelt_chk.
20944 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20945 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20946 FD_ISSET.
20947 * debug/fdelt_chk.c: New file.
20948
762011fe
UD
20949 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20950 * wcsmbs/test-wmemcmp.c: Likewise.
20951 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20952 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20953
209542011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20955
20956 * string/Makefile (strop-tests): Add memcmp.
20957 * string/test-wmemcmp.c: New file.
20958 * string/test-memcmp.c: Add wmemcmp support.
20959
7f513ec8
RM
209602011-09-08 Roland McGrath <roland@hack.frob.com>
20961
0442afb4
RM
20962 [BZ #13153]
20963 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20964 2011-07-19 change.
20965
7f513ec8
RM
20966 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20967 garbage value in a __mach_port_mod_refs call in the cases of the
20968 task-self and thread-self ports.
20969
a12b2239
ST
209702011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20971
20972 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20973
610f9ab4
AS
209742011-09-08 Andreas Schwab <schwab@redhat.com>
20975
7f513ec8 20976 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20977
48882a1a
LD
209782011-09-07 Ulrich Drepper <drepper@gmail.com>
20979
b49865be
UD
20980 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20981
fdc86bc9
UD
20982 * elf/dl-libc.c (dlerror_run): Pass back error code from
20983 dl_catch_error.
20984
c966526a
UD
20985 [BZ #13123]
20986 * elf/dl-load.c (lose): Free l_origin if it is valid.
20987
48882a1a
LD
20988 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20989 names.
20990 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20991 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20994 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20995 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20996
77a2a8b4
AZ
209972011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20998
20999 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21000 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21001 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21002 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21003 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21004 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21005 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21006 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21007 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21008 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21009
24f579d8
AM
210102011-08-15 Alan Modra <amodra@gmail.com>
21011
21012 [BZ #13092]
21013 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21014 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21015 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21016 ppc_mcount to static-only-routines.
21017 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21018 __mcount_internal.
21019 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21020 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21021
3d4837df
UD
210222011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21023
21024 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21025 for finite and infinity parameters.
21026
22700377
WS
210272011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21028
21029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21030 and add nop instructions for throughput optimization.
21031 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21032
5025581e
WS
210332011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21034
21035 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21036 aligned copy for power7 with vector-scalar instructions.
21037 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21038
08a300c9
L
210392011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21040
21041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21042 AVX check.
21043
59178ef9
AS
210442011-09-07 Andreas Schwab <schwab@redhat.com>
21045
21046 [BZ #13144]
21047 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21048 last change.
21049
e38ba7ab
UD
210502011-09-07 Ulrich Drepper <drepper@gmail.com>
21051
21052 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21053 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21054 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21055 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21056 clock_gettime.
21057
d53a73ac
UD
210582011-09-06 Ulrich Drepper <drepper@gmail.com>
21059
fc8bffcc
UD
21060 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21061 Forgot to demangle the pointer.
21062
ceaa0c5d
UD
21063 * sysdeps/i386/sysdep.h: Define atom_text_section.
21064 * sysdeps/x86_64/sysdep.h: Likewise.
21065 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21066 section with atom_text_section.
21067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21068 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21069 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21071 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21072
a77d3c17
UD
21073 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21074 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21075 already be defined. Change to take two parameters and don't assign
21076 result to variable. Adjust all users.
21077 Define INTERNAL_GETTIME if not already defined.
21078 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21079 call.
21080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21081 HAVE_CLOCK_GETTIME_VSYSCALL.
21082 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21083
d53a73ac
UD
21084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21085 gettimeofday vsyscall, just use time.
21086
a8f84144
AS
210872011-09-06 Andreas Schwab <schwab@redhat.com>
21088
21089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21090 <errno.h>.
21091
ef606249
UD
210922011-09-06 Ulrich Drepper <drepper@gmail.com>
21093
21094 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21095 syscall on x86-64.
21096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21097 syscall.
21098 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21099 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21100 syscall if possible.
21101
6585cb60
UD
211022011-09-05 Ulrich Drepper <drepper@gmail.com>
21103
21104 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21105 e_ident. Don't pass to find_mapsXX.
21106 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21107
a5f524e4
LD
211082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21109
21110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21111 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21112 * sysdeps/x86_64/multiarch/strchr.S: Update.
21113 Check bit_slow_BSF bit.
21114 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21115 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21116 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21117
554881ef
UD
211182011-09-05 Ulrich Drepper <drepper@gmail.com>
21119
d96de963
UD
21120 [BZ #13134]
21121 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21122 before glibc 2.15.
21123 (tryshell): Define.
21124 (__spawni): Change last parameter to be flag. Test
21125 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21126 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21127 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21128 * posix/spawni.c: Likewise.
21129 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21130 * posix/spawnp.c: Likewise. Change normal version to use
21131 SPAWN_XFLAGS_USE_PATH.
21132 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21133 SPAWN_XFLAGS_TRY_SHELL.
21134
d48e5868
UD
21135 [BZ #13150]
21136 * posix/glob.h: Remove gcc 1.x support.
21137
554881ef
UD
21138 [BZ #13068]
21139 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21140
693fb948
LD
211412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21142
21143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21144 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21145 strrchr-sse2-bsf
21146 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21147 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21148 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21149 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21150 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21151 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21152
1b48c537
UD
211532011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21154
49d42c37
UD
21155 * sysdeps/x86_64/wcscmp.S: New file.
21156
1b48c537
UD
21157 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21158 wcscmp-c wcscmp-sse2
21159 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21160 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21161 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21162 * wcsmbs/wcscmp.c: Allow renaming.
21163
15c95c5d
DM
211642011-09-05 David S. Miller <davem@davemloft.net>
21165
21166 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21167 stack slot, rather than the struct return pointer slot.
21168 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21169 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21171 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21172
2f0ad8f3
UD
211732011-09-05 Ulrich Drepper <drepper@gmail.com>
21174
d88ae418
UD
21175 * po/ja.po: Update from translation team.
21176
2f0ad8f3
UD
21177 [BZ #13144]
21178 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21179 kernel in 64-bit binaries.
21180
5f4318d1
DM
211812011-09-01 David S. Miller <davem@davemloft.net>
21182
21183 * elf/elf.h (HWCAP_SPARC_*): Move to..
21184 * sysdeps/sparc/sysdep.h: this new file and add new values.
21185 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21186 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21187 _DL_HWCAP_COUNT to 24.
21188 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21189 entries.
21190 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21191 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21192 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21194 instead of magic constants.
21195 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21196
3ba57516
DM
211972011-08-31 David S. Miller <davem@davemloft.net>
21198
21199 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21201 Reimplement to do errno handling inline.
21202 (SYSCALL_ERROR_HANDLER): New macro.
21203 (__SYSCALL_STRING): Do not do errno handling in asm.
21204 (__CLONE_SYSCALL_STRING): Delete.
21205 (__INTERNAL_SYSCALL_STRING): Delete.
21206 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21207 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21208 (PSEUDO): Reimplement to do errno handling inline.
21209 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
21215 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21216 i386.
21217 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21218 (inline_syscall*): Add 'err' argument.
21219 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21220 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21221 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21222 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21223
21224 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21225 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21226
2bc17433
AS
212272011-08-30 Andreas Schwab <schwab@redhat.com>
21228
21229 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21230
fbeb5f4d
JO
212312011-08-29 Jiri Olsa <jolsa@redhat.com>
21232
21233 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21234 directive.
21235
ad69cc26
DM
212362011-08-24 David S. Miller <davem@davemloft.net>
21237
21238 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21239
39dd69df
AS
212402011-08-24 Andreas Schwab <schwab@redhat.com>
21241
21242 * elf/Makefile: Add rules to build and run unload8 test.
21243 * elf/unload8.c: New file.
21244 * elf/unload8mod1.c: New file.
21245 * elf/unload8mod1x.c: New file.
21246 * elf/unload8mod2.c: New file.
21247 * elf/unload8mod3.c: New file.
21248
21249 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21250 it wasn't used.
21251
2c0b250a
DM
212522011-08-23 David S. Miller <davem@davemloft.net>
21253
21254 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21255 subtract stack bias.
21256 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21257 %sp not %fp in calculations.
21258 (_JMPBUF_UNWINDS_ADJ): Likewise.
21259
22044b48
DM
21260 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21261 (aio_suspend): Call it to force an exception region around the
21262 AIO_MISC_WAIT() invocation.
21263
2cae4995
AS
212642011-08-23 Andreas Schwab <schwab@redhat.com>
21265
21266 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21267 backslash.
21268
873a772e
AJ
212692011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21270
21271 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21272 protection macro.
21273 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21274 and <dl-machine.h>.
21275 (Elf64_FuncDesc): Remove.
21276
25ad0df1
DM
212772011-08-22 David S. Miller <davem@davemloft.net>
21278
21279 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21280 sigaltstack check, add missing cfi directives.
21281 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21282 missing cfi directives, and sigaltstack handling.
21283
e888bcbe
AS
212842011-08-16 Andreas Schwab <schwab@redhat.com>
21285
21286 [BZ #11724]
21287 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21288 object is seen twice.
21289 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21290
21291 * elf/Makefile (distribute): Add tst-initorder2.c.
21292 (tests): Add tst-initorder2.
21293 (modules-names): Add tst-initorder2a tst-initorder2b
21294 tst-initorder2c tst-initorder2d. Add rules to build them.
21295 ($(objpfx)tst-initorder2.out): New rule.
21296 * elf/tst-initorder2.c: New file.
21297 * elf/tst-initorder2.exp: New file.
21298
87162f46
AS
212992011-08-22 Andreas Schwab <schwab@redhat.com>
21300
70538b7f
AS
21301 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21302
f55ffe58
AS
21303 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21304 dependencies back to end of function.
21305
87162f46
AS
21306 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21307 $(elfobjdir)/ld.so.
21308
91b392a4
UD
213092011-08-21 Ulrich Drepper <drepper@gmail.com>
21310
21311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21312 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21314 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21315 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21316 of __vdso_gettimeofday.
21317 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21318 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21319 attribute_hidden.
21320 (_libc_vdso_platform_setup): Remove initialization of
21321 __vdso_gettimeofday and __vdso_time.
21322
5c43483f
UD
213232011-08-20 Ulrich Drepper <drepper@gmail.com>
21324
775a77e7
UD
21325 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21326 and fgetc_unlocked.
21327 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21328 getc_unlocked.
89f447ed 21329
49c74ba9
UD
21330 * elf/dl-open.c (add_to_global): Report additions to the global scope
21331 for LD_DEBUG=scopes.
21332 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21333 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21334
5c43483f
UD
21335 [BZ #13114]
21336 * stdio-common/Makefile (tests): Add bug24.
21337 * stdio-common/bug24.c: New file.
21338
a101b025
AJ
213392011-08-19 Andreas Jaeger <aj@suse.de>
21340
21341 [BZ #13114]
21342 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21343 non-existant file when using close-on-exec mode.
21344
c88f1766
UD
213452011-08-20 Ulrich Drepper <drepper@gmail.com>
21346
0276a718
UD
21347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21348 the very first instruction.
21349
c88f1766
UD
21350 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21351 the CFI state in the end.
21352 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21353 inclusion of dl-trampoline.h.
21354 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21355
51ccffa0
AS
213562011-08-19 Andreas Schwab <schwab@redhat.com>
21357
94d7165f
AS
21358 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21359 expectations for long double.
21360
51ccffa0
AS
21361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21362 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21363
fd708658 213642011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21365
21366 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21367 artificual limit depends upon the system page size.
21368
44f0a71e
UD
213692011-08-17 Ulrich Drepper <drepper@gmail.com>
21370
21371 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21372 * resolv/Makefile: Define CFLAGS-libresolv.
21373
8de79a24
AS
213742011-08-17 Andreas Schwab <schwab@redhat.com>
21375
21376 * nss/makedb.c (compute_tables): Make variables used in nested
21377 function static.
21378
27724598
UD
213792011-08-17 Ulrich Drepper <drepper@gmail.com>
21380
c5305d88
UD
21381 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21382 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21383 if buffer was too small.
21384
27724598
UD
21385 * elf/pldd.c (main): Attach to all threads in the process.
21386 Rewrite /proc handling to use *at functions.
21387
076fe015
UD
213882011-08-16 Ulrich Drepper <drepper@gmail.com>
21389
174baab3
UD
21390 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21391 specifies first scope to show.
21392 (dl_open_worker): Update callers. Move printing scope of new
21393 object to before the relocation.
44f0a71e 21394 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21395 * sysdeps/generic/ldsodefs.h: Update declaration.
21396
076fe015
UD
21397 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21398 string for the scope number.
21399
a60df2c3
UD
214002011-08-14 Ulrich Drepper <drepper@gmail.com>
21401
21402 * nscd/servicescache.c (cache_addserv): Make sure written is always
21403 initialized.
21404
5e4287d1
RM
214052011-08-14 Roland McGrath <roland@hack.frob.com>
21406
85ae0589
RM
21407 * sysdeps/i386/i486/bits/atomic.h
21408 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21409 statement expression, so as to suppress "set but not used" warning.
21410 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21411
69f63097
RM
21412 * string/strncat.c (STRNCAT): Use prototype definition.
21413
675456ef
RM
21414 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21415 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21416 -Iprograms here.
21417 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21418 (localedef-modules): Add localedef.
21419 (locale-modules): Add locale.
21420
5e4287d1
RM
21421 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21422 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21423 to avoid a warning.
21424
9c96ff23
DM
214252011-08-14 David S. Miller <davem@davemloft.net>
21426
21427 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21428 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21429
f9ddf089
UD
214302011-08-13 Ulrich Drepper <drepper@gmail.com>
21431
44f0a71e 21432 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21433 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21434 * elf/rtld.c (dl_main): Set l_name of vDSO.
21435 Call _dl_show_scope when DL_DEBUG_SCOPES.
21436 (process_dl_debug): Recognize scopes flag and also set it for all.
21437 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21438 Declare _dl_show_scope.
21439
1dc27704
UD
21440 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21441 (do_dlopen): Pass caller_dlopen to dl_open.
21442 (__libc_dlopen_mode): Initialize caller_dlopen.
21443
f9ddf089
UD
21444 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21445 of libc. Make tolower call locale-independent. Optimize a bit by
21446 using isdigit instead of isalnum.
21447 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21448
9ac533d3
UD
214492011-08-12 Ulrich Drepper <drepper@gmail.com>
21450
21451 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21452 was a dependency or dynamically loaded.
21453
89edf2e9
UD
214542011-08-11 Ulrich Drepper <drepper@gmail.com>
21455
8e999d29
UD
21456 * intl/l10nflist.c: Allow architecture-specific pop function.
21457 * sysdeps/x86_64/l10nflist.c: New file.
21458
89edf2e9
UD
21459 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21460 classification.
21461
14d96785
AS
214622011-08-10 Andreas Schwab <schwab@redhat.com>
21463
21464 * include/dirent.h: Add libc_hidden_proto for scandirat and
21465 scandirat64. Don't declare __scandirat64.
21466 * dirent/scandirat.c: Add libc_hidden_def.
21467 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21468 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21469
6761ac04
DM
214702011-08-10 David S. Miller <davem@davemloft.net>
21471
21472 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21473 enum.
21474 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21475 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21476 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21477
c55fbd1e
UD
214782011-08-09 Ulrich Drepper <drepper@gmail.com>
21479
21480 * Versions.def [libc]: Add GLIBC_2.15.
21481 * dirent/Makefile (routines): Add scandirat and scandirat64.
21482 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21483 GLIBC_2.15.
21484 * dirent/dirent.h: Declare scandirat and scandirat64.
21485 * dirent/scandirat.c: New file.
21486 * dirent/scandirat64.c: New file.
21487 * sysdeps/wordsize-64/scandirat.c: New file.
21488 * sysdeps/wordsize-64/scandirat64.c: New file.
21489 * dirent/opendir.c: Define opendirat.
21490 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21491 using scandirat.
21492 * dirent/scandir64.c: Adjust for scandir.c change.
21493 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21494 __scandirat64, and __scandir_cancel_handler.
21495 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21496 additional parameter and use openat instead of open (outside of ld.so).
21497 Add new __opendir as wrapper around __opendirat.
21498 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21499 here without requiring old scandirat implementation.
21500
879165f2
UD
215012011-08-08 Ulrich Drepper <drepper@gmail.com>
21502
21503 * dirent/scandir.c (cancel_handler): Renamed to
21504 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21505 defined. Adjust users.
21506 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21507 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21508
cb7e923b
UD
215092011-08-04 Ulrich Drepper <drepper@gmail.com>
21510
16292edd
UD
21511 * string/test-string.h (IMPL): Use __STRING to expand name and then
21512 stringify it.
21513
cb7e923b
UD
21514 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21515 of cleanups.
21516
cff82933
LD
215172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21518
21519 * string/Makefile: Update.
21520 (strop-tests): Append strncat.
21521 * string/test-wcscmp.c: New file.
21522 New comprehensive test for wcscmp.
21523 * string/test-strcmp.c: Update.
21524 (WIDE): New define.
21525
9be9bfcc
AS
215262011-07-22 Andreas Schwab <schwab@redhat.com>
21527
21528 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21529 line.
21530
2e96f1c7
AS
215312011-07-26 Andreas Schwab <schwab@redhat.com>
21532
21533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21534 encoding to ACE if AI_IDN.
21535
85188888
JJ
215362011-08-01 Jakub Jelinek <jakub@redhat.com>
21537
21538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21539 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21540
5fa16e9b
LD
215412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21542
21543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21544 Fix overflow bug in strncat.
21545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21546
21547 * string/test-strncat.c: Update.
21548 Add new tests for checking overflow bugs.
21549
215502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21551
21552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21553 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21554 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21555 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21557 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21558 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21559 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21560 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21561
21562 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21563 (USE_AS_STRCAT): Define.
21564 Add strcat and strncat support.
21565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21566
8c1a459f
AS
215672011-07-25 Andreas Schwab <schwab@redhat.com>
21568
21569 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21570 __n bigger than INT_MAX+1.
21571 (__strncmp_g): Likewise.
21572
bba33c28
UD
215732011-07-23 Ulrich Drepper <drepper@gmail.com>
21574
798be72d
UD
21575 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21576 * libio/stido.h: Likewise.
21577
8accd4dc
UD
21578 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21579 (AF_NFC): Define.
21580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21581 (AF_NFC): Define.
21582
cbff0d96
UD
21583 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21584 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21585 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21586 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21588
9191c04a
UD
21589 [BZ #13021]
21590 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21591 installed.
21592
bba33c28
UD
21593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21594 typo.
21595 (_dl_x86_64_save_sse): Likewise.
21596
90f139dd
UD
215972011-07-22 Ulrich Drepper <drepper@gmail.com>
21598
1aae088a
UD
21599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21600 OSXSAVE.
21601 (_dl_x86_64_save_sse): Likewise.
21602
8e2045f5
UD
21603 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21604
90f139dd
UD
21605 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21606
1d002f25
AS
216072011-07-21 Andreas Schwab <schwab@redhat.com>
21608
21609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21610 change.
21611 (_dl_x86_64_save_sse): Use correct AVX check.
21612
21137f89
UD
216132011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21614
21615 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21616 bug in strncpy/strncat.
21617 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21618
a65c0b7a
UD
216192011-07-21 Ulrich Drepper <drepper@gmail.com>
21620
21621 * string/tester.c (test_strcat): Add tests for different alignments
21622 of source and destination.
21623 (test_strncat): Likewise.
21624
6986b98a
UD
216252011-07-20 Ulrich Drepper <drepper@gmail.com>
21626
90bb2039
UD
21627 [BZ #12852]
21628 * posix/glob.c (glob): Check passed in values before using them in
21629 expressions to avoid some overflows.
21630 (glob_in_dir): Likewise.
21631
5644ef54
UD
21632 [BZ #13007]
21633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21634 check for AVX enablement so that we don't crash with old kernels and
21635 new hardware.
21636 * elf/tst-audit4.c: Add same checks here.
21637 * elf/tst-audit6.c: Likewise.
21638
21639 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21640
bfc9dc9b
AS
216412011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21642
21643 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21644
702e64bb
UD
216452011-07-20 Ulrich Drepper <drepper@gmail.com>
21646
21647 * po/cs.po: Update from translation team.
21648 * po/bg.po: Likewise.
21649
295e904f
MP
216502011-07-12 Marek Polacek <mpolacek@redhat.com>
21651
21652 * misc/sys/cdefs.h: Add support for const attribute.
21653 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21654 to gnu_dev_{major,minor,makedev} functions.
21655
3ff94596
MP
216562011-07-20 Marek Polacek <mpolacek@redhat.com>
21657
21658 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21659
28b59fca
AS
216602011-07-20 Andreas Schwab <schwab@redhat.com>
21661
21662 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21663 strlen results.
21664
19df733e
AK
216652011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21666
21667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21668 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21669 register in order to avoid conflicts with the soft frame pointer
21670 being held in r11 when necessary.
21671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21672 (INTERNAL_VSYSCALL_NCS): Likewise.
21673
c8835729
MP
216742011-07-14 Marek Polacek <mpolacek@redhat.com>
21675
21676 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21677 * elf/dl-fini.c (_dl_fini): Adjust caller.
21678 * elf/dl-close.c (_dl_close_worker): Likewise.
21679 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21680
b902330c
MP
216812011-07-15 Marek Polacek <mpolacek@redhat.com>
21682
8991e135
MP
21683 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21684 "aux_cache->nlibs < 0".
21685
b902330c
MP
21686 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21687 in the reload-count case.
21688
99710781
LD
216892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21690
21691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21692 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21693 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21694 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21695 * sysdeps/x86_64/multiarch/strcat.S: New file.
21696 * sysdeps/x86_64/multiarch/strncat.S: New file.
21697 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21698 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21699 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21700 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21701 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21702 (USE_AS_STRCAT): Define.
21703 Add strcat and strncat support.
21704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21706 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21707 * string/strncat.c: Update.
21708 (USE_AS_STRNCAT): Define.
21709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21710 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21711 and i7.
21712 * sysdeps/x86_64/multiarch/init-arch.h
21713 (bit_Prefer_PMINUB_for_stringop): New.
21714 (index_Prefer_PMINUB_for_stringop): Likewise.
21715 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21716 bit_Prefer_PMINUB_for_stringop.
21717
7dc6bd90
UD
217182011-07-19 Ulrich Drepper <drepper@gmail.com>
21719
21720 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21721 buffer64.
21722 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21723 of casting of buffer.
21724 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21725 buffer32 and buffer64.
21726 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21727 writes instead of casting of buffer.
21728 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21729 buffer32.
21730 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21731 casting of buffer.
21732
e0e72284
AS
217332011-07-19 Andreas Schwab <schwab@redhat.com>
21734
21735 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21736
feb1eb0b
UD
217372011-07-19 Ulrich Drepper <drepper@gmail.com>
21738
21739 * nscd/nscd.c (termination_handler): Don't do anything for a database
21740 if it has not yet been initialized.
21741
298711ff
UD
217422011-07-18 Ulrich Drepper <drepper@gmail.com>
21743
21744 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21745
217462011-07-15 Marek Polacek <mpolacek@redhat.com>
21747
21748 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21749
f9d68389
UD
217502011-07-18 Ulrich Drepper <drepper@gmail.com>
21751
21752 * po/nl.po: Update from translation team.
21753 * po/sv.po: Likewise.
21754
db290cf5
RM
217552011-07-16 Roland McGrath <roland@hack.frob.com>
21756
21757 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21758 now disallowed by GCC.
5c550700 21759
fd5e21c7
RM
21760 * configure.in (use-default-link): Default to yes if a test -shared
21761 link meets our qualifications.
21762 * configure: Regenerated.
21763
5c550700
RM
21764 * config.make.in (output-format): New variable.
21765 * configure.in: Check for ld --print-output-format support.
21766 * configure: Regenerated.
21767 * Makerules ($(common-objpfx)format.lds)
21768 [$(output-format) != unknown]: Just use $(output-format),
21769 instead of the linker-script munging.
21770
9fa2c032
RM
217712011-07-14 Roland McGrath <roland@hack.frob.com>
21772
a6928d51
RM
21773 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21774 of $(common-objpfx)shlib.lds.
21775 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21776
661607b3
RM
21777 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21778 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21779
9fa2c032
RM
21780 * configure.in (-z relro check): Adjust test code to add a large
21781 writable data section after it.
21782 * configure: Regenerated.
21783
defe9061
RM
217842011-07-11 Roland McGrath <roland@hack.frob.com>
21785
21786 * configure.in (-z relro check): Fix test code to make the variable
21787 truly const.
21788 * configure: Regenerated.
21789
319b9ad4
UD
217902011-07-11 Ulrich Drepper <drepper@gmail.com>
21791
21792 * nscd/nscd.h (struct traced_file): Define.
21793 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21794 elements. Add traced_files.
21795 (inotify_fd): Declare.
21796 (register_traced_file): Declare.
21797 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21798 (inotify_fd): Export.
21799 (resolv_conf_descr): Remove.
21800 (nscd_init): Move inotify descriptor creation to main.
21801 Don't register files for notification here.
21802 (register_traced_file): New function.
21803 (invalidate_cache): Don't use reset_res to determine whether to call
21804 res_init, go through the list of registered files.
21805 (main_loop_poll): The inotify descriptors are now stored in the
21806 structures for the traced files.
21807 (main_loop_epoll): Likewise
21808 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21809 to __nss_disable_nscd.
21810 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21811 for a database anymore. Check the records for all the registered
21812 files instead.
21813 * nss/Makefile (libnss_files-routines): Add files-init.
21814 (libnss_db-routines): Add db-init.
21815 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21816 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21817 * nss/nss_db/db-init.c: New file.
21818 * nss/nss_files/files-init.c: New file.
21819 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21820 __nss_lookup_function.
21821 (__nss_lookup_function): Call nss_load_library.
21822 (nss_load_all_libraries): New function.
21823 (__nss_disable_nscd): Take parameter with callback function for files
21824 to register. Set is_nscd. Load all the DSOs for the NSS modules
21825 used for the cached services.
21826 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21827 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21828 options for features to all the files in nscd.
21829
21830 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21831
23bee3e8
RM
218322011-07-10 Roland McGrath <roland@hack.frob.com>
21833
21834 * csu/elf-init.c (__libc_csu_init): Comment typo.
21835
46a5b7f0
UD
218362011-07-09 Ulrich Drepper <drepper@gmail.com>
21837
21838 * po/pl.po: Update from translation team.
21839 * po/ja.po: Likewise.
21840 * po/ru.po: Likewise.
21841 * po/ko.po: Likewise.
21842 * po/fr.po: Likewise.
21843
d30cf5bb
RM
218442011-07-09 Roland McGrath <roland@hack.frob.com>
21845
113ddea4
RM
21846 * configure.in (.ctors/.dtors header and trailer check):
21847 Use an empirical test on a built program.
21848 * configure: Regenerated.
21849
574920b4
RM
21850 * configure.in (-z relro check): Use an empirical test on a built DSO.
21851 Detect, but do not require, on ia64.
21852 * configure: Regenerated.
21853
d30cf5bb
RM
21854 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21855 Update tests that use readelf to use $READELF instead.
21856 * configure: Regenerated.
21857
8538fdb3
UD
218582011-07-08 Ulrich Drepper <drepper@gmail.com>
21859
21860 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21861 if the result is not used.
21862
04d08991
AJ
218632011-07-05 Andreas Jaeger <aj@suse.de>
21864
21865 [BZ#9696]
21866 * stdlib/tst-strtod.c: Add testcase.
21867
de283087
AD
218682011-07-07 Ulrich Drepper <drepper@gmail.com>
21869
4e5f31c8 21870 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21871 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21872 The latter has a higher limit. Take additional parameter to pass to
21873 the new function.
21874 (__pathconf): Pass file to __statfs_link_max.
21875 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21876 __statfs_link_max.
21877 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21878 __statfs_link_max.
21879
de283087
AD
21880 [BZ #12868]
21881 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21883 Handle Lustre.
21884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21885 (__statfs_filesize_max): Likewise.
21886 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21887
c75fa153
AJ
218882011-07-05 Andreas Jaeger <aj@suse.de>
21889
21890 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21891
1a544854
UD
218922011-07-06 Marek Polacek <mpolacek@redhat.com>
21893
21894 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21895 `status' variable.
21896 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21897 Likewise.
21898
6f0eec67
UD
218992011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21900
21901 * Makefile (strop-tests): Add strncat.
21902 * string/test-strncat.c: New file.
21903
aae30307
UD
219042011-06-30 Marek Polacek <mpolacek@redhat.com>
21905
21906 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21907
c0cfb5eb
UD
219082011-06-21 Andreas Jaeger <aj@suse.de>
21909
21910 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21911 Copy rule from iconvdata/Makefile.
21912
01636b21
UD
219132011-07-06 Ulrich Drepper <drepper@gmail.com>
21914
21915 [BZ #12922]
21916 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21917 but no long options are defined, just return 'W'.
21918
9895c8bc
UD
219192011-06-22 Marek Polacek <mpolacek@redhat.com>
21920
21921 [BZ #9696]
21922 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21923
5d4cf042
UD
219242011-07-06 Ulrich Drepper <drepper@gmail.com>
21925
21926 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21927 netgroups to read.
960e5535 21928 (innetgr): Likewise.
5d4cf042 21929
751eb97e
RM
219302011-07-05 Roland McGrath <roland@hack.frob.com>
21931
21932 * config.make.in (install_root): Default to $(DESTDIR).
21933
f15f1e45
UD
219342011-07-05 Ulrich Drepper <drepper@gmail.com>
21935
21936 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21937
4e34ac6a
RM
219382011-07-02 Roland McGrath <roland@hack.frob.com>
21939
5e9b6af4
RM
21940 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21941
84f9ea0f
RM
21942 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21943 containing directory rather than embedding absolute directory names.
21944
ea5ee9f7
RM
21945 * scripts/check-local-headers.sh: Rewritten using awk.
21946 Match by word, not by line. Print error messages for matches.
21947 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21948
1b74661a
RM
21949 * Makerules [shlib-lds-flags empty]:
21950 ($(common-objpfx)libc_pic.opts): New target.
21951 ($(common-objpfx)libc_pic.os.clean): New target.
21952 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21953
21954 * config.make.in (OBJCOPY): New variable.
21955 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21956 * configure: Regenerated.
21957
f781ef40
RM
21958 * config.make.in (use-default-link): New variable.
21959 * configure.in (use_default_link): Grok --with-default-link to set it.
21960 * configure: Regenerated.
21961 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21962 (shlib-lds, shlib-lds-flags): Define to empty.
21963
2d4fa81e
RM
21964 * Makerules (shlib-lds): New variable.
21965 (shlib-lds-flags): New variable.
21966 (build-shlib, build-moduile, build-module-asneeded): Use it.
21967 ($(common-objpfx)libc.so): Use $(shlib-lds).
21968 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21969 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21970
31fffa6b
RM
21971 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21972 DT_FLAGS/DT_FLAGS_1 with zero flags.
21973
4e34ac6a
RM
21974 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21975 linker script munging.
21976
fcfc776b
UD
219772011-07-02 Ulrich Drepper <drepper@gmail.com>
21978
21979 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21980 as 128-bit value.
21981 * crypt/sha512.c (sha512_process_block): Perform total addition using
21982 128-bit if possible.
21983 (__sha512_finish_ctx): Likewise.
21984 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21985 as 64-bit value.
21986 * crypt/sha256.c (SWAP64): Define.
21987 (sha256_process_block): Perform total addition using 64-bit if
21988 possible.
21989 (__sha256_finish_ctx): Likewise.
21990
99231d9a
UD
219912011-07-01 Ulrich Drepper <drepper@gmail.com>
21992
21993 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21994 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21995 * nscd/hstcache.c (cache_addhst): Likewise.
21996 * nscd/grpcache.c (cache_addgr): Likewise.
21997 * nscd/aicache.c (addhstaiX): Likewise
21998 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21999
445b4a53
TK
220002011-07-01 Thorsten Kukuk <kukuk@suse.de>
22001
22002 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22004 * nscd/hstcache.c (cache_addhst): Likewise.
22005 * nscd/grpcache.c (cache_addgr): Likewise.
22006 * nscd/aicache.c (addhstaiX): Likewise
22007
6d4d8e8e
AS
220082011-07-01 Andreas Schwab <schwab@redhat.com>
22009
22010 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22011 domain only when needed.
22012
89f654c5
AS
220132011-06-30 Andreas Schwab <schwab@redhat.com>
22014
22015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22016 is always restored.
22017
cf3b23ff
UD
220182011-06-29 Ulrich Drepper <drepper@gmail.com>
22019
22020 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22021 are re-adding the entry.
22022 * nscd/servicescache.c (cache_addserv): Likewise.
22023
751626f9
AJ
220242011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22025
22026 * sysdeps/generic/dl-irel.h: fix protection against multiple
22027 inclusions.
22028 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22029
9113ea1f
UD
220302011-06-28 Ulrich Drepper <drepper@gmail.com>
22031
5c0b8d90
UD
22032 [BZ #12935]
22033 * malloc/memusage.sh: Fix quoting in message.
22034 * debug/xtrace.sh: Likewise.
22035
9113ea1f
UD
22036 * configure.in: Remove support for --experimental-malloc option, make
22037 it the default.
22038 * config.make.in: Likewise.
22039 * malloc/Makefile: Likewise.
22040
a4172181
AS
220412011-06-27 Andreas Schwab <schwab@redhat.com>
22042
22043 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22044 two-byte characters.
22045
78a7eee7
RM
220462011-06-27 Roland McGrath <roland@hack.frob.com>
22047
62bede13
RM
22048 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22049 AC_CACHE_CHECK invocation.
22050 * configure: Regenerated.
22051
78a7eee7
RM
22052 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22053
5ce33a62
UD
220542011-06-27 Ulrich Drepper <drepper@gmail.com>
22055
034807a9
UD
22056 [BZ #12350]
22057 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22058 bit from old_res_options.
22059
4902da17
UD
22060 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22061
5ce33a62
UD
22062 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22063 value type for setfct.
22064
c2344f56
L
220652011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22066
22067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22068 __gettimeofday instead of gettimeofday.
22069
68468076
UD
220702011-06-26 Ulrich Drepper <drepper@gmail.com>
22071
22072 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22073
acb0d739
L
220742011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22075
22076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22077
22078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22079 info.
22080
8912479f
L
220812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22082
22083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22084 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22085 strcpy-sse2-unaligned strncpy-sse2-unaligned
22086 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22087 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22088 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22089 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22090 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22092 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22093 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22094 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22095 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22096 (STRCPY): Support SSE2 and SSSE3 versions.
22097
d5495a11
UD
220982011-06-24 Ulrich Drepper <drepper@gmail.com>
22099
22100 [BZ #12874]
22101 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22102 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22103 kernels which artificially limit size of requests.
22104
0b1cbaae
L
221052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22106
22107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22108 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22109 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22110 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22111 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22112 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22113 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22114 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22115 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22117 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22118 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22119 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22120 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22121 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22123 Enable unaligned load optimization for Intel Core i3, i5 and i7
22124 processors.
22125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22126 Define.
22127 (index_Fast_Unaligned_Load): Define.
22128 (HAS_FAST_UNALIGNED_LOAD): Define.
22129
07f494a0
MP
221302011-06-23 Marek Polacek <mpolacek@redhat.com>
22131
22132 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22133
fa3fc0fe
UD
221342011-06-22 Ulrich Drepper <drepper@gmail.com>
22135
22136 [BZ #12907]
22137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22138 until it is clear that the information is realy needed.
22139 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22140
e12df166
AS
221412011-06-22 Andreas Schwab <schwab@redhat.com>
22142
22143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22144
852eb34d
UD
221452011-06-22 Ulrich Drepper <drepper@gmail.com>
22146
84e2a551
UD
22147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22148 /sys/devices/system/cpu/online if it is usable.
22149
852eb34d
UD
22150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22151 reading the information from the /proc filesystem to once a second.
22152
6e502e19
UD
221532011-06-21 Andreas Jaeger <aj@suse.de>
22154
22155 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22156 NULL after inclusion of kernel headers.
22157
75d39ff2
UD
221582011-06-21 Ulrich Drepper <drepper@gmail.com>
22159
51f9aa6a
UD
22160 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22161 calls to internal_setent.
22162
c0244a9d
UD
22163 [BZ #12885]
22164 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22165 addresses using gethostbyname4_r ignore IPv4 addresses.
22166
c5e3c2ae
UD
22167 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22168 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22169
75d39ff2
UD
22170 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22171
42675c6f
DM
221722011-06-20 David S. Miller <davem@davemloft.net>
22173
22174 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22175 inclusions.
22176 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22177
22178 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22179 (elf_irel): Use it.
22180 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22181 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22182 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22183 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22184 * sysdeps/x86_64/dl-irel.h: Likewise.
22185
22186 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22187 * elf/dl-sym.c: Likewise.
22188
57912a71
UD
221892011-06-15 Ulrich Drepper <drepper@gmail.com>
22190
22191 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22192 need to dereference resplen2.
22193
ee22793d
AS
221942011-06-14 Andreas Schwab <schwab@redhat.com>
22195
22196 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22197
a9e836b0
UD
221982011-06-15 Ulrich Drepper <drepper@gmail.com>
22199
77fb9117
UD
22200 * Makeconfig: Define vardbdir and inst_vardbdir.
22201 * nss/Makefile: Add rules to install db-Makefile.
22202
40c1b22c
UD
22203 * nss/nss_db/db-XXX.c: Cleanup.
22204
9f2da732
UD
22205 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22206 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22207 GLIBC_PRIVATE.
22208 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22209 * nss/makedb.c: Implement -g option to specify that value strings
22210 are generated and should not be added to table iterated over for
22211 get*ent calls.
22212 * nss/nss_db/db-initgroups.c: New file.
22213
82e9a1f7
UD
22214 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22215 interface.
22216
c41af17e
UD
22217 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22218 (internal_getgrouplist): Adjust to name change.
22219 Update use_initgroups_entry if this is not the first call.
22220 * nss/databases.def: Add initgroups entry.
22221
a9e836b0
UD
22222 * nss/makedb.c (compute_tables): Check result of multiple hash table
22223 sizes to minimize maximum chain length.
22224
2666d441
UD
222252011-06-14 Ulrich Drepper <drepper@gmail.com>
22226
22227 * Versions.def: Add entry for libnss_db.
22228 * shlib-versions: Likewise.
22229 * nss/Makefile: Add rules to build libnss_db.
22230 * nss/Versions: Add libnss_db information. Organize libnss_files
22231 entries better.
22232 * nss/db-Makefile: Add gshadow support. Change rules for the new
22233 makedb progra. Some minor improvements to generate smaller files.
22234 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22235 here from...
22236 * nss/makedb.c: ...here.
22237 Improve database format to be smaller and require less memory at
22238 runtime.
22239 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22240 db anymore.
22241 * nss/nss_db/db-netgrp.c: Likewise.
22242 * nss/nss_db/db-open.c: Likewise.
22243 * nss/nss_files/flies-XXX.x: Adjust comments.
22244 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22245 * nss/nss_files/files-grp.c: Likewise.
22246 * nss/nss_files/files-hosts.c: Likewise.
22247 * nss/nss_files/files-network.c: Likewise.
22248 * nss/nss_files/files-proto.c: Likewise.
22249 * nss/nss_files/files-pwd.c: Likewise.
22250 * nss/nss_files/files-rpc.c: Likewise.
22251 * nss/nss_files/files-service.c: Likewise.
22252 * nss/nss_files/files-sgrp.c: Likewise.
22253 * nss/nss_files/files-spwd.c: Likewise.
22254 * nss/nss_db/db-alias.c: Removed.
22255 * nss/nss_db/dummy-db.h: Removed.
22256
9ee76b5a
UD
222572011-06-02 Ulrich Drepper <drepper@gmail.com>
22258
22259 * nss/makedb.c: Rewritten to not use database library.
22260 * nss/Makefile: Update to build new makedb program.
22261
c71ca1f8
AJ
222622011-06-14 Andreas Jaeger <aj@suse.de>
22263
22264 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22265 memset declaration.
22266
3154bfb8
UD
222672011-06-10 Andreas Schwab <schwab@redhat.com>
22268
22269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22270 tmpbuf.
22271
b350afab
RM
222722011-06-10 Roland McGrath <roland@hack.frob.com>
22273
decd4e50
RM
22274 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22275 * elf/Makefile ($(objpfx)ld.so): Likewise.
22276
5615eaf2
RM
22277 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22278 Don't list ld.so twice in dependencies.
22279
22280 * posix/bug-regex31.c: Include <stdlib.h>.
22281
22282 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22283
22284 * nis/nss_compat/compat-spwd.c
22285 (getspent_next_nss_netgr): Remove unused variable.
22286 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22287
22288 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22289 nonmembers" output to use the right array.
22290
22291 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22292
22293 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22294
22295 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22296 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22297 * catgets/gencat.c (read_input_file): Likewise.
22298 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22299
22300 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22301 variable definition inside #if's controlling its use.
22302
22303 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22304
22305 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22306
22307 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22308
22309 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22310 unreachable code.
22311
22312 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22313
b68e08db
RM
22314 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22315 * configure: Regenerated.
22316
b350afab
RM
22317 * Makerules: Revert last change.
22318 * elf/Makefile: Likewise.
22319
28368601
RM
223202011-06-09 Roland McGrath <roland@hack.frob.com>
22321
22322 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22323 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22324 (reloc-link): Likewise.
22325
11988f8f
UD
223262011-06-09 Ulrich Drepper <drepper@gmail.com>
22327
22328 * elf/Makefile: Add rules to build pldd.
22329 * elf/pldd.c: New file.
22330 * elf/pldd-xx.c: New file.
22331
e80fab37
UD
223322011-06-07 Ulrich Drepper <drepper@gmail.com>
22333
22334 * version.h: Update for 2.15 development version.
22335
9b849836
DM
223362011-06-07 David S. Miller <davem@davemloft.net>
22337
22338 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22339 ifuncs.
22340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22341 elf_machine_lazy_rel): Likewise.
22342 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22344 elf_machine_lazy_rel): Likewise.
22345 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22346 dl_hwcap via passed in argument.
22347 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22348 Likewise.
22349
5a31b283
AK
223502011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22351
22352 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22353
069e52f8
RM
223542011-06-06 Roland McGrath <roland@hack.frob.com>
22355
22356 [BZ #12849]
22357 * manual/fdl-1.1.texi: New file, verbatim from:
22358 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22359 * manual/lgpl-2.1.texi: New file, verbatim from:
22360 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22361 * manual/Makefile (licenses): New variable, list those new file names.
22362 (texis): Use it.
22363 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22364
22365 * manual/fdl.texi: File removed.
22366 * manual/lesser.texi: File removed.
22367 * manual/libc.texinfo (Copying, Documentation License):
22368 Use new @include file names, put @appendix directive before @include.
22369
f16846a5
JJ
223702011-06-04 Jakub Jelinek <jakub@redhat.com>
22371
22372 [BZ #12841]
22373 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22374 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22375 (mq_open): Add __NTH.
22376
3d29045b
L
223772011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22378
22379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22380 Assume Intel Core i3/i5/i7 processor if AVX is available.
22381
8c297311
UD
223822011-05-31 Ulrich Drepper <drepper@gmail.com>
22383
22384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22385 typo.
22386
c8fc0c91
UD
223872011-05-31 Andreas Schwab <schwab@redhat.com>
22388
22389 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22390 memory. Use alloca_account. Fix memory leak when retrying.
22391
5b27a807
UD
223922011-05-31 Ulrich Drepper <drepper@gmail.com>
22393
356f8bc6
UD
22394 * version.h (RELEASE): Bump for 2.14 release.
22395 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22396
5b27a807
UD
22397 * config.make.in (RANLIB): Remove entry.
22398
01f16ab0
UD
223992011-05-30 Ulrich Drepper <drepper@gmail.com>
22400
41fce8bd
UD
22401 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22402 (libc.pot): Work around missing support for .ksh extension in xgettext.
22403
4769ae77
UD
22404 [BZ #12684]
22405 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22406 if both request failed.
22407 (send_dg): In case of server errors clear resplen or *resplen2.
22408
6b1e7d19
UD
22409 [BZ #12454]
22410 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22411 when there are multiple maps.
22412 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22413 (_dl_fini): Remove test here.
22414
01f16ab0
UD
22415 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22416
b1ebd700
UD
224172011-05-29 Ulrich Drepper <drepper@gmail.com>
22418
7ae22829
UD
22419 [BZ #12350]
22420 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22421 bit from old_res_options.
22422 (gaih_inet): Likewise.
22423
553149f6 22424 [BZ #11099]
18a84741 22425 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22426 as signed.
22427
652ffab1
UD
22428 * resolv/res_init.c (res_setoptions): Make the code more compact.
22429
16985fd0
UD
22430 [BZ #11558]
22431 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22432 set RES_USEVC.
22433
0464f746
UD
22434 [BZ #11634]
22435 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22436
7d17596c
UD
22437 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22438
cf6bbbd7
UD
22439 [BZ #11781]
22440 * malloc/malloc.h: Declare malloc hook variables as volatile.
22441
13f1ab36
UD
22442 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22443 in last patch.
22444
b1ebd700
UD
22445 [BZ #11799]
22446 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22447 raise in the comment.
80e2212d
UD
22448 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22449 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22450 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22451
ce67228d
UD
224522011-05-28 Ulrich Drepper <drepper@gmail.com>
22453
8887a920
UD
22454 [BZ #12811]
22455 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22456 grow the buffers more if it already has to be sufficient.
22457 (build_wcs_upper_buffer): Likewise.
22458 * posix/regexec.c (check_matching): Likewise.
22459 (clean_state_log_if_needed): Likewise.
22460 (extend_buffers): Don't enlarge buffers beyond size of the input
22461 buffer.
22462 Patches mostly by Emil Wojak <emil@wojak.eu>.
22463 * posix/bug-regex32.c: New file.
22464 * posix/Makefile (tests): Add bug-regex32.
22465
4f031072
UD
22466 * locale/findlocale.c (_nl_find_locale): Return right away if
22467 _nl_explode_name failed.
22468 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22469
d0478f0c
UD
22470 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22471
de81b246
UD
22472 * debug/xtrace.sh: Unify messages.
22473 * malloc/memusage.sh: Likewise.
22474
c738465a
UD
22475 [BZ #12813]
22476 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22477 time symbol from vDSO. Substitute with vsyscall if not available.
22478 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22479 __vdso_time.
22480
f1f929d7
UD
22481 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22482 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22483 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22484 Add sendmmsg and internal_sendmmsg.
22485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22486 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22488
ce67228d
UD
22489 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22490 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22492
e57420c6
UD
224932011-05-27 Ulrich Drepper <drepper@gmail.com>
22494
a8509ca5
UD
22495 [BZ #12813]
22496 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22497 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22498 available.
22499 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22500 __vdso_getcpu.
22501
e57420c6
UD
22502 [BZ #12814]
22503 * iconvdata/Makefile (tests): Add bug-iconv9.
22504 * iconvdata/bug-iconv9.c: New file.
22505
4d07db15
AS
225062011-05-27 Andreas Schwab <schwab@redhat.com>
22507
22508 [BZ #12814]
22509 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22510
ea486f69
JJ
225112011-05-25 Jakub Jelinek <jakub@redhat.com>
22512
22513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22514 (struct user_regs_struct): Change intcs field back to cs.
22515
6f038433
UD
225162011-05-25 Ulrich Drepper <drepper@gmail.com>
22517
22518 * po/ja.po: Update from translation team.
22519
67f86a25
UD
225202011-05-23 Ulrich Drepper <drepper@gmail.com>
22521
22522 [BZ #12795]
22523 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22524 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22525
def7fbd6
AS
225262011-05-20 Andreas Schwab <schwab@redhat.com>
22527
22528 * stdlib/longlong.h: Update from GCC.
22529
f50ef8f1
AS
225302011-05-23 Andreas Schwab <schwab@redhat.com>
22531
22532 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22533 parameter name.
22534 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22535 Add parameter name.
22536 (__sysconf): Pass it down.
22537
de7ce8f1
UD
225382011-05-22 Ulrich Drepper <drepper@gmail.com>
22539
f2962a71
UD
22540 [BZ #12671]
22541 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22542 some situations.
22543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22544 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22545 add in in __libc_use_alloca calls. Adjust callers.
22546 (glob): Use malloc in some situations.
22547
de7ce8f1
UD
22548 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22549 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22550 pltexit.
22551
aec84f53
UD
225522011-05-21 Ulrich Drepper <drepper@gmail.com>
22553
05bb4a68
UD
22554 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22555 and CLOCK_BOOTTIME_ALARM.
22556
7ea72f99
UD
22557 [BZ #12782]
22558 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22559 is returned.
22560
7e4afad5
UD
22561 * string/_strerror.c (__strerror_r): Print negative errors as signed
22562 numbers.
22563
8e211fec
UD
22564 [BZ #12777]
22565 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22566 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22567 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22568
f7d82dc9
UD
22569 * configure.in: Fix typo in redirection and correct removal of test
22570 files in two cases.
22571
cc9e536d
UD
22572 [BZ #12788]
22573 * locale/setlocale.c (new_composite_name): Fix test to check for
22574 identical name of all categories.
22575
aec84f53
UD
22576 [BZ #12792]
22577 * libio/filedoalloc.c (local_isatty): New function.
22578 (_IO_file_doallocate): Use local_isatty.
22579 * stdio-common/perror.c (perror): In case a new stream is used
22580 forward the stream error.
22581 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22582 error flag.
22583
78e64fdc
RT
225842011-05-20 Ulrich Drepper <drepper@gmail.com>
22585
34a9094f
UD
22586 [BZ #11869]
22587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22588 alloca.
22589 * include/alloca.h (extend_alloca_account): Define.
22590
78e64fdc
RT
22591 [BZ #11857]
22592 * posix/regex.h: Fix comments with documentation of user-accessible
22593 fields after compilation and describe correct free'ing of pattern
22594 after re_compile_pattern.
22595 Patch by Reuben Thomas <rrt@sc3d.org>.
22596
457bddfc
RA
225972011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22598
22599 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22600 and -mno-altivec to prevent the compiler from using Altivec and/or
22601 VSX instructions when the corresponding registers are not available.
22602
a4527b51
AS
226032011-05-19 Andreas Schwab <schwab@redhat.com>
22604
22605 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22606
ed690b2f
UD
226072011-05-19 Ulrich Drepper <drepper@gmail.com>
22608
22609 * libio/freopen.c (freopen): Use __dup2, not dup2.
22610 * libio/freopen64.c (freopen64): Likewise.
22611
8db73634
L
226122011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22613
22614 [BZ #12775]
22615 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22616 * math/Makefile (tests): Add test-powl.
22617 (CFLAGS-test-powl.c): Define.
22618 * math/test-powl.c: New file.
22619
0a197a9d
L
226202011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22621
22622 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22623
ee30c380
UD
226242011-05-17 Ulrich Drepper <drepper@gmail.com>
22625
22626 [BZ #11837]
22627 * iconvdata/gb18030.c: Update to GB18020-2005.
22628
6ce75379
UD
226292011-05-16 Ulrich Drepper <drepper@gmail.com>
22630
a4b89fd8
AR
22631 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22632 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22633 Patch by Aharon Robbins <arnold@skeeve.com>.
22634
ea389b12
UD
22635 [BZ #11892]
22636 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22637 on the stack.
22638
68a3f91f
UD
22639 [BZ #11895]
22640 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22641 through underflows.
22642
15cc7dd1
UD
22643 [BZ #12766]
22644 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22645 point to strings before performing equality test for error_one_per_line
22646 mode.
22647
f3799213
UD
22648 [BZ #11697]
22649 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22650
d79a9c94
UD
22651 [BZ #11820]
22652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22653 (struct user_fpregs_struct): Avoid __uint*_t types.
22654
56e5eb46
UD
22655 [BZ #6420]
22656 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22657 symbol info. Use it instead of calling _dl_addr locally.
22658 (lock_and_info): New function.
22659 (tr_freehook): Call lock_and_info and pass symbol info as additional
22660 parameter to tr_where.
22661 (tr_mallochook): Likewise.
22662 (tr_reallochook): Likewise.
22663 (tr_memalignhook): Likewise.
22664
6ce75379
UD
22665 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22666 used and couldn't be at all thread-safe.
22667
f8a3b5bf
UD
226682011-05-15 Ulrich Drepper <drepper@gmail.com>
22669
94b7cc37
UD
22670 * libio/freopen.c (freopen): Don't close old file descriptor
22671 before the new one is opened. Instead dup the new file descriptor
22672 to the old one after the new stream is created.
22673 * libio/freopen64.c (freopen64): Likewise.
22674 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22675 * libio/fileops.c (_IO_new_file_close_it): Handle new
22676 _IO_FLAGS2_NOCLOSE flag.
22677 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22678 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22679 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22680 _IO_FLAGS2_NOCLOSE flag.
22681 * include/unistd.h: Add hidden_proto for dup3.
22682 Define __have_dup3.
22683 * io/dup3.c: Define hidden symbol.
22684 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22685
bd25564e
UD
22686 [BZ #7101]
22687 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22688 when an incomplete long option is used.
22689 * posix/tst-getopt_long1.c: New file.
22690 * posix/Makefile (tests): Add tst-getopt_long1.
22691
c84cfef4
UD
22692 [BZ #10138]
22693 * scripts/config.guess: Update from autoconf-2.68.
22694 * scripts/config.sub: Likewise.
22695
3b85df27
UD
22696 [BZ #10157]
22697 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22698 tests into ...
22699 (has_cpuclock): ...this. New function.
22700 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22701 macro here based on has_cpuclock code.
22702
15a856b1
UD
22703 [BZ #10149]
22704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22705 First byte (not low byte) is now always NUL.
22706 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22707
05f399e6
UD
22708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22709 Use non-cancelable interfaces.
22710
10a52685 22711 [BZ #9809]
94ecc67d
UD
22712 * locale/iso-639.def: Add entry for Sorani.
22713
f8a3b5bf
UD
22714 [BZ #11901]
22715 * include/stdlib.h: Move include protection to the right place.
22716 Define abort_msg_s. Declare __abort_msg with it.
22717 * stdlib/abort.c (__abort_msg): Adjust type.
22718 * assert/assert.c (__assert_fail_base): New function. Majority
22719 of code from __assert_fail. Allocate memory for __abort_msg with
22720 mmap.
22721 (__assert_fail): Now call __assert_fail_base.
22722 * assert/assert-perr.c: Remove bulk of implementation. Use
22723 __assert_fail_base.
22724 * include/assert.hL Declare __assert_fail_base.
22725 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22726 mmap.
22727 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22728
1af4e298
UD
227292011-05-14 Ulrich Drepper <drepper@gmail.com>
22730
f8a3b5bf 22731 [BZ #11952]
d26dfc60
MG
22732 [BZ #12453]
22733 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22734 until all modules are registered in the DTV.
22735 * elf/Makefile: Add rules to build and run tst-tls19.
22736 * elf/tst-tls19.c: New file.
22737 * elf/tst-tls19mod1.c: New file.
22738 * elf/tst-tls19mod2.c: New file.
22739 * elf/tst-tls19mod3.c: New file.
22740 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22741
2fc54d6f
UD
22742 [BZ #12083]
22743 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22744 correctly.
22745
98d76b46
UD
22746 [BZ #12601]
22747 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22748 two-byte sequence errors.
22749 * iconvdata/Makefile (tests): Add bug-iconv8.
22750 * iconvdata/bug-iconv8.c: New file.
22751
da3c19ef
UD
22752 [BZ #12626]
22753 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22754 buf2 definition.
22755
ca408c15
UD
22756 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22757
d6f67f7d
UD
22758 [BZ #12432]
22759 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22760 (dummy_getcfa): New function.
22761 (init): Get _Unwind_GetCFA address, use dummy if not found.
22762 (backtrace_helper): In recursion check, also check whether CFA changes.
22763 (__backtrace): Completely initialize arg.
22764
1af4e298 22765 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22766 storing incomplete byte sequence in state object. Avoid testing for
22767 guaranteed too small input if we know there is enough data available.
1af4e298 22768
da62f81b
AS
227692011-05-11 Andreas Schwab <schwab@redhat.com>
22770
22771 * Makeconfig (+link-pie): Indent.
22772 * Rules (binaries-pie): Define if $(have-fpie) and
22773 $(build-shared).
22774 (binaries-shared): Also filter out $(binaries-pie).
22775 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22776 * nscd/Makefile (others-pie): Add nscd.
22777 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22778 ($(objpfx)nscd): Remove command override.
22779 * login/Makefile (others-pie): Add pt_chown.
22780 ($(objpfx)pt_chown): Remove command override.
22781 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22782 remove command overrides.
22783
fcabc0f8
UD
227842011-05-13 Ulrich Drepper <drepper@gmail.com>
22785
20030ae6
UD
22786 * libio/tst_putwc.c: Fix error messages.
22787
fcabc0f8
UD
22788 [BZ #12724]
22789 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22790 currently writing and seek to current position when not.
22791 * libio/Makefile (tests): Add bug-fclose1.
22792 * libio/bug-fclose1.c: New file.
22793
320a5dc0
PB
227942011-05-12 Ulrich Drepper <drepper@gmail.com>
22795
22796 [BZ #12511]
22797 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22798 don't set DF_1_NODELETE here.
22799 (do_lookup_x): When entering new entry test for copy relocation
22800 and if necessary set DF_1_NODELETE flag.
22801 * elf/tst-unique4.cc: New file.
22802 * elf/tst-unique4.h: New file.
22803 * elf/tst-unique4lib.cc: New file.
22804 * elf/Makefile: Add rules to build and run tst-unique4.
22805 Patch by Piotr Bury <pbury@goahead.com>.
22806
22836f52
UD
228072011-05-11 Ulrich Drepper <drepper@gmail.com>
22808
f574184a
UD
22809 [BZ #12052]
22810 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22811
e1fb097f
UD
22812 [BZ #12625]
22813 * misc/mntent_r.c (addmntent): Flush the stream after the output
22814
22836f52
UD
22815 [BZ #12393]
22816 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22817 (is_trusted_path_normalize): Skip initial colon. Append slash
22818 to empty buffer. Duplicate is_trusted_path code but allow
22819 constructed patch to be prefix.
22820 (is_dst): Allow $ORIGIN followed by /.
22821 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22822 Correct testing of result of is_trusted_path_normalize
22823 (decompose_rpath): Fix warning.
22824
7b3b0b2a
UD
228252011-05-10 Ulrich Drepper <drepper@gmail.com>
22826
22827 [BZ #11257]
22828 * grp/initgroups.c (internal_getgrouplist): When we found the service
22829 list through the initgroups entry in nsswitch.conf do not always
22830 continue on a successful lookup. Don't always use the
eac80ce2 22831 __nss_group_database value if it is set.
7b3b0b2a
UD
22832 * nss/nsswitch.conf (initgroups): Change action for successful db
22833 lookup to continue for compatibility.
22834
2a81eaa5
UD
228352011-05-09 Ulrich Drepper <drepper@gmail.com>
22836
be97a69e
UD
22837 [BZ #11532]
22838 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22839 and CP774 modules.
22840 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22841 and CP774 modules.
22842 * iconvdata/tst-tables.sh: Likewise.
22843 * iconvdata/cp770.c: New file.
22844 * iconvdata/cp771.c: New file.
22845 * iconvdata/cp772.c: New file.
22846 * iconvdata/cp773.c: New file.
22847 * iconvdata/cp774.c: New file.
22848 * iconvdata/testdata/CP770: New file.
22849 * iconvdata/testdata/CP770..UTF8: New file.
22850 * iconvdata/testdata/CP771: New file.
22851 * iconvdata/testdata/CP771..UTF8: New file.
22852 * iconvdata/testdata/CP772: New file.
22853 * iconvdata/testdata/CP772..UTF8: New file.
22854 * iconvdata/testdata/CP773: New file.
22855 * iconvdata/testdata/CP773..UTF8: New file.
22856 * iconvdata/testdata/CP774: New file.
22857 * iconvdata/testdata/CP774..UTF8: New file.
22858
22859 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22860 END CHARMAP line.
22861 * iconvdata/gen-8bit-gap.sh: Likewise.
22862 * iconvdata/gen-8bit.sh: Likewise.
22863
c1e9e399
UD
22864 * locale/iso-639.def: Add ary entry.
22865
24c55fb3 22866 [BZ #11258]
96b4b1b0
UD
22867 * locale/C-translit.h.in: Add U20A1 transliteration.
22868
bdc2f971
KB
22869 [BZ #12178]
22870 * locale/iso-639.def: Add wae entry.
22871 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22872
2952b117
UD
22873 [BZ #12545]
22874 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22875 for n.
22876
2a81eaa5
UD
22877 [BZ #12711]
22878 * locale/C-translit.h.in: Add entry for U20B9.
22879 Patch by pravin.d.s@gmail.com.
22880
28377d1b
UD
228812011-05-08 Ulrich Drepper <drepper@gmail.com>
22882
7fb90fb8
UD
22883 [BZ #12713]
22884 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22885 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22886 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22887 in rtld. Use *stat64.
7fb90fb8 22888 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22889 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22890 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22891 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22892 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22893 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22894 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22895 __fstatat64 macros.
7fb90fb8
UD
22896 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22897 * dirent/rewinddir.c: Add libc_hidden_def.
22898 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22899 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22900
28377d1b
UD
22901 * include/dirent.h (__alloc_dir): Add flags parameter.
22902 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22903 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22904 __alloc_dir.
22905 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22906 from fdopendir if O_CLOEXEC is already set.
22907
66bdbaa4
AM
229082011-03-15 Alan Modra <amodra@gmail.com>
22909
22910 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22911 l_tls_firstbyte_offset non-zero. Save padding offset in
22912 l_tls_firstbyte_offset for later use.
22913 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22914 freeing static tls block.
22915
95721191
JN
229162011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22917
22918 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22919 where #ifdef was intended. The intent is to prevent ARG_MAX from
22920 being defined by the kernel headers.
22921
f87dfb1f
UD
229222011-05-07 Ulrich Drepper <drepper@gmail.com>
22923
22924 [BZ #12734]
22925 * resolv/resolv.h: Define RES_NOTLDQUERY.
22926 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22927 no-tld-query and set RES_NOTLDQUERY.
22928 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22929 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22930 modern BIND to search name as TLD unless forbidden.
22931
47c3cd7a
UD
229322011-05-07 Petr Baudis <pasky@suse.cz>
22933 Ulrich Drepper <drepper@gmail.com>
22934
22935 [BZ #12393]
22936 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22937 (is_trusted_path): ...to here.
c1e9ea35 22938 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22939 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22940 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22941
8a35c912
PP
229422011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22943
22944 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22945 __BEGIN/__END_DECLS.
22946
acd41f47
UD
229472011-05-06 Ulrich Drepper <drepper@gmail.com>
22948
22949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22950 NSS_STATUS_NOTFOUND if no record was found.
22951
597df647
AS
229522011-05-05 Andreas Schwab <schwab@redhat.com>
22953
22954 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22955 (headers-not-in-tirpc): Remove rpc/netdb.h
22956 * resolv/netdb.h: Revert last change.
22957
b9af1301
PP
229582011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22959
22960 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22961 circular dependency between libgcc.a and libc.a.
22962
4e34d5f5
AS
229632011-05-05 Andreas Schwab <schwab@redhat.com>
22964
22965 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22966 * nis/Makefile: Don't install rpcsvc/*.
22967 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22968 instead of <rpc/types.h>.
22969 (MAXHOSTNAMELEN): Define.
22970
00ee369c
AS
229712011-05-03 Andreas Schwab <schwab@redhat.com>
22972
22973 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22974
0b592a30
MB
229752011-04-28 Maciej Babinski <mbabinski@google.com>
22976
22977 [BZ #12714]
22978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22979 gethostbyname4_r when IPv6 results are possible.
22980
6e04cbbe
UD
229812011-05-02 Ulrich Drepper <drepper@gmail.com>
22982
22983 [BZ #12723]
22984 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22985 _PC_PIPE_BUF handling.
22986
e4ecafe0
BH
229872011-04-30 Bruno Haible <bruno@clisp.org>
22988
22989 [BZ #12717]
22990 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22991 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22992 to 'int'.
22993 * inet/getnameinfo.c (getnameinfo): Likewise.
22994
125ee683
UD
229952011-04-29 Ulrich Drepper <drepper@gmail.com>
22996
22997 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22998 to groups setting in database lookup.
22999 * nss/nsswitch.conf: Add initgroups entry.
23000
b722481a
EB
230012011-04-22 Ulrich Drepper <drepper@gmail.com>
23002
23003 [BZ #12685]
23004 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23005 mode string.
23006 Patch by Eric Blake <eblake@redhat.com>.
23007
4df46dbd
L
230082011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23009
23010 * sunrpc/Makefile (need-export-routines): Add svc_run.
23011 (routines): Remove svc_run.
23012 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23013 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23014 * sunrpc/svc_run.c (svc_run): Likewise.
23015 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23016
e84142d2
UD
230172011-04-21 Ulrich Drepper <drepper@gmail.com>
23018
23019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23020 problem in reallocation in last patch.
23021
877175d8
UD
230222011-04-20 Ulrich Drepper <drepper@gmail.com>
23023
23024 * sunrpc/Makefile: Move inclusion of Rules.
23025
ab8eed78
UD
230262011-04-19 Ulrich Drepper <drepper@gmail.com>
23027
23028 * nss/nss_files/files-initgroups.c: New file.
23029 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23030 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23031 _nss_files_initgroups_dyn.
23032
e3d8f584
RS
230332011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23034
23035 * elf/elf.h (R_ARM_IRELATIVE): Define.
23036
af190f45
UD
230372011-04-19 Ulrich Drepper <drepper@gmail.com>
23038
23039 * po/ru.po: Update from translation team.
23040
53cf59ef
UD
230412011-04-17 Ulrich Drepper <drepper@gmail.com>
23042
23043 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23044 dependencies.
23045
4c559bcd
MF
230462011-02-06 Mike Frysinger <vapier@gentoo.org>
23047
23048 [BZ #12653]
23049 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23050 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23052 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23053 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23054
4420675c
AS
230552011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23056
23057 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23058 differing bytes.
23059 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23062
75ea32ab
UD
230632011-04-17 Ulrich Drepper <drepper@gmail.com>
23064
23065 [BZ #12420]
23066 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23067 storing it.
23068 * stdlib/bug-getcontext.c: New file.
23069 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23070
27390476
AK
230712011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23072
23073 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23074 instructions into .machine "z9-109".
23075 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23076 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23077
10442705
AK
230782011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23079
23080 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23081 between environment variables and auxiliary vector.
23082
7b57bfe5
UD
230832011-04-16 Ulrich Drepper <drepper@gmail.com>
23084
23085 * Makefile: Add rules to build linkobj/libc.so.
23086 * include/libc-symbols.h: Define libc_hidden_nolink.
23087 * include/rpc/auth.h: Mark functions which are to be hidden.
23088 * include/rpc/auth_des.h: Likewise.
23089 * include/rpc/auth_unix.h: Likewise.
23090 * include/rpc/clnt.h: Likewise.
23091 * include/rpc/des_crypt.h: Likewise.
23092 * include/rpc/key_prot.h: Likewise.
23093 * include/rpc/pmap_clnt.h: Likewise.
23094 * include/rpc/pmap_prot.h: Likewise.
23095 * include/rpc/pmap_rmt.h: Likewise.
23096 * include/rpc/rpc_msg.h: Likewise.
23097 * include/rpc/svc.h: Likewise.
23098 * include/rpc/svc_auth.h: Likewise.
23099 * include/rpc/xdr.h: Likewise.
23100 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23101 * nss/Makefile: Likewise.
23102 * sunrpc/Makefile: Don't install headers. Build library with normal
23103 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23104 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23105 for the compat linking library. Remove use of INTDEF/INTUSE.
23106 * sunrpc/auth_none.c: Likewise.
23107 * sunrpc/auth_unix.c: Likewise.
23108 * sunrpc/authdes_prot.c: Likewise.
23109 * sunrpc/authuxprot.c: Likewise.
23110 * sunrpc/clnt_gen.c: Likewise.
23111 * sunrpc/clnt_perr.c: Likewise.
23112 * sunrpc/clnt_raw.c: Likewise.
23113 * sunrpc/clnt_simp.c: Likewise.
23114 * sunrpc/clnt_tcp.c: Likewise.
23115 * sunrpc/clnt_udp.c: Likewise.
23116 * sunrpc/clnt_unix.c: Likewise.
23117 * sunrpc/des_crypt.c: Likewise.
23118 * sunrpc/des_soft.c: Likewise.
23119 * sunrpc/get_myaddr.c: Likewise.
23120 * sunrpc/key_call.c: Likewise.
23121 * sunrpc/key_prot.c: Likewise.
23122 * sunrpc/netname.c: Likewise.
23123 * sunrpc/pm_getmaps.c: Likewise.
23124 * sunrpc/pm_getport.c: Likewise.
23125 * sunrpc/pmap_clnt.c: Likewise.
23126 * sunrpc/pmap_prot.c: Likewise.
23127 * sunrpc/pmap_prot2.c: Likewise.
23128 * sunrpc/pmap_rmt.c: Likewise.
23129 * sunrpc/publickey.c: Likewise.
23130 * sunrpc/rpc_cmsg.c: Likewise.
23131 * sunrpc/rpc_common.c: Likewise.
23132 * sunrpc/rpc_dtable.c: Likewise.
23133 * sunrpc/rpc_prot.c: Likewise.
23134 * sunrpc/rpc_thread.c: Likewise.
23135 * sunrpc/rtime.c: Likewise.
23136 * sunrpc/svc.c: Likewise.
23137 * sunrpc/svc_auth.c: Likewise.
23138 * sunrpc/svc_authux.c: Likewise.
23139 * sunrpc/svc_raw.c: Likewise.
23140 * sunrpc/svc_run.c: Likewise.
23141 * sunrpc/svc_simple.c: Likewise.
23142 * sunrpc/svc_tcp.c: Likewise.
23143 * sunrpc/svc_udp.c: Likewise.
23144 * sunrpc/svc_unix.c: Likewise.
23145 * sunrpc/svcauth_des.c: Likewise.
23146 * sunrpc/xcrypt.c: Likewise.
23147 * sunrpc/xdr.c: Likewise.
23148 * sunrpc/xdr_array.c: Likewise.
23149 * sunrpc/xdr_float.c: Likewise.
23150 * sunrpc/xdr_intXX_t.c: Likewise.
23151 * sunrpc/xdr_mem.c: Likewise.
23152 * sunrpc/xdr_rec.c: Likewise.
23153 * sunrpc/xdr_ref.c: Likewise.
23154 * sunrpc/xdr_sizeof.c: Likewise.
23155 * sunrpc/xdr_stdio.c: Likewise.
23156
e6c61494
UD
231572011-04-10 Ulrich Drepper <drepper@gmail.com>
23158
23159 [BZ #12650]
23160 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23161 * sysdeps/ia64/dl-tls.h: Likewise.
23162 * sysdeps/powerpc/dl-tls.h: Likewise.
23163 * sysdeps/s390/dl-tls.h: Likewise.
23164 * sysdeps/sh/dl-tls.h: Likewise.
23165 * sysdeps/sparc/dl-tls.h: Likewise.
23166 * sysdeps/x86_64/dl-tls.h: Likewise.
23167 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23168
34fe483e
AS
231692011-03-14 Andreas Schwab <schwab@redhat.com>
23170
23171 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23172 rpath element also skip the following colon.
23173 (expand_dynamic_string_token): Add is_path parameter and pass
23174 down to DL_DST_REQUIRED and _dl_dst_substitute.
23175 (decompose_rpath): Call expand_dynamic_string_token with
23176 non-zero is_path. Ignore empty rpaths.
23177 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23178 with zero is_path.
23179
f12a32e6
AS
231802011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23181
23182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23183 Make cancelable.
23184
38a7d692
UD
231852011-04-09 Ulrich Drepper <drepper@gmail.com>
23186
23187 [BZ #12655]
23188 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23189 Patch by Filipe David Manana <fdmanana@apache.org>.
23190
e451d22b
AS
231912011-04-07 Andreas Schwab <schwab@redhat.com>
23192
23193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23194 Maintain aligned stack.
23195 (CHECK_RSP): Remove unused macro.
23196
dedc7c7b
UD
231972011-04-03 Ulrich Drepper <drepper@gmail.com>
23198
23199 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23200 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23201
94521213
UD
232022011-04-02 Ulrich Drepper <drepper@gmail.com>
23203
23204 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23205
8cb700c0 23206 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23207
0354e355
L
232082011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23209
23210 [BZ #12518]
23211 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23212 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23213 * sysdeps/x86_64/memmove.c: New file.
23214 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23215 (memcpy): Renamed to ...
23216 (__new_memcpy): This.
23217 (memcpy): Provide GLIBC_2_14 memcpy.
23218 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23219 (memcpy): Provide GLIBC_2_2_5 memcpy.
23220
8593482f
UD
232212011-04-01 Ulrich Drepper <drepper@gmail.com>
23222
23223 [BZ #12631]
23224 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23225
81a5726b
AS
232262011-03-30 Andreas Schwab <schwab@redhat.com>
23227
23228 * misc/syncfs.c: New file.
23229 * misc/Makefile (routines): Add syncfs.
23230 * posix/unistd.h: Declare syncfs.
23231 * sysdeps/unix/syscalls.list: Add syncfs.
23232
00e5419f
AS
232332011-04-01 Andreas Schwab <schwab@redhat.com>
23234
23235 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23236 open_by_handle_at.
23237 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23238 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23240 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23242 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23244
748876bf
UD
232452011-04-01 Ulrich Drepper <drepper@gmail.com>
23246
658e451d
UD
23247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23249 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23254
748876bf
UD
23255 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23256 sync_file_range.c with -fexceptions.
23257 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23258 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23259 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23260 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23261 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23262 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23264 sync_file_range as cancellation point
23265 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23266 now a wrapper around __call_sync_file_range with cancellation handling.
23267 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23268 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23269 function name to __call_sync_file_range.
23270 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23271 Add call_sync_file_range.
748876bf 23272
6e63d5e1
AS
232732011-04-01 Andreas Schwab <schwab@redhat.com>
23274
23275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23276 bits/timex.h.
6e63d5e1 23277
46998f74
UD
232782011-04-01 Ulrich Drepper <drepper@gmail.com>
23279
4c1423ed
UD
23280 * iconv/iconv.h: Fix typo in comment.
23281 * io/fcntl.h: Likewise.
23282 * libio/stdio.h: Likewise.
23283 * posix/spawn.h: Likewise.
23284 * posix/unistd.h: Likewise.
23285 * stdlib/stdlib.h: Likewise.
23286 * time/time.h: Likewise.
23287 * wcsmbs/wchar.h: Likewise.
23288
158648c0
UD
23289 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23290 open_by_handle): Add.
23291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23292 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23293 Augment a few comments.
23294 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23296 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23299 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23300 open_by_handle.
23301
46998f74
UD
23302 * io/fcntl.h (AT_EMPTY_PATH): Define.
23303
83fe108b
UD
233042011-03-30 Ulrich Drepper <drepper@gmail.com>
23305
23306 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23307 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23308 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23309 to...
23310 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23311 * Versions.def: Add GLIBC_2.14.
23312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23313 Export.
83fe108b 23314
bb242059
UD
233152011-03-22 Ulrich Drepper <drepper@gmail.com>
23316
23317 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23318 round counter.
23319 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23320
c97a1282
L
233212011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23322
23323 [BZ #12597]
23324 * string/test-strncmp.c (do_page_test): New function.
23325 (check2): Likewise.
23326 (test_main): Call check2.
23327 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23328
2a115601
UD
233292011-03-20 Ulrich Drepper <drepper@gmail.com>
23330
23331 [BZ #12587]
23332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23333 Handle cache information in CPU leaf 4.
23334 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23335
8126d904
UD
233362011-03-18 Ulrich Drepper <drepper@gmail.com>
23337
042c49c6 23338 [BZ #12583]
8126d904
UD
23339 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23340 character representation.
23341 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23342
ccfe366e
RA
233432011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23344
23345 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23346 END(__isnan) to END(__isnanf) to match function entry point/label
23347 EALIGN(__isnanf,...).
23348
c6e13027
JJ
233492011-03-10 Jakub Jelinek <jakub@redhat.com>
23350
23351 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23352
33f85a3f
UD
233532011-03-10 Ulrich Drepper <drepper@gmail.com>
23354
028478fa
UD
23355 [BZ #12510]
23356 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23357 copy from the symbol referenced in the relocation to initialize the
23358 used variable.
23359 Patch by Piotr Bury <pbury@goahead.com>.
23360 * elf/Makefile: Add rules to build and tst-unique3.
23361 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23362 * elf/tst-unique3.cc: New file.
23363 * elf/tst-unique3.h: New file.
23364 * elf/tst-unique3lib.cc: New file.
23365 * elf/tst-unique3lib2.cc: New file.
23366
33f85a3f
UD
23367 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23368
03592fc7
MF
233692011-03-10 Mike Frysinger <vapier@gentoo.org>
23370
23371 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23372 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23373 to _start.
03592fc7 23374
6a5ee102
UD
233752011-03-06 Ulrich Drepper <drepper@gmail.com>
23376
23377 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23378 to-be-loaded object along a path to loader is ld.so.
23379
7e4ba49c
HJ
233802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23381 Ulrich Drepper <drepper@gmail.com>
23382
23383 * sysdeps/x86_64/memset.S: After aligning destination, code
23384 branches to different locations depending on the value of
23385 misalignment, when multiarch is enabled. Fix this.
23386
233872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23388
23389 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23390 Set _x86_64_preferred_memory_instruction for AMD processsors.
23391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23392 Set bit_Prefer_SSE_for_memop for AMD processors.
23393
13a804de
UD
233942011-03-04 Ulrich Drepper <drepper@gmail.com>
23395
23396 * libio/fmemopen.c (fmemopen): Optimize a bit.
23397
9d25c392
AS
233982011-03-03 Andreas Schwab <schwab@redhat.com>
23399
23400 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23401
a5543c6a
RM
234022011-03-03 Roland McGrath <roland@redhat.com>
23403
23404 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23405
012d35f7
DM
234062011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23407
7e4ba49c 23408 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23409 __bzero_ultra1 instead of __memset_ultra1.
23410
4bff6e01
AS
234112011-02-23 Andreas Schwab <schwab@redhat.com>
23412 Ulrich Drepper <drepper@gmail.com>
23413
23414 [BZ #12509]
23415 * include/link.h (struct link_map): Add l_orig_initfini.
23416 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23417 returning unsuccessfully.
23418 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23419 close of a file loaded at startup, restore the original l_initfini
23420 list.
23421 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23422 list, store the pointer.
23423 * elf/Makefile ($(objpfx)noload-mem): New rule.
23424 (noload-ENV): Define.
23425 (tests): Add $(objpfx)noload-mem.
23426 * elf/noload.c: Include <memcheck.h>.
23427 (main): Call mtrace. Close all opened handles.
23428
f2092faf
AS
234292011-02-17 Andreas Schwab <schwab@redhat.com>
23430
23431 [BZ #12454]
23432 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23433 dependencies are missing.
23434
6c8a2e88
ST
234352011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23436
f2092faf 23437 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23438 Hurd needs munmap.
23439 * sysdeps/mach/hurd/ifreq.h: New file.
23440
84a42118
PB
234412011-01-27 Petr Baudis <pasky@suse.cz>
23442 Ulrich Drepper <drepper@gmail.com>
23443
071f805e 23444 [BZ 12445]#
84a42118
PB
23445 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23446 to extend_alloca().
23447 * stdio-common/bug23.c: New file.
23448 * stdio-common/Makefile (tests): Add bug23.
23449
e23fe25b
AS
234502010-09-28 Andreas Schwab <schwab@redhat.com>
23451 Ulrich Drepper <drepper@gmail.com>
23452
23453 [BZ #12489]
23454 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23455 before performing relro protection. At old place add assertion
23456 to make sure nothing changed.
23457
d3f02e10
NS
234582011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23459 Glauber de Oliveira Costa <glommer@gmail.com>
23460
23461 * elf/elf.h: Add new ARM TLS relocs.
23462
d55fd7a5
RA
234632011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23464
23465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23466 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23467 cast from r3.
23468 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23469 'tests' variable.
23470 * sysdeps/wordsize-64/tst-writev.c: New file.
23471
2206397e
RA
234722011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23473
23474 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23475 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23476 insns in _dl_start to prevent a TOC reference before relocs are
23477 resolved.
23478
e9433893
UD
234792011-02-15 Ulrich Drepper <drepper@gmail.com>
23480
23481 [BZ #12469]
23482 * Makeconfig: Remove RANLIB definition.
23483 * Makerules: Don't use RANLIB.
23484 * aclocal.m4: Remove ranlib test.
23485 * configure.in: No need to check for ranlib.
23486 * elf/rtld-Rules: Don't use RANLIB.
23487
f75286c6
ST
234882011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23489
8e31c82d
ST
23490 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23491 protection macro.
23492 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23493 inclusion protection macro.
23494
f75286c6
ST
23495 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23496 SIGRTMIN and SIGRTMAX and print information in that case only when
23497 SIGRTMIN is defined.
23498
c1d0e639
JJ
234992011-02-11 Jakub Jelinek <jakub@redhat.com>
23500
23501 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23502 arginfo fn returning -1.
23503
23504 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23505 and thousands string is zero terminated.
23506
edf9294e
AS
235072011-02-03 Andreas Schwab <schwab@redhat.com>
23508
23509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23510 sysdeps/unix/sysv/linux/bits/socket.h.
23511
2b7e92df
ST
235122011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23513
edf9294e
AS
23514 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23515 (__CPU_COUNT): Remove old macros.
23516 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23517 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23518 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23519 (__sched_cpualloc, __sched_cpufree): Add declarations.
23520
a4c7ea7b
UD
235212011-02-05 Ulrich Drepper <drepper@gmail.com>
23522
23523 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23524 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23525 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23526 (readdhstai): Return value of addhstaiX call.
23527 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23528 (addgrbyX): Return value returned by cache_addgr.
23529 (readdgrbyname): Return value returned by addgrbyX.
23530 (readdgrbygid): Likewise.
23531 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23532 (addpwbyX): Return value returned by cache_addpw.
23533 (readdpwbyname): Return value returned by addhstbyX.
23534 (readdpwbyuid): Likewise.
23535 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23536 (addservbyX): Return value returned by cache_addserv.
23537 (readdservbyname): Return value returned by addservbyX:
23538 (readdservbyport): Likewise.
23539 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23540 (addhstbyX): Return value returned by cache_addhst.
23541 (readdhstbyname): Return value returned by addhstbyX.
23542 (readdhstbyaddr): Likewise.
23543 (readdhstbynamev6): Likewise.
23544 (readdhstbyaddrv6): Likewise.
23545 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23546 (readdinitgroups): Return value returned by addinitgroupsX.
23547 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23548 (prune_cache): Keep track of timeout value of re-added entries.
23549 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23550 * nscd/nscd.h: Adjust prototypes of readd* functions.
23551
a0bf67cc
RM
235522011-02-04 Roland McGrath <roland@redhat.com>
23553
23554 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23555 (nis_stats): Likewise.
23556 * nis/nis_modify.c (nis_modify): Likewise.
23557 * nis/nis_remove.c (nis_remove): Likewise.
23558 * nis/nis_add.c (nis_add): Likewise.
23559
23560 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23561
23562 * posix/fnmatch_loop.c: Add some consts.
23563
23564 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23565
435b95eb
L
235662011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23567
23568 [BZ #12460]
23569 * config.make.in (config-cflags-novzeroupper): Define.
23570 * configure.in: Substitute libc_cv_cc_novzeroupper.
23571 * elf/Makefile (AVX-CFLAGS): Define.
23572 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23573 (CFLAGS-tst-auditmod4a.c): Likewise.
23574 (CFLAGS-tst-auditmod4b.c): Likewise.
23575 (CFLAGS-tst-auditmod6b.c): Likewise.
23576 (CFLAGS-tst-auditmod6c.c): Likewise.
23577 (CFLAGS-tst-auditmod7b.c): Likewise.
23578 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23579
8517b15e
UD
235802011-02-02 Ulrich Drepper <drepper@gmail.com>
23581
23582 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23583 function to the callback.
23584 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23585
10a656fe
AS
235862011-02-02 Andreas Schwab <schwab@redhat.com>
23587
23588 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23589 of errno.
23590
968dad0a
UD
235912011-01-19 Ulrich Drepper <drepper@gmail.com>
23592
9f94d2ea 23593 [BZ #11724]
968dad0a
UD
23594 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23595 of constructors.
23596 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23597 of destructors.
23598 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23599
23600 [BZ #11724]
23601 * elf/Makefile: Add rules to build and run new test.
23602 * elf/tst-initorder.c: New file.
23603 * elf/tst-initorder.exp: New file.
23604 * elf/tst-initordera1.c: New file.
23605 * elf/tst-initordera2.c: New file.
23606 * elf/tst-initordera3.c: New file.
23607 * elf/tst-initordera4.c: New file.
23608 * elf/tst-initorderb1.c: New file.
23609 * elf/tst-initorderb2.c: New file.
23610 * elf/tst-order-a1.c: New file.
23611 * elf/tst-order-a2.c: New file.
23612 * elf/tst-order-a3.c: New file.
23613 * elf/tst-order-a4.c: New file.
23614 * elf/tst-order-b1.c: New file.
23615 * elf/tst-order-b2.c: New file.
23616 * elf/tst-order-main.c: New file.
23617 New test case by George Gensure <werkt0@gmail.com>.
23618
86e92359
UD
236192010-10-01 Andreas Schwab <schwab@redhat.com>
23620
23621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23622 decoding ACE if AI_CANONIDN.
23623
5d5732b0
UD
236242011-01-18 Ulrich Drepper <drepper@gmail.com>
23625
23626 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23627
a77e8cbc
UD
236282011-01-17 Ulrich Drepper <drepper@gmail.com>
23629
6392473f
UD
23630 * version.h (RELEASE): Bump for 2.13 release.
23631 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23632
620a0529
UD
23633 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23634
18ba70a5
UD
23635 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23636 MADV_NOHUGEPAGE.
32465c3e
UD
23637 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23639 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23640 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23641 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23642 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23643
c0dafcf1
UD
23644 * posix/getconf.c: Update copyright year.
23645 * catgets/gencat.c: Likewise.
23646 * csu/version.c: Likewise.
23647 * debug/catchsegv.sh: Likewise.
23648 * debug/xtrace.sh: Likewise.
23649 * elf/ldconfig.c: Likewise.
23650 * elf/ldd.bash.in: Likewise.
23651 * elf/sprof.c (print_version): Likewise.
23652 * iconv/iconv_prog.c: Likewise.
23653 * iconv/iconvconfig.c: Likewise.
23654 * locale/programs/locale.c: Likewise.
23655 * locale/programs/localedef.c: Likewise.
23656 * malloc/memusage.sh: Likewise.
23657 * malloc/mtrace.pl: Likewise.
23658 * nscd/nscd.c (print_version): Likewise.
23659 * nss/getent.c: Likewise.
23660
a77e8cbc
UD
23661 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23662 PF_CAIF, and PF_ALG.
23663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23664
77e8bddf
AS
236652011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23666
1f20b93a
AS
23667 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23668 (modules-names): Use them.
23669 (ifunc-test-modules, ifunc-pie-tests): Define.
23670 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23671 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23672 (test-extras): Likewise.
23673 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23674 $(compile-command.c).
23675 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23676 (all-built-dso): Define.
23677 (check-textrel.out, check-execstack.out): Depend on it.
23678
77e8bddf
AS
23679 * configure.in: Don't override --enable-multi-arch.
23680
bc425b33
UD
236812011-01-15 Ulrich Drepper <drepper@gmail.com>
23682
23683 [BZ #6812]
23684 * nscd/hstcache.c (tryagain): Define.
23685 (cache_addhst): Return tryagain not notfound for temporary errors.
23686 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23687 failed.
23688
794c3ad3
UD
236892011-01-14 Ulrich Drepper <drepper@gmail.com>
23690
70181fdd
UD
23691 [BZ #10563]
23692 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23693 to make the syscall.
23694 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23695
794c3ad3
UD
23696 [BZ #12378]
23697 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23698 and fall back to matching as normal character if the string ends before
23699 the matching ']' is found. This is what POSIX requires.
23700 * posix/testfnm.c: Adjust test result.
23701 * posix/globtest.sh: Adjust test result. Add new test.
23702 * posix/tst-fnmatch.input: Likewise.
23703 * posix/tst-fnmatch2.c: Add new test.
23704
68dc9497
AS
237052010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23706
23707 * elf/Makefile (check-execstack): Revert last change. Depend on
23708 check-execstack.h.
23709 (check-execstack.h): New target.
23710 (generated): Add check-execstack.h.
23711 * elf/check-execstack.c: Include "check-execstack.h".
23712 (main): Revert last change.
23713 (handle_file): Return zero if GNU_STACK is absent and
23714 DEFAULT_STACK_PERMS doesn't include PF_X.
23715
451f001b
UD
237162011-01-13 Ulrich Drepper <drepper@gmail.com>
23717
cfa28e56
UD
23718 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23719 in child fails because the descriptor is already closed.
8cf8ce17
UD
23720 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23721 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23722 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23723
1086d70d
UD
23724 [BZ #12397]
23725 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23726 syscall.
23727
451f001b
UD
23728 [BZ #10484]
23729 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23730 temporary buffer used to handle multi lookups locally.
a85b5cb4 23731 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23732
08769175
UD
237332011-01-12 Ulrich Drepper <drepper@gmail.com>
23734
23735 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23736 loader is ld.so.
23737
5e49c52e
UD
237382011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23739
23740 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23741 alignment for SSE2.
23742
60522a5f
UD
237432011-01-12 Ulrich Drepper <drepper@gmail.com>
23744
23745 [BZ #12394]
23746 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23747 characters. When rounding increased number of integer digits recompute
23748 number of groups.
23749 * stdio-common/tst-grouping.c: New file.
23750 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23751
f257bbd7
UD
237522011-01-09 Ulrich Drepper <drepper@gmail.com>
23753
23754 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23755 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23756
23757 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23758 void.
23759 * bits/select.h: Likewise.
23760
fa9c15cb
UD
237612011-01-08 Ulrich Drepper <drepper@gmail.com>
23762
23763 * po/ja.po: Update from translation team.
23764
16c2895f
DM
237652011-01-04 David S. Miller <davem@sunset.davemloft.net>
23766
23767 [BZ #11155]
23768 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23769 implementation just like for lxstat, fxstatat, et al.
23770
2543fef2
JM
237712010-12-27 Jim Meyering <meyering@redhat.com>
23772
23773 [BZ #12348]
23774 * posix/regexec.c (build_trtable): Return failure indication upon
23775 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23776
98727dbe
UD
237772010-12-25 Ulrich Drepper <drepper@gmail.com>
23778
5bd6dc5c
UD
23779 [BZ #12201]
23780 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23781 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23782 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23783 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23784
97983464
UD
23785 [BZ #12207]
23786 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23787
98727dbe
UD
23788 [BZ #12204]
23789 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23790 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23791
4a531bb0
L
237922010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23793
23794 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23795 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23796 script has SORT_BY_INIT_PRIORITY.
23797 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23798 NO_CTORS_DTORS_SECTIONS is defined.
23799 * elf/soinit.c: Likewise.
23800 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23801 NO_CTORS_DTORS_SECTIONS is defined.
23802 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23803 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23804 * sysdeps/sh/init-first.c: Likewise.
23805 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23806
07eb4b71
UD
238072010-12-24 Ulrich Drepper <drepper@gmail.com>
23808
23809 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23810 always use the slow path.
23811
30950a5f
RA
238122010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23813
23814 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23815 similar rule which adds the sysdep directories to the header search in
23816 order to pick up the correct platform stackinfo.h.
23817 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23818 perform test if it is, otherwise return successfully without testing.
23819 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23820 DEFAULT_STACK_PERMS define in stackinfo.h.
23821 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23822 defined in stackinfo.h.
23823 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23824 DEFAULT_STACK_PERMS defined in stackinfo.h.
23825 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23826 * sysdeps/ia64/stackinfo.h: Likewise.
23827 * sysdeps/s390/stackinfo.h: Likewise.
23828 * sysdeps/sh/stackinfo.h: Likewise.
23829 * sysdeps/sparc/stackinfo.h: Likewise.
23830 * sysdeps/x86_64/stackinfo.h: Likewise.
23831 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23832 PF_X for powerpc64. Retain PF_X for powerpc32.
23833
db753e2c
UD
238342010-12-19 Ulrich Drepper <drepper@gmail.com>
23835
14b697f7
UD
23836 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23837 accurately.
db753e2c
UD
23838 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23839 GETDENTS_64BIT_ALIGNED.
23840
28300719
UD
238412010-12-14 Ulrich Drepper <dreper@gmail.com>
23842
14b697f7 23843 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23844
4f197237
AS
238452010-12-10 Andreas Schwab <schwab@redhat.com>
23846
dbb0472f
AS
23847 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23848 _GNU_SOURCE.
23849
4f197237
AS
23850 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23851 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23852 Remove __restrict.
23853 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23854 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23855
fb88ac72
UD
238562010-12-09 Ulrich Drepper <drepper@gmail.com>
23857
23858 [BZ #11655]
23859 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23860 are initialized.
23861
42acbb92
JJ
238622010-12-09 Jakub Jelinek <jakub@redhat.com>
23863
23864 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23865
c038d98d
UD
238662010-12-03 Ulrich Drepper <drepper@gmail.com>
23867
23868 * po/it.po: Update from translation team.
23869
3a4a2499
L
238702010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23873 unused codes.
23874
1e24cf6e
UD
238752010-11-30 Ulrich Drepper <drepper@gmail.com>
23876
23877 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23878
a7690819
AS
238792010-11-24 Andreas Schwab <schwab@redhat.com>
23880
23881 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23882 specially.
23883 (gaih_getanswer_slice): Likewise.
23884
3bf8d1b1
JJ
238852010-10-20 Jakub Jelinek <jakub@redhat.com>
23886
23887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23888
6db52fbb
PB
238892010-05-31 Petr Baudis <pasky@suse.cz>
23890
23891 [BZ #11149]
23892 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23893 silently even in the chroot mode.
23894
eaca7569
UD
238952010-11-22 Ulrich Drepper <drepper@gmail.com>
23896
23897 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23898 last patch a bit. Pretty printing
23899
3056dcdb
UD
239002010-05-31 Petr Baudis <pasky@suse.cz>
23901
23902 [BZ #10085]
23903 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23904 initialization of skip_initgroups_dyn.
23905
cf7c9078
UD
239062010-11-19 Ulrich Drepper <drepper@gmail.com>
23907
23908 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23910
a1fb5e3e
UD
239112010-11-16 Ulrich Drepper <drepper@gmail.com>
23912
23913 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23914
3540d66b
AS
239152010-11-11 Andreas Schwab <schwab@redhat.com>
23916
23917 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23918 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23919 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23920 ($(objpfx)tst-fnmatch-mem): New rule.
23921 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23922 * posix/tst-fnmatch.c (main): Call mtrace.
23923
13b69574
L
239242010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23925
23926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23927 Support Intel processor model 6 and model 0x2c.
23928
da93d214
LM
239292010-11-10 Luis Machado <luisgpm@br.ibm.com>
23930
23931 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23932 signed comparison.
23933
8ca52c6e
L
239342010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 [BZ #12205]
23937 * string/test-strncasecmp.c (check_result): New function.
23938 (do_one_test): Use it.
23939 (check1): New function.
23940 (test_main): Use it.
23941 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23942 Support strcasecmp and strncasecmp.
23943
69da074d
UD
239442010-11-08 Ulrich Drepper <drepper@gmail.com>
23945
23946 [BZ #12194]
23947 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23949
ff02d528
L
239502010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23951
23952 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23953 IFUNC support.
23954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23955 memset-x86-64.
23956 * sysdeps/x86_64/multiarch/bzero.S: New file.
23957 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23958 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23959 * sysdeps/x86_64/multiarch/memset.S: New file.
23960 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23962 Set bit_Prefer_SSE_for_memop for Intel processors.
23963 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23964 Define.
23965 (index_Prefer_SSE_for_memop): Define.
23966 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23967
344d0b54
LM
239682010-11-04 Luis Machado <luisgpm@br.ibm.com>
23969
23970 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23971 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23972
c0dde15b
UD
239732010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23974
23975 [BZ #12191]
23976 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23977 (__x86_64_raw_data_cache_size_half): Likewise.
23978 (__x86_64_raw_shared_cache_size): Likewise.
23979 (__x86_64_raw_shared_cache_size_half): Likewise.
23980
23981 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23982 (__x86_64_raw_data_cache_size_half): Likewise.
23983 (__x86_64_raw_shared_cache_size): Likewise.
23984 (__x86_64_raw_shared_cache_size_half): Likewise.
23985 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23986 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23987 and __x86_64_raw_shared_cache_size_half. Round
23988 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23989 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23990 to multiple of 256 bytes.
23991
0e516e0e
MS
239922010-11-03 Ulrich Drepper <drepper@gmail.com>
23993
23994 [BZ #12167]
23995 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23996 of inacessible symlinks. Verify result of symlink before returning it.
23997 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23998 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23999
0e012e87
ER
240002010-10-28 Erich Ritz <erichritz@gmail.com>
24001
24002 * math/math.h (isinf): Fix typo in comment.
24003
de0ff7bc
UD
240042010-11-01 Ulrich Drepper <drepper@gmail.com>
24005
24006 * po/da.po: Update from translation team.
24007
fa41c84d
UD
240082010-10-26 Ulrich Drepper <drepper@gmail.com>
24009
24010 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24011 is added to the list.
24012
f0967738
AK
240132010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24014 Ulrich Drepper <drepper@gmail.com>
24015
24016 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24017 the global list here. Move code to...
24018 (_dl_add_to_namespace_list): ...here. New function.
24019 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24020 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24021 * elf/dl-load.c (lose): Don't remove the element from the list.
24022 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24023 (_dl_map_object): Likewise.
24024
240252010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24026
24027 [BZ #12159]
24028 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24029 into all bytes of SSE register.
24030 Patch by Richard Li <richardpku@gmail.com>.
24031
f0967738 240322010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24033
24034 [BZ #12140]
24035 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24036 perturbing.
24037
d0b9e94f
MB
240382010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24039
24040 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24041 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24042 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24043 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24045 submachine.
24046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24047
8e9f92e9
AS
240482010-10-22 Andreas Schwab <schwab@redhat.com>
24049
24050 * include/dlfcn.h (__RTLD_SECURE): Define.
24051 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24052 mode & __RTLD_SECURE instead.
24053 (open_path): Rename preloaded parameter to secure.
24054 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24055 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24056 * elf/dl-deps.c (openaux): Likewise.
24057 * elf/rtld.c (struct map_args): Remove is_preloaded.
24058 (map_doit): Don't use it.
24059 (dl_main): Likewise.
24060 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24061 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24062
bc96fbda
AS
240632010-09-09 Andreas Schwab <schwab@redhat.com>
24064
24065 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24066 (sysd-rules-targets): Remove duplicates.
24067 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24068 rtld-%.$o dependency.
24069
22cd1c9b
AS
240702010-10-18 Andreas Schwab <schwab@redhat.com>
24071
24072 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24073 _dl_map_object do it.
24074
18edac48
UD
240752010-10-19 Ulrich Drepper <drepper@gmail.com>
24076
24077 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24078 fast fma builtins, define the macros in the C99 standard.
24079 (FP_FAST_FMAF): Likewise.
24080 (FP_FAST_FMAL): Likewise.
24081 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24082
24083 * bits/mathdef.h: Update copyright year.
24084 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24085
d2050124
MM
240862010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24087
24088 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24089 builtins, define the macros in the C99 standard.
24090 (FP_FAST_FMAF): Likewise.
24091 (FP_FAST_FMAL): Likewise.
24092 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24093 multiply/add.
24094 (FP_FAST_FMAF): Likewise.
24095
475facd1
JJ
240962010-10-15 Jakub Jelinek <jakub@redhat.com>
24097
24098 [BZ #3268]
24099 * math/libm-test.inc (fma_test): Some new testcases.
24100 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24102 y and infinite z. Do multiplication by C already in long double.
24103 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24105 y and infinite z. Do bitwise or of inexact bit into u.d.
24106 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24107 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24108 * sysdeps/i386/fpu/s_fma.S: Removed.
24109 * sysdeps/i386/fpu/s_fmal.S: Removed.
24110
7c08a05c
JJ
241112010-10-16 Jakub Jelinek <jakub@redhat.com>
24112
24113 [BZ #3268]
24114 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24116 computation is not scheduled after fetestexcept. Fix value
24117 of minimum denormal long double.
24118
f3f7372d
JJ
241192010-10-14 Jakub Jelinek <jakub@redhat.com>
24120
24121 [BZ #3268]
24122 * math/libm-test.inc (fma_test): Add some more tests.
24123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24124 correctly.
24125
14d43591
AS
241262010-10-15 Andreas Schwab <schwab@redhat.com>
24127
24128 * scripts/data/localplt-s390-linux-gnu.data: New file.
24129 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24130
5e908464
JJ
241312010-10-13 Jakub Jelinek <jakub@redhat.com>
24132
24133 [BZ #3268]
24134 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24135 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24136 instead of dbl-64.
24137 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24138 inlines.
24139 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24141 if one of x and y is very large and the other is subnormal.
24142 * sysdeps/s390/fpu/s_fmaf.c: New file.
24143 * sysdeps/s390/fpu/s_fma.c: New file.
24144 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24145 * sysdeps/powerpc/fpu/s_fma.S: New file.
24146 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24147 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24148 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24149
241502010-10-12 Jakub Jelinek <jakub@redhat.com>
24151
24152 [BZ #3268]
24153 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24154 fma tests.
24155 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24156 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24157 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24158 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24159 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24160 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24161 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24162
b833d51f
UD
241632010-10-12 Ulrich Drepper <drepper@redhat.com>
24164
24165 [BZ #12078]
24166 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24167 * posix/bug-regex31.input: Add test case.
24168
1751705d
UD
241692010-10-11 Ulrich Drepper <drepper@gmail.com>
24170
e9b9cbf5
UD
24171 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24172 * posix/bug-regex31.input: New file.
24173
24174 [BZ #12078]
24175 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24176 (parse_sub_exp): Fix last change, use postorder.
24177
ef06edbe
UD
24178 * posix/bug-regex31.c: New file.
24179 * posix/Makefile: Add rules to build and run bug-regex31.
24180
a129c80d
UD
24181 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24182
24183 [BZ #12078]
24184 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24185
b76b818e
UD
24186 [BZ #12108]
24187 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24188 to have entries in sys_siglist.
24189
1751705d
UD
24190 [BZ #12093]
24191 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24192 be NULL.
24193
9ff8d36f
JJ
241942010-10-07 Jakub Jelinek <jakub@redhat.com>
24195
24196 [BZ #3268]
24197 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24198 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24199 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24200 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24201 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24202 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24203 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24204 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24205 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24206 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24207 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24208 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24209 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24210 * math/ftestexcept.c (fetestexcept): Likewise.
24211 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24212 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24213 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24214 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24215 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24216 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24217 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24218
af325969
UD
242192010-10-11 Ulrich Drepper <drepper@gmail.com>
24220
c579b202 24221 [BZ #12107]
af325969
UD
24222 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24223 newline.
24224
67a67b95
UD
242252010-10-06 Ulrich Drepper <drepper@gmail.com>
24226
24227 * string/bug-strstr1.c: New file.
24228 * string/Makefile: Add rules to build and run bug-strstr1.
24229
5fb308bc
EB
242302010-10-05 Eric Blake <eblake@redhat.com>
24231
24232 [BZ #12092]
24233 * string/str-two-way.h (two_way_long_needle): Always clear memory
24234 when skipping input due to the shift table.
24235
45db99c7
UD
242362010-10-03 Ulrich Drepper <drepper@gmail.com>
24237
3b111893
UD
24238 [BZ #12005]
24239 * malloc/mcheck.c: Handle large requests.
24240
45db99c7
UD
24241 [BZ #12077]
24242 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24243 for strncmp and strncasecmp.
24244 * string/stratcliff.c: Add tests for strcmp and strncmp.
24245 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24246
cf7a1eb8
NI
242472010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24248
24249 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24250 __set_fpscr.
24251
6484ba5e
AJ
242522010-09-30 Andreas Jaeger <aj@suse.de>
24253
24254 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24255 (CGROUP_SUPER_MAGIC): Define.
24256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24257 Handle btrfs and cgroup file systems.
24258 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24259 Likewise.
24260
91c42559
LM
242612010-09-27 Luis Machado <luisgpm@br.ibm.com>
24262
24263 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24264 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24265
87a97932
AK
242662010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24267
24268 [BZ #12067]
24269 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24270 trying to locate the ELF header.
24271
c21cc9bc
AS
242722010-09-27 Andreas Schwab <schwab@redhat.com>
24273
24274 [BZ #11611]
24275 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24276 Mask out sign-bit copies when constructing f_fsid.
24277
315970f6
PB
242782010-09-24 Petr Baudis <pasky@suse.cz>
24279
24280 * debug/stack_chk_fail_local.c: Add missing licence exception.
24281 * debug/warning-nop.c: Likewise.
24282
1ac7a2c7
JM
242832010-09-15 Joseph Myers <joseph@codesourcery.com>
24284
24285 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24286 implementing getdents64 using getdents syscall, set d_type if
24287 __ASSUME_GETDENTS32_D_TYPE.
24288
56801c50
AS
242892010-09-16 Andreas Schwab <schwab@redhat.com>
24290
24291 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24292 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24293
dda51327
UD
242942010-09-21 Ulrich Drepper <drepper@redhat.com>
24295
24296 [BZ #12037]
24297 * posix/unistd.h: Undo change of feature selection for ftruncate from
24298 2010-01-11.
24299
8ffcee4a
UD
243002010-09-20 Ulrich Drepper <drepper@redhat.com>
24301
a545ecd9 24302 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24303 detection.
24304
e24f0a8b
AS
243052010-09-20 Andreas Schwab <schwab@redhat.com>
24306
24307 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24308 fanotify_mark.
24309 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24310
7291c56f
AS
243112010-09-14 Andreas Schwab <schwab@redhat.com>
24312
24313 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24314 variables after CHECK_SP call.
24315 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24316
bc5fb037
AS
243172010-09-13 Andreas Schwab <schwab@redhat.com>
24318 Ulrich Drepper <drepper@redhat.com>
24319
24320 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24321 re-relocationg ld.so.
24322 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24323 _dl_init_paths call.
24324 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24325 here anymore.
24326
e66e7419
UD
243272010-09-14 Ulrich Drepper <drepper@redhat.com>
24328
24329 * resolv/res_init.c (__res_vinit): Count the default server we added.
24330
c044aa75
CLT
243312010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24332 Ulrich Drepper <drepper@redhat.com>
24333
24334 [BZ #11968]
24335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24336 (____longjmp_chk): Use %ebx for saving value across system call.
24337 Add unwind info.
24338
32cf4069
AS
243392010-09-06 Andreas Schwab <schwab@redhat.com>
24340
24341 * manual/Makefile: Don't mix pattern rules with normal rules.
24342
817328ee
AS
243432010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24344
24345 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24346 operation.
24347 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24348 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24349 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24350 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24352 Likewise.
24353
29fddf61
UD
243542010-09-04 Ulrich Drepper <drepper@redhat.com>
24355
24356 [BZ #11979]
24357 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24358 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24359
0959ffc9
UD
243602010-09-02 Ulrich Drepper <drepper@redhat.com>
24361
24362 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24363 * sysdeps/x86_64/addmul_1.S: Likewise.
24364 * sysdeps/x86_64/lshift.S: Likewise.
24365 * sysdeps/x86_64/mul_1.S: Likewise.
24366 * sysdeps/x86_64/rshift.S: Likewise.
24367 * sysdeps/x86_64/sub_n.S: Likewise.
24368 * sysdeps/x86_64/submul_1.S: Likewise.
24369
ece29840
ST
243702010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24371
0959ffc9
UD
24372 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24373 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24374 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24375 * bits/sched.h [__need_schedparam]
ece29840 24376 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24377 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24378 (__defined_schedparam): Define to 1.
ece29840
ST
24379 (__sched_param): New structure, identical to sched_param.
24380 (__need_schedparam): Undefine.
24381
e53a31fe
MF
243822010-08-31 Mike Frysinger <vapier@gentoo.org>
24383
fdc0c10d
MF
24384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24385 (epoll_create1): Declare.
24386
e53a31fe
MF
24387 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24388
a726d796
AS
243892010-08-31 Andreas Schwab <schwab@redhat.com>
24390
24391 [BZ #7066]
24392 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24393 shifting retval into place.
24394
2f3e3dc7
UD
243952010-09-01 Ulrich Drepper <drepper@redhat.com>
24396
f2933da9
UD
24397 * nis/rpcsvc/nis.h: Update copyright notice.
24398 * nis/rpcsvc/nis.x: Likewise.
24399 * nis/rpcsvc/nis_callback.h: Likewise.
24400 * nis/rpcsvc/nis_callback.x: Likewise.
24401 * nis/rpcsvc/nis_object.x: Likewise.
24402 * nis/rpcsvc/nis_tags.h: Likewise.
24403 * nis/rpcsvc/yp.h: Likewise.
24404 * nis/rpcsvc/yp.x: Likewise.
24405 * nis/rpcsvc/ypupd.h: Likewise.
24406 * nis/yp_xdr.c: Likewise.
24407 * nis/ypupdate_xdr.c: Likewise.
24408
2f3e3dc7
UD
24409 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24410 mainly the body of pmap_getport. Add parameters to specify timeouts.
24411 (pmap_getport): Use __libc_rpc_getport.
24412 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24413 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24414 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24415
f3dcc2f9
AS
244162010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24417
24418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24419 fanotify_mark.
24420
6d34eb5b
RM
244212010-08-27 Roland McGrath <roland@redhat.com>
24422
24423 * sysdeps/i386/i686/multiarch/Makefile
24424 (CFLAGS-varshift.c): New variable.
24425
9ea3de11
UD
244262010-08-27 Ulrich Drepper <drepper@redhat.com>
24427
c96d23fc
UD
24428 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24429 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24430
9ea3de11
UD
24431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24432
24433 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24434
623aac7f
L
244352010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24436
24437 * sysdeps/x86_64/strlen.S: Unroll the loop.
24438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24439 strlen-sse2 strlen-sse2-bsf.
24440 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24441 __strlen_no_bsf if bit_Slow_BSF is set.
24442 (__strlen_sse42): Removed.
24443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24444 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24445
8b2b7715
RM
244462010-08-25 Roland McGrath <roland@redhat.com>
24447
24448 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24449 * sysdeps/x86_64/multiarch/varshift.c: New file.
24450 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24451 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24452 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24453 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24454
e73015f2
L
244552010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24456
24457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24458 strlen-sse2 strlen-sse2-bsf.
24459 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24460 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24461 (__strlen_sse2): Removed.
24462 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24465 bit_Slow_BSF for Atom.
24466 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24467 (index_Slow_BSF): Define.
24468 (HAS_SLOW_BSF): Define.
24469
df24a73e
UD
244702010-08-25 Ulrich Drepper <drepper@redhat.com>
24471
24472 [BZ #10851]
24473 * resolv/res_init.c (__res_vinit): When no server address at all
24474 is given default to loopback.
24475
f2ac4868
RM
244762010-08-24 Roland McGrath <roland@redhat.com>
24477
09055553
RM
24478 * configure.in: Remove config-name.h generation.
24479 * configure: Regenerated.
24480 * config-name.in: File removed.
24481 * scripts/config-uname.sh: New file.
24482 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24483 ($(objdir)config-name.h): New target.
24484
f2ac4868
RM
24485 * sunrpc/rpc_parse.h: Avoid nested comment.
24486
73f27d5e
RH
244872010-08-24 Richard Henderson <rth@redhat.com>
24488 Ulrich Drepper <drepper@redhat.com>
24489 H.J. Lu <hongjiu.lu@intel.com>
24490
24491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24493 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24494 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24495 _mm_alignr_epi8 with _mm_loadu_si128.
24496 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24497 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24498 (__m128i_shift_right): Removed.
24499 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24500 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24501 * sysdeps/x86_64/multiarch/varshift.h: New file.
24502 * sysdeps/x86_64/multiarch/varshift.S: New file.
24503
84b9230c
MF
245042010-08-21 Mike Frysinger <vapier@gentoo.org>
24505
24506 * configure.in: Move assembler checks to before sysdep dir checking.
24507
9bbd0ddc
PB
245082010-08-20 Petr Baudis <pasky@suse.cz>
24509
24510 * LICENSES: Sync the sunrpc license.
24511
9da4bb31
UD
245122010-08-19 Ulrich Drepper <drepper@redhat.com>
24513
a7ab6ec8
UD
24514 * sunrpc/auth_des.c: Update copyright notice once again.
24515 * sunrpc/auth_none.c: Likewise.
24516 * sunrpc/auth_unix.c: Likewise.
24517 * sunrpc/authdes_prot.c: Likewise.
24518 * sunrpc/authuxprot.c: Likewise.
24519 * sunrpc/bindrsvprt.c: Likewise.
24520 * sunrpc/clnt_gen.c: Likewise.
24521 * sunrpc/clnt_perr.c: Likewise.
24522 * sunrpc/clnt_raw.c: Likewise.
24523 * sunrpc/clnt_simp.c: Likewise.
24524 * sunrpc/clnt_tcp.c: Likewise.
24525 * sunrpc/clnt_udp.c: Likewise.
24526 * sunrpc/clnt_unix.c: Likewise.
24527 * sunrpc/des_crypt.c: Likewise.
24528 * sunrpc/des_soft.c: Likewise.
24529 * sunrpc/get_myaddr.c: Likewise.
24530 * sunrpc/getrpcport.c: Likewise.
24531 * sunrpc/key_call.c: Likewise.
24532 * sunrpc/key_prot.c: Likewise.
24533 * sunrpc/openchild.c: Likewise.
24534 * sunrpc/pm_getmaps.c: Likewise.
24535 * sunrpc/pm_getport.c: Likewise.
24536 * sunrpc/pmap_clnt.c: Likewise.
24537 * sunrpc/pmap_prot.c: Likewise.
24538 * sunrpc/pmap_prot2.c: Likewise.
24539 * sunrpc/pmap_rmt.c: Likewise.
24540 * sunrpc/rpc/auth.h: Likewise.
24541 * sunrpc/rpc/auth_unix.h: Likewise.
24542 * sunrpc/rpc/clnt.h: Likewise.
24543 * sunrpc/rpc/des_crypt.h: Likewise.
24544 * sunrpc/rpc/key_prot.h: Likewise.
24545 * sunrpc/rpc/netdb.h: Likewise.
24546 * sunrpc/rpc/pmap_clnt.h: Likewise.
24547 * sunrpc/rpc/pmap_prot.h: Likewise.
24548 * sunrpc/rpc/pmap_rmt.h: Likewise.
24549 * sunrpc/rpc/rpc.h: Likewise.
24550 * sunrpc/rpc/rpc_des.h: Likewise.
24551 * sunrpc/rpc/rpc_msg.h: Likewise.
24552 * sunrpc/rpc/svc.h: Likewise.
24553 * sunrpc/rpc/svc_auth.h: Likewise.
24554 * sunrpc/rpc/types.h: Likewise.
24555 * sunrpc/rpc/xdr.h: Likewise.
24556 * sunrpc/rpc_clntout.c: Likewise.
24557 * sunrpc/rpc_cmsg.c: Likewise.
24558 * sunrpc/rpc_common.c: Likewise.
24559 * sunrpc/rpc_cout.c: Likewise.
24560 * sunrpc/rpc_dtable.c: Likewise.
24561 * sunrpc/rpc_hout.c: Likewise.
24562 * sunrpc/rpc_main.c: Likewise.
24563 * sunrpc/rpc_parse.c: Likewise.
24564 * sunrpc/rpc_parse.h: Likewise.
24565 * sunrpc/rpc_prot.c: Likewise.
24566 * sunrpc/rpc_sample.c: Likewise.
24567 * sunrpc/rpc_scan.c: Likewise.
24568 * sunrpc/rpc_scan.h: Likewise.
24569 * sunrpc/rpc_svcout.c: Likewise.
24570 * sunrpc/rpc_tblout.c: Likewise.
24571 * sunrpc/rpc_util.c: Likewise.
24572 * sunrpc/rpc_util.h: Likewise.
24573 * sunrpc/rpcinfo.c: Likewise.
24574 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24575 * sunrpc/rpcsvc/key_prot.x: Likewise.
24576 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24577 * sunrpc/rpcsvc/mount.x: Likewise.
24578 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24579 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24580 * sunrpc/rpcsvc/rex.x: Likewise.
24581 * sunrpc/rpcsvc/rstat.x: Likewise.
24582 * sunrpc/rpcsvc/rusers.x: Likewise.
24583 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24584 * sunrpc/rpcsvc/spray.x: Likewise.
24585 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24586 * sunrpc/rtime.c: Likewise.
24587 * sunrpc/svc.c: Likewise.
24588 * sunrpc/svc_auth.c: Likewise.
24589 * sunrpc/svc_authux.c: Likewise.
24590 * sunrpc/svc_raw.c: Likewise.
24591 * sunrpc/svc_run.c: Likewise.
24592 * sunrpc/svc_simple.c: Likewise.
24593 * sunrpc/svc_tcp.c: Likewise.
24594 * sunrpc/svc_udp.c: Likewise.
24595 * sunrpc/svc_unix.c: Likewise.
24596 * sunrpc/svcauth_des.c: Likewise.
24597 * sunrpc/xcrypt.c: Likewise.
24598 * sunrpc/xdr.c: Likewise.
24599 * sunrpc/xdr_array.c: Likewise.
24600 * sunrpc/xdr_float.c: Likewise.
24601 * sunrpc/xdr_mem.c: Likewise.
24602 * sunrpc/xdr_rec.c: Likewise.
24603 * sunrpc/xdr_ref.c: Likewise.
24604 * sunrpc/xdr_sizeof.c: Likewise.
24605 * sunrpc/xdr_stdio.c: Likewise.
24606
9da4bb31
UD
24607 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24608 handling.
24609
bdaa77bc
AS
246102010-08-19 Andreas Schwab <schwab@redhat.com>
24611
24612 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24613
fe2f79db
LM
246142010-08-19 Luis Machado <luisgpm@br.ibm.com>
24615
24616 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24617 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24618 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24619 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24620 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24621 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24622 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24623 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24625 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24626 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24627 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24628 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24629 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24630
b9b42ee0
AB
246312010-07-26 Anton Blanchard <anton@samba.org>
24632
24633 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24634 * malloc/arena.c (heap_trim): Likewise.
24635
1c06ba31
UD
246362010-08-16 Ulrich Drepper <drepper@redhat.com>
24637
24638 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24639 here. Not...
24640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24641 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24642
f8392f40
L
246432010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24644
24645 * sysdeps/i386/elf/Makefile: New file.
24646
3162f12e
AS
246472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24648
24649 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24650 from fanotify_init.
24651 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24653
28c90b2c
UD
246542010-08-15 Ulrich Drepper <drepper@redhat.com>
24655
24656 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24657 of strncasecmp_l.
1feccb6c 24658 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24659
ca6bb004
UD
246602010-08-14 Ulrich Drepper <drepper@redhat.com>
24661
e9f82e0d
UD
24662 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24663 strncase_l-nonascii.
24664 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24665 Add strncase_l-ssse3.
24666 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24667 * sysdeps/x86_64/strcmp.S: Likewise.
24668 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24669 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24670 * sysdeps/x86_64/strncase.S: New file.
24671 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24672 * sysdeps/x86_64/strncase_l.S: New file.
24673 * string/Makefile (strop-tests): Add strncasecmp.
24674 * string/test-strncasecmp.c: New file.
24675
24676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24677 warning.
24678
ca6bb004
UD
24679 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24680 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24681
052fa7b3
AS
246822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24683
24684 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24685
962dba78
UD
246862010-08-12 Ulrich Drepper <drepper@redhat.com>
24687
24688 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24689 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24690 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24691
bebff237
AM
246922010-05-01 Alan Modra <amodra@gmail.com>
24693
24694 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24695 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24696 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24697 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24698 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24699 tidying. Don't tail-call __sigjmp_save for static lib.
24700 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24701 save location.
24702 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24703 (CALL_MCOUNT): Add eh info, and nop after bl.
24704 (TAIL_CALL_SYSCALL_ERROR): New macro.
24705 (PSEUDO_RET): Use it.
24706 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24707 Correct save location of integer regs and cr.
24708 (_dl_profile_resolve): Correct cr save location. Delete nops
24709 after bl when SHARED. Reduce cfi size a little by better
24710 placement of cfi directives.
24711 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24712 make a stack frame. Instead use parm save area as a temp.
24713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24714 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24716 Don't make a stack frame for parent, use parm save area.
24717 Increase child stack frame to 112 bytes. Don't save unused reg,
24718 and adjust reg usage. Set up cfi on error recovery and
24719 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24721 (__makecontext): Add dummy nop after jump to exit.
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24723 Use correct parm save area and cr save, reduce stack frame.
24724 Correct cfi for possible PSEUDO_RET frame setup.
24725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24726 Branch to local label emitted by PSEUDO_RET rather than
24727 __syscall_error.
24728
02637374
AS
247292010-08-12 Andreas Schwab <schwab@redhat.com>
24730
24731 [BZ #11904]
24732 * locale/programs/locale.c (print_assignment): New function.
24733 (show_locale_vars): Use it.
24734
c3e2f19b
UD
247352010-08-11 Ulrich Drepper <drepper@redhat.com>
24736
3cdaa6ad
UD
24737 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24738 field.
24739 (struct statfs64): Likewise.
24740 (_STATFS_F_FLAGS): Define.
24741 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24743 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24744 (ST_VALID): Define locally.
24745 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24746 __statvfs_getflags, use the provided value.
24747 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24748 __ASSUME_STATFS_F_FLAGS.
24749
754f7da3
UD
24750 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24751
10b3bedc
UD
24752 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24753 Add sys/fanotify.h.
24754 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24755 fanotify_mask for GLIBC_2.13.
24756 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24757 fanotify_init and fanotify_mark.
24758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24759 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24760
c08fb0d7
UD
24761 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24762 Add prlimit.
24763 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24764 prlimit64 for GLIBC_2.13.
24765 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24766 prlimit64.
24767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24768 syscall.
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24770 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24771 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24772 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24774 add prlimit alias.
24775 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24776
15bac72b
UD
24777 [BZ #11903]
24778 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24779 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24780
c3e2f19b
UD
24781 * nss/Makefile: Add rules to build and run tst-nss-test1.
24782 * shlib-versions: Add entry for libnss_test1.
24783 * nss/nss_test1.c: New file.
24784 * nss/tst-nss-test1.c: New file.
24785
24786 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24787 (__nss_configure_lookup): Set appropriate entry in
24788 __nss_configure_lookup to true.
24789 * nss/nsswitch.h: Define enum with indeces of databases in
24790 databases and __nss_database_custom arrays. Declare
24791 __nss_database_custom.
24792 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24793 to avoid using nscd when custom rules are installed.
24794 * nss/getXXbyYY_r.c: Likewise.
24795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24796
24797 * nss/nss_files/files-parse.c: Whitespace fixes.
24798
f15ce4d8
UD
247992010-08-09 Ulrich Drepper <drepper@redhat.com>
24800
24801 [BZ #11883]
24802 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24803 * posix/fnmatch_loop.c: Likewise.
24804
d22e4cc9
AK
248052010-07-17 Andi Kleen <ak@linux.intel.com>
24806
24807 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24808 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24809 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24810 * Versions.def [GLIBC_2.13]: Add.
24811
805bc17d
UD
248122010-08-06 Ulrich Drepper <drepper@redhat.com>
24813
24814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24815 Also fail if tpwd after pwuid call is NULL.
24816
5a42321d
ST
248172010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24818
24819 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24820 when converting to ms.
24821
fd3ebeda
ST
248222010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24823
24824 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24825 EOPNOTSUPP errors with ENOTTY.
24826 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24827 EOPNOTSUPP errors with ENOTTY.
24828
73507d3a
UD
248292010-07-31 Ulrich Drepper <drepper@redhat.com>
24830
24831 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24832 Add strcasecmp_l-ssse3.
24833 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24834 strcasecmp.
24835 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24836 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24837 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24838
fe36dd02
UD
248392010-07-30 Ulrich Drepper <drepper@redhat.com>
24840
66f6765a
UD
24841 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24842
42e08a54
UD
24843 * string/Makefile (strop-tests): Add strcasecmp.
24844 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24845 strcasecmp_l-nonascii.
24846 (gen-as-const-headers): Add locale-defines.sym.
24847 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24848 * sysdeps/x86_64/strcasecmp.S: New file.
24849 * sysdeps/x86_64/strcasecmp_l.S: New file.
24850 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24851 * sysdeps/x86_64/locale-defines.sym: New file.
24852 * string/test-strcasecmp.c: New file.
24853
fe36dd02
UD
24854 * string/test-strcasestr.c: Test both ends of the range of characters.
24855 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24856
48cbc0d6
RM
248572010-07-29 Roland McGrath <roland@redhat.com>
24858
76e6d6bc 24859 [BZ #11856]
48cbc0d6
RM
24860 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24861
880113d9
UD
248622010-07-27 Ulrich Drepper <drepper@redhat.com>
24863
24864 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24865 for ld.so.
24866
deb9cabb
AS
248672010-07-27 Andreas Schwab <schwab@redhat.com>
24868
24869 * manual/memory.texi (Malloc Tunable Parameters): Document
24870 M_PERTURB.
24871
1c7570ff
RM
248722010-07-26 Roland McGrath <roland@redhat.com>
24873
24874 [BZ #11840]
24875 * configure.in (-fgnu89-inline check): Set and substitute
24876 gnu89_inline, not libc_cv_gnu89_inline.
24877 * configure: Regenerated.
24878 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24879
24fb0f88
UD
248802010-07-26 Ulrich Drepper <drepper@redhat.com>
24881
24882 * string/test-strnlen.c: New file.
24883 * string/Makefile (strop-tests): Add strnlen.
24884 * string/tester.c (test_strnlen): Add a few more test cases.
24885 * string/tst-strlen.c: Better error reporting.
24886
24887 * sysdeps/x86_64/strnlen.S: New file.
24888
8e96b93a
UD
248892010-07-24 Ulrich Drepper <drepper@redhat.com>
24890
24891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24892 lower-latency instructions.
24893
dbc676d4
UD
248942010-07-23 Ulrich Drepper <drepper@redhat.com>
24895
24896 * string/test-strcasestr.c: New file.
24897 * string/test-strstr.c: New file.
24898 * string/Makefile (strop-tests): Add strstr and strcasestr.
24899 * string/str-two-way.h: Don't undefine MAX.
24900 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24901
f6a31e0e
AS
249022010-07-21 Andreas Schwab <schwab@redhat.com>
24903
24904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24905 strcasestr-nonascii.
24906 (CFLAGS-strcasestr-nonascii.c): Define.
24907 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24908 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24909 Remove unused attribute.
24910
5dbc3b6c
RM
249112010-07-20 Roland McGrath <roland@redhat.com>
24912
24913 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24914 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24915 ld.so.cache was broken. With it, there is no way to disable dsocaps
24916 like LD_HWCAP_MASK can disable hwcaps.
24917
23d101d8
EPM
249182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24919
24920 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24921
cc9f2e47
UD
249222010-07-16 Ulrich Drepper <drepper@redhat.com>
24923
24924 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24925 call in strcasestr.
24926 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24927 __strcasestr_sse42_nonascii.
24928 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24929 strcasestr-nonascii.c.
24930 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24931
77c1b069
LM
249322010-06-15 Luis Machado <luisgpm@br.ibm.com>
24933
24934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24935 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24938
440566c3
UD
249392010-07-09 Ulrich Drepper <drepper@redhat.com>
24940
24941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24942 fcntl.
24943
5be9d05d
AS
249442010-07-06 Andreas Schwab <schwab@redhat.com>
24945
c30b7ee2 24946 [BZ #11577]
5be9d05d
AS
24947 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24948 dl_signal_cerror.
24949
8a492a67
UD
249502010-07-06 Ulrich Drepper <drepper@redhat.com>
24951
24952 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24953 _PC_PIPE_BUF using F_GETPIPE_SZ.
24954
713df3d5
RM
249552010-07-05 Roland McGrath <roland@redhat.com>
24956
24957 * manual/arith.texi (Rounding Functions): Fix rint description
24958 implicit in round description.
24959
702e8f14
UD
249602010-07-02 Ulrich Drepper <drepper@redhat.com>
24961
24962 * elf/Makefile: Fix linking for a few tests to make recent linker
24963 happy.
24964
52ed8be9
AS
249652010-06-30 Andreas Schwab <schwab@redhat.com>
24966
24967 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24968 $(common-objpfx)libc_nonshared.a.
24969
f47c9a11
LM
249702010-06-21 Luis Machado <luisgpm@br.ibm.com>
24971
24972 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24973 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24974 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24975 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24976 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24977 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24978 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24979 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24994 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24995 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24996 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24997 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24998 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24999 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25000 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25001 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25002 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25003 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25004 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25005 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25020
6fb8cbcb
L
250212010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25022
25023 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25024 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25025 * string/memmove.c (memmove): Renamed to ...
25026 (MEMMOVE): ...this. Default to memmove.
25027 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25028 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25029 (END_CHK): Define.
25030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25031 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25032 mempcpy-ssse3-back memmove-ssse3-back.
25033 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25036 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25037 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25038 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25039 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25040 * sysdeps/x86_64/multiarch/memmove.c: New file.
25041 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25042 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25043 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25044 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25045 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25047 Define.
25048 (index_Fast_Copy_Backward): Define.
25049 (HAS_ARCH_FEATURE): Define.
25050 (HAS_FAST_REP_STRING): Define.
25051 (HAS_FAST_COPY_BACKWARD): Define.
25052
4e733bac 250532010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25054
25055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25056 Restore proper fallback handling.
25057
63c4ed22
UD
250582010-06-19 Ulrich Drepper <drepper@redhat.com>
25059
ac2b484c
UD
25060 [BZ #11701]
25061 * posix/group_member.c (__group_member): Correct checking loop.
25062
63c4ed22
UD
25063 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25064 OOM in getpwuid_r correctly. Return error number when the caller
25065 should return, otherwise -1.
25066 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25067 call returning > 0 value.
25068 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25069
765ade4b
AS
250702010-06-07 Andreas Schwab <schwab@redhat.com>
25071
25072 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25073 libc_nonshared.a from targets in modules-names.
25074
80da2e09
KS
250752010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25076
25077 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25078 requires it.
25079
158db122
LM
250802010-06-10 Luis Machado <luisgpm@br.ibm.com>
25081
25082 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25083 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25086
caa78cf8
AS
250872010-06-02 Andreas Schwab <schwab@redhat.com>
25088
25089 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25090
b2ef2c01
UD
250912010-06-14 Ulrich Drepper <drepper@redhat.com>
25092
25093 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25094 and F_GETPIPE_SZ.
25095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25101
fbd643b6
RM
251022010-06-14 Roland McGrath <roland@redhat.com>
25103
25104 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25105
f32f2869
JJ
251062010-06-07 Jakub Jelinek <jakub@redhat.com>
25107
25108 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25109 __REDIRECT followed by __THROW.
25110 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25111 * posix/getopt.h (getopt): Likewise.
25112
2a50c078
EPM
251132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25114
25115 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25116 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25117 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25118 in AT_FLAGS.
25119 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25120 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25121
eb5ad2eb
LM
251222010-05-28 Luis Machado <luisgpm@br.ibm.com>
25123
25124 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25125
3c88fe1e
L
251262010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25127
25128 [BZ #11640]
25129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25130 Properly check family and model.
25131
d2f73151
TY
251322010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25133
25134 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25135
ebd2e13d
LM
251362010-05-24 Luis Machado <luisgpm@br.ibm.com>
25137
25138 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25139
b32b8b45
UD
251402010-05-21 Ulrich Drepper <drepper@redhat.com>
25141
25142 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25143 symbol reference.
25144
9acbe24d
AS
251452010-05-19 Andreas Schwab <schwab@redhat.com>
25146
25147 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25148 symbol reference.
25149
f0ccf6ea
AS
251502010-05-21 Andreas Schwab <schwab@redhat.com>
25151
3d04ff3a
AS
25152 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25153 and internal_recvmmsg.
25154 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25155 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25156 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25157 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25158
f0ccf6ea
AS
25159 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25160 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25161 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25162
5b08ac57
AS
251632010-05-20 Andreas Schwab <schwab@redhat.com>
25164
25165 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25166
4828935d
LM
251672010-05-17 Luis Machado <luisgpm@br.ibm.com>
25168
25169 POWER7 optimizations.
25170 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25171 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25172
373d545e
UD
251732010-05-19 Ulrich Drepper <drepper@redhat.com>
25174
25175 * version.h: Update for 2.13 development version.
25176
21a2b1ae
AS
251772010-05-12 Andrew Stubbs <ams@codesourcery.com>
25178
25179 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25180 exceptions. Return 0.
25181
3f7dcb2b
RM
251822010-05-07 Roland McGrath <roland@redhat.com>
25183
25184 * elf/ldconfig.c (main): Add a const.
25185
5f24d53a 251862010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25187
a160f8d8
UD
25188 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25189 (args_options): Add no-idn option.
25190 (ahosts_keys_int): Add idn_flags to ai_flags.
25191 (parse_option): Handle 'i' option to clear idn_flags.
25192
5f24d53a
UD
25193 * malloc/malloc.c (_int_free): Possible race in the most recently
25194 added check. Only act on the data if no current modification
25195 happened.
265bb1ce
UD
25196
25197See ChangeLog.17 for earlier changes.